@odoo/o-spreadsheet 18.3.0-alpha.3 → 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 chart_js__default, { 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;
@@ -4034,17 +4229,14 @@ interface SpreadsheetChildEnv extends NotificationStoreMethods {
4034
4229
  loadCurrencies?: () => Promise<Currency[]>;
4035
4230
  loadLocales: () => Promise<Locale[]>;
4036
4231
  getStore: Get;
4232
+ isSmall: boolean;
4037
4233
  }
4038
4234
 
4039
- interface RangeStringOptions {
4040
- useBoundedReference?: boolean;
4041
- useFixedReference?: boolean;
4042
- }
4043
4235
  declare class RangeAdapter implements CommandHandler<CoreCommand> {
4044
4236
  private getters;
4045
4237
  private providers;
4046
4238
  constructor(getters: CoreGetters);
4047
- 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"];
4048
4240
  allowDispatch(cmd: Command): CommandResult;
4049
4241
  beforeHandle(command: Command): void;
4050
4242
  handle(cmd: Command): void;
@@ -4056,7 +4248,6 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
4056
4248
  * direction can be incorrect. This function ensure that an incorrect range gets removed.
4057
4249
  */
4058
4250
  private verifyRangeRemoved;
4059
- private createAdaptedRange;
4060
4251
  private executeOnAllRanges;
4061
4252
  /**
4062
4253
  * Stores the functions bound to each plugin to be able to iterate over all ranges of the application,
@@ -4078,7 +4269,7 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
4078
4269
  * @param defaultSheetId the sheet to default to if the sheetXC parameter does not contain a sheet reference (usually the active sheet Id)
4079
4270
  * @param sheetXC the string description of a range, in the form SheetName!XC:XC
4080
4271
  */
4081
- getRangeFromSheetXC(defaultSheetId: UID, sheetXC: string): RangeImpl;
4272
+ getRangeFromSheetXC(defaultSheetId: UID, sheetXC: string): Range;
4082
4273
  /**
4083
4274
  * Gets the string that represents the range as it is at the moment of the call.
4084
4275
  * The string will be prefixed with the sheet name if the call specified a sheet id in `forSheetId`
@@ -4093,6 +4284,7 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
4093
4284
  getRangeString(range: Range, forSheetId: UID, options?: RangeStringOptions): string;
4094
4285
  getRangeDataFromXc(sheetId: UID, xc: string): RangeData;
4095
4286
  getRangeDataFromZone(sheetId: UID, zone: Zone | UnboundedZone): RangeData;
4287
+ getRangeData(range: Range): RangeData;
4096
4288
  getRangeFromZone(sheetId: UID, zone: Zone | UnboundedZone): Range;
4097
4289
  /**
4098
4290
  * Allows you to recompute ranges from the same sheet
@@ -4110,11 +4302,6 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
4110
4302
  * `moveReference` will change all the references to `sheetIdFrom` into references to `sheetIdTo`.
4111
4303
  */
4112
4304
  copyFormulaStringForSheet(sheetIdFrom: UID, sheetIdTo: UID, formula: string, mode: "keepSameReference" | "moveReference"): string;
4113
- /**
4114
- * Get a Xc string that represent a part of a range
4115
- */
4116
- private getRangePartString;
4117
- private getInvalidRange;
4118
4305
  }
4119
4306
 
4120
4307
  interface CorePluginConfig {
@@ -4153,7 +4340,7 @@ declare class CorePlugin<State = any> extends BasePlugin<State, CoreCommand> imp
4153
4340
  * @param applyChange a function that, when called, will adapt the range according to the change on the grid
4154
4341
  * @param sheetId an optional sheetId to adapt either range of that sheet specifically, or ranges pointing to that sheet
4155
4342
  */
4156
- adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
4343
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string): void;
4157
4344
  /**
4158
4345
  * Implement this method to clean unused external resources, such as images
4159
4346
  * stored on a server which have been deleted.
@@ -4304,7 +4491,7 @@ declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1
4304
4491
  [id: string]: Cell;
4305
4492
  };
4306
4493
  };
4307
- adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
4494
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string): void;
4308
4495
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
4309
4496
  handle(cmd: CoreCommand): void;
4310
4497
  private clearZones;
@@ -4487,7 +4674,7 @@ declare class ConditionalFormatPlugin extends CorePlugin<ConditionalFormatState>
4487
4674
  };
4488
4675
  adaptCFFormulas(applyChange: ApplyRangeChange): void;
4489
4676
  adaptCFRanges(sheetId: UID, applyChange: ApplyRangeChange): void;
4490
- adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
4677
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string): void;
4491
4678
  allowDispatch(cmd: Command): CommandResult | CommandResult[];
4492
4679
  handle(cmd: CoreCommand): void;
4493
4680
  import(data: WorkbookData): void;
@@ -4538,7 +4725,7 @@ declare class DataValidationPlugin extends CorePlugin<DataValidationState> imple
4538
4725
  readonly rules: {
4539
4726
  [sheet: string]: DataValidationRule[];
4540
4727
  };
4541
- adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
4728
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string): void;
4542
4729
  private adaptDVFormulas;
4543
4730
  private adaptDVRanges;
4544
4731
  allowDispatch(cmd: Command): CommandResult | CommandResult[];
@@ -4573,20 +4760,22 @@ declare class FigurePlugin extends CorePlugin<FigureState> implements FigureStat
4573
4760
  [sheet: string]: Record<UID, Figure | undefined> | undefined;
4574
4761
  };
4575
4762
  readonly insertionOrders: UID[];
4576
- allowDispatch(cmd: CoreCommand): CommandResult;
4763
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
4764
+ allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
4577
4765
  beforeHandle(cmd: CoreCommand): void;
4578
4766
  handle(cmd: CoreCommand): void;
4579
- private onRowColDelete;
4580
- private onRowDeletion;
4581
- private onColDeletion;
4767
+ private onColRemove;
4768
+ private onRowRemove;
4769
+ private getPositionInSheet;
4582
4770
  private updateFigure;
4583
4771
  private addFigure;
4584
4772
  private deleteSheet;
4585
4773
  private removeFigure;
4586
4774
  private checkFigureExists;
4587
4775
  private checkFigureDuplicate;
4776
+ private checkFigureAnchorOffset;
4588
4777
  getFigures(sheetId: UID): Figure[];
4589
- getFigure(sheetId: string, figureId: string): Figure | undefined;
4778
+ getFigure(sheetId: UID, figureId: string): Figure | undefined;
4590
4779
  getFigureSheetId(figureId: string): UID | undefined;
4591
4780
  import(data: WorkbookData): void;
4592
4781
  export(data: WorkbookData): void;
@@ -4732,7 +4921,7 @@ declare class ImagePlugin extends CorePlugin<ImageState> implements ImageState {
4732
4921
  getImage(figureId: UID): Image$1;
4733
4922
  getImagePath(figureId: UID): string;
4734
4923
  getImageSize(figureId: UID): FigureSize;
4735
- private addImage;
4924
+ private addFigure;
4736
4925
  import(data: WorkbookData): void;
4737
4926
  export(data: WorkbookData): void;
4738
4927
  exportForExcel(data: ExcelWorkbookData): void;
@@ -4751,7 +4940,7 @@ declare class MergePlugin extends CorePlugin<MergeState> implements MergeState {
4751
4940
  readonly mergeCellMap: Record<UID, SheetMergeCellMap | undefined>;
4752
4941
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
4753
4942
  handle(cmd: CoreCommand): void;
4754
- adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
4943
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string): void;
4755
4944
  getMerges(sheetId: UID): Merge[];
4756
4945
  getMerge({ sheetId, col, row }: CellPosition): Merge | undefined;
4757
4946
  getMergesInZone(sheetId: UID, zone: Zone): Merge[];
@@ -4839,9 +5028,9 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
4839
5028
  [formulaId: UID]: UID | undefined;
4840
5029
  };
4841
5030
  readonly compiledMeasureFormulas: Record<UID, Record<string, RangeCompiledFormula>>;
4842
- allowDispatch(cmd: CoreCommand): CommandResult.Success | CommandResult.NoChanges | CommandResult.PivotIdNotFound | CommandResult.EmptyName | CommandResult.InvalidDefinition;
5031
+ allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
4843
5032
  handle(cmd: CoreCommand): void;
4844
- adaptRanges(applyChange: ApplyRangeChange): void;
5033
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string): void;
4845
5034
  getPivotDisplayName(pivotId: UID): string;
4846
5035
  getPivotName(pivotId: UID): string;
4847
5036
  /**
@@ -4865,6 +5054,7 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
4865
5054
  private getPivotCore;
4866
5055
  private compileMeasureFormula;
4867
5056
  private replaceMeasureFormula;
5057
+ private checkSortedColumnInMeasures;
4868
5058
  private checkDuplicatedMeasureIds;
4869
5059
  /**
4870
5060
  * Import the pivots
@@ -5061,7 +5251,7 @@ declare class TablePlugin extends CorePlugin<TableState> implements TableState {
5061
5251
  static getters: readonly ["getCoreTable", "getCoreTables", "getCoreTableMatchingTopLeft"];
5062
5252
  readonly tables: Record<UID, Record<TableId, CoreTable | undefined>>;
5063
5253
  readonly nextTableId: number;
5064
- adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
5254
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string): void;
5065
5255
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
5066
5256
  handle(cmd: CoreCommand): void;
5067
5257
  getCoreTables(sheetId: UID): CoreTable[];
@@ -5344,11 +5534,12 @@ interface CellWithSize {
5344
5534
  size: Pixel;
5345
5535
  }
5346
5536
  declare class HeaderSizeUIPlugin extends CoreViewPlugin<HeaderSizeState> implements HeaderSizeState {
5347
- static getters: readonly ["getRowSize", "getHeaderSize"];
5537
+ static getters: readonly ["getRowSize", "getHeaderSize", "getMaxAnchorOffset"];
5348
5538
  readonly tallestCellInRow: Immutable<Record<UID, Array<CellWithSize | undefined>>>;
5349
5539
  private ctx;
5350
5540
  handle(cmd: Command): void;
5351
5541
  getRowSize(sheetId: UID, row: HeaderIndex): Pixel;
5542
+ getMaxAnchorOffset(sheetId: UID, height: Pixel, width: Pixel): AnchorOffset;
5352
5543
  getHeaderSize(sheetId: UID, dimension: Dimension, index: HeaderIndex): Pixel;
5353
5544
  private updateRowSizeForCellChange;
5354
5545
  private initializeSheet;
@@ -5552,6 +5743,13 @@ declare class AutofillPlugin extends UIPlugin {
5552
5743
  * useful to set it to false when we need to fill the tooltip
5553
5744
  */
5554
5745
  private autofill;
5746
+ private collectBordersData;
5747
+ private collectConditionalFormatsData;
5748
+ private collectDataValidationsData;
5749
+ private autofillCell;
5750
+ private autofillBorders;
5751
+ private autofillConditionalFormats;
5752
+ private autofillDataValidations;
5555
5753
  /**
5556
5754
  * Select a cell which becomes the last cell of the autofillZone
5557
5755
  */
@@ -5580,9 +5778,7 @@ declare class AutofillPlugin extends UIPlugin {
5580
5778
  * a given cell (col, row)
5581
5779
  */
5582
5780
  private getDirection;
5583
- private autoFillMerge;
5584
- private autofillCF;
5585
- private autofillDV;
5781
+ private autofillMerge;
5586
5782
  drawLayer(renderingContext: GridRenderingContext): void;
5587
5783
  }
5588
5784
 
@@ -5775,12 +5971,12 @@ declare class UIOptionsPlugin extends UIPlugin {
5775
5971
  }
5776
5972
 
5777
5973
  declare class SheetUIPlugin extends UIPlugin {
5778
- static getters: readonly ["doesCellHaveGridIcon", "getCellWidth", "getCellIconSrc", "getTextWidth", "getCellText", "getCellMultiLineText", "getContiguousZone"];
5974
+ static getters: readonly ["doesCellHaveGridIcon", "getCellWidth", "getCellIconSvg", "getTextWidth", "getCellText", "getCellMultiLineText", "getContiguousZone"];
5779
5975
  private ctx;
5780
5976
  allowDispatch(cmd: LocalCommand): CommandResult | CommandResult[];
5781
5977
  handle(cmd: Command): void;
5782
5978
  getCellWidth(position: CellPosition): number;
5783
- getCellIconSrc(position: CellPosition): ImageSrc | undefined;
5979
+ getCellIconSvg(position: CellPosition): ImageSVG | undefined;
5784
5980
  getTextWidth(text: string, style: Style): Pixel;
5785
5981
  getCellText(position: CellPosition, args?: {
5786
5982
  showFormula?: boolean;
@@ -5815,6 +6011,7 @@ declare class SheetUIPlugin extends UIPlugin {
5815
6011
  * not outside the sheet.
5816
6012
  */
5817
6013
  private checkZonesAreInSheet;
6014
+ private autoResizeRows;
5818
6015
  }
5819
6016
 
5820
6017
  declare class CellComputedStylePlugin extends UIPlugin {
@@ -6012,10 +6209,11 @@ interface AddFunctionDescription {
6012
6209
  hidden?: boolean;
6013
6210
  }
6014
6211
  type FunctionDescription = AddFunctionDescription & {
6212
+ name: string;
6015
6213
  minArgRequired: number;
6016
6214
  maxArgPossible: number;
6017
6215
  nbrArgRepeating: number;
6018
- getArgToFocus: (argPosition: number) => number;
6216
+ nbrArgOptional: number;
6019
6217
  };
6020
6218
  type EvalContext = {
6021
6219
  __originSheetId: UID;
@@ -6184,12 +6382,13 @@ interface Box extends Rect {
6184
6382
  isMerge?: boolean;
6185
6383
  verticalAlign?: VerticalAlign;
6186
6384
  isOverflow?: boolean;
6385
+ overlayColor: Color | undefined;
6187
6386
  }
6188
6387
  interface Image {
6189
6388
  clipIcon: Rect | null;
6190
6389
  size: Pixel;
6191
6390
  type: "icon";
6192
- image: HTMLImageElement;
6391
+ svg: ImageSVG;
6193
6392
  }
6194
6393
  /**
6195
6394
  * The viewport is the visible area of a sheet.
@@ -6247,7 +6446,7 @@ type ScrollDirection$1 = 1 | 0 | -1 | "reset";
6247
6446
 
6248
6447
  declare global {
6249
6448
  interface Window {
6250
- Chart: typeof chart_js__default & typeof chart_js__default.Chart;
6449
+ Chart: typeof chart_js & typeof chart_js.Chart;
6251
6450
  ChartGeo: typeof ChartGeo;
6252
6451
  }
6253
6452
  }
@@ -6291,6 +6490,18 @@ type ScorecardChartConfig = {
6291
6490
  };
6292
6491
  };
6293
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
+
6294
6505
  interface ChartShowValuesPluginOptions {
6295
6506
  showValues: boolean;
6296
6507
  background?: Color;
@@ -6349,7 +6560,6 @@ declare class Registry<T> {
6349
6560
  }
6350
6561
 
6351
6562
  interface MigrationStep {
6352
- versionFrom: string;
6353
6563
  migrate: (data: any) => any;
6354
6564
  }
6355
6565
 
@@ -6378,7 +6588,7 @@ declare class ClipboardHandler<T> {
6378
6588
  protected getters: Getters;
6379
6589
  protected dispatch: CommandDispatcher["dispatch"];
6380
6590
  constructor(getters: Getters, dispatch: CommandDispatcher["dispatch"]);
6381
- copy(data: ClipboardData): T | undefined;
6591
+ copy(data: ClipboardData, isCutOperation: boolean): T | undefined;
6382
6592
  paste(target: ClipboardPasteTarget, clippedContent: T, options: ClipboardOptions): void;
6383
6593
  isPasteAllowed(sheetId: UID, target: Zone[], content: T, option: ClipboardOptions): CommandResult;
6384
6594
  isCutAllowed(data: ClipboardData): CommandResult;
@@ -6484,7 +6694,7 @@ interface NumberFormatActionSpec extends ActionSpec {
6484
6694
  }
6485
6695
 
6486
6696
  type CellPopoverType = "ErrorToolTip" | "LinkDisplay" | "FilterMenu" | "LinkEditor";
6487
- type PopoverPropsPosition = "TopRight" | "BottomLeft";
6697
+ type PopoverPropsPosition = "top-right" | "bottom-left";
6488
6698
  type MaxSizedComponentConstructor = ComponentConstructor & {
6489
6699
  maxSize?: {
6490
6700
  maxWidth?: number;
@@ -6600,6 +6810,7 @@ declare const chartCategories: {
6600
6810
  bar: string;
6601
6811
  area: string;
6602
6812
  pie: string;
6813
+ hierarchical: string;
6603
6814
  misc: string;
6604
6815
  };
6605
6816
  interface ChartSubtypeProperties {
@@ -6617,7 +6828,7 @@ interface ChartSubtypeProperties {
6617
6828
  preview: string;
6618
6829
  }
6619
6830
 
6620
- interface Props$18 {
6831
+ interface Props$1g {
6621
6832
  label?: string;
6622
6833
  value: boolean;
6623
6834
  className?: string;
@@ -6626,7 +6837,7 @@ interface Props$18 {
6626
6837
  disabled?: boolean;
6627
6838
  onChange: (value: boolean) => void;
6628
6839
  }
6629
- declare class Checkbox extends Component<Props$18, SpreadsheetChildEnv> {
6840
+ declare class Checkbox extends Component<Props$1g, SpreadsheetChildEnv> {
6630
6841
  static template: string;
6631
6842
  static props: {
6632
6843
  label: {
@@ -6661,10 +6872,10 @@ declare class Checkbox extends Component<Props$18, SpreadsheetChildEnv> {
6661
6872
  onChange(ev: InputEvent): void;
6662
6873
  }
6663
6874
 
6664
- interface Props$17 {
6875
+ interface Props$1f {
6665
6876
  class?: string;
6666
6877
  }
6667
- declare class Section extends Component<Props$17, SpreadsheetChildEnv> {
6878
+ declare class Section extends Component<Props$1f, SpreadsheetChildEnv> {
6668
6879
  static template: string;
6669
6880
  static props: {
6670
6881
  class: {
@@ -6798,7 +7009,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
6798
7009
  getIndex(rangeId: number | null): number | null;
6799
7010
  }
6800
7011
 
6801
- interface Props$16 {
7012
+ interface Props$1e {
6802
7013
  ranges: string[];
6803
7014
  hasSingleRange?: boolean;
6804
7015
  required?: boolean;
@@ -6823,7 +7034,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
6823
7034
  * onSelectionChanged is called every time the input value
6824
7035
  * changes.
6825
7036
  */
6826
- declare class SelectionInput extends Component<Props$16, SpreadsheetChildEnv> {
7037
+ declare class SelectionInput extends Component<Props$1e, SpreadsheetChildEnv> {
6827
7038
  static template: string;
6828
7039
  static props: {
6829
7040
  ranges: ArrayConstructor;
@@ -6890,15 +7101,16 @@ declare class SelectionInput extends Component<Props$16, SpreadsheetChildEnv> {
6890
7101
  confirm(): void;
6891
7102
  }
6892
7103
 
6893
- interface Props$15 {
7104
+ interface Props$1d {
6894
7105
  ranges: CustomizedDataSet[];
6895
7106
  hasSingleRange?: boolean;
6896
7107
  onSelectionChanged: (ranges: string[]) => void;
6897
7108
  onSelectionReordered?: (indexes: number[]) => void;
6898
7109
  onSelectionRemoved?: (index: number) => void;
6899
7110
  onSelectionConfirmed: () => void;
7111
+ title?: string;
6900
7112
  }
6901
- declare class ChartDataSeries extends Component<Props$15, SpreadsheetChildEnv> {
7113
+ declare class ChartDataSeries extends Component<Props$1d, SpreadsheetChildEnv> {
6902
7114
  static template: string;
6903
7115
  static components: {
6904
7116
  SelectionInput: typeof SelectionInput;
@@ -6920,18 +7132,22 @@ declare class ChartDataSeries extends Component<Props$15, SpreadsheetChildEnv> {
6920
7132
  optional: boolean;
6921
7133
  };
6922
7134
  onSelectionConfirmed: FunctionConstructor;
7135
+ title: {
7136
+ type: StringConstructor;
7137
+ optional: boolean;
7138
+ };
6923
7139
  };
6924
7140
  get ranges(): string[];
6925
7141
  get colors(): (Color | undefined)[];
6926
7142
  get title(): string;
6927
7143
  }
6928
7144
 
6929
- interface Props$14 {
7145
+ interface Props$1c {
6930
7146
  messages: string[];
6931
7147
  msgType: "warning" | "error" | "info";
6932
7148
  singleBox?: boolean;
6933
7149
  }
6934
- declare class ValidationMessages extends Component<Props$14, SpreadsheetChildEnv> {
7150
+ declare class ValidationMessages extends Component<Props$1c, SpreadsheetChildEnv> {
6935
7151
  static template: string;
6936
7152
  static props: {
6937
7153
  messages: ArrayConstructor;
@@ -6945,10 +7161,10 @@ declare class ValidationMessages extends Component<Props$14, SpreadsheetChildEnv
6945
7161
  get alertBoxes(): string[][];
6946
7162
  }
6947
7163
 
6948
- interface Props$13 {
7164
+ interface Props$1b {
6949
7165
  messages: string[];
6950
7166
  }
6951
- declare class ChartErrorSection extends Component<Props$13, SpreadsheetChildEnv> {
7167
+ declare class ChartErrorSection extends Component<Props$1b, SpreadsheetChildEnv> {
6952
7168
  static template: string;
6953
7169
  static components: {
6954
7170
  Section: typeof Section;
@@ -6962,7 +7178,7 @@ declare class ChartErrorSection extends Component<Props$13, SpreadsheetChildEnv>
6962
7178
  };
6963
7179
  }
6964
7180
 
6965
- interface Props$12 {
7181
+ interface Props$1a {
6966
7182
  title?: string;
6967
7183
  range: string;
6968
7184
  isInvalid: boolean;
@@ -6975,7 +7191,7 @@ interface Props$12 {
6975
7191
  onChange: (value: boolean) => void;
6976
7192
  }>;
6977
7193
  }
6978
- declare class ChartLabelRange extends Component<Props$12, SpreadsheetChildEnv> {
7194
+ declare class ChartLabelRange extends Component<Props$1a, SpreadsheetChildEnv> {
6979
7195
  static template: string;
6980
7196
  static components: {
6981
7197
  SelectionInput: typeof SelectionInput;
@@ -6996,10 +7212,10 @@ declare class ChartLabelRange extends Component<Props$12, SpreadsheetChildEnv> {
6996
7212
  optional: boolean;
6997
7213
  };
6998
7214
  };
6999
- static defaultProps: Partial<Props$12>;
7215
+ static defaultProps: Partial<Props$1a>;
7000
7216
  }
7001
7217
 
7002
- interface Props$11 {
7218
+ interface Props$19 {
7003
7219
  figureId: UID;
7004
7220
  definition: ChartWithDataSetDefinition;
7005
7221
  canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
@@ -7009,7 +7225,7 @@ interface ChartPanelState {
7009
7225
  datasetDispatchResult?: DispatchResult;
7010
7226
  labelsDispatchResult?: DispatchResult;
7011
7227
  }
7012
- declare class GenericChartConfigPanel extends Component<Props$11, SpreadsheetChildEnv> {
7228
+ declare class GenericChartConfigPanel extends Component<Props$19, SpreadsheetChildEnv> {
7013
7229
  static template: string;
7014
7230
  static components: {
7015
7231
  ChartDataSeries: typeof ChartDataSeries;
@@ -7030,7 +7246,7 @@ declare class GenericChartConfigPanel extends Component<Props$11, SpreadsheetChi
7030
7246
  protected chartTerms: {
7031
7247
  [key: string]: any;
7032
7248
  GeoChart: {
7033
- ColorScales: Record<"blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis", string>;
7249
+ ColorScales: Record<Extract<GeoChartColorScale, string>, string>;
7034
7250
  };
7035
7251
  };
7036
7252
  setup(): void;
@@ -7071,6 +7287,21 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
7071
7287
  onUpdateStacked(stacked: boolean): void;
7072
7288
  }
7073
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
+
7074
7305
  declare class SidePanelCollapsible extends Component {
7075
7306
  static template: string;
7076
7307
  static props: {
@@ -7079,7 +7310,7 @@ declare class SidePanelCollapsible extends Component {
7079
7310
  type: StringConstructor;
7080
7311
  optional: boolean;
7081
7312
  };
7082
- collapsedAtInit: {
7313
+ isInitiallyCollapsed: {
7083
7314
  type: BooleanConstructor;
7084
7315
  optional: boolean;
7085
7316
  };
@@ -7088,19 +7319,23 @@ declare class SidePanelCollapsible extends Component {
7088
7319
  optional: boolean;
7089
7320
  };
7090
7321
  };
7091
- currentId: string;
7322
+ static components: {
7323
+ Collapse: typeof Collapse;
7324
+ };
7325
+ private state;
7326
+ toggle(): void;
7092
7327
  }
7093
7328
 
7094
7329
  interface Choice$1 {
7095
7330
  value: string;
7096
7331
  label: string;
7097
7332
  }
7098
- interface Props$10 {
7333
+ interface Props$17 {
7099
7334
  choices: Choice$1[];
7100
7335
  onChange: (value: string) => void;
7101
7336
  selectedValue: string;
7102
7337
  }
7103
- declare class BadgeSelection extends Component<Props$10, SpreadsheetChildEnv> {
7338
+ declare class BadgeSelection extends Component<Props$17, SpreadsheetChildEnv> {
7104
7339
  static template: string;
7105
7340
  static props: {
7106
7341
  choices: ArrayConstructor;
@@ -7109,6 +7344,45 @@ declare class BadgeSelection extends Component<Props$10, SpreadsheetChildEnv> {
7109
7344
  };
7110
7345
  }
7111
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
+
7112
7386
  declare enum ComponentsImportance {
7113
7387
  Grid = 0,
7114
7388
  Highlight = 5,
@@ -7262,7 +7536,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
7262
7536
  isSameColor(color1: Color, color2: Color): boolean;
7263
7537
  }
7264
7538
 
7265
- interface Props$$ {
7539
+ interface Props$15 {
7266
7540
  currentColor: string | undefined;
7267
7541
  toggleColorPicker: () => void;
7268
7542
  showColorPicker: boolean;
@@ -7273,7 +7547,7 @@ interface Props$$ {
7273
7547
  dropdownMaxHeight?: Pixel;
7274
7548
  class?: string;
7275
7549
  }
7276
- declare class ColorPickerWidget extends Component<Props$$, SpreadsheetChildEnv> {
7550
+ declare class ColorPickerWidget extends Component<Props$15, SpreadsheetChildEnv> {
7277
7551
  static template: string;
7278
7552
  static props: {
7279
7553
  currentColor: {
@@ -7316,11 +7590,11 @@ declare class CellPopoverStore extends SpreadsheetStore {
7316
7590
  private persistentPopover?;
7317
7591
  protected hoveredCell: {
7318
7592
  readonly clear: () => void;
7319
- readonly hover: (position: Position$1) => void;
7593
+ readonly hover: (position: Partial<Position$1>) => void;
7320
7594
  readonly mutators: readonly ["clear", "hover"];
7321
7595
  readonly col: number | undefined;
7322
7596
  readonly row: number | undefined;
7323
- readonly renderingLayers: readonly ("Chart" | "Background" | "Highlights" | "Clipboard" | "Autofill" | "Selection" | "Headers")[];
7597
+ readonly renderingLayers: Readonly<LayerName[]>;
7324
7598
  };
7325
7599
  handle(cmd: Command): void;
7326
7600
  open({ col, row }: Position$1, type: CellPopoverType): void;
@@ -7334,14 +7608,14 @@ declare class CellPopoverStore extends SpreadsheetStore {
7334
7608
  interface State$4 {
7335
7609
  isOpen: boolean;
7336
7610
  }
7337
- interface Props$_ {
7611
+ interface Props$14 {
7338
7612
  currentFontSize: number;
7339
7613
  class: string;
7340
7614
  onFontSizeChanged: (fontSize: number) => void;
7341
7615
  onToggle?: () => void;
7342
7616
  onFocusInput?: () => void;
7343
7617
  }
7344
- declare class FontSizeEditor extends Component<Props$_, SpreadsheetChildEnv> {
7618
+ declare class FontSizeEditor extends Component<Props$14, SpreadsheetChildEnv> {
7345
7619
  static template: string;
7346
7620
  static props: {
7347
7621
  currentFontSize: NumberConstructor;
@@ -7379,62 +7653,54 @@ declare class FontSizeEditor extends Component<Props$_, SpreadsheetChildEnv> {
7379
7653
  onInputKeydown(ev: KeyboardEvent): void;
7380
7654
  }
7381
7655
 
7382
- interface Props$Z {
7383
- title?: string;
7384
- updateTitle: (title: string) => void;
7385
- name?: string;
7386
- toggleItalic?: () => void;
7387
- toggleBold?: () => void;
7388
- updateAlignment?: (string: any) => void;
7389
- updateColor?: (Color: any) => void;
7390
- style: TitleDesign;
7391
- onFontSizeChanged: (fontSize: number) => void;
7392
- }
7393
- declare class ChartTitle extends Component<Props$Z, 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> {
7394
7666
  static template: string;
7395
7667
  static components: {
7396
- Section: typeof Section;
7397
7668
  ColorPickerWidget: typeof ColorPickerWidget;
7669
+ ActionButton: typeof ActionButton;
7398
7670
  FontSizeEditor: typeof FontSizeEditor;
7399
7671
  };
7400
7672
  static props: {
7401
- title: {
7402
- type: StringConstructor;
7673
+ style: ObjectConstructor;
7674
+ updateStyle: {
7675
+ type: FunctionConstructor;
7403
7676
  optional: boolean;
7404
7677
  };
7405
- updateTitle: FunctionConstructor;
7406
- name: {
7407
- type: StringConstructor;
7678
+ defaultStyle: {
7679
+ type: ObjectConstructor;
7408
7680
  optional: boolean;
7409
7681
  };
7410
- toggleItalic: {
7411
- type: FunctionConstructor;
7682
+ hasVerticalAlign: {
7683
+ type: BooleanConstructor;
7412
7684
  optional: boolean;
7413
7685
  };
7414
- toggleBold: {
7415
- type: FunctionConstructor;
7686
+ hasHorizontalAlign: {
7687
+ type: BooleanConstructor;
7416
7688
  optional: boolean;
7417
7689
  };
7418
- updateAlignment: {
7419
- type: FunctionConstructor;
7690
+ hasBackgroundColor: {
7691
+ type: BooleanConstructor;
7420
7692
  optional: boolean;
7421
7693
  };
7422
- updateColor: {
7423
- type: FunctionConstructor;
7424
- optional: boolean;
7694
+ class: {
7695
+ type: StringConstructor;
7696
+ optional: boolean;
7425
7697
  };
7426
- style: ObjectConstructor;
7427
- onFontSizeChanged: FunctionConstructor;
7428
- };
7429
- static defaultProps: {
7430
- title: string;
7431
7698
  };
7432
7699
  openedEl: HTMLElement | null;
7433
7700
  setup(): void;
7434
7701
  state: {
7435
7702
  activeTool: string;
7436
7703
  };
7437
- updateTitle(ev: InputEvent): void;
7438
7704
  updateFontSize(fontSize: number): void;
7439
7705
  toggleDropdownTool(tool: string, ev: MouseEvent): void;
7440
7706
  /**
@@ -7444,22 +7710,74 @@ declare class ChartTitle extends Component<Props$Z, SpreadsheetChildEnv> {
7444
7710
  * time with something like a menuStore ?
7445
7711
  */
7446
7712
  onExternalClick(ev: MouseEvent): void;
7447
- onColorPicked(color: Color): void;
7448
- 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;
7449
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;
7450
7768
  }
7451
7769
 
7452
7770
  interface AxisDefinition {
7453
7771
  id: string;
7454
7772
  name: string;
7455
7773
  }
7456
- interface Props$Y {
7774
+ interface Props$11 {
7457
7775
  figureId: UID;
7458
- definition: ChartWithDataSetDefinition | WaterfallChartDefinition;
7459
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition | WaterfallChartDefinition>) => DispatchResult;
7776
+ definition: ChartWithAxisDefinition;
7777
+ updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
7460
7778
  axesList: AxisDefinition[];
7461
7779
  }
7462
- declare class AxisDesignEditor extends Component<Props$Y, SpreadsheetChildEnv> {
7780
+ declare class AxisDesignEditor extends Component<Props$11, SpreadsheetChildEnv> {
7463
7781
  static template: string;
7464
7782
  static components: {
7465
7783
  Section: typeof Section;
@@ -7475,28 +7793,55 @@ declare class AxisDesignEditor extends Component<Props$Y, SpreadsheetChildEnv> {
7475
7793
  state: {
7476
7794
  currentAxis: string;
7477
7795
  };
7796
+ defaultFontSize: number;
7478
7797
  get axisTitleStyle(): TitleDesign;
7479
7798
  get badgeAxes(): {
7480
7799
  value: string;
7481
7800
  label: string;
7482
7801
  }[];
7483
- updateAxisTitleColor(color: Color): void;
7484
- updateAxisTitleFontSize(fontSize: number): void;
7485
- toggleBoldAxisTitle(): void;
7486
- toggleItalicAxisTitle(): void;
7487
- updateAxisTitleAlignment(align: "left" | "center" | "right"): void;
7488
7802
  updateAxisEditor(ev: any): void;
7489
7803
  getAxisTitle(): any;
7490
7804
  updateAxisTitle(text: string): void;
7805
+ updateAxisTitleStyle(style: TitleDesign): void;
7491
7806
  }
7492
7807
 
7493
- interface Props$X {
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$$ {
7494
7839
  currentColor?: string;
7495
7840
  onColorPicked: (color: string) => void;
7496
7841
  title?: string;
7497
7842
  disableNoColor?: boolean;
7498
7843
  }
7499
- declare class RoundColorPicker extends Component<Props$X, SpreadsheetChildEnv> {
7844
+ declare class RoundColorPicker extends Component<Props$$, SpreadsheetChildEnv> {
7500
7845
  static template: string;
7501
7846
  static components: {
7502
7847
  Section: typeof Section;
@@ -7529,19 +7874,20 @@ declare class RoundColorPicker extends Component<Props$X, SpreadsheetChildEnv> {
7529
7874
  get buttonStyle(): string;
7530
7875
  }
7531
7876
 
7532
- interface Props$W {
7877
+ interface Props$_ {
7533
7878
  figureId: UID;
7534
7879
  definition: ChartDefinition;
7535
7880
  updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
7536
7881
  defaultChartTitleFontSize?: number;
7537
7882
  }
7538
- declare class GeneralDesignEditor extends Component<Props$W, SpreadsheetChildEnv> {
7883
+ declare class GeneralDesignEditor extends Component<Props$_, SpreadsheetChildEnv> {
7539
7884
  static template: string;
7540
7885
  static components: {
7541
7886
  RoundColorPicker: typeof RoundColorPicker;
7542
7887
  ChartTitle: typeof ChartTitle;
7543
7888
  Section: typeof Section;
7544
7889
  SidePanelCollapsible: typeof SidePanelCollapsible;
7890
+ RadioSelection: typeof RadioSelection;
7545
7891
  };
7546
7892
  static props: {
7547
7893
  figureId: StringConstructor;
@@ -7565,20 +7911,15 @@ declare class GeneralDesignEditor extends Component<Props$W, SpreadsheetChildEnv
7565
7911
  toggleDropdownTool(tool: string, ev: MouseEvent): void;
7566
7912
  updateBackgroundColor(color: Color): void;
7567
7913
  updateTitle(newTitle: string): void;
7568
- get titleStyle(): TitleDesign;
7569
- updateChartTitleColor(color: Color): void;
7570
- updateChartTitleFontSize(fontSize: number): void;
7571
- toggleBoldChartTitle(): void;
7572
- toggleItalicChartTitle(): void;
7573
- updateChartTitleAlignment(align: "left" | "center" | "right"): void;
7914
+ updateChartTitleStyle(style: TitleDesign): void;
7574
7915
  }
7575
7916
 
7576
- interface Props$V {
7917
+ interface Props$Z {
7577
7918
  figureId: UID;
7578
7919
  definition: ChartWithDataSetDefinition;
7579
7920
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7580
7921
  }
7581
- declare class ChartLegend extends Component<Props$V, SpreadsheetChildEnv> {
7922
+ declare class ChartLegend extends Component<Props$Z, SpreadsheetChildEnv> {
7582
7923
  static template: string;
7583
7924
  static components: {
7584
7925
  Section: typeof Section;
@@ -7591,43 +7932,13 @@ declare class ChartLegend extends Component<Props$V, SpreadsheetChildEnv> {
7591
7932
  updateLegendPosition(ev: any): void;
7592
7933
  }
7593
7934
 
7594
- interface Choice {
7595
- value: unknown;
7596
- label: string;
7597
- }
7598
- interface Props$U {
7599
- choices: Choice[];
7600
- onChange: (value: unknown) => void;
7601
- selectedValue: string;
7602
- name: string;
7603
- direction: "horizontal" | "vertical";
7604
- }
7605
- declare class RadioSelection extends Component<Props$U, SpreadsheetChildEnv> {
7606
- static template: string;
7607
- static props: {
7608
- choices: ArrayConstructor;
7609
- onChange: FunctionConstructor;
7610
- selectedValue: {
7611
- optional: boolean;
7612
- };
7613
- name: StringConstructor;
7614
- direction: {
7615
- type: StringConstructor;
7616
- optional: boolean;
7617
- };
7618
- };
7619
- static defaultProps: {
7620
- direction: string;
7621
- };
7622
- }
7623
-
7624
- interface Props$T {
7935
+ interface Props$Y {
7625
7936
  figureId: UID;
7626
7937
  definition: ChartWithDataSetDefinition;
7627
7938
  canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7628
7939
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7629
7940
  }
7630
- declare class SeriesDesignEditor extends Component<Props$T, SpreadsheetChildEnv> {
7941
+ declare class SeriesDesignEditor extends Component<Props$Y, SpreadsheetChildEnv> {
7631
7942
  static template: string;
7632
7943
  static components: {
7633
7944
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -7648,20 +7959,20 @@ declare class SeriesDesignEditor extends Component<Props$T, SpreadsheetChildEnv>
7648
7959
  index: number;
7649
7960
  };
7650
7961
  getDataSeries(): (string | undefined)[];
7651
- updateSerieEditor(ev: any): void;
7962
+ updateEditedSeries(ev: Event): void;
7652
7963
  updateDataSeriesColor(color: string): void;
7653
- getDataSerieColor(): "" | Color;
7654
- updateDataSeriesLabel(ev: any): void;
7655
- getDataSerieLabel(): string | undefined;
7964
+ getDataSeriesColor(): "" | Color;
7965
+ updateDataSeriesLabel(ev: Event): void;
7966
+ getDataSeriesLabel(): string | undefined;
7656
7967
  }
7657
7968
 
7658
- interface Props$S {
7969
+ interface Props$X {
7659
7970
  figureId: UID;
7660
7971
  definition: ChartWithDataSetDefinition;
7661
7972
  canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7662
7973
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7663
7974
  }
7664
- declare class SeriesWithAxisDesignEditor extends Component<Props$S, SpreadsheetChildEnv> {
7975
+ declare class SeriesWithAxisDesignEditor extends Component<Props$X, SpreadsheetChildEnv> {
7665
7976
  static template: string;
7666
7977
  static components: {
7667
7978
  SeriesDesignEditor: typeof SeriesDesignEditor;
@@ -7696,19 +8007,19 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$S, SpreadsheetC
7696
8007
  getMaxPolynomialDegree(index: any): number;
7697
8008
  get defaultWindowSize(): number;
7698
8009
  onChangeMovingAverageWindow(index: number, ev: InputEvent): void;
7699
- getDataSerieColor(index: number): "" | Color;
8010
+ getDataSeriesColor(index: number): "" | Color;
7700
8011
  getTrendLineColor(index: number): string;
7701
8012
  updateTrendLineColor(index: number, color: Color): void;
7702
8013
  updateTrendLineValue(index: number, config: any): void;
7703
8014
  }
7704
8015
 
7705
- interface Props$R {
8016
+ interface Props$W {
7706
8017
  figureId: UID;
7707
8018
  definition: ChartWithDataSetDefinition;
7708
8019
  canUpdateChart: (figureID: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
7709
8020
  updateChart: (figureId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
7710
8021
  }
7711
- declare class ChartWithAxisDesignPanel<P extends Props$R = Props$R> extends Component<P, SpreadsheetChildEnv> {
8022
+ declare class ChartWithAxisDesignPanel<P extends Props$W = Props$W> extends Component<P, SpreadsheetChildEnv> {
7712
8023
  static template: string;
7713
8024
  static components: {
7714
8025
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -7728,13 +8039,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$R = Props$R> extends Comp
7728
8039
  get axesList(): AxisDefinition[];
7729
8040
  }
7730
8041
 
7731
- interface Props$Q {
8042
+ interface Props$V {
7732
8043
  figureId: UID;
7733
8044
  definition: GaugeChartDefinition;
7734
8045
  canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7735
8046
  updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7736
8047
  }
7737
- declare class GaugeChartConfigPanel extends Component<Props$Q, SpreadsheetChildEnv> {
8048
+ declare class GaugeChartConfigPanel extends Component<Props$V, SpreadsheetChildEnv> {
7738
8049
  static template: string;
7739
8050
  static components: {
7740
8051
  ChartErrorSection: typeof ChartErrorSection;
@@ -7796,15 +8107,16 @@ interface EnrichedToken extends Token {
7796
8107
  color?: Color;
7797
8108
  isBlurred?: boolean;
7798
8109
  isParenthesisLinkedToCursor?: boolean;
8110
+ isInHoverContext?: boolean;
7799
8111
  }
7800
8112
 
7801
- interface Props$P {
8113
+ interface Props$U {
7802
8114
  proposals: AutoCompleteProposal[];
7803
8115
  selectedIndex: number | undefined;
7804
8116
  onValueSelected: (value: string) => void;
7805
8117
  onValueHovered: (index: string) => void;
7806
8118
  }
7807
- declare class TextValueProvider extends Component<Props$P> {
8119
+ declare class TextValueProvider extends Component<Props$U> {
7808
8120
  static template: string;
7809
8121
  static props: {
7810
8122
  proposals: ArrayConstructor;
@@ -7871,22 +8183,43 @@ declare class ContentEditableHelper {
7871
8183
  getText(): string;
7872
8184
  }
7873
8185
 
7874
- interface Props$O {
7875
- functionName: string;
8186
+ interface Props$T {
7876
8187
  functionDescription: FunctionDescription;
7877
- argToFocus: number;
8188
+ argsToFocus: number[];
7878
8189
  }
7879
- declare class FunctionDescriptionProvider extends Component<Props$O, SpreadsheetChildEnv> {
8190
+ declare class FunctionDescriptionProvider extends Component<Props$T, SpreadsheetChildEnv> {
7880
8191
  static template: string;
7881
8192
  static props: {
7882
- functionName: StringConstructor;
7883
8193
  functionDescription: ObjectConstructor;
7884
- argToFocus: NumberConstructor;
8194
+ argsToFocus: ArrayConstructor;
7885
8195
  };
7886
- getContext(): Props$O;
8196
+ static components: {
8197
+ Collapse: typeof Collapse;
8198
+ };
8199
+ private state;
8200
+ toggle(): void;
8201
+ getContext(): Props$T;
7887
8202
  get formulaArgSeparator(): string;
7888
8203
  }
7889
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
+
7890
8223
  declare const tokenColors: {
7891
8224
  readonly OPERATOR: "#3da4ab";
7892
8225
  readonly NUMBER: "#02c39a";
@@ -7903,7 +8236,7 @@ interface ComposerSelection {
7903
8236
  end: number;
7904
8237
  }
7905
8238
  declare abstract class AbstractComposerStore extends SpreadsheetStore {
7906
- mutators: readonly ["startEdition", "setCurrentContent", "stopEdition", "stopComposerRangeSelection", "cancelEdition", "cycleReferences", "toggleEditionMode", "changeComposerCursorSelection", "replaceComposerCursorSelection"];
8239
+ mutators: readonly ["startEdition", "setCurrentContent", "stopEdition", "stopComposerRangeSelection", "cancelEdition", "cycleReferences", "toggleEditionMode", "changeComposerCursorSelection", "replaceComposerCursorSelection", "hoverToken"];
7907
8240
  protected col: HeaderIndex;
7908
8241
  protected row: HeaderIndex;
7909
8242
  editionMode: EditionMode;
@@ -7914,6 +8247,8 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
7914
8247
  protected selectionEnd: number;
7915
8248
  protected initialContent: string | undefined;
7916
8249
  private colorIndexByRange;
8250
+ hoveredTokens: EnrichedToken[];
8251
+ hoveredContentEvaluation: string;
7917
8252
  protected notificationStore: {
7918
8253
  readonly notifyUser: (notification: InformationNotification) => void;
7919
8254
  readonly raiseError: (text: string, callback?: (() => void) | undefined) => void;
@@ -7944,6 +8279,10 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
7944
8279
  get tokenAtCursor(): EnrichedToken | undefined;
7945
8280
  cycleReferences(): void;
7946
8281
  toggleEditionMode(): void;
8282
+ hoverToken(tokenIndex: number | undefined): void;
8283
+ private getRelatedTokens;
8284
+ private evaluationResultToDisplayString;
8285
+ private cellValueToDisplayString;
7947
8286
  private captureSelection;
7948
8287
  private isSelectionValid;
7949
8288
  /**
@@ -8020,6 +8359,7 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
8020
8359
  * - Previous and next tokens can be separated by spaces
8021
8360
  */
8022
8361
  private canStartComposerRangeSelection;
8362
+ private getNumberOfMissingParenthesis;
8023
8363
  }
8024
8364
 
8025
8365
  declare class CellComposerStore extends AbstractComposerStore {
@@ -8041,8 +8381,10 @@ declare class CellComposerStore extends AbstractComposerStore {
8041
8381
 
8042
8382
  type HtmlContent = {
8043
8383
  value: string;
8384
+ onHover?: (rect: Rect) => void;
8385
+ onStopHover?: () => void;
8044
8386
  color?: Color;
8045
- class?: string;
8387
+ classes?: string[];
8046
8388
  };
8047
8389
  interface CellComposerProps {
8048
8390
  focus: ComposerFocusType;
@@ -8059,12 +8401,12 @@ interface CellComposerProps {
8059
8401
  interface ComposerState {
8060
8402
  positionStart: number;
8061
8403
  positionEnd: number;
8404
+ hoveredRect: Rect | undefined;
8062
8405
  }
8063
8406
  interface FunctionDescriptionState {
8064
8407
  showDescription: boolean;
8065
- functionName: string;
8066
8408
  functionDescription: FunctionDescription;
8067
- argToFocus: number;
8409
+ argsToFocus: number[];
8068
8410
  }
8069
8411
  declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv> {
8070
8412
  static template: string;
@@ -8106,6 +8448,7 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8106
8448
  static components: {
8107
8449
  TextValueProvider: typeof TextValueProvider;
8108
8450
  FunctionDescriptionProvider: typeof FunctionDescriptionProvider;
8451
+ SpeechBubble: typeof SpeechBubble;
8109
8452
  };
8110
8453
  static defaultProps: {
8111
8454
  inputStyle: string;
@@ -8124,6 +8467,8 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8124
8467
  };
8125
8468
  private compositionActive;
8126
8469
  private spreadsheetRect;
8470
+ private lastHoveredTokenIndex;
8471
+ private debouncedHover;
8127
8472
  get assistantStyleProperties(): CSSProperties;
8128
8473
  get assistantStyle(): string;
8129
8474
  get assistantContainerStyle(): string;
@@ -8162,6 +8507,7 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8162
8507
  * processContent.
8163
8508
  */
8164
8509
  onMousedown(ev: MouseEvent): void;
8510
+ onMouseup(): void;
8165
8511
  onClick(): void;
8166
8512
  onDblClick(): void;
8167
8513
  onContextMenu(ev: MouseEvent): void;
@@ -8173,6 +8519,7 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8173
8519
  */
8174
8520
  private getContentLines;
8175
8521
  private getHtmlContentFromTokens;
8522
+ private onTokenHover;
8176
8523
  /**
8177
8524
  * Split an array of HTMLContents into lines. Each NEWLINE character encountered will create a new
8178
8525
  * line. Contents can be split into multiple parts if they contain multiple NEWLINE characters.
@@ -8185,7 +8532,17 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8185
8532
  * the autocomplete engine otherwise we initialize the formula assistant.
8186
8533
  */
8187
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;
8188
8544
  private autoComplete;
8545
+ get displaySpeechBubble(): boolean;
8189
8546
  }
8190
8547
 
8191
8548
  interface AutoCompleteProposal {
@@ -8222,11 +8579,12 @@ interface ComposerStoreInterface {
8222
8579
  * We declare the providers in the registry as an object (rather than a class)
8223
8580
  * to allow a type-safe way to declare the provider.
8224
8581
  * We still want to be able to use `this` for the getters and dispatch for simplicity.
8225
- * Binding happens at runtime in the edition plugin.
8582
+ * Binding happens at runtime in the composer store.
8226
8583
  */
8227
8584
  interface AutoCompleteProviderDefinition {
8228
8585
  sequence?: number;
8229
8586
  autoSelectFirstProposal?: boolean;
8587
+ displayAllOnInitialContent?: boolean;
8230
8588
  maxDisplayedProposals?: number;
8231
8589
  getProposals(this: {
8232
8590
  composer: ComposerStoreInterface;
@@ -8285,7 +8643,7 @@ declare class MenuItemRegistry extends Registry<ActionSpec> {
8285
8643
  getMenuItems(): Action[];
8286
8644
  }
8287
8645
 
8288
- interface Props$N {
8646
+ interface Props$R {
8289
8647
  onConfirm: (content: string) => void;
8290
8648
  composerContent: string;
8291
8649
  defaultRangeSheetId: UID;
@@ -8297,7 +8655,7 @@ interface Props$N {
8297
8655
  invalid?: boolean;
8298
8656
  getContextualColoredSymbolToken?: (token: Token) => Color;
8299
8657
  }
8300
- declare class StandaloneComposer extends Component<Props$N, SpreadsheetChildEnv> {
8658
+ declare class StandaloneComposer extends Component<Props$R, SpreadsheetChildEnv> {
8301
8659
  static template: string;
8302
8660
  static props: {
8303
8661
  composerContent: {
@@ -8360,13 +8718,13 @@ interface PanelState {
8360
8718
  sectionRuleCancelledReasons?: CommandResult[];
8361
8719
  sectionRule: SectionRule;
8362
8720
  }
8363
- interface Props$M {
8721
+ interface Props$Q {
8364
8722
  figureId: UID;
8365
8723
  definition: GaugeChartDefinition;
8366
8724
  canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8367
8725
  updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8368
8726
  }
8369
- declare class GaugeChartDesignPanel extends Component<Props$M, SpreadsheetChildEnv> {
8727
+ declare class GaugeChartDesignPanel extends Component<Props$Q, SpreadsheetChildEnv> {
8370
8728
  static template: string;
8371
8729
  static components: {
8372
8730
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -8416,13 +8774,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
8416
8774
  onUpdateCumulative(cumulative: boolean): void;
8417
8775
  }
8418
8776
 
8419
- interface Props$L {
8777
+ interface Props$P {
8420
8778
  figureId: UID;
8421
8779
  definition: ScorecardChartDefinition;
8422
8780
  canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8423
8781
  updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8424
8782
  }
8425
- declare class ScorecardChartConfigPanel extends Component<Props$L, SpreadsheetChildEnv> {
8783
+ declare class ScorecardChartConfigPanel extends Component<Props$P, SpreadsheetChildEnv> {
8426
8784
  static template: string;
8427
8785
  static components: {
8428
8786
  SelectionInput: typeof SelectionInput;
@@ -8451,13 +8809,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$L, SpreadsheetCh
8451
8809
  }
8452
8810
 
8453
8811
  type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
8454
- interface Props$K {
8812
+ interface Props$O {
8455
8813
  figureId: UID;
8456
8814
  definition: ScorecardChartDefinition;
8457
8815
  canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8458
8816
  updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8459
8817
  }
8460
- declare class ScorecardChartDesignPanel extends Component<Props$K, SpreadsheetChildEnv> {
8818
+ declare class ScorecardChartDesignPanel extends Component<Props$O, SpreadsheetChildEnv> {
8461
8819
  static template: string;
8462
8820
  static components: {
8463
8821
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -8556,17 +8914,18 @@ declare class ComposerFocusStore extends SpreadsheetStore {
8556
8914
  private setComposerContent;
8557
8915
  }
8558
8916
 
8559
- interface Props$J {
8560
- figure: Figure;
8917
+ interface Props$N {
8918
+ figureUI: FigureUI;
8561
8919
  }
8562
- declare class ChartJsComponent extends Component<Props$J, SpreadsheetChildEnv> {
8920
+ declare class ChartJsComponent extends Component<Props$N, SpreadsheetChildEnv> {
8563
8921
  static template: string;
8564
8922
  static props: {
8565
- figure: ObjectConstructor;
8923
+ figureUI: ObjectConstructor;
8566
8924
  };
8567
8925
  private canvas;
8568
8926
  private chart?;
8569
8927
  private currentRuntime;
8928
+ private currentDevicePixelRatio;
8570
8929
  get background(): string;
8571
8930
  get canvasStyle(): string;
8572
8931
  get chartRuntime(): ChartJSRuntime;
@@ -8575,13 +8934,13 @@ declare class ChartJsComponent extends Component<Props$J, SpreadsheetChildEnv> {
8575
8934
  private updateChartJs;
8576
8935
  }
8577
8936
 
8578
- interface Props$I {
8579
- figure: Figure;
8937
+ interface Props$M {
8938
+ figureUI: FigureUI;
8580
8939
  }
8581
- declare class ScorecardChart$1 extends Component<Props$I, SpreadsheetChildEnv> {
8940
+ declare class ScorecardChart$1 extends Component<Props$M, SpreadsheetChildEnv> {
8582
8941
  static template: string;
8583
8942
  static props: {
8584
- figure: ObjectConstructor;
8943
+ figureUI: ObjectConstructor;
8585
8944
  };
8586
8945
  private canvas;
8587
8946
  get runtime(): ScorecardChartRuntime;
@@ -8591,8 +8950,9 @@ declare class ScorecardChart$1 extends Component<Props$I, SpreadsheetChildEnv> {
8591
8950
  }
8592
8951
 
8593
8952
  type MenuItemOrSeparator = Action | "separator";
8594
- interface Props$H {
8595
- position: DOMCoordinates;
8953
+ interface Props$L {
8954
+ anchorRect: Rect;
8955
+ popoverPositioning: PopoverPropsPosition;
8596
8956
  menuItems: Action[];
8597
8957
  depth: number;
8598
8958
  maxHeight?: Pixel;
@@ -8605,15 +8965,19 @@ interface Props$H {
8605
8965
  interface MenuState {
8606
8966
  isOpen: boolean;
8607
8967
  parentMenu?: Action;
8608
- position: null | DOMCoordinates;
8968
+ anchorRect: null | Rect;
8609
8969
  scrollOffset?: Pixel;
8610
8970
  menuItems: Action[];
8611
8971
  isHoveringChild?: boolean;
8612
8972
  }
8613
- declare class Menu extends Component<Props$H, SpreadsheetChildEnv> {
8973
+ declare class Menu extends Component<Props$L, SpreadsheetChildEnv> {
8614
8974
  static template: string;
8615
8975
  static props: {
8616
- position: ObjectConstructor;
8976
+ anchorRect: ObjectConstructor;
8977
+ popoverPositioning: {
8978
+ type: StringConstructor;
8979
+ optional: boolean;
8980
+ };
8617
8981
  menuItems: ArrayConstructor;
8618
8982
  depth: {
8619
8983
  type: NumberConstructor;
@@ -8647,6 +9011,7 @@ declare class Menu extends Component<Props$H, SpreadsheetChildEnv> {
8647
9011
  };
8648
9012
  static defaultProps: {
8649
9013
  depth: number;
9014
+ popoverPositioning: string;
8650
9015
  };
8651
9016
  private subMenu;
8652
9017
  private menuRef;
@@ -8655,7 +9020,7 @@ declare class Menu extends Component<Props$H, SpreadsheetChildEnv> {
8655
9020
  private openingTimeOut;
8656
9021
  setup(): void;
8657
9022
  get menuItemsAndSeparators(): MenuItemOrSeparator[];
8658
- get subMenuPosition(): DOMCoordinates;
9023
+ get subMenuAnchorRect(): Rect;
8659
9024
  get popoverProps(): PopoverProps;
8660
9025
  get childrenHaveIcon(): boolean;
8661
9026
  getIconName(menu: Action): string;
@@ -8686,17 +9051,17 @@ declare class Menu extends Component<Props$H, SpreadsheetChildEnv> {
8686
9051
  }
8687
9052
 
8688
9053
  type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
8689
- interface Props$G {
8690
- figure: Figure;
9054
+ interface Props$K {
9055
+ figureUI: FigureUI;
8691
9056
  style: string;
8692
9057
  onFigureDeleted: () => void;
8693
9058
  onMouseDown: (ev: MouseEvent) => void;
8694
9059
  onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
8695
9060
  }
8696
- declare class FigureComponent extends Component<Props$G, SpreadsheetChildEnv> {
9061
+ declare class FigureComponent extends Component<Props$K, SpreadsheetChildEnv> {
8697
9062
  static template: string;
8698
9063
  static props: {
8699
- figure: ObjectConstructor;
9064
+ figureUI: ObjectConstructor;
8700
9065
  style: {
8701
9066
  type: StringConstructor;
8702
9067
  optional: boolean;
@@ -8737,19 +9102,20 @@ declare class FigureComponent extends Component<Props$G, SpreadsheetChildEnv> {
8737
9102
  clickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
8738
9103
  onMouseDown(ev: MouseEvent): void;
8739
9104
  onKeyDown(ev: KeyboardEvent): void;
9105
+ private postionInBoundary;
8740
9106
  onContextMenu(ev: MouseEvent): void;
8741
9107
  showMenu(): void;
8742
9108
  private openContextMenu;
8743
9109
  }
8744
9110
 
8745
- interface Props$F {
8746
- figure: Figure;
9111
+ interface Props$J {
9112
+ figureUI: FigureUI;
8747
9113
  onFigureDeleted: () => void;
8748
9114
  }
8749
- declare class ChartFigure extends Component<Props$F, SpreadsheetChildEnv> {
9115
+ declare class ChartFigure extends Component<Props$J, SpreadsheetChildEnv> {
8750
9116
  static template: string;
8751
9117
  static props: {
8752
- figure: ObjectConstructor;
9118
+ figureUI: ObjectConstructor;
8753
9119
  onFigureDeleted: FunctionConstructor;
8754
9120
  };
8755
9121
  static components: {};
@@ -8758,7 +9124,16 @@ declare class ChartFigure extends Component<Props$F, SpreadsheetChildEnv> {
8758
9124
  get chartComponent(): new (...args: any) => Component;
8759
9125
  }
8760
9126
 
8761
- interface Props$E {
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 {
8762
9137
  isVisible: boolean;
8763
9138
  position: Position;
8764
9139
  }
@@ -8770,18 +9145,24 @@ interface State$3 {
8770
9145
  position: Position;
8771
9146
  handler: boolean;
8772
9147
  }
8773
- declare class Autofill extends Component<Props$E, SpreadsheetChildEnv> {
9148
+ declare class Autofill extends Component<Props$I, SpreadsheetChildEnv> {
8774
9149
  static template: string;
8775
9150
  static props: {
8776
9151
  position: ObjectConstructor;
8777
9152
  isVisible: BooleanConstructor;
8778
9153
  };
8779
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
+ };
8780
9161
  get style(): string;
8781
9162
  get handlerStyle(): string;
8782
9163
  get styleNextValue(): string;
8783
9164
  getTooltip(): Tooltip | undefined;
8784
- onMouseDown(ev: MouseEvent): void;
9165
+ onMouseDown(ev: PointerEvent): void;
8785
9166
  onDblClick(): void;
8786
9167
  }
8787
9168
 
@@ -8804,7 +9185,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
8804
9185
  get tagStyle(): string;
8805
9186
  }
8806
9187
 
8807
- interface Props$D {
9188
+ interface Props$H {
8808
9189
  gridDims: DOMDimension;
8809
9190
  onInputContextMenu: (event: MouseEvent) => void;
8810
9191
  }
@@ -8812,7 +9193,7 @@ interface Props$D {
8812
9193
  * This component is a composer which positions itself on the grid at the anchor cell.
8813
9194
  * It also applies the style of the cell to the composer input.
8814
9195
  */
8815
- declare class GridComposer extends Component<Props$D, SpreadsheetChildEnv> {
9196
+ declare class GridComposer extends Component<Props$H, SpreadsheetChildEnv> {
8816
9197
  static template: string;
8817
9198
  static props: {
8818
9199
  gridDims: ObjectConstructor;
@@ -8870,10 +9251,10 @@ declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChild
8870
9251
  isPositionVisible(position: CellPosition): boolean;
8871
9252
  }
8872
9253
 
8873
- interface Props$C {
9254
+ interface Props$G {
8874
9255
  cellPosition: CellPosition;
8875
9256
  }
8876
- declare class DataValidationCheckbox extends Component<Props$C, SpreadsheetChildEnv> {
9257
+ declare class DataValidationCheckbox extends Component<Props$G, SpreadsheetChildEnv> {
8877
9258
  static template: string;
8878
9259
  static components: {
8879
9260
  Checkbox: typeof Checkbox;
@@ -8886,10 +9267,10 @@ declare class DataValidationCheckbox extends Component<Props$C, SpreadsheetChild
8886
9267
  get isDisabled(): boolean;
8887
9268
  }
8888
9269
 
8889
- interface Props$B {
9270
+ interface Props$F {
8890
9271
  cellPosition: CellPosition;
8891
9272
  }
8892
- declare class DataValidationListIcon extends Component<Props$B, SpreadsheetChildEnv> {
9273
+ declare class DataValidationListIcon extends Component<Props$F, SpreadsheetChildEnv> {
8893
9274
  static template: string;
8894
9275
  static props: {
8895
9276
  cellPosition: ObjectConstructor;
@@ -8919,12 +9300,12 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
8919
9300
  }
8920
9301
 
8921
9302
  type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
8922
- interface Props$A {
9303
+ interface Props$E {
8923
9304
  onFigureDeleted: () => void;
8924
9305
  }
8925
9306
  interface Container {
8926
9307
  type: ContainerType;
8927
- figures: Figure[];
9308
+ figures: FigureUI[];
8928
9309
  style: string;
8929
9310
  inverseViewportStyle: string;
8930
9311
  }
@@ -8934,7 +9315,7 @@ interface Snap<T extends HFigureAxisType | VFigureAxisType> {
8934
9315
  containerStyle: string;
8935
9316
  }
8936
9317
  interface DndState {
8937
- draggedFigure?: Figure;
9318
+ draggedFigure?: FigureUI;
8938
9319
  horizontalSnap?: Snap<HFigureAxisType>;
8939
9320
  verticalSnap?: Snap<VFigureAxisType>;
8940
9321
  cancelDnd: (() => void) | undefined;
@@ -8999,7 +9380,7 @@ interface DndState {
8999
9380
  * that occurred during the drag & drop, and to position the figure on the correct pane.
9000
9381
  *
9001
9382
  */
9002
- declare class FiguresContainer extends Component<Props$A, SpreadsheetChildEnv> {
9383
+ declare class FiguresContainer extends Component<Props$E, SpreadsheetChildEnv> {
9003
9384
  static template: string;
9004
9385
  static props: {
9005
9386
  onFigureDeleted: FunctionConstructor;
@@ -9016,7 +9397,8 @@ declare class FiguresContainer extends Component<Props$A, SpreadsheetChildEnv> {
9016
9397
  private getContainerRect;
9017
9398
  private getInverseViewportPositionStyle;
9018
9399
  private getFigureContainer;
9019
- startDraggingFigure(figure: Figure, ev: MouseEvent): void;
9400
+ private toBottomRightViewport;
9401
+ startDraggingFigure(figureUI: FigureUI, ev: MouseEvent): void;
9020
9402
  /**
9021
9403
  * Initialize the resize of a figure with mouse movements
9022
9404
  *
@@ -9026,18 +9408,18 @@ declare class FiguresContainer extends Component<Props$A, SpreadsheetChildEnv> {
9026
9408
  * resize from the bottom border of the figure
9027
9409
  * @param ev Mouse Event
9028
9410
  */
9029
- startResize(figure: Figure, dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
9411
+ startResize(figureUI: FigureUI, dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
9030
9412
  private getOtherFigures;
9031
9413
  private getDndFigure;
9032
- getFigureStyle(figure: Figure): string;
9414
+ getFigureStyle(figureUI: FigureUI): string;
9033
9415
  private getSnap;
9034
9416
  private getSnapLineStyle;
9035
9417
  }
9036
9418
 
9037
- interface Props$z {
9419
+ interface Props$D {
9038
9420
  cellPosition: CellPosition;
9039
9421
  }
9040
- declare class FilterIcon extends Component<Props$z, SpreadsheetChildEnv> {
9422
+ declare class FilterIcon extends Component<Props$D, SpreadsheetChildEnv> {
9041
9423
  static template: string;
9042
9424
  static props: {
9043
9425
  cellPosition: ObjectConstructor;
@@ -9059,10 +9441,10 @@ declare class FilterIconsOverlay extends Component<{}, SpreadsheetChildEnv> {
9059
9441
  getFilterHeadersPositions(): CellPosition[];
9060
9442
  }
9061
9443
 
9062
- interface Props$y {
9444
+ interface Props$C {
9063
9445
  focusGrid: () => void;
9064
9446
  }
9065
- declare class GridAddRowsFooter extends Component<Props$y, SpreadsheetChildEnv> {
9447
+ declare class GridAddRowsFooter extends Component<Props$C, SpreadsheetChildEnv> {
9066
9448
  static template: string;
9067
9449
  static props: {
9068
9450
  focusGrid: FunctionConstructor;
@@ -9086,23 +9468,18 @@ declare class GridAddRowsFooter extends Component<Props$y, SpreadsheetChildEnv>
9086
9468
  private onExternalClick;
9087
9469
  }
9088
9470
 
9089
- interface Props$x {
9090
- onCellHovered: (position: Partial<Position$1>) => void;
9471
+ interface Props$B {
9091
9472
  onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
9092
- onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers) => void;
9473
+ onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: MouseEvent) => void;
9093
9474
  onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
9094
9475
  onGridResized: (dimension: Rect) => void;
9095
9476
  onGridMoved: (deltaX: Pixel, deltaY: Pixel) => void;
9096
9477
  gridOverlayDimensions: string;
9097
9478
  onFigureDeleted: () => void;
9098
9479
  }
9099
- declare class GridOverlay extends Component<Props$x, SpreadsheetChildEnv> {
9480
+ declare class GridOverlay extends Component<Props$B, SpreadsheetChildEnv> {
9100
9481
  static template: string;
9101
9482
  static props: {
9102
- onCellHovered: {
9103
- type: FunctionConstructor;
9104
- optional: boolean;
9105
- };
9106
9483
  onCellDoubleClicked: {
9107
9484
  type: FunctionConstructor;
9108
9485
  optional: boolean;
@@ -9125,6 +9502,10 @@ declare class GridOverlay extends Component<Props$x, SpreadsheetChildEnv> {
9125
9502
  };
9126
9503
  onGridMoved: FunctionConstructor;
9127
9504
  gridOverlayDimensions: StringConstructor;
9505
+ slots: {
9506
+ type: ObjectConstructor;
9507
+ optional: boolean;
9508
+ };
9128
9509
  };
9129
9510
  static components: {
9130
9511
  FiguresContainer: typeof FiguresContainer;
@@ -9133,7 +9514,6 @@ declare class GridOverlay extends Component<Props$x, SpreadsheetChildEnv> {
9133
9514
  FilterIconsOverlay: typeof FilterIconsOverlay;
9134
9515
  };
9135
9516
  static defaultProps: {
9136
- onCellHovered: () => void;
9137
9517
  onCellDoubleClicked: () => void;
9138
9518
  onCellClicked: () => void;
9139
9519
  onCellRightClicked: () => void;
@@ -9154,12 +9534,12 @@ declare class GridOverlay extends Component<Props$x, SpreadsheetChildEnv> {
9154
9534
  private getCartesianCoordinates;
9155
9535
  }
9156
9536
 
9157
- interface Props$w {
9537
+ interface Props$A {
9158
9538
  gridRect: Rect;
9159
9539
  onClosePopover: () => void;
9160
9540
  onMouseWheel: (ev: WheelEvent) => void;
9161
9541
  }
9162
- declare class GridPopover extends Component<Props$w, SpreadsheetChildEnv> {
9542
+ declare class GridPopover extends Component<Props$A, SpreadsheetChildEnv> {
9163
9543
  static template: string;
9164
9544
  static props: {
9165
9545
  onClosePopover: FunctionConstructor;
@@ -9175,6 +9555,53 @@ declare class GridPopover extends Component<Props$w, SpreadsheetChildEnv> {
9175
9555
  get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
9176
9556
  }
9177
9557
 
9558
+ interface Props$z {
9559
+ headersGroups: ConsecutiveIndexes[];
9560
+ offset: number;
9561
+ headerRange: {
9562
+ start: HeaderIndex;
9563
+ end: HeaderIndex;
9564
+ };
9565
+ }
9566
+ declare class UnhideRowHeaders extends Component<Props$z, SpreadsheetChildEnv> {
9567
+ static template: string;
9568
+ static props: {
9569
+ headersGroups: ArrayConstructor;
9570
+ headerRange: ObjectConstructor;
9571
+ offset: {
9572
+ type: NumberConstructor;
9573
+ optional: boolean;
9574
+ };
9575
+ };
9576
+ static defaultProps: {
9577
+ offset: number;
9578
+ };
9579
+ get sheetId(): UID;
9580
+ getUnhidePreviousButtonStyle(hiddenIndex: HeaderIndex): string;
9581
+ getUnhideNextButtonStyle(hiddenIndex: HeaderIndex): string;
9582
+ unhide(hiddenElements: HeaderIndex[]): void;
9583
+ isVisible(header: HeaderIndex): boolean;
9584
+ }
9585
+ declare class UnhideColumnHeaders extends Component<Props$z, SpreadsheetChildEnv> {
9586
+ static template: string;
9587
+ static props: {
9588
+ headersGroups: ArrayConstructor;
9589
+ headerRange: ObjectConstructor;
9590
+ offset: {
9591
+ type: NumberConstructor;
9592
+ optional: boolean;
9593
+ };
9594
+ };
9595
+ static defaultProps: {
9596
+ offset: number;
9597
+ };
9598
+ get sheetId(): UID;
9599
+ getUnhidePreviousButtonStyle(hiddenIndex: HeaderIndex): string;
9600
+ getUnhideNextButtonStyle(hiddenIndex: HeaderIndex): string;
9601
+ unhide(hiddenElements: HeaderIndex[]): void;
9602
+ isVisible(header: HeaderIndex): boolean;
9603
+ }
9604
+
9178
9605
  interface ResizerState {
9179
9606
  resizerIsActive: boolean;
9180
9607
  isResizing: boolean;
@@ -9202,6 +9629,12 @@ declare abstract class AbstractResizer extends Component<ResizerProps, Spreadshe
9202
9629
  MIN_ELEMENT_SIZE: number;
9203
9630
  lastSelectedElementIndex: HeaderIndex | null;
9204
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
+ };
9205
9638
  abstract _getEvOffset(ev: MouseEvent): Pixel;
9206
9639
  abstract _getViewportOffset(): Pixel;
9207
9640
  abstract _getClientPosition(ev: MouseEvent): Pixel;
@@ -9227,7 +9660,7 @@ declare abstract class AbstractResizer extends Component<ResizerProps, Spreadshe
9227
9660
  onMouseLeave(): void;
9228
9661
  onDblClick(ev: MouseEvent): void;
9229
9662
  onMouseDown(ev: MouseEvent): void;
9230
- select(ev: MouseEvent): void;
9663
+ select(ev: PointerEvent): void;
9231
9664
  private startMovement;
9232
9665
  private startSelection;
9233
9666
  onMouseUp(ev: MouseEvent): void;
@@ -9238,8 +9671,12 @@ declare class ColResizer extends AbstractResizer {
9238
9671
  onOpenContextMenu: FunctionConstructor;
9239
9672
  };
9240
9673
  static template: string;
9674
+ static components: {
9675
+ UnhideColumnHeaders: typeof UnhideColumnHeaders;
9676
+ };
9241
9677
  private colResizerRef;
9242
9678
  setup(): void;
9679
+ get sheetId(): UID;
9243
9680
  _getEvOffset(ev: MouseEvent): Pixel;
9244
9681
  _getViewportOffset(): Pixel;
9245
9682
  _getClientPosition(ev: MouseEvent): Pixel;
@@ -9259,15 +9696,35 @@ declare class ColResizer extends AbstractResizer {
9259
9696
  _getActiveElements(): Set<HeaderIndex>;
9260
9697
  _getPreviousVisibleElement(index: HeaderIndex): HeaderIndex;
9261
9698
  unhide(hiddenElements: HeaderIndex[]): void;
9262
- getUnhideButtonStyle(hiddenIndex: HeaderIndex): string;
9699
+ get mainUnhideHeadersProps(): {
9700
+ headersGroups: ConsecutiveIndexes[];
9701
+ offset: Pixel;
9702
+ headerRange: {
9703
+ start: HeaderIndex;
9704
+ end: HeaderIndex;
9705
+ };
9706
+ };
9707
+ get frozenUnhideHeadersProps(): {
9708
+ headersGroups: ConsecutiveIndexes[];
9709
+ headerRange: {
9710
+ start: number;
9711
+ end: number;
9712
+ };
9713
+ };
9714
+ get frozenContainerStyle(): string;
9715
+ get hasFrozenPane(): boolean;
9263
9716
  }
9264
9717
  declare class RowResizer extends AbstractResizer {
9265
9718
  static props: {
9266
9719
  onOpenContextMenu: FunctionConstructor;
9267
9720
  };
9268
9721
  static template: string;
9722
+ static components: {
9723
+ UnhideRowHeaders: typeof UnhideRowHeaders;
9724
+ };
9269
9725
  setup(): void;
9270
9726
  private rowResizerRef;
9727
+ get sheetId(): UID;
9271
9728
  _getEvOffset(ev: MouseEvent): Pixel;
9272
9729
  _getViewportOffset(): Pixel;
9273
9730
  _getClientPosition(ev: MouseEvent): Pixel;
@@ -9286,8 +9743,23 @@ declare class RowResizer extends AbstractResizer {
9286
9743
  _getType(): ContextMenuType;
9287
9744
  _getActiveElements(): Set<HeaderIndex>;
9288
9745
  _getPreviousVisibleElement(index: HeaderIndex): HeaderIndex;
9289
- unhide(hiddenElements: HeaderIndex[]): void;
9290
- getUnhideButtonStyle(hiddenIndex: HeaderIndex): string;
9746
+ get mainUnhideHeadersProps(): {
9747
+ headersGroups: ConsecutiveIndexes[];
9748
+ offset: Pixel;
9749
+ headerRange: {
9750
+ start: HeaderIndex;
9751
+ end: HeaderIndex;
9752
+ };
9753
+ };
9754
+ get frozenUnhideHeadersProps(): {
9755
+ headersGroups: ConsecutiveIndexes[];
9756
+ headerRange: {
9757
+ start: number;
9758
+ end: number;
9759
+ };
9760
+ };
9761
+ get frozenContainerStyle(): string;
9762
+ get hasFrozenPane(): boolean;
9291
9763
  }
9292
9764
  declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
9293
9765
  static props: {
@@ -9302,13 +9774,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
9302
9774
  }
9303
9775
 
9304
9776
  type Orientation$1 = "n" | "s" | "w" | "e";
9305
- interface Props$v {
9777
+ interface Props$y {
9306
9778
  zone: Zone;
9307
9779
  orientation: Orientation$1;
9308
9780
  isMoving: boolean;
9309
- onMoveHighlight: (x: Pixel, y: Pixel) => void;
9781
+ onMoveHighlight: (ev: PointerEvent) => void;
9310
9782
  }
9311
- declare class Border extends Component<Props$v, SpreadsheetChildEnv> {
9783
+ declare class Border extends Component<Props$y, SpreadsheetChildEnv> {
9312
9784
  static template: string;
9313
9785
  static props: {
9314
9786
  zone: ObjectConstructor;
@@ -9317,18 +9789,18 @@ declare class Border extends Component<Props$v, SpreadsheetChildEnv> {
9317
9789
  onMoveHighlight: FunctionConstructor;
9318
9790
  };
9319
9791
  get style(): string;
9320
- onMouseDown(ev: MouseEvent): void;
9792
+ onMouseDown(ev: PointerEvent): void;
9321
9793
  }
9322
9794
 
9323
9795
  type Orientation = "nw" | "ne" | "sw" | "se";
9324
- interface Props$u {
9796
+ interface Props$x {
9325
9797
  zone: Zone;
9326
9798
  color: Color;
9327
9799
  orientation: Orientation;
9328
9800
  isResizing: boolean;
9329
- onResizeHighlight: (isLeft: boolean, isRight: boolean) => void;
9801
+ onResizeHighlight: (ev: PointerEvent, isLeft: boolean, isTop: boolean) => void;
9330
9802
  }
9331
- declare class Corner extends Component<Props$u, SpreadsheetChildEnv> {
9803
+ declare class Corner extends Component<Props$x, SpreadsheetChildEnv> {
9332
9804
  static template: string;
9333
9805
  static props: {
9334
9806
  zone: ObjectConstructor;
@@ -9340,17 +9812,17 @@ declare class Corner extends Component<Props$u, SpreadsheetChildEnv> {
9340
9812
  private isTop;
9341
9813
  private isLeft;
9342
9814
  get style(): string;
9343
- onMouseDown(ev: MouseEvent): void;
9815
+ onMouseDown(ev: PointerEvent): void;
9344
9816
  }
9345
9817
 
9346
- interface Props$t {
9818
+ interface Props$w {
9347
9819
  zone: Zone;
9348
9820
  color: Color;
9349
9821
  }
9350
9822
  interface HighlightState {
9351
9823
  shiftingMode: "isMoving" | "isResizing" | "none";
9352
9824
  }
9353
- declare class Highlight extends Component<Props$t, SpreadsheetChildEnv> {
9825
+ declare class Highlight extends Component<Props$w, SpreadsheetChildEnv> {
9354
9826
  static template: string;
9355
9827
  static props: {
9356
9828
  zone: ObjectConstructor;
@@ -9361,13 +9833,19 @@ declare class Highlight extends Component<Props$t, SpreadsheetChildEnv> {
9361
9833
  Border: typeof Border;
9362
9834
  };
9363
9835
  highlightState: HighlightState;
9364
- onResizeHighlight(isLeft: boolean, isTop: boolean): void;
9365
- 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;
9366
9844
  }
9367
9845
 
9368
9846
  type ScrollDirection = "horizontal" | "vertical";
9369
9847
 
9370
- interface Props$s {
9848
+ interface Props$v {
9371
9849
  width: Pixel;
9372
9850
  height: Pixel;
9373
9851
  direction: ScrollDirection;
@@ -9375,7 +9853,7 @@ interface Props$s {
9375
9853
  offset: Pixel;
9376
9854
  onScroll: (offset: Pixel) => void;
9377
9855
  }
9378
- declare class ScrollBar extends Component<Props$s> {
9856
+ declare class ScrollBar extends Component<Props$v> {
9379
9857
  static props: {
9380
9858
  width: {
9381
9859
  type: NumberConstructor;
@@ -9403,10 +9881,10 @@ declare class ScrollBar extends Component<Props$s> {
9403
9881
  onScroll(ev: any): void;
9404
9882
  }
9405
9883
 
9406
- interface Props$r {
9884
+ interface Props$u {
9407
9885
  leftOffset: number;
9408
9886
  }
9409
- declare class HorizontalScrollBar extends Component<Props$r, SpreadsheetChildEnv> {
9887
+ declare class HorizontalScrollBar extends Component<Props$u, SpreadsheetChildEnv> {
9410
9888
  static props: {
9411
9889
  leftOffset: {
9412
9890
  type: NumberConstructor;
@@ -9432,10 +9910,10 @@ declare class HorizontalScrollBar extends Component<Props$r, SpreadsheetChildEnv
9432
9910
  onScroll(offset: any): void;
9433
9911
  }
9434
9912
 
9435
- interface Props$q {
9913
+ interface Props$t {
9436
9914
  topOffset: number;
9437
9915
  }
9438
- declare class VerticalScrollBar extends Component<Props$q, SpreadsheetChildEnv> {
9916
+ declare class VerticalScrollBar extends Component<Props$t, SpreadsheetChildEnv> {
9439
9917
  static props: {
9440
9918
  topOffset: {
9441
9919
  type: NumberConstructor;
@@ -9461,33 +9939,30 @@ declare class VerticalScrollBar extends Component<Props$q, SpreadsheetChildEnv>
9461
9939
  onScroll(offset: any): void;
9462
9940
  }
9463
9941
 
9464
- interface Props$p {
9942
+ interface Props$s {
9465
9943
  table: Table;
9466
9944
  }
9467
9945
  interface State$2 {
9468
9946
  highlightZone: Zone | undefined;
9469
9947
  }
9470
- declare class TableResizer extends Component<Props$p, SpreadsheetChildEnv> {
9948
+ declare class TableResizer extends Component<Props$s, SpreadsheetChildEnv> {
9471
9949
  static template: string;
9472
9950
  static props: {
9473
9951
  table: ObjectConstructor;
9474
9952
  };
9475
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
+ };
9476
9960
  setup(): void;
9477
9961
  get containerStyle(): string;
9478
- onMouseDown(ev: MouseEvent): void;
9962
+ onMouseDown(ev: PointerEvent): void;
9479
9963
  get highlights(): Highlight$1[];
9480
9964
  }
9481
9965
 
9482
- declare class HoveredCellStore extends SpreadsheetStore {
9483
- mutators: readonly ["clear", "hover"];
9484
- col: number | undefined;
9485
- row: number | undefined;
9486
- handle(cmd: Command): void;
9487
- hover(position: Position$1): void;
9488
- clear(): void;
9489
- }
9490
-
9491
9966
  /**
9492
9967
  * The Grid component is the main part of the spreadsheet UI. It is responsible
9493
9968
  * for displaying the actual grid, rendering it, managing events, ...
@@ -9499,10 +9974,10 @@ declare class HoveredCellStore extends SpreadsheetStore {
9499
9974
  * - a vertical resizer (same, for rows)
9500
9975
  */
9501
9976
  type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
9502
- interface Props$o {
9977
+ interface Props$r {
9503
9978
  exposeFocus: (focus: () => void) => void;
9504
9979
  }
9505
- declare class Grid extends Component<Props$o, SpreadsheetChildEnv> {
9980
+ declare class Grid extends Component<Props$r, SpreadsheetChildEnv> {
9506
9981
  static template: string;
9507
9982
  static props: {
9508
9983
  exposeFocus: FunctionConstructor;
@@ -9530,15 +10005,17 @@ declare class Grid extends Component<Props$o, SpreadsheetChildEnv> {
9530
10005
  private composerFocusStore;
9531
10006
  private DOMFocusableElementStore;
9532
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
+ };
9533
10014
  onMouseWheel: (ev: WheelEvent) => void;
9534
10015
  canvasPosition: DOMCoordinates;
9535
- hoveredCell: Store<HoveredCellStore>;
10016
+ hoveredCell: Store<DelayedHoveredCellStore>;
9536
10017
  sidePanel: Store<SidePanelStore>;
9537
10018
  setup(): void;
9538
- onCellHovered({ col, row }: {
9539
- col: any;
9540
- row: any;
9541
- }): void;
9542
10019
  get highlights(): Highlight$1[];
9543
10020
  get gridOverlayDimensions(): string;
9544
10021
  onClosePopover(): void;
@@ -9555,7 +10032,7 @@ declare class Grid extends Component<Props$o, SpreadsheetChildEnv> {
9555
10032
  getClientPositionKey(client: Client): string;
9556
10033
  isCellHovered(col: HeaderIndex, row: HeaderIndex): boolean;
9557
10034
  private getGridRect;
9558
- onCellClicked(col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers): void;
10035
+ onCellClicked(col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: PointerEvent): void;
9559
10036
  onCellDoubleClicked(col: HeaderIndex, row: HeaderIndex): void;
9560
10037
  processArrows(ev: KeyboardEvent): void;
9561
10038
  onKeydown(ev: KeyboardEvent): void;
@@ -9611,7 +10088,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
9611
10088
  private getChartDefinitionFromContextCreation;
9612
10089
  }
9613
10090
 
9614
- interface Props$n {
10091
+ interface Props$q {
9615
10092
  figureId: UID;
9616
10093
  chartPanelStore: MainChartPanelStore;
9617
10094
  }
@@ -9619,7 +10096,7 @@ interface ChartTypePickerState {
9619
10096
  popoverProps: PopoverProps | undefined;
9620
10097
  popoverStyle: string;
9621
10098
  }
9622
- declare class ChartTypePicker extends Component<Props$n, SpreadsheetChildEnv> {
10099
+ declare class ChartTypePicker extends Component<Props$q, SpreadsheetChildEnv> {
9623
10100
  static template: string;
9624
10101
  static components: {
9625
10102
  Section: typeof Section;
@@ -9635,6 +10112,7 @@ declare class ChartTypePicker extends Component<Props$n, SpreadsheetChildEnv> {
9635
10112
  bar: string;
9636
10113
  area: string;
9637
10114
  pie: string;
10115
+ hierarchical: string;
9638
10116
  misc: string;
9639
10117
  };
9640
10118
  chartTypeByCategories: Record<string, ChartSubtypeProperties[]>;
@@ -9654,11 +10132,11 @@ declare class ChartTypePicker extends Component<Props$n, SpreadsheetChildEnv> {
9654
10132
  private closePopover;
9655
10133
  }
9656
10134
 
9657
- interface Props$m {
10135
+ interface Props$p {
9658
10136
  onCloseSidePanel: () => void;
9659
10137
  figureId: UID;
9660
10138
  }
9661
- declare class ChartPanel extends Component<Props$m, SpreadsheetChildEnv> {
10139
+ declare class ChartPanel extends Component<Props$p, SpreadsheetChildEnv> {
9662
10140
  static template: string;
9663
10141
  static components: {
9664
10142
  Section: typeof Section;
@@ -9678,13 +10156,13 @@ declare class ChartPanel extends Component<Props$m, SpreadsheetChildEnv> {
9678
10156
  private getChartDefinition;
9679
10157
  }
9680
10158
 
9681
- interface Props$l {
10159
+ interface Props$o {
9682
10160
  figureId: UID;
9683
10161
  definition: PieChartDefinition;
9684
10162
  canUpdateChart: (figureID: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
9685
10163
  updateChart: (figureId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
9686
10164
  }
9687
- declare class PieChartDesignPanel extends Component<Props$l, SpreadsheetChildEnv> {
10165
+ declare class PieChartDesignPanel extends Component<Props$o, SpreadsheetChildEnv> {
9688
10166
  static template: string;
9689
10167
  static components: {
9690
10168
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -9703,10 +10181,10 @@ declare class PieChartDesignPanel extends Component<Props$l, SpreadsheetChildEnv
9703
10181
  };
9704
10182
  }
9705
10183
 
9706
- interface Props$k {
10184
+ interface Props$n {
9707
10185
  items: ActionSpec[];
9708
10186
  }
9709
- declare class CogWheelMenu extends Component<Props$k, SpreadsheetChildEnv> {
10187
+ declare class CogWheelMenu extends Component<Props$n, SpreadsheetChildEnv> {
9710
10188
  static template: string;
9711
10189
  static components: {
9712
10190
  Menu: typeof Menu;
@@ -9789,14 +10267,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
9789
10267
  get highlights(): Highlight$1[];
9790
10268
  }
9791
10269
 
9792
- interface Props$j {
10270
+ interface Props$m {
9793
10271
  deferUpdate: boolean;
9794
10272
  isDirty: boolean;
9795
10273
  toggleDeferUpdate: (value: boolean) => void;
9796
10274
  discard: () => void;
9797
10275
  apply: () => void;
9798
10276
  }
9799
- declare class PivotDeferUpdate extends Component<Props$j, SpreadsheetChildEnv> {
10277
+ declare class PivotDeferUpdate extends Component<Props$m, SpreadsheetChildEnv> {
9800
10278
  static template: string;
9801
10279
  static props: {
9802
10280
  deferUpdate: BooleanConstructor;
@@ -9813,11 +10291,11 @@ declare class PivotDeferUpdate extends Component<Props$j, SpreadsheetChildEnv> {
9813
10291
  get deferUpdatesTooltip(): string;
9814
10292
  }
9815
10293
 
9816
- interface Props$i {
10294
+ interface Props$l {
9817
10295
  onFieldPicked: (field: string) => void;
9818
10296
  fields: PivotField[];
9819
10297
  }
9820
- declare class AddDimensionButton extends Component<Props$i, SpreadsheetChildEnv> {
10298
+ declare class AddDimensionButton extends Component<Props$l, SpreadsheetChildEnv> {
9821
10299
  static template: string;
9822
10300
  static components: {
9823
10301
  Popover: typeof Popover;
@@ -9853,7 +10331,7 @@ declare class AddDimensionButton extends Component<Props$i, SpreadsheetChildEnv>
9853
10331
  onKeyDown(ev: KeyboardEvent): void;
9854
10332
  }
9855
10333
 
9856
- interface Props$h {
10334
+ interface Props$k {
9857
10335
  value: string;
9858
10336
  onChange: (value: string) => void;
9859
10337
  class?: string;
@@ -9861,7 +10339,7 @@ interface Props$h {
9861
10339
  placeholder?: string;
9862
10340
  autofocus?: boolean;
9863
10341
  }
9864
- declare class TextInput extends Component<Props$h, SpreadsheetChildEnv> {
10342
+ declare class TextInput extends Component<Props$k, SpreadsheetChildEnv> {
9865
10343
  static template: string;
9866
10344
  static props: {
9867
10345
  value: StringConstructor;
@@ -9891,13 +10369,13 @@ declare class TextInput extends Component<Props$h, SpreadsheetChildEnv> {
9891
10369
  onMouseUp(ev: MouseEvent): void;
9892
10370
  }
9893
10371
 
9894
- interface Props$g {
10372
+ interface Props$j {
9895
10373
  dimension: PivotCoreDimension | PivotCoreMeasure;
9896
10374
  onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
9897
10375
  onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
9898
10376
  type: "row" | "col" | "measure";
9899
10377
  }
9900
- declare class PivotDimension extends Component<Props$g, SpreadsheetChildEnv> {
10378
+ declare class PivotDimension extends Component<Props$j, SpreadsheetChildEnv> {
9901
10379
  static template: string;
9902
10380
  static props: {
9903
10381
  dimension: ObjectConstructor;
@@ -9921,13 +10399,13 @@ declare class PivotDimension extends Component<Props$g, SpreadsheetChildEnv> {
9921
10399
  updateName(name: string): void;
9922
10400
  }
9923
10401
 
9924
- interface Props$f {
10402
+ interface Props$i {
9925
10403
  dimension: PivotDimension$1;
9926
10404
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
9927
10405
  availableGranularities: Set<string>;
9928
10406
  allGranularities: string[];
9929
10407
  }
9930
- declare class PivotDimensionGranularity extends Component<Props$f, SpreadsheetChildEnv> {
10408
+ declare class PivotDimensionGranularity extends Component<Props$i, SpreadsheetChildEnv> {
9931
10409
  static template: string;
9932
10410
  static props: {
9933
10411
  dimension: ObjectConstructor;
@@ -9952,11 +10430,11 @@ declare class PivotDimensionGranularity extends Component<Props$f, SpreadsheetCh
9952
10430
  };
9953
10431
  }
9954
10432
 
9955
- interface Props$e {
10433
+ interface Props$h {
9956
10434
  dimension: PivotDimension$1;
9957
10435
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
9958
10436
  }
9959
- declare class PivotDimensionOrder extends Component<Props$e, SpreadsheetChildEnv> {
10437
+ declare class PivotDimensionOrder extends Component<Props$h, SpreadsheetChildEnv> {
9960
10438
  static template: string;
9961
10439
  static props: {
9962
10440
  dimension: ObjectConstructor;
@@ -9990,8 +10468,9 @@ declare function createPivotFormula(formulaId: string, cell: PivotTableCell): st
9990
10468
  * the two group values are "42" and "won".
9991
10469
  */
9992
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;
9993
10472
 
9994
- interface Props$d {
10473
+ interface Props$g {
9995
10474
  pivotId: string;
9996
10475
  definition: PivotRuntimeDefinition;
9997
10476
  measure: PivotMeasure;
@@ -9999,7 +10478,7 @@ interface Props$d {
9999
10478
  onRemoved: () => void;
10000
10479
  generateMeasureId: (fieldName: string, aggregator?: string) => string;
10001
10480
  }
10002
- declare class PivotMeasureEditor extends Component<Props$d> {
10481
+ declare class PivotMeasureEditor extends Component<Props$g> {
10003
10482
  static template: string;
10004
10483
  static components: {
10005
10484
  PivotDimension: typeof PivotDimension;
@@ -10023,11 +10502,11 @@ declare class PivotMeasureEditor extends Component<Props$d> {
10023
10502
  getColoredSymbolToken(token: Token): Color | undefined;
10024
10503
  }
10025
10504
 
10026
- interface Props$c {
10505
+ interface Props$f {
10027
10506
  definition: PivotRuntimeDefinition;
10028
10507
  pivotId: UID;
10029
10508
  }
10030
- declare class PivotSortSection extends Component<Props$c, SpreadsheetChildEnv> {
10509
+ declare class PivotSortSection extends Component<Props$f, SpreadsheetChildEnv> {
10031
10510
  static template: string;
10032
10511
  static components: {
10033
10512
  Section: typeof Section;
@@ -10039,12 +10518,12 @@ declare class PivotSortSection extends Component<Props$c, SpreadsheetChildEnv> {
10039
10518
  get hasValidSort(): boolean;
10040
10519
  get sortDescription(): string;
10041
10520
  get sortValuesAndFields(): {
10042
- field?: string | undefined;
10521
+ field?: string;
10043
10522
  value: string;
10044
10523
  }[];
10045
10524
  }
10046
10525
 
10047
- interface Props$b {
10526
+ interface Props$e {
10048
10527
  definition: PivotRuntimeDefinition;
10049
10528
  onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
10050
10529
  unusedGroupableFields: PivotField[];
@@ -10055,7 +10534,7 @@ interface Props$b {
10055
10534
  getScrollableContainerEl?: () => HTMLElement;
10056
10535
  pivotId: UID;
10057
10536
  }
10058
- declare class PivotLayoutConfigurator extends Component<Props$b, SpreadsheetChildEnv> {
10537
+ declare class PivotLayoutConfigurator extends Component<Props$e, SpreadsheetChildEnv> {
10059
10538
  static template: string;
10060
10539
  static components: {
10061
10540
  AddDimensionButton: typeof AddDimensionButton;
@@ -10145,11 +10624,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
10145
10624
  private shouldKeepSortedColumn;
10146
10625
  }
10147
10626
 
10148
- interface Props$a {
10627
+ interface Props$d {
10149
10628
  pivotId: UID;
10150
10629
  flipAxis: () => void;
10151
10630
  }
10152
- declare class PivotTitleSection extends Component<Props$a, SpreadsheetChildEnv> {
10631
+ declare class PivotTitleSection extends Component<Props$d, SpreadsheetChildEnv> {
10153
10632
  static template: string;
10154
10633
  static components: {
10155
10634
  CogWheelMenu: typeof CogWheelMenu;
@@ -10168,7 +10647,25 @@ declare class PivotTitleSection extends Component<Props$a, SpreadsheetChildEnv>
10168
10647
  onNameChanged(name: string): void;
10169
10648
  }
10170
10649
 
10171
- declare function isEvaluationError(error: Maybe<CellValue>): error is string;
10650
+ declare const CellErrorType: {
10651
+ readonly NotAvailable: "#N/A";
10652
+ readonly InvalidReference: "#REF";
10653
+ readonly BadExpression: "#BAD_EXPR";
10654
+ readonly CircularDependency: "#CYCLE";
10655
+ readonly UnknownFunction: "#NAME?";
10656
+ readonly DivisionByZero: "#DIV/0!";
10657
+ readonly SpilledBlocked: "#SPILL!";
10658
+ readonly GenericError: "#ERROR";
10659
+ readonly NullError: "#NULL!";
10660
+ };
10661
+ type ErrorValue = (typeof CellErrorType)[keyof typeof CellErrorType];
10662
+ declare class EvaluationError {
10663
+ readonly message: string;
10664
+ readonly value: string;
10665
+ constructor(message?: string, value?: string);
10666
+ }
10667
+
10668
+ declare function isEvaluationError(error: Maybe<CellValue>): error is ErrorValue;
10172
10669
  declare function toNumber(data: FunctionResultObject | CellValue | undefined, locale: Locale): number;
10173
10670
  declare function toString(data: FunctionResultObject | CellValue | undefined): string;
10174
10671
  declare function toBoolean(data: FunctionResultObject | CellValue | undefined): boolean;
@@ -10233,13 +10730,13 @@ declare function getFirstPivotFunction(tokens: Token[]): {
10233
10730
  */
10234
10731
  declare function getNumberOfPivotFunctions(tokens: Token[]): number;
10235
10732
 
10236
- interface Props$9 {
10733
+ interface Props$c {
10237
10734
  figureId: UID;
10238
10735
  definition: ComboChartDefinition;
10239
10736
  canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
10240
10737
  updateChart: (figureId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
10241
10738
  }
10242
- declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$9> {
10739
+ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$c> {
10243
10740
  static template: string;
10244
10741
  static components: {
10245
10742
  RadioSelection: typeof RadioSelection;
@@ -10259,6 +10756,84 @@ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$9> {
10259
10756
  getDataSeriesType(index: number): "line" | "bar";
10260
10757
  }
10261
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
+
10262
10837
  interface Props$8 {
10263
10838
  figureId: UID;
10264
10839
  definition: RadarChartDefinition;
@@ -10343,19 +10918,43 @@ declare class PivotMeasureDisplayPanelStore extends SpreadsheetStore {
10343
10918
  type: string;
10344
10919
  isValid: boolean;
10345
10920
  fieldName: string;
10346
- order?: SortDirection | undefined;
10347
- granularity?: string | undefined;
10921
+ order?: SortDirection;
10922
+ granularity?: Granularity | string;
10348
10923
  }[];
10349
10924
  get doesDisplayNeedsValue(): boolean;
10350
10925
  private isDisplayValueDependant;
10351
10926
  get values(): {
10352
- value: string | number | boolean;
10927
+ value: string | boolean | number;
10353
10928
  label: string;
10354
10929
  }[];
10355
10930
  private getPossibleValues;
10356
10931
  cancelMeasureDisplayEdition(): void;
10357
10932
  }
10358
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
+
10359
10958
  declare class BarChart extends AbstractChart {
10360
10959
  readonly dataSets: DataSet[];
10361
10960
  readonly labelRange?: Range | undefined;
@@ -10552,7 +11151,7 @@ interface RippleProps {
10552
11151
  allowOverflow?: boolean;
10553
11152
  enabled: boolean;
10554
11153
  onAnimationEnd: () => void;
10555
- class: string;
11154
+ class?: string;
10556
11155
  }
10557
11156
  interface RippleEffectProps extends Omit<Required<RippleProps>, "ignoreClickPosition" | "enabled" | "class"> {
10558
11157
  x: string;
@@ -10813,13 +11412,9 @@ declare class SpreadsheetDashboard extends Component<Props$3, SpreadsheetChildEn
10813
11412
  protected cellPopovers: Store<CellPopoverStore>;
10814
11413
  onMouseWheel: (ev: WheelEvent) => void;
10815
11414
  canvasPosition: DOMCoordinates;
10816
- hoveredCell: Store<HoveredCellStore>;
11415
+ hoveredCell: Store<DelayedHoveredCellStore>;
10817
11416
  clickableCellsStore: Store<ClickableCellsStore>;
10818
11417
  setup(): void;
10819
- onCellHovered({ col, row }: {
10820
- col: any;
10821
- row: any;
10822
- }): void;
10823
11418
  get gridContainer(): string;
10824
11419
  get gridOverlayDimensions(): string;
10825
11420
  getCellClickableStyle(coordinates: Rect): string;
@@ -10933,19 +11528,6 @@ declare class ToolBarRegistry {
10933
11528
  getCategories(): string[];
10934
11529
  }
10935
11530
 
10936
- declare class PositionMap<T> {
10937
- private map;
10938
- constructor(entries?: Iterable<readonly [CellPosition, T]>);
10939
- set({ sheetId, col, row }: CellPosition, value: T): void;
10940
- get({ sheetId, col, row }: CellPosition): T | undefined;
10941
- getSheet(sheetId: UID): Record<number, Record<number, T>> | undefined;
10942
- has({ sheetId, col, row }: CellPosition): boolean;
10943
- delete({ sheetId, col, row }: CellPosition): void;
10944
- keys(): CellPosition[];
10945
- keysForSheet(sheetId: UID): CellPosition[];
10946
- entries(): IterableIterator<[CellPosition, T]>;
10947
- }
10948
-
10949
11531
  declare class FormulaFingerprintStore extends SpreadsheetStore {
10950
11532
  mutators: readonly ["enable", "disable"];
10951
11533
  private isInvalidated;
@@ -11121,22 +11703,6 @@ type TranslationFunction = (string: string, ...values: SprintfValues) => string;
11121
11703
  */
11122
11704
  declare function setTranslationMethod(tfn: TranslationFunction, loaded?: () => boolean): void;
11123
11705
 
11124
- declare const CellErrorType: {
11125
- readonly NotAvailable: "#N/A";
11126
- readonly InvalidReference: "#REF";
11127
- readonly BadExpression: "#BAD_EXPR";
11128
- readonly CircularDependency: "#CYCLE";
11129
- readonly UnknownFunction: "#NAME?";
11130
- readonly DivisionByZero: "#DIV/0!";
11131
- readonly SpilledBlocked: "#SPILL!";
11132
- readonly GenericError: "#ERROR";
11133
- readonly NullError: "#NULL!";
11134
- };
11135
- declare class EvaluationError extends Error {
11136
- readonly value: string;
11137
- constructor(message?: string, value?: string);
11138
- }
11139
-
11140
11706
  /**
11141
11707
  * We export here all entities that needs to be accessed publicly by Odoo.
11142
11708
  *
@@ -11165,7 +11731,7 @@ declare const registries: {
11165
11731
  linkMenuRegistry: MenuItemRegistry;
11166
11732
  functionRegistry: FunctionRegistry;
11167
11733
  featurePluginRegistry: Registry<UIPluginConstructor>;
11168
- iconsOnCellRegistry: Registry<(getters: Getters, position: CellPosition) => ImageSrc | undefined>;
11734
+ iconsOnCellRegistry: Registry<(getters: Getters, position: CellPosition) => ImageSVG | undefined>;
11169
11735
  statefulUIPluginRegistry: Registry<UIPluginConstructor>;
11170
11736
  coreViewsPluginRegistry: Registry<CoreViewPluginConstructor>;
11171
11737
  corePluginRegistry: Registry<CorePluginConstructor>;
@@ -11173,7 +11739,7 @@ declare const registries: {
11173
11739
  sidePanelRegistry: Registry<SidePanelContent>;
11174
11740
  figureRegistry: Registry<FigureContent>;
11175
11741
  chartSidePanelComponentRegistry: Registry<ChartSidePanel>;
11176
- chartComponentRegistry: Registry<new (...args: any) => _odoo_owl.Component<any, any>>;
11742
+ chartComponentRegistry: Registry<new (...args: any) => _odoo_owl.Component>;
11177
11743
  chartRegistry: Registry<ChartBuilder>;
11178
11744
  chartSubtypeRegistry: Registry<ChartSubtypeProperties>;
11179
11745
  topbarMenuRegistry: MenuItemRegistry;
@@ -11199,949 +11765,20 @@ declare const registries: {
11199
11765
  urlRegistry: Registry<LinkSpec>;
11200
11766
  cellPopoverRegistry: Registry<PopoverBuilders>;
11201
11767
  numberFormatMenuRegistry: Registry<NumberFormatActionSpec>;
11202
- repeatLocalCommandTransformRegistry: Registry<(getters: Getters, cmd: LocalCommand, childCommands: readonly CoreCommand[]) => LocalCommand | CoreCommand[] | undefined>;
11768
+ repeatLocalCommandTransformRegistry: Registry<(getters: Getters, cmd: LocalCommand, childCommands: readonly CoreCommand[]) => CoreCommand[] | LocalCommand | undefined>;
11203
11769
  repeatCommandTransformRegistry: Registry<(getters: Getters, cmd: CoreCommand) => CoreCommand | undefined>;
11204
11770
  clipboardHandlersRegistries: {
11205
- figureHandlers: Registry<{
11206
- new (getters: Getters, dispatch: {
11207
- <T extends "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", C extends Extract<UpdateCellCommand, {
11208
- type: T;
11209
- }> | Extract<UpdateCellPositionCommand, {
11210
- type: T;
11211
- }> | Extract<ClearCellCommand, {
11212
- type: T;
11213
- }> | Extract<ClearCellsCommand, {
11214
- type: T;
11215
- }> | Extract<DeleteContentCommand, {
11216
- type: T;
11217
- }> | Extract<AddColumnsRowsCommand, {
11218
- type: T;
11219
- }> | Extract<RemoveColumnsRowsCommand, {
11220
- type: T;
11221
- }> | Extract<ResizeColumnsRowsCommand, {
11222
- type: T;
11223
- }> | Extract<HideColumnsRowsCommand, {
11224
- type: T;
11225
- }> | Extract<UnhideColumnsRowsCommand, {
11226
- type: T;
11227
- }> | Extract<SetGridLinesVisibilityCommand, {
11228
- type: T;
11229
- }> | Extract<FreezeColumnsCommand, {
11230
- type: T;
11231
- }> | Extract<FreezeRowsCommand, {
11232
- type: T;
11233
- }> | Extract<UnfreezeColumnsRowsCommand, {
11234
- type: T;
11235
- }> | Extract<UnfreezeColumnsCommand, {
11236
- type: T;
11237
- }> | Extract<UnfreezeRowsCommand, {
11238
- type: T;
11239
- }> | Extract<AddMergeCommand, {
11240
- type: T;
11241
- }> | Extract<RemoveMergeCommand, {
11242
- type: T;
11243
- }> | Extract<CreateSheetCommand, {
11244
- type: T;
11245
- }> | Extract<DeleteSheetCommand, {
11246
- type: T;
11247
- }> | Extract<DuplicateSheetCommand, {
11248
- type: T;
11249
- }> | Extract<MoveSheetCommand, {
11250
- type: T;
11251
- }> | Extract<RenameSheetCommand, {
11252
- type: T;
11253
- }> | Extract<ColorSheetCommand, {
11254
- type: T;
11255
- }> | Extract<HideSheetCommand, {
11256
- type: T;
11257
- }> | Extract<ShowSheetCommand, {
11258
- type: T;
11259
- }> | Extract<MoveRangeCommand, {
11260
- type: T;
11261
- }> | Extract<AddConditionalFormatCommand, {
11262
- type: T;
11263
- }> | Extract<RemoveConditionalFormatCommand, {
11264
- type: T;
11265
- }> | Extract<MoveConditionalFormatCommand, {
11266
- type: T;
11267
- }> | Extract<CreateFigureCommand, {
11268
- type: T;
11269
- }> | Extract<DeleteFigureCommand, {
11270
- type: T;
11271
- }> | Extract<UpdateFigureCommand, {
11272
- type: T;
11273
- }> | Extract<SetFormattingCommand, {
11274
- type: T;
11275
- }> | Extract<ClearFormattingCommand, {
11276
- type: T;
11277
- }> | Extract<SetZoneBordersCommand, {
11278
- type: T;
11279
- }> | Extract<SetBorderCommand, {
11280
- type: T;
11281
- }> | Extract<CreateChartCommand, {
11282
- type: T;
11283
- }> | Extract<UpdateChartCommand, {
11284
- type: T;
11285
- }> | Extract<CreateImageOverCommand, {
11286
- type: T;
11287
- }> | Extract<CreateTableCommand, {
11288
- type: T;
11289
- }> | Extract<RemoveTableCommand, {
11290
- type: T;
11291
- }> | Extract<UpdateTableCommand, {
11292
- type: T;
11293
- }> | Extract<CreateTableStyleCommand, {
11294
- type: T;
11295
- }> | Extract<RemoveTableStyleCommand, {
11296
- type: T;
11297
- }> | Extract<GroupHeadersCommand, {
11298
- type: T;
11299
- }> | Extract<UnGroupHeadersCommand, {
11300
- type: T;
11301
- }> | Extract<UnfoldHeaderGroupCommand, {
11302
- type: T;
11303
- }> | Extract<FoldHeaderGroupCommand, {
11304
- type: T;
11305
- }> | Extract<FoldAllHeaderGroupsCommand, {
11306
- type: T;
11307
- }> | Extract<UnfoldAllHeaderGroupsCommand, {
11308
- type: T;
11309
- }> | Extract<UnfoldHeaderGroupsInZoneCommand, {
11310
- type: T;
11311
- }> | Extract<FoldHeaderGroupsInZoneCommand, {
11312
- type: T;
11313
- }> | Extract<AddDataValidationCommand, {
11314
- type: T;
11315
- }> | Extract<RemoveDataValidationCommand, {
11316
- type: T;
11317
- }> | Extract<UpdateLocaleCommand, {
11318
- type: T;
11319
- }> | Extract<AddPivotCommand, {
11320
- type: T;
11321
- }> | Extract<UpdatePivotCommand, {
11322
- type: T;
11323
- }> | Extract<InsertPivotCommand, {
11324
- type: T;
11325
- }> | Extract<RenamePivotCommand, {
11326
- type: T;
11327
- }> | Extract<RemovePivotCommand, {
11328
- type: T;
11329
- }> | Extract<DuplicatePivotCommand, {
11330
- type: T;
11331
- }> | Extract<RequestUndoCommand, {
11332
- type: T;
11333
- }> | Extract<RequestRedoCommand, {
11334
- type: T;
11335
- }> | Extract<UndoCommand, {
11336
- type: T;
11337
- }> | Extract<RedoCommand, {
11338
- type: T;
11339
- }> | Extract<CopyCommand, {
11340
- type: T;
11341
- }> | Extract<CutCommand, {
11342
- type: T;
11343
- }> | Extract<PasteCommand, {
11344
- type: T;
11345
- }> | Extract<CopyPasteCellsAboveCommand, {
11346
- type: T;
11347
- }> | Extract<CopyPasteCellsOnLeftCommand, {
11348
- type: T;
11349
- }> | Extract<RepeatPasteCommand, {
11350
- type: T;
11351
- }> | Extract<CleanClipBoardHighlightCommand, {
11352
- type: T;
11353
- }> | Extract<AutoFillCellCommand, {
11354
- type: T;
11355
- }> | Extract<PasteFromOSClipboardCommand, {
11356
- type: T;
11357
- }> | Extract<AutoresizeColumnsCommand, {
11358
- type: T;
11359
- }> | Extract<AutoresizeRowsCommand, {
11360
- type: T;
11361
- }> | Extract<MoveColumnsRowsCommand, {
11362
- type: T;
11363
- }> | Extract<ActivateSheetCommand, {
11364
- type: T;
11365
- }> | Extract<EvaluateCellsCommand, {
11366
- type: T;
11367
- }> | Extract<EvaluateChartsCommand, {
11368
- type: T;
11369
- }> | Extract<StartChangeHighlightCommand, {
11370
- type: T;
11371
- }> | Extract<StartCommand, {
11372
- type: T;
11373
- }> | Extract<AutofillCommand, {
11374
- type: T;
11375
- }> | Extract<AutofillSelectCommand, {
11376
- type: T;
11377
- }> | Extract<AutofillTableCommand, {
11378
- type: T;
11379
- }> | Extract<ShowFormulaCommand, {
11380
- type: T;
11381
- }> | Extract<AutofillAutoCommand, {
11382
- type: T;
11383
- }> | Extract<SelectFigureCommand, {
11384
- type: T;
11385
- }> | Extract<ReplaceSearchCommand, {
11386
- type: T;
11387
- }> | Extract<SortCommand, {
11388
- type: T;
11389
- }> | Extract<SetDecimalCommand, {
11390
- type: T;
11391
- }> | Extract<SetContextualFormatCommand, {
11392
- type: T;
11393
- }> | Extract<ResizeViewportCommand, {
11394
- type: T;
11395
- }> | Extract<SumSelectionCommand, {
11396
- type: T;
11397
- }> | Extract<DeleteCellCommand, {
11398
- type: T;
11399
- }> | Extract<InsertCellCommand, {
11400
- type: T;
11401
- }> | Extract<SetViewportOffsetCommand, {
11402
- type: T;
11403
- }> | Extract<MoveViewportDownCommand, {
11404
- type: T;
11405
- }> | Extract<MoveViewportUpCommand, {
11406
- type: T;
11407
- }> | Extract<MoveViewportToCellCommand, {
11408
- type: T;
11409
- }> | Extract<ActivateNextSheetCommand, {
11410
- type: T;
11411
- }> | Extract<ActivatePreviousSheetCommand, {
11412
- type: T;
11413
- }> | Extract<UpdateFilterCommand, {
11414
- type: T;
11415
- }> | Extract<SplitTextIntoColumnsCommand, {
11416
- type: T;
11417
- }> | Extract<RemoveDuplicatesCommand, {
11418
- type: T;
11419
- }> | Extract<TrimWhitespaceCommand, {
11420
- type: T;
11421
- }> | Extract<ResizeTableCommand, {
11422
- type: T;
11423
- }> | Extract<RefreshPivotCommand, {
11424
- type: T;
11425
- }> | Extract<InsertNewPivotCommand, {
11426
- type: T;
11427
- }> | Extract<DuplicatePivotInNewSheetCommand, {
11428
- type: T;
11429
- }> | Extract<InsertPivotWithTableCommand, {
11430
- type: T;
11431
- }> | Extract<SplitPivotFormulaCommand, {
11432
- type: T;
11433
- }> | Extract<PaintFormat, {
11434
- type: T;
11435
- }> | Extract<DeleteUnfilteredContentCommand, {
11436
- type: T;
11437
- }>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
11438
- <T_1 extends "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", C_1 extends Extract<UpdateCellCommand, {
11439
- type: T_1;
11440
- }> | Extract<UpdateCellPositionCommand, {
11441
- type: T_1;
11442
- }> | Extract<ClearCellCommand, {
11443
- type: T_1;
11444
- }> | Extract<ClearCellsCommand, {
11445
- type: T_1;
11446
- }> | Extract<DeleteContentCommand, {
11447
- type: T_1;
11448
- }> | Extract<AddColumnsRowsCommand, {
11449
- type: T_1;
11450
- }> | Extract<RemoveColumnsRowsCommand, {
11451
- type: T_1;
11452
- }> | Extract<ResizeColumnsRowsCommand, {
11453
- type: T_1;
11454
- }> | Extract<HideColumnsRowsCommand, {
11455
- type: T_1;
11456
- }> | Extract<UnhideColumnsRowsCommand, {
11457
- type: T_1;
11458
- }> | Extract<SetGridLinesVisibilityCommand, {
11459
- type: T_1;
11460
- }> | Extract<FreezeColumnsCommand, {
11461
- type: T_1;
11462
- }> | Extract<FreezeRowsCommand, {
11463
- type: T_1;
11464
- }> | Extract<UnfreezeColumnsRowsCommand, {
11465
- type: T_1;
11466
- }> | Extract<UnfreezeColumnsCommand, {
11467
- type: T_1;
11468
- }> | Extract<UnfreezeRowsCommand, {
11469
- type: T_1;
11470
- }> | Extract<AddMergeCommand, {
11471
- type: T_1;
11472
- }> | Extract<RemoveMergeCommand, {
11473
- type: T_1;
11474
- }> | Extract<CreateSheetCommand, {
11475
- type: T_1;
11476
- }> | Extract<DeleteSheetCommand, {
11477
- type: T_1;
11478
- }> | Extract<DuplicateSheetCommand, {
11479
- type: T_1;
11480
- }> | Extract<MoveSheetCommand, {
11481
- type: T_1;
11482
- }> | Extract<RenameSheetCommand, {
11483
- type: T_1;
11484
- }> | Extract<ColorSheetCommand, {
11485
- type: T_1;
11486
- }> | Extract<HideSheetCommand, {
11487
- type: T_1;
11488
- }> | Extract<ShowSheetCommand, {
11489
- type: T_1;
11490
- }> | Extract<MoveRangeCommand, {
11491
- type: T_1;
11492
- }> | Extract<AddConditionalFormatCommand, {
11493
- type: T_1;
11494
- }> | Extract<RemoveConditionalFormatCommand, {
11495
- type: T_1;
11496
- }> | Extract<MoveConditionalFormatCommand, {
11497
- type: T_1;
11498
- }> | Extract<CreateFigureCommand, {
11499
- type: T_1;
11500
- }> | Extract<DeleteFigureCommand, {
11501
- type: T_1;
11502
- }> | Extract<UpdateFigureCommand, {
11503
- type: T_1;
11504
- }> | Extract<SetFormattingCommand, {
11505
- type: T_1;
11506
- }> | Extract<ClearFormattingCommand, {
11507
- type: T_1;
11508
- }> | Extract<SetZoneBordersCommand, {
11509
- type: T_1;
11510
- }> | Extract<SetBorderCommand, {
11511
- type: T_1;
11512
- }> | Extract<CreateChartCommand, {
11513
- type: T_1;
11514
- }> | Extract<UpdateChartCommand, {
11515
- type: T_1;
11516
- }> | Extract<CreateImageOverCommand, {
11517
- type: T_1;
11518
- }> | Extract<CreateTableCommand, {
11519
- type: T_1;
11520
- }> | Extract<RemoveTableCommand, {
11521
- type: T_1;
11522
- }> | Extract<UpdateTableCommand, {
11523
- type: T_1;
11524
- }> | Extract<CreateTableStyleCommand, {
11525
- type: T_1;
11526
- }> | Extract<RemoveTableStyleCommand, {
11527
- type: T_1;
11528
- }> | Extract<GroupHeadersCommand, {
11529
- type: T_1;
11530
- }> | Extract<UnGroupHeadersCommand, {
11531
- type: T_1;
11532
- }> | Extract<UnfoldHeaderGroupCommand, {
11533
- type: T_1;
11534
- }> | Extract<FoldHeaderGroupCommand, {
11535
- type: T_1;
11536
- }> | Extract<FoldAllHeaderGroupsCommand, {
11537
- type: T_1;
11538
- }> | Extract<UnfoldAllHeaderGroupsCommand, {
11539
- type: T_1;
11540
- }> | Extract<UnfoldHeaderGroupsInZoneCommand, {
11541
- type: T_1;
11542
- }> | Extract<FoldHeaderGroupsInZoneCommand, {
11543
- type: T_1;
11544
- }> | Extract<AddDataValidationCommand, {
11545
- type: T_1;
11546
- }> | Extract<RemoveDataValidationCommand, {
11547
- type: T_1;
11548
- }> | Extract<UpdateLocaleCommand, {
11549
- type: T_1;
11550
- }> | Extract<AddPivotCommand, {
11551
- type: T_1;
11552
- }> | Extract<UpdatePivotCommand, {
11553
- type: T_1;
11554
- }> | Extract<InsertPivotCommand, {
11555
- type: T_1;
11556
- }> | Extract<RenamePivotCommand, {
11557
- type: T_1;
11558
- }> | Extract<RemovePivotCommand, {
11559
- type: T_1;
11560
- }> | Extract<DuplicatePivotCommand, {
11561
- type: T_1;
11562
- }> | Extract<RequestUndoCommand, {
11563
- type: T_1;
11564
- }> | Extract<RequestRedoCommand, {
11565
- type: T_1;
11566
- }> | Extract<UndoCommand, {
11567
- type: T_1;
11568
- }> | Extract<RedoCommand, {
11569
- type: T_1;
11570
- }> | Extract<CopyCommand, {
11571
- type: T_1;
11572
- }> | Extract<CutCommand, {
11573
- type: T_1;
11574
- }> | Extract<PasteCommand, {
11575
- type: T_1;
11576
- }> | Extract<CopyPasteCellsAboveCommand, {
11577
- type: T_1;
11578
- }> | Extract<CopyPasteCellsOnLeftCommand, {
11579
- type: T_1;
11580
- }> | Extract<RepeatPasteCommand, {
11581
- type: T_1;
11582
- }> | Extract<CleanClipBoardHighlightCommand, {
11583
- type: T_1;
11584
- }> | Extract<AutoFillCellCommand, {
11585
- type: T_1;
11586
- }> | Extract<PasteFromOSClipboardCommand, {
11587
- type: T_1;
11588
- }> | Extract<AutoresizeColumnsCommand, {
11589
- type: T_1;
11590
- }> | Extract<AutoresizeRowsCommand, {
11591
- type: T_1;
11592
- }> | Extract<MoveColumnsRowsCommand, {
11593
- type: T_1;
11594
- }> | Extract<ActivateSheetCommand, {
11595
- type: T_1;
11596
- }> | Extract<EvaluateCellsCommand, {
11597
- type: T_1;
11598
- }> | Extract<EvaluateChartsCommand, {
11599
- type: T_1;
11600
- }> | Extract<StartChangeHighlightCommand, {
11601
- type: T_1;
11602
- }> | Extract<StartCommand, {
11603
- type: T_1;
11604
- }> | Extract<AutofillCommand, {
11605
- type: T_1;
11606
- }> | Extract<AutofillSelectCommand, {
11607
- type: T_1;
11608
- }> | Extract<AutofillTableCommand, {
11609
- type: T_1;
11610
- }> | Extract<ShowFormulaCommand, {
11611
- type: T_1;
11612
- }> | Extract<AutofillAutoCommand, {
11613
- type: T_1;
11614
- }> | Extract<SelectFigureCommand, {
11615
- type: T_1;
11616
- }> | Extract<ReplaceSearchCommand, {
11617
- type: T_1;
11618
- }> | Extract<SortCommand, {
11619
- type: T_1;
11620
- }> | Extract<SetDecimalCommand, {
11621
- type: T_1;
11622
- }> | Extract<SetContextualFormatCommand, {
11623
- type: T_1;
11624
- }> | Extract<ResizeViewportCommand, {
11625
- type: T_1;
11626
- }> | Extract<SumSelectionCommand, {
11627
- type: T_1;
11628
- }> | Extract<DeleteCellCommand, {
11629
- type: T_1;
11630
- }> | Extract<InsertCellCommand, {
11631
- type: T_1;
11632
- }> | Extract<SetViewportOffsetCommand, {
11633
- type: T_1;
11634
- }> | Extract<MoveViewportDownCommand, {
11635
- type: T_1;
11636
- }> | Extract<MoveViewportUpCommand, {
11637
- type: T_1;
11638
- }> | Extract<MoveViewportToCellCommand, {
11639
- type: T_1;
11640
- }> | Extract<ActivateNextSheetCommand, {
11641
- type: T_1;
11642
- }> | Extract<ActivatePreviousSheetCommand, {
11643
- type: T_1;
11644
- }> | Extract<UpdateFilterCommand, {
11645
- type: T_1;
11646
- }> | Extract<SplitTextIntoColumnsCommand, {
11647
- type: T_1;
11648
- }> | Extract<RemoveDuplicatesCommand, {
11649
- type: T_1;
11650
- }> | Extract<TrimWhitespaceCommand, {
11651
- type: T_1;
11652
- }> | Extract<ResizeTableCommand, {
11653
- type: T_1;
11654
- }> | Extract<RefreshPivotCommand, {
11655
- type: T_1;
11656
- }> | Extract<InsertNewPivotCommand, {
11657
- type: T_1;
11658
- }> | Extract<DuplicatePivotInNewSheetCommand, {
11659
- type: T_1;
11660
- }> | Extract<InsertPivotWithTableCommand, {
11661
- type: T_1;
11662
- }> | Extract<SplitPivotFormulaCommand, {
11663
- type: T_1;
11664
- }> | Extract<PaintFormat, {
11665
- type: T_1;
11666
- }> | Extract<DeleteUnfilteredContentCommand, {
11667
- type: T_1;
11668
- }>>(type: T_1, r: Omit<C_1, "type">): DispatchResult;
11669
- }): AbstractFigureClipboardHandler<any>;
11670
- }>;
11671
- cellHandlers: Registry<{
11672
- new (getters: Getters, dispatch: {
11673
- <T extends "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", C extends Extract<UpdateCellCommand, {
11674
- type: T;
11675
- }> | Extract<UpdateCellPositionCommand, {
11676
- type: T;
11677
- }> | Extract<ClearCellCommand, {
11678
- type: T;
11679
- }> | Extract<ClearCellsCommand, {
11680
- type: T;
11681
- }> | Extract<DeleteContentCommand, {
11682
- type: T;
11683
- }> | Extract<AddColumnsRowsCommand, {
11684
- type: T;
11685
- }> | Extract<RemoveColumnsRowsCommand, {
11686
- type: T;
11687
- }> | Extract<ResizeColumnsRowsCommand, {
11688
- type: T;
11689
- }> | Extract<HideColumnsRowsCommand, {
11690
- type: T;
11691
- }> | Extract<UnhideColumnsRowsCommand, {
11692
- type: T;
11693
- }> | Extract<SetGridLinesVisibilityCommand, {
11694
- type: T;
11695
- }> | Extract<FreezeColumnsCommand, {
11696
- type: T;
11697
- }> | Extract<FreezeRowsCommand, {
11698
- type: T;
11699
- }> | Extract<UnfreezeColumnsRowsCommand, {
11700
- type: T;
11701
- }> | Extract<UnfreezeColumnsCommand, {
11702
- type: T;
11703
- }> | Extract<UnfreezeRowsCommand, {
11704
- type: T;
11705
- }> | Extract<AddMergeCommand, {
11706
- type: T;
11707
- }> | Extract<RemoveMergeCommand, {
11708
- type: T;
11709
- }> | Extract<CreateSheetCommand, {
11710
- type: T;
11711
- }> | Extract<DeleteSheetCommand, {
11712
- type: T;
11713
- }> | Extract<DuplicateSheetCommand, {
11714
- type: T;
11715
- }> | Extract<MoveSheetCommand, {
11716
- type: T;
11717
- }> | Extract<RenameSheetCommand, {
11718
- type: T;
11719
- }> | Extract<ColorSheetCommand, {
11720
- type: T;
11721
- }> | Extract<HideSheetCommand, {
11722
- type: T;
11723
- }> | Extract<ShowSheetCommand, {
11724
- type: T;
11725
- }> | Extract<MoveRangeCommand, {
11726
- type: T;
11727
- }> | Extract<AddConditionalFormatCommand, {
11728
- type: T;
11729
- }> | Extract<RemoveConditionalFormatCommand, {
11730
- type: T;
11731
- }> | Extract<MoveConditionalFormatCommand, {
11732
- type: T;
11733
- }> | Extract<CreateFigureCommand, {
11734
- type: T;
11735
- }> | Extract<DeleteFigureCommand, {
11736
- type: T;
11737
- }> | Extract<UpdateFigureCommand, {
11738
- type: T;
11739
- }> | Extract<SetFormattingCommand, {
11740
- type: T;
11741
- }> | Extract<ClearFormattingCommand, {
11742
- type: T;
11743
- }> | Extract<SetZoneBordersCommand, {
11744
- type: T;
11745
- }> | Extract<SetBorderCommand, {
11746
- type: T;
11747
- }> | Extract<CreateChartCommand, {
11748
- type: T;
11749
- }> | Extract<UpdateChartCommand, {
11750
- type: T;
11751
- }> | Extract<CreateImageOverCommand, {
11752
- type: T;
11753
- }> | Extract<CreateTableCommand, {
11754
- type: T;
11755
- }> | Extract<RemoveTableCommand, {
11756
- type: T;
11757
- }> | Extract<UpdateTableCommand, {
11758
- type: T;
11759
- }> | Extract<CreateTableStyleCommand, {
11760
- type: T;
11761
- }> | Extract<RemoveTableStyleCommand, {
11762
- type: T;
11763
- }> | Extract<GroupHeadersCommand, {
11764
- type: T;
11765
- }> | Extract<UnGroupHeadersCommand, {
11766
- type: T;
11767
- }> | Extract<UnfoldHeaderGroupCommand, {
11768
- type: T;
11769
- }> | Extract<FoldHeaderGroupCommand, {
11770
- type: T;
11771
- }> | Extract<FoldAllHeaderGroupsCommand, {
11772
- type: T;
11773
- }> | Extract<UnfoldAllHeaderGroupsCommand, {
11774
- type: T;
11775
- }> | Extract<UnfoldHeaderGroupsInZoneCommand, {
11776
- type: T;
11777
- }> | Extract<FoldHeaderGroupsInZoneCommand, {
11778
- type: T;
11779
- }> | Extract<AddDataValidationCommand, {
11780
- type: T;
11781
- }> | Extract<RemoveDataValidationCommand, {
11782
- type: T;
11783
- }> | Extract<UpdateLocaleCommand, {
11784
- type: T;
11785
- }> | Extract<AddPivotCommand, {
11786
- type: T;
11787
- }> | Extract<UpdatePivotCommand, {
11788
- type: T;
11789
- }> | Extract<InsertPivotCommand, {
11790
- type: T;
11791
- }> | Extract<RenamePivotCommand, {
11792
- type: T;
11793
- }> | Extract<RemovePivotCommand, {
11794
- type: T;
11795
- }> | Extract<DuplicatePivotCommand, {
11796
- type: T;
11797
- }> | Extract<RequestUndoCommand, {
11798
- type: T;
11799
- }> | Extract<RequestRedoCommand, {
11800
- type: T;
11801
- }> | Extract<UndoCommand, {
11802
- type: T;
11803
- }> | Extract<RedoCommand, {
11804
- type: T;
11805
- }> | Extract<CopyCommand, {
11806
- type: T;
11807
- }> | Extract<CutCommand, {
11808
- type: T;
11809
- }> | Extract<PasteCommand, {
11810
- type: T;
11811
- }> | Extract<CopyPasteCellsAboveCommand, {
11812
- type: T;
11813
- }> | Extract<CopyPasteCellsOnLeftCommand, {
11814
- type: T;
11815
- }> | Extract<RepeatPasteCommand, {
11816
- type: T;
11817
- }> | Extract<CleanClipBoardHighlightCommand, {
11818
- type: T;
11819
- }> | Extract<AutoFillCellCommand, {
11820
- type: T;
11821
- }> | Extract<PasteFromOSClipboardCommand, {
11822
- type: T;
11823
- }> | Extract<AutoresizeColumnsCommand, {
11824
- type: T;
11825
- }> | Extract<AutoresizeRowsCommand, {
11826
- type: T;
11827
- }> | Extract<MoveColumnsRowsCommand, {
11828
- type: T;
11829
- }> | Extract<ActivateSheetCommand, {
11830
- type: T;
11831
- }> | Extract<EvaluateCellsCommand, {
11832
- type: T;
11833
- }> | Extract<EvaluateChartsCommand, {
11834
- type: T;
11835
- }> | Extract<StartChangeHighlightCommand, {
11836
- type: T;
11837
- }> | Extract<StartCommand, {
11838
- type: T;
11839
- }> | Extract<AutofillCommand, {
11840
- type: T;
11841
- }> | Extract<AutofillSelectCommand, {
11842
- type: T;
11843
- }> | Extract<AutofillTableCommand, {
11844
- type: T;
11845
- }> | Extract<ShowFormulaCommand, {
11846
- type: T;
11847
- }> | Extract<AutofillAutoCommand, {
11848
- type: T;
11849
- }> | Extract<SelectFigureCommand, {
11850
- type: T;
11851
- }> | Extract<ReplaceSearchCommand, {
11852
- type: T;
11853
- }> | Extract<SortCommand, {
11854
- type: T;
11855
- }> | Extract<SetDecimalCommand, {
11856
- type: T;
11857
- }> | Extract<SetContextualFormatCommand, {
11858
- type: T;
11859
- }> | Extract<ResizeViewportCommand, {
11860
- type: T;
11861
- }> | Extract<SumSelectionCommand, {
11862
- type: T;
11863
- }> | Extract<DeleteCellCommand, {
11864
- type: T;
11865
- }> | Extract<InsertCellCommand, {
11866
- type: T;
11867
- }> | Extract<SetViewportOffsetCommand, {
11868
- type: T;
11869
- }> | Extract<MoveViewportDownCommand, {
11870
- type: T;
11871
- }> | Extract<MoveViewportUpCommand, {
11872
- type: T;
11873
- }> | Extract<MoveViewportToCellCommand, {
11874
- type: T;
11875
- }> | Extract<ActivateNextSheetCommand, {
11876
- type: T;
11877
- }> | Extract<ActivatePreviousSheetCommand, {
11878
- type: T;
11879
- }> | Extract<UpdateFilterCommand, {
11880
- type: T;
11881
- }> | Extract<SplitTextIntoColumnsCommand, {
11882
- type: T;
11883
- }> | Extract<RemoveDuplicatesCommand, {
11884
- type: T;
11885
- }> | Extract<TrimWhitespaceCommand, {
11886
- type: T;
11887
- }> | Extract<ResizeTableCommand, {
11888
- type: T;
11889
- }> | Extract<RefreshPivotCommand, {
11890
- type: T;
11891
- }> | Extract<InsertNewPivotCommand, {
11892
- type: T;
11893
- }> | Extract<DuplicatePivotInNewSheetCommand, {
11894
- type: T;
11895
- }> | Extract<InsertPivotWithTableCommand, {
11896
- type: T;
11897
- }> | Extract<SplitPivotFormulaCommand, {
11898
- type: T;
11899
- }> | Extract<PaintFormat, {
11900
- type: T;
11901
- }> | Extract<DeleteUnfilteredContentCommand, {
11902
- type: T;
11903
- }>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
11904
- <T_1 extends "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", C_1 extends Extract<UpdateCellCommand, {
11905
- type: T_1;
11906
- }> | Extract<UpdateCellPositionCommand, {
11907
- type: T_1;
11908
- }> | Extract<ClearCellCommand, {
11909
- type: T_1;
11910
- }> | Extract<ClearCellsCommand, {
11911
- type: T_1;
11912
- }> | Extract<DeleteContentCommand, {
11913
- type: T_1;
11914
- }> | Extract<AddColumnsRowsCommand, {
11915
- type: T_1;
11916
- }> | Extract<RemoveColumnsRowsCommand, {
11917
- type: T_1;
11918
- }> | Extract<ResizeColumnsRowsCommand, {
11919
- type: T_1;
11920
- }> | Extract<HideColumnsRowsCommand, {
11921
- type: T_1;
11922
- }> | Extract<UnhideColumnsRowsCommand, {
11923
- type: T_1;
11924
- }> | Extract<SetGridLinesVisibilityCommand, {
11925
- type: T_1;
11926
- }> | Extract<FreezeColumnsCommand, {
11927
- type: T_1;
11928
- }> | Extract<FreezeRowsCommand, {
11929
- type: T_1;
11930
- }> | Extract<UnfreezeColumnsRowsCommand, {
11931
- type: T_1;
11932
- }> | Extract<UnfreezeColumnsCommand, {
11933
- type: T_1;
11934
- }> | Extract<UnfreezeRowsCommand, {
11935
- type: T_1;
11936
- }> | Extract<AddMergeCommand, {
11937
- type: T_1;
11938
- }> | Extract<RemoveMergeCommand, {
11939
- type: T_1;
11940
- }> | Extract<CreateSheetCommand, {
11941
- type: T_1;
11942
- }> | Extract<DeleteSheetCommand, {
11943
- type: T_1;
11944
- }> | Extract<DuplicateSheetCommand, {
11945
- type: T_1;
11946
- }> | Extract<MoveSheetCommand, {
11947
- type: T_1;
11948
- }> | Extract<RenameSheetCommand, {
11949
- type: T_1;
11950
- }> | Extract<ColorSheetCommand, {
11951
- type: T_1;
11952
- }> | Extract<HideSheetCommand, {
11953
- type: T_1;
11954
- }> | Extract<ShowSheetCommand, {
11955
- type: T_1;
11956
- }> | Extract<MoveRangeCommand, {
11957
- type: T_1;
11958
- }> | Extract<AddConditionalFormatCommand, {
11959
- type: T_1;
11960
- }> | Extract<RemoveConditionalFormatCommand, {
11961
- type: T_1;
11962
- }> | Extract<MoveConditionalFormatCommand, {
11963
- type: T_1;
11964
- }> | Extract<CreateFigureCommand, {
11965
- type: T_1;
11966
- }> | Extract<DeleteFigureCommand, {
11967
- type: T_1;
11968
- }> | Extract<UpdateFigureCommand, {
11969
- type: T_1;
11970
- }> | Extract<SetFormattingCommand, {
11971
- type: T_1;
11972
- }> | Extract<ClearFormattingCommand, {
11973
- type: T_1;
11974
- }> | Extract<SetZoneBordersCommand, {
11975
- type: T_1;
11976
- }> | Extract<SetBorderCommand, {
11977
- type: T_1;
11978
- }> | Extract<CreateChartCommand, {
11979
- type: T_1;
11980
- }> | Extract<UpdateChartCommand, {
11981
- type: T_1;
11982
- }> | Extract<CreateImageOverCommand, {
11983
- type: T_1;
11984
- }> | Extract<CreateTableCommand, {
11985
- type: T_1;
11986
- }> | Extract<RemoveTableCommand, {
11987
- type: T_1;
11988
- }> | Extract<UpdateTableCommand, {
11989
- type: T_1;
11990
- }> | Extract<CreateTableStyleCommand, {
11991
- type: T_1;
11992
- }> | Extract<RemoveTableStyleCommand, {
11993
- type: T_1;
11994
- }> | Extract<GroupHeadersCommand, {
11995
- type: T_1;
11996
- }> | Extract<UnGroupHeadersCommand, {
11997
- type: T_1;
11998
- }> | Extract<UnfoldHeaderGroupCommand, {
11999
- type: T_1;
12000
- }> | Extract<FoldHeaderGroupCommand, {
12001
- type: T_1;
12002
- }> | Extract<FoldAllHeaderGroupsCommand, {
12003
- type: T_1;
12004
- }> | Extract<UnfoldAllHeaderGroupsCommand, {
12005
- type: T_1;
12006
- }> | Extract<UnfoldHeaderGroupsInZoneCommand, {
12007
- type: T_1;
12008
- }> | Extract<FoldHeaderGroupsInZoneCommand, {
12009
- type: T_1;
12010
- }> | Extract<AddDataValidationCommand, {
12011
- type: T_1;
12012
- }> | Extract<RemoveDataValidationCommand, {
12013
- type: T_1;
12014
- }> | Extract<UpdateLocaleCommand, {
12015
- type: T_1;
12016
- }> | Extract<AddPivotCommand, {
12017
- type: T_1;
12018
- }> | Extract<UpdatePivotCommand, {
12019
- type: T_1;
12020
- }> | Extract<InsertPivotCommand, {
12021
- type: T_1;
12022
- }> | Extract<RenamePivotCommand, {
12023
- type: T_1;
12024
- }> | Extract<RemovePivotCommand, {
12025
- type: T_1;
12026
- }> | Extract<DuplicatePivotCommand, {
12027
- type: T_1;
12028
- }> | Extract<RequestUndoCommand, {
12029
- type: T_1;
12030
- }> | Extract<RequestRedoCommand, {
12031
- type: T_1;
12032
- }> | Extract<UndoCommand, {
12033
- type: T_1;
12034
- }> | Extract<RedoCommand, {
12035
- type: T_1;
12036
- }> | Extract<CopyCommand, {
12037
- type: T_1;
12038
- }> | Extract<CutCommand, {
12039
- type: T_1;
12040
- }> | Extract<PasteCommand, {
12041
- type: T_1;
12042
- }> | Extract<CopyPasteCellsAboveCommand, {
12043
- type: T_1;
12044
- }> | Extract<CopyPasteCellsOnLeftCommand, {
12045
- type: T_1;
12046
- }> | Extract<RepeatPasteCommand, {
12047
- type: T_1;
12048
- }> | Extract<CleanClipBoardHighlightCommand, {
12049
- type: T_1;
12050
- }> | Extract<AutoFillCellCommand, {
12051
- type: T_1;
12052
- }> | Extract<PasteFromOSClipboardCommand, {
12053
- type: T_1;
12054
- }> | Extract<AutoresizeColumnsCommand, {
12055
- type: T_1;
12056
- }> | Extract<AutoresizeRowsCommand, {
12057
- type: T_1;
12058
- }> | Extract<MoveColumnsRowsCommand, {
12059
- type: T_1;
12060
- }> | Extract<ActivateSheetCommand, {
12061
- type: T_1;
12062
- }> | Extract<EvaluateCellsCommand, {
12063
- type: T_1;
12064
- }> | Extract<EvaluateChartsCommand, {
12065
- type: T_1;
12066
- }> | Extract<StartChangeHighlightCommand, {
12067
- type: T_1;
12068
- }> | Extract<StartCommand, {
12069
- type: T_1;
12070
- }> | Extract<AutofillCommand, {
12071
- type: T_1;
12072
- }> | Extract<AutofillSelectCommand, {
12073
- type: T_1;
12074
- }> | Extract<AutofillTableCommand, {
12075
- type: T_1;
12076
- }> | Extract<ShowFormulaCommand, {
12077
- type: T_1;
12078
- }> | Extract<AutofillAutoCommand, {
12079
- type: T_1;
12080
- }> | Extract<SelectFigureCommand, {
12081
- type: T_1;
12082
- }> | Extract<ReplaceSearchCommand, {
12083
- type: T_1;
12084
- }> | Extract<SortCommand, {
12085
- type: T_1;
12086
- }> | Extract<SetDecimalCommand, {
12087
- type: T_1;
12088
- }> | Extract<SetContextualFormatCommand, {
12089
- type: T_1;
12090
- }> | Extract<ResizeViewportCommand, {
12091
- type: T_1;
12092
- }> | Extract<SumSelectionCommand, {
12093
- type: T_1;
12094
- }> | Extract<DeleteCellCommand, {
12095
- type: T_1;
12096
- }> | Extract<InsertCellCommand, {
12097
- type: T_1;
12098
- }> | Extract<SetViewportOffsetCommand, {
12099
- type: T_1;
12100
- }> | Extract<MoveViewportDownCommand, {
12101
- type: T_1;
12102
- }> | Extract<MoveViewportUpCommand, {
12103
- type: T_1;
12104
- }> | Extract<MoveViewportToCellCommand, {
12105
- type: T_1;
12106
- }> | Extract<ActivateNextSheetCommand, {
12107
- type: T_1;
12108
- }> | Extract<ActivatePreviousSheetCommand, {
12109
- type: T_1;
12110
- }> | Extract<UpdateFilterCommand, {
12111
- type: T_1;
12112
- }> | Extract<SplitTextIntoColumnsCommand, {
12113
- type: T_1;
12114
- }> | Extract<RemoveDuplicatesCommand, {
12115
- type: T_1;
12116
- }> | Extract<TrimWhitespaceCommand, {
12117
- type: T_1;
12118
- }> | Extract<ResizeTableCommand, {
12119
- type: T_1;
12120
- }> | Extract<RefreshPivotCommand, {
12121
- type: T_1;
12122
- }> | Extract<InsertNewPivotCommand, {
12123
- type: T_1;
12124
- }> | Extract<DuplicatePivotInNewSheetCommand, {
12125
- type: T_1;
12126
- }> | Extract<InsertPivotWithTableCommand, {
12127
- type: T_1;
12128
- }> | Extract<SplitPivotFormulaCommand, {
12129
- type: T_1;
12130
- }> | Extract<PaintFormat, {
12131
- type: T_1;
12132
- }> | Extract<DeleteUnfilteredContentCommand, {
12133
- type: T_1;
12134
- }>>(type: T_1, r: Omit<C_1, "type">): DispatchResult;
12135
- }): AbstractCellClipboardHandler<any, any>;
12136
- }>;
11771
+ figureHandlers: Registry<typeof AbstractFigureClipboardHandler>;
11772
+ cellHandlers: Registry<typeof AbstractCellClipboardHandler>;
12137
11773
  };
12138
11774
  pivotRegistry: Registry<PivotRegistryItem>;
12139
11775
  pivotTimeAdapterRegistry: Registry<PivotTimeAdapter<CellValue>>;
12140
11776
  pivotSidePanelRegistry: Registry<PivotRegistryItem$1>;
12141
- pivotNormalizationValueRegistry: Registry<(value: string, granularity?: string | undefined) => CellValue>;
11777
+ pivotNormalizationValueRegistry: Registry<(value: string, granularity?: Granularity | string) => CellValue>;
12142
11778
  supportedPivotPositionalFormulaRegistry: Registry<boolean>;
12143
- pivotToFunctionValueRegistry: Registry<(value: CellValue, granularity?: string | undefined) => string>;
11779
+ pivotToFunctionValueRegistry: Registry<(value: CellValue, granularity?: string) => string>;
12144
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)>;
12145
11782
  };
12146
11783
  declare const helpers: {
12147
11784
  arg: typeof arg;
@@ -12151,6 +11788,7 @@ declare const helpers: {
12151
11788
  toNumber: typeof toNumber;
12152
11789
  toString: typeof toString;
12153
11790
  toNormalizedPivotValue: typeof toNormalizedPivotValue;
11791
+ toFunctionPivotValue: typeof toFunctionPivotValue;
12154
11792
  toXC: typeof toXC;
12155
11793
  toZone: typeof toZone;
12156
11794
  toUnboundedZone: typeof toUnboundedZone;
@@ -12234,9 +11872,11 @@ declare const components: {
12234
11872
  GaugeChartDesignPanel: typeof GaugeChartDesignPanel;
12235
11873
  ScorecardChartConfigPanel: typeof ScorecardChartConfigPanel;
12236
11874
  ScorecardChartDesignPanel: typeof ScorecardChartDesignPanel;
11875
+ GeoChartDesignPanel: typeof GeoChartDesignPanel;
12237
11876
  RadarChartDesignPanel: typeof RadarChartDesignPanel;
12238
11877
  WaterfallChartDesignPanel: typeof WaterfallChartDesignPanel;
12239
11878
  ComboChartDesignPanel: typeof ComboChartDesignPanel;
11879
+ FunnelChartDesignPanel: typeof FunnelChartDesignPanel;
12240
11880
  ChartTypePicker: typeof ChartTypePicker;
12241
11881
  FigureComponent: typeof FigureComponent;
12242
11882
  Menu: typeof Menu;
@@ -12254,6 +11894,7 @@ declare const components: {
12254
11894
  TextInput: typeof TextInput;
12255
11895
  SidePanelCollapsible: typeof SidePanelCollapsible;
12256
11896
  RadioSelection: typeof RadioSelection;
11897
+ GeoChartRegionSelectSection: typeof GeoChartRegionSelectSection;
12257
11898
  };
12258
11899
  declare const hooks: {
12259
11900
  useDragAndDropListItems: typeof useDragAndDropListItems;
@@ -12268,7 +11909,8 @@ declare const stores: {
12268
11909
  CellComposerStore: typeof CellComposerStore;
12269
11910
  FindAndReplaceStore: typeof FindAndReplaceStore;
12270
11911
  HighlightStore: typeof HighlightStore;
12271
- HoveredCellStore: typeof HoveredCellStore;
11912
+ DelayedHoveredCellStore: typeof DelayedHoveredCellStore;
11913
+ HoveredTableStore: typeof HoveredTableStore;
12272
11914
  ModelStore: StoreConstructor<Model, any[]>;
12273
11915
  NotificationStore: typeof NotificationStore;
12274
11916
  RendererStore: typeof RendererStore;
@@ -12282,7 +11924,7 @@ declare const stores: {
12282
11924
  };
12283
11925
 
12284
11926
  declare function addFunction(functionName: string, functionDescription: AddFunctionDescription): {
12285
- addFunction: (fName: string, fDescription: AddFunctionDescription) => any;
11927
+ addFunction: (fName: string, fDescription: AddFunctionDescription) => /*elided*/ any;
12286
11928
  };
12287
11929
  declare const constants: {
12288
11930
  DEFAULT_LOCALE: Locale;
@@ -12301,7 +11943,7 @@ declare const constants: {
12301
11943
  ChartTerms: {
12302
11944
  [key: string]: any;
12303
11945
  GeoChart: {
12304
- ColorScales: Record<"blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis", string>;
11946
+ ColorScales: Record<Extract<GeoChartColorScale, string>, string>;
12305
11947
  };
12306
11948
  };
12307
11949
  };
@@ -12312,12 +11954,15 @@ declare const chartHelpers: {
12312
11954
  getPieChartData(definition: GenericDefinition<PieChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
12313
11955
  getRadarChartData(definition: GenericDefinition<RadarChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
12314
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;
12315
11959
  getTrendDatasetForBarChart(config: TrendConfiguration, data: any[]): chart_js.Point[] | undefined;
12316
11960
  getTrendDatasetForLineChart(config: TrendConfiguration, data: any[], labels: string[], axisType: AxisType, locale: Locale): chart_js.Point[] | undefined;
12317
11961
  canChartParseLabels(definition: GenericDefinition<LineChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): boolean;
12318
11962
  getData(getters: Getters, ds: DataSet): (CellValue | undefined)[];
12319
11963
  getChartLabelFormat(getters: Getters, range: Range | undefined, shouldRemoveFirstLabel: boolean): Format | undefined;
12320
- getBarChartDatasets(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"line" | "bar">[];
11964
+ makeDatasetsCumulative(datasets: DatasetValues[], order: "asc" | "desc"): DatasetValues[];
11965
+ getBarChartDatasets(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"bar" | "line">[];
12321
11966
  getWaterfallDatasetAndLabels(definition: GenericDefinition<WaterfallChartDefinition>, args: ChartRuntimeGenerationArgs): {
12322
11967
  datasets: chart_js.ChartDataset[];
12323
11968
  labels: string[];
@@ -12325,12 +11970,15 @@ declare const chartHelpers: {
12325
11970
  getLineChartDatasets(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"line">[];
12326
11971
  getScatterChartDatasets(definition: GenericDefinition<ScatterChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset[];
12327
11972
  getPieChartDatasets(definition: GenericDefinition<PieChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"pie">[];
12328
- getComboChartDatasets(definition: GenericDefinition<ComboChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"line" | "bar">[];
11973
+ getComboChartDatasets(definition: GenericDefinition<ComboChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"bar" | "line">[];
12329
11974
  getRadarChartDatasets(definition: GenericDefinition<RadarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"radar">[];
12330
11975
  getGeoChartDatasets(definition: GenericDefinition<GeoChartDefinition>, args: GeoChartRuntimeGenerationArgs): chart_js.ChartDataset[];
12331
11976
  getFunnelChartDatasets(definition: FunnelChartDefinition, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"bar">[];
12332
- getFunnelLabelColors(labels: string[], colors?: FunnelChartColors | undefined): Color[];
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">[];
12333
11980
  getChartColorsGenerator(definition: GenericDefinition<ChartWithDataSetDefinition>, dataSetsSize: number): ColorGenerator;
11981
+ GHOST_SUNBURST_VALUE: "nullValue";
12334
11982
  getChartLayout(definition: GenericDefinition<ChartWithDataSetDefinition>): chart_js_dist_types_utils._DeepPartialObject<Partial<{
12335
11983
  autoPadding: boolean;
12336
11984
  padding: chart_js.Scriptable<chart_js_dist_types_geometric.Padding, chart_js.ScriptableContext<keyof chart_js.ChartTypeRegistry>>;
@@ -12342,6 +11990,7 @@ declare const chartHelpers: {
12342
11990
  getComboChartLegend(definition: GenericDefinition<ComboChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.LegendOptions<any>>;
12343
11991
  getWaterfallChartLegend(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.LegendOptions<any>>;
12344
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>>;
12345
11994
  INTERACTIVE_LEGEND_CONFIG: {
12346
11995
  onHover: (event: any) => void;
12347
11996
  onLeave: (event: any) => void;
@@ -12395,7 +12044,7 @@ declare const chartHelpers: {
12395
12044
  align: chart_js.Align | "inner";
12396
12045
  autoSkip: boolean;
12397
12046
  autoSkipPadding: number;
12398
- crossAlign: "center" | "near" | "far";
12047
+ crossAlign: "near" | "center" | "far";
12399
12048
  includeBounds: boolean;
12400
12049
  labelOffset: number;
12401
12050
  minRotation: number;
@@ -12407,20 +12056,20 @@ declare const chartHelpers: {
12407
12056
  alignToPixels?: boolean | undefined;
12408
12057
  suggestedMin?: string | number | undefined;
12409
12058
  suggestedMax?: string | number | undefined;
12410
- beforeUpdate?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12411
- beforeSetDimensions?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12412
- afterSetDimensions?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12413
- beforeDataLimits?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12414
- afterDataLimits?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12415
- beforeBuildTicks?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12416
- afterBuildTicks?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12417
- beforeTickToLabelConversion?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12418
- afterTickToLabelConversion?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12419
- beforeCalculateLabelRotation?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12420
- afterCalculateLabelRotation?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12421
- beforeFit?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12422
- afterFit?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12423
- afterUpdate?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12059
+ beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
12060
+ beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
12061
+ afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
12062
+ beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
12063
+ afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
12064
+ beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
12065
+ afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
12066
+ beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
12067
+ afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
12068
+ beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
12069
+ afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
12070
+ beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
12071
+ afterFit?: ((axis: chart_js.Scale) => void) | undefined;
12072
+ afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
12424
12073
  min?: string | number | undefined;
12425
12074
  max?: string | number | undefined;
12426
12075
  offsetAfterAutoskip?: boolean | undefined;
@@ -12462,7 +12111,7 @@ declare const chartHelpers: {
12462
12111
  align: chart_js.Align | "inner";
12463
12112
  autoSkip: boolean;
12464
12113
  autoSkipPadding: number;
12465
- crossAlign: "center" | "near" | "far";
12114
+ crossAlign: "near" | "center" | "far";
12466
12115
  includeBounds: boolean;
12467
12116
  labelOffset: number;
12468
12117
  minRotation: number;
@@ -12484,20 +12133,20 @@ declare const chartHelpers: {
12484
12133
  weight?: number | undefined;
12485
12134
  suggestedMin?: number | undefined;
12486
12135
  suggestedMax?: number | undefined;
12487
- beforeUpdate?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12488
- beforeSetDimensions?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12489
- afterSetDimensions?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12490
- beforeDataLimits?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12491
- afterDataLimits?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12492
- beforeBuildTicks?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12493
- afterBuildTicks?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12494
- beforeTickToLabelConversion?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12495
- afterTickToLabelConversion?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12496
- beforeCalculateLabelRotation?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12497
- afterCalculateLabelRotation?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12498
- beforeFit?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12499
- afterFit?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12500
- afterUpdate?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12136
+ beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
12137
+ beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
12138
+ afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
12139
+ beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
12140
+ afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
12141
+ beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
12142
+ afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
12143
+ beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
12144
+ afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
12145
+ beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
12146
+ afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
12147
+ beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
12148
+ afterFit?: ((axis: chart_js.Scale) => void) | undefined;
12149
+ afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
12501
12150
  beginAtZero?: boolean | undefined;
12502
12151
  grace?: string | number | undefined;
12503
12152
  } | {
@@ -12534,7 +12183,7 @@ declare const chartHelpers: {
12534
12183
  align: chart_js.Align | "inner";
12535
12184
  autoSkip: boolean;
12536
12185
  autoSkipPadding: number;
12537
- crossAlign: "center" | "near" | "far";
12186
+ crossAlign: "near" | "center" | "far";
12538
12187
  includeBounds: boolean;
12539
12188
  labelOffset: number;
12540
12189
  minRotation: number;
@@ -12553,20 +12202,20 @@ declare const chartHelpers: {
12553
12202
  weight?: number | undefined;
12554
12203
  suggestedMin?: number | undefined;
12555
12204
  suggestedMax?: number | undefined;
12556
- beforeUpdate?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12557
- beforeSetDimensions?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12558
- afterSetDimensions?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12559
- beforeDataLimits?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12560
- afterDataLimits?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12561
- beforeBuildTicks?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12562
- afterBuildTicks?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12563
- beforeTickToLabelConversion?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12564
- afterTickToLabelConversion?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12565
- beforeCalculateLabelRotation?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12566
- afterCalculateLabelRotation?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12567
- beforeFit?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12568
- afterFit?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12569
- afterUpdate?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12205
+ beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
12206
+ beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
12207
+ afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
12208
+ beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
12209
+ afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
12210
+ beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
12211
+ afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
12212
+ beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
12213
+ afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
12214
+ beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
12215
+ afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
12216
+ beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
12217
+ afterFit?: ((axis: chart_js.Scale) => void) | undefined;
12218
+ afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
12570
12219
  } | {
12571
12220
  grid: {
12572
12221
  display: boolean;
@@ -12603,20 +12252,20 @@ declare const chartHelpers: {
12603
12252
  alignToPixels?: boolean | undefined;
12604
12253
  suggestedMin?: unknown;
12605
12254
  suggestedMax?: unknown;
12606
- beforeUpdate?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12607
- beforeSetDimensions?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12608
- afterSetDimensions?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12609
- beforeDataLimits?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12610
- afterDataLimits?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12611
- beforeBuildTicks?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12612
- afterBuildTicks?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12613
- beforeTickToLabelConversion?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12614
- afterTickToLabelConversion?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12615
- beforeCalculateLabelRotation?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12616
- afterCalculateLabelRotation?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12617
- beforeFit?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12618
- afterFit?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12619
- afterUpdate?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12255
+ beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
12256
+ beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
12257
+ afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
12258
+ beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
12259
+ afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
12260
+ beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
12261
+ afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
12262
+ beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
12263
+ afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
12264
+ beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
12265
+ afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
12266
+ beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
12267
+ afterFit?: ((axis: chart_js.Scale) => void) | undefined;
12268
+ afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
12620
12269
  min?: string | number | undefined;
12621
12270
  max?: string | number | undefined;
12622
12271
  labels?: chart_js_dist_types_utils._DeepPartialArray<string> | chart_js_dist_types_utils._DeepPartialArray<string[]> | undefined;
@@ -12657,7 +12306,7 @@ declare const chartHelpers: {
12657
12306
  align: chart_js.Align | "inner";
12658
12307
  autoSkip: boolean;
12659
12308
  autoSkipPadding: number;
12660
- crossAlign: "center" | "near" | "far";
12309
+ crossAlign: "near" | "center" | "far";
12661
12310
  includeBounds: boolean;
12662
12311
  labelOffset: number;
12663
12312
  minRotation: number;
@@ -12669,20 +12318,20 @@ declare const chartHelpers: {
12669
12318
  alignToPixels?: boolean | undefined;
12670
12319
  suggestedMin?: string | number | undefined;
12671
12320
  suggestedMax?: string | number | undefined;
12672
- beforeUpdate?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12673
- beforeSetDimensions?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12674
- afterSetDimensions?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12675
- beforeDataLimits?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12676
- afterDataLimits?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12677
- beforeBuildTicks?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12678
- afterBuildTicks?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12679
- beforeTickToLabelConversion?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12680
- afterTickToLabelConversion?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12681
- beforeCalculateLabelRotation?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12682
- afterCalculateLabelRotation?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12683
- beforeFit?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12684
- afterFit?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12685
- afterUpdate?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12321
+ beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
12322
+ beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
12323
+ afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
12324
+ beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
12325
+ afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
12326
+ beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
12327
+ afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
12328
+ beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
12329
+ afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
12330
+ beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
12331
+ afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
12332
+ beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
12333
+ afterFit?: ((axis: chart_js.Scale) => void) | undefined;
12334
+ afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
12686
12335
  min?: string | number | undefined;
12687
12336
  max?: string | number | undefined;
12688
12337
  offsetAfterAutoskip?: boolean | undefined;
@@ -12705,20 +12354,20 @@ declare const chartHelpers: {
12705
12354
  max?: number | undefined;
12706
12355
  suggestedMin?: number | undefined;
12707
12356
  suggestedMax?: number | undefined;
12708
- beforeUpdate?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12709
- beforeSetDimensions?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12710
- afterSetDimensions?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12711
- beforeDataLimits?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12712
- afterDataLimits?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12713
- beforeBuildTicks?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12714
- afterBuildTicks?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12715
- beforeTickToLabelConversion?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12716
- afterTickToLabelConversion?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12717
- beforeCalculateLabelRotation?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12718
- afterCalculateLabelRotation?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12719
- beforeFit?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12720
- afterFit?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12721
- afterUpdate?: ((axis: chart_js.Scale<chart_js.CoreScaleOptions>) => void) | undefined;
12357
+ beforeUpdate?: ((axis: chart_js.Scale) => void) | undefined;
12358
+ beforeSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
12359
+ afterSetDimensions?: ((axis: chart_js.Scale) => void) | undefined;
12360
+ beforeDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
12361
+ afterDataLimits?: ((axis: chart_js.Scale) => void) | undefined;
12362
+ beforeBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
12363
+ afterBuildTicks?: ((axis: chart_js.Scale) => void) | undefined;
12364
+ beforeTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
12365
+ afterTickToLabelConversion?: ((axis: chart_js.Scale) => void) | undefined;
12366
+ beforeCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
12367
+ afterCalculateLabelRotation?: ((axis: chart_js.Scale) => void) | undefined;
12368
+ beforeFit?: ((axis: chart_js.Scale) => void) | undefined;
12369
+ afterFit?: ((axis: chart_js.Scale) => void) | undefined;
12370
+ afterUpdate?: ((axis: chart_js.Scale) => void) | undefined;
12722
12371
  animate?: boolean | undefined;
12723
12372
  startAngle?: number | undefined;
12724
12373
  angleLines?: chart_js_dist_types_utils._DeepPartialObject<{
@@ -12736,7 +12385,7 @@ declare const chartHelpers: {
12736
12385
  display: boolean | "auto";
12737
12386
  color: chart_js.Scriptable<chart_js.Color, chart_js.ScriptableScalePointLabelContext>;
12738
12387
  font: chart_js.ScriptableAndScriptableOptions<Partial<chart_js.FontSpec>, chart_js.ScriptableScalePointLabelContext>;
12739
- callback: (label: string, index: number) => string | number | string[] | number[];
12388
+ callback: (label: string, index: number) => string | string[] | number | number[];
12740
12389
  padding: chart_js.Scriptable<number, chart_js.ScriptableScalePointLabelContext>;
12741
12390
  centerPointLabels: boolean;
12742
12391
  }> | undefined;
@@ -12759,6 +12408,7 @@ declare const chartHelpers: {
12759
12408
  [key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
12760
12409
  }>;
12761
12410
  getChartShowValues(definition: ChartWithDataSetDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
12411
+ getSunburstShowValues(definition: SunburstChartDefinition, args: ChartRuntimeGenerationArgs): ChartSunburstLabelsPluginOptions;
12762
12412
  getChartTitle(definition: ChartWithDataSetDefinition): chart_js_dist_types_utils._DeepPartialObject<chart_js.TitleOptions>;
12763
12413
  getBarChartTooltip(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
12764
12414
  getLineChartTooltip(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
@@ -12768,20 +12418,22 @@ declare const chartHelpers: {
12768
12418
  getRadarChartTooltip(definition: RadarChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
12769
12419
  getGeoChartTooltip(definition: GeoChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
12770
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>>;
12771
12423
  AbstractChart: typeof AbstractChart;
12772
12424
  createBarChartRuntime(chart: BarChart, getters: Getters): BarChartRuntime;
12773
12425
  BarChart: typeof BarChart;
12774
- updateChartRangesWithDataSets(getters: CoreGetters, applyChange: ApplyRangeChange, chartDataSets: DataSet[], chartLabelRange?: Range | undefined): {
12426
+ updateChartRangesWithDataSets(getters: CoreGetters, applyChange: ApplyRangeChange, chartDataSets: DataSet[], chartLabelRange?: Range): {
12775
12427
  isStale: boolean;
12776
12428
  dataSets: DataSet[];
12777
12429
  labelRange: Range | undefined;
12778
12430
  };
12779
12431
  duplicateDataSetsInDuplicatedSheet(sheetIdFrom: UID, sheetIdTo: UID, dataSets: DataSet[]): DataSet[];
12780
- duplicateLabelRangeInDuplicatedSheet(sheetIdFrom: UID, sheetIdTo: UID, range?: Range | undefined): Range | undefined;
12432
+ duplicateLabelRangeInDuplicatedSheet(sheetIdFrom: UID, sheetIdTo: UID, range?: Range): Range | undefined;
12781
12433
  adaptChartRange(range: Range | undefined, applyChange: ApplyRangeChange): Range | undefined;
12782
12434
  createDataSets(getters: CoreGetters, customizedDataSets: CustomizedDataSet[], sheetId: UID, dataSetsHaveTitle: boolean): DataSet[];
12783
12435
  toExcelDataset(getters: CoreGetters, ds: DataSet): ExcelChartDataset;
12784
- toExcelLabelRange(getters: CoreGetters, labelRange: Range | undefined, shouldRemoveFirstLabel?: boolean | undefined): string | undefined;
12436
+ toExcelLabelRange(getters: CoreGetters, labelRange: Range | undefined, shouldRemoveFirstLabel?: boolean): string | undefined;
12785
12437
  transformChartDefinitionWithDataSetsWithZone<T extends ChartWithDataSetDefinition>(definition: T, executed: AddColumnsRowsCommand | RemoveColumnsRowsCommand): T;
12786
12438
  chartFontColor(backgroundColor: Color | undefined): Color;
12787
12439
  chartMutedFontColor(backgroundColor: Color | undefined): Color;
@@ -12797,7 +12449,9 @@ declare const chartHelpers: {
12797
12449
  formatTickValue(localeFormat: LocaleFormat): (value: any) => any;
12798
12450
  getPieColors(colors: ColorGenerator, dataSetsValues: DatasetValues[]): Color[];
12799
12451
  truncateLabel(label: string | undefined): string;
12452
+ isTrendLineAxis(axisID: string): axisID is "x1" | "xMovingAverage";
12800
12453
  TREND_LINE_XAXIS_ID: "x1";
12454
+ MOVING_AVERAGE_TREND_LINE_XAXIS_ID: "xMovingAverage";
12801
12455
  CHART_AXIS_CHOICES: {
12802
12456
  value: string;
12803
12457
  label: string;
@@ -12807,9 +12461,9 @@ declare const chartHelpers: {
12807
12461
  validateChartDefinition(validator: Validator, definition: ChartDefinition): CommandResult | CommandResult[];
12808
12462
  transformDefinition(definition: ChartDefinition, executed: AddColumnsRowsCommand | RemoveColumnsRowsCommand): ChartDefinition;
12809
12463
  getSmartChartDefinition(zone: Zone, getters: Getters): ChartDefinition;
12810
- chartToImageUrl(runtime: ChartRuntime, figure: Figure, type: "line" | "bar" | "scatter" | "pie" | "radar" | "funnel" | "scorecard" | "gauge" | "combo" | "waterfall" | "pyramid" | "geo"): string | undefined;
12811
- chartToImageFile(runtime: ChartRuntime, figure: Figure, type: "line" | "bar" | "scatter" | "pie" | "radar" | "funnel" | "scorecard" | "gauge" | "combo" | "waterfall" | "pyramid" | "geo"): Promise<File | undefined>;
12812
- CHART_COMMON_OPTIONS: chart_js_dist_types_utils._DeepPartialObject<chart_js.CoreChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.ElementChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.PluginChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.DatasetChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.ScaleChartOptions<keyof chart_js.ChartTypeRegistry>>;
12464
+ chartToImageUrl(runtime: ChartRuntime, figure: Figure, type: ChartType): string | undefined;
12465
+ chartToImageFile(runtime: ChartRuntime, figure: Figure, type: ChartType): Promise<File | undefined>;
12466
+ CHART_COMMON_OPTIONS: chart_js.ChartOptions;
12813
12467
  createGaugeChartRuntime(chart: GaugeChart, getters: Getters): GaugeChartRuntime;
12814
12468
  GaugeChart: typeof GaugeChart;
12815
12469
  createLineChartRuntime(chart: LineChart, getters: Getters): ChartJSRuntime;
@@ -12823,4 +12477,4 @@ declare const chartHelpers: {
12823
12477
  WaterfallChart: typeof WaterfallChart;
12824
12478
  };
12825
12479
 
12826
- 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 };