@odoo/o-spreadsheet 18.5.0-alpha.6 → 18.5.0-alpha.8

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.
@@ -6,6 +6,9 @@ import * as _odoo_owl from '@odoo/owl';
6
6
  import { ComponentConstructor, Component } from '@odoo/owl';
7
7
  import * as chart_js_dist_types_utils from 'chart.js/dist/types/utils';
8
8
  import * as chart_js_dist_types_geometric from 'chart.js/dist/types/geometric';
9
+ import * as chart_js_dist_types_basic from 'chart.js/dist/types/basic';
10
+ import * as chart_js_auto from 'chart.js/auto';
11
+ import { Chart, ChartConfiguration as ChartConfiguration$1 } from 'chart.js/auto';
9
12
 
10
13
  interface FigureInfo {
11
14
  id: UID;
@@ -31,6 +34,17 @@ interface ExcelFigureSize {
31
34
  cy: number;
32
35
  }
33
36
  type ResizeDirection = -1 | 0 | 1;
37
+ interface Carousel {
38
+ items: CarouselItem[];
39
+ }
40
+ type CarouselItem = {
41
+ type: "chart";
42
+ chartId: UID;
43
+ title?: string;
44
+ } | {
45
+ type: "carouselDataView";
46
+ title?: string;
47
+ };
34
48
 
35
49
  type ImageSVG = {
36
50
  name: string;
@@ -84,6 +98,7 @@ interface CommonChartDefinition {
84
98
  }
85
99
 
86
100
  interface ComboBarChartDefinition extends CommonChartDefinition {
101
+ readonly zoomable?: boolean;
87
102
  }
88
103
 
89
104
  interface BarChartDefinition extends ComboBarChartDefinition {
@@ -93,6 +108,7 @@ interface BarChartDefinition extends ComboBarChartDefinition {
93
108
  }
94
109
  type BarChartRuntime = {
95
110
  chartJsConfig: ChartConfiguration;
111
+ masterChartConfig?: ChartConfiguration;
96
112
  background: Color;
97
113
  };
98
114
 
@@ -106,6 +122,7 @@ type ComboChartDataSet = CustomizedDataSet & {
106
122
  };
107
123
  type ComboChartRuntime = {
108
124
  chartJsConfig: ChartConfiguration;
125
+ masterChartConfig?: ChartConfiguration;
109
126
  background: Color;
110
127
  };
111
128
 
@@ -213,9 +230,11 @@ interface LineChartDefinition extends CommonChartDefinition {
213
230
  readonly cumulative: boolean;
214
231
  readonly fillArea?: boolean;
215
232
  readonly hideDataMarkers?: boolean;
233
+ readonly zoomable?: boolean;
216
234
  }
217
235
  type LineChartRuntime = {
218
236
  chartJsConfig: ChartConfiguration;
237
+ masterChartConfig?: ChartConfiguration;
219
238
  background: Color;
220
239
  };
221
240
 
@@ -474,6 +493,7 @@ interface WaterfallChartDefinition extends CommonChartDefinition {
474
493
  readonly positiveValuesColor?: Color;
475
494
  readonly negativeValuesColor?: Color;
476
495
  readonly subTotalValuesColor?: Color;
496
+ readonly zoomable?: boolean;
477
497
  }
478
498
  type WaterfallChartRuntime = {
479
499
  chartJsConfig: ChartConfiguration;
@@ -490,6 +510,9 @@ type ChartWithDataSetDefinition = Extract<ChartDefinition, {
490
510
  type ChartWithAxisDefinition = Extract<ChartWithDataSetDefinition, {
491
511
  axesDesign?: AxesDesign;
492
512
  }>;
513
+ type ZoomableChartDefinition = Extract<ChartWithAxisDefinition, {
514
+ zoomable?: boolean;
515
+ }>;
493
516
  type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime | PyramidChartRuntime | RadarChartRuntime | GeoChartRuntime | FunnelChartRuntime | SunburstChartRuntime | TreeMapChartRuntime;
494
517
  type ChartRuntime = ChartJSRuntime | ScorecardChartRuntime | GaugeChartRuntime;
495
518
  interface LabelValues {
@@ -616,6 +639,7 @@ interface ChartCreationContext {
616
639
  readonly showHeaders?: boolean;
617
640
  readonly headerDesign?: TitleDesign;
618
641
  readonly treemapColoringOptions?: TreeMapColoringOptions;
642
+ readonly zoomable?: boolean;
619
643
  }
620
644
  type ChartAxisFormats = {
621
645
  [axisId: string]: Format | undefined;
@@ -2720,13 +2744,13 @@ interface ZoneDependentCommand {
2720
2744
  zone: Zone;
2721
2745
  }
2722
2746
  declare function isZoneDependent(cmd: CoreCommand): cmd is Extract<CoreCommand, ZoneDependentCommand>;
2723
- declare const invalidateEvaluationCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX">;
2724
- declare const invalidateChartEvaluationCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX">;
2725
- declare const invalidateDependenciesCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX">;
2726
- declare const invalidateCFEvaluationCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX">;
2727
- declare const invalidateBordersCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX">;
2728
- declare const readonlyAllowedCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX">;
2729
- 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">;
2747
+ declare const invalidateEvaluationCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM">;
2748
+ declare const invalidateChartEvaluationCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM">;
2749
+ declare const invalidateDependenciesCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM">;
2750
+ declare const invalidateCFEvaluationCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM">;
2751
+ declare const invalidateBordersCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM">;
2752
+ declare const readonlyAllowedCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM">;
2753
+ declare const coreTypes: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT">;
2730
2754
  declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
2731
2755
  declare function canExecuteInReadonly(cmd: Command): boolean;
2732
2756
  interface UpdateCellCommand extends PositionDependentCommand {
@@ -2888,15 +2912,50 @@ interface BaseFigureCommand extends PositionDependentCommand {
2888
2912
  offset: PixelPosition;
2889
2913
  size: FigureSize;
2890
2914
  }
2891
- interface CreateChartCommand extends BaseFigureCommand {
2915
+ interface CreateChartCommand {
2892
2916
  type: "CREATE_CHART";
2917
+ chartId: UID;
2893
2918
  definition: ChartDefinition;
2919
+ sheetId: UID;
2920
+ figureId: UID;
2921
+ offset?: PixelPosition;
2922
+ size?: FigureSize;
2923
+ col?: number;
2924
+ row?: number;
2894
2925
  }
2895
2926
  interface UpdateChartCommand extends SheetDependentCommand {
2896
2927
  type: "UPDATE_CHART";
2897
2928
  figureId: UID;
2929
+ chartId: UID;
2898
2930
  definition: ChartDefinition;
2899
2931
  }
2932
+ interface DeleteChartCommand extends SheetDependentCommand {
2933
+ type: "DELETE_CHART";
2934
+ chartId: UID;
2935
+ }
2936
+ interface CreateCarouselCommand extends BaseFigureCommand {
2937
+ type: "CREATE_CAROUSEL";
2938
+ definition: Carousel;
2939
+ }
2940
+ interface UpdateCarouselCommand extends SheetDependentCommand {
2941
+ type: "UPDATE_CAROUSEL";
2942
+ figureId: UID;
2943
+ definition: Carousel;
2944
+ }
2945
+ interface AddNewChartToCarouselCommand extends SheetDependentCommand {
2946
+ type: "ADD_NEW_CHART_TO_CAROUSEL";
2947
+ figureId: UID;
2948
+ }
2949
+ interface AddFigureChartToCarouselCommand extends SheetDependentCommand {
2950
+ type: "ADD_FIGURE_CHART_TO_CAROUSEL";
2951
+ carouselFigureId: UID;
2952
+ chartFigureId: UID;
2953
+ }
2954
+ interface UpdateCarouselActiveItemCommand extends SheetDependentCommand {
2955
+ type: "UPDATE_CAROUSEL_ACTIVE_ITEM";
2956
+ figureId: UID;
2957
+ item: CarouselItem;
2958
+ }
2900
2959
  interface CreateImageOverCommand extends BaseFigureCommand {
2901
2960
  type: "CREATE_IMAGE";
2902
2961
  definition: Image$1;
@@ -3308,11 +3367,11 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | ClearCellsCom
3308
3367
  /** CONDITIONAL FORMAT */
3309
3368
  | AddConditionalFormatCommand | RemoveConditionalFormatCommand | MoveConditionalFormatCommand
3310
3369
  /** FIGURES */
3311
- | CreateFigureCommand | DeleteFigureCommand | UpdateFigureCommand
3370
+ | CreateFigureCommand | DeleteFigureCommand | UpdateFigureCommand | CreateCarouselCommand | UpdateCarouselCommand
3312
3371
  /** FORMATTING */
3313
3372
  | SetFormattingCommand | ClearFormattingCommand | SetZoneBordersCommand | SetBorderCommand | SetBorderTargetCommand
3314
3373
  /** CHART */
3315
- | CreateChartCommand | UpdateChartCommand
3374
+ | CreateChartCommand | UpdateChartCommand | DeleteChartCommand
3316
3375
  /** IMAGE */
3317
3376
  | CreateImageOverCommand
3318
3377
  /** FILTERS */
@@ -3325,7 +3384,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | ClearCellsCom
3325
3384
  | UpdateLocaleCommand
3326
3385
  /** PIVOT */
3327
3386
  | AddPivotCommand | UpdatePivotCommand | InsertPivotCommand | RenamePivotCommand | RemovePivotCommand | DuplicatePivotCommand;
3328
- type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | EvaluateChartsCommand | StartChangeHighlightCommand | StartCommand | AutofillCommand | AutofillSelectCommand | AutofillTableCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | ReplaceSearchCommand | SortCommand | SetDecimalCommand | SetContextualFormatCommand | ResizeViewportCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | MoveViewportToCellCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand | RemoveDuplicatesCommand | TrimWhitespaceCommand | ResizeTableCommand | RefreshPivotCommand | InsertNewPivotCommand | DuplicatePivotInNewSheetCommand | InsertPivotWithTableCommand | SplitPivotFormulaCommand | PaintFormat | DeleteUnfilteredContentCommand | PivotStartPresenceTracking | PivotStopPresenceTracking | ToggleCheckboxCommand;
3387
+ type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | EvaluateChartsCommand | StartChangeHighlightCommand | StartCommand | AutofillCommand | AutofillSelectCommand | AutofillTableCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | ReplaceSearchCommand | SortCommand | SetDecimalCommand | SetContextualFormatCommand | ResizeViewportCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | MoveViewportToCellCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand | RemoveDuplicatesCommand | TrimWhitespaceCommand | ResizeTableCommand | RefreshPivotCommand | InsertNewPivotCommand | DuplicatePivotInNewSheetCommand | InsertPivotWithTableCommand | SplitPivotFormulaCommand | PaintFormat | DeleteUnfilteredContentCommand | PivotStartPresenceTracking | PivotStopPresenceTracking | ToggleCheckboxCommand | AddNewChartToCarouselCommand | AddFigureChartToCarouselCommand | UpdateCarouselActiveItemCommand;
3329
3388
  type Command = CoreCommand | LocalCommand;
3330
3389
  /**
3331
3390
  * Holds the result of a command dispatch.
@@ -3471,7 +3530,8 @@ declare const enum CommandResult {
3471
3530
  InvalidDefinition = "InvalidDefinition",
3472
3531
  InvalidColor = "InvalidColor",
3473
3532
  InvalidPivotDataSet = "InvalidPivotDataSet",
3474
- InvalidPivotCustomField = "InvalidPivotCustomField"
3533
+ InvalidPivotCustomField = "InvalidPivotCustomField",
3534
+ MissingFigureArguments = "MissingFigureArguments"
3475
3535
  }
3476
3536
  interface CommandHandler<T> {
3477
3537
  allowDispatch(command: T): CommandResult | CommandResult[];
@@ -4324,6 +4384,7 @@ interface SpreadsheetChildEnv extends NotificationStoreMethods {
4324
4384
  imageProvider?: ImageProviderInterface;
4325
4385
  isDashboard: () => boolean;
4326
4386
  openSidePanel: (panel: string, panelProps?: any) => void;
4387
+ replaceSidePanel: (panel: string, currentPanel: string, panelProps?: any) => void;
4327
4388
  toggleSidePanel: (panel: string, panelProps?: any) => void;
4328
4389
  clipboard: ClipboardInterface;
4329
4390
  startCellEdition: (content?: string) => void;
@@ -4575,6 +4636,21 @@ declare class BordersPlugin extends CorePlugin<BordersPluginState> implements Bo
4575
4636
  exportForExcel(data: ExcelWorkbookData): void;
4576
4637
  }
4577
4638
 
4639
+ interface CarouselState {
4640
+ readonly carousels: Record<UID, Record<UID, Carousel | undefined> | undefined>;
4641
+ }
4642
+ declare class CarouselPlugin extends CorePlugin<CarouselState> implements CarouselState {
4643
+ static getters: readonly ["getCarousel", "doesCarouselExist"];
4644
+ readonly carousels: Record<UID, Record<UID, Carousel | undefined> | undefined>;
4645
+ allowDispatch(cmd: CoreCommand): CommandResult.Success | CommandResult.InvalidFigureId | CommandResult.DuplicatedFigureId;
4646
+ handle(cmd: CoreCommand): void;
4647
+ doesCarouselExist(figureId: UID): boolean;
4648
+ getCarousel(figureId: UID): Carousel;
4649
+ private removeDeletedCharts;
4650
+ import(data: WorkbookData): void;
4651
+ export(data: WorkbookData): void;
4652
+ }
4653
+
4578
4654
  interface CoreState$1 {
4579
4655
  cells: Record<UID, Record<UID, Cell | undefined> | undefined>;
4580
4656
  nextId: number;
@@ -4731,28 +4807,28 @@ declare abstract class AbstractChart {
4731
4807
  };
4732
4808
  }
4733
4809
 
4734
- /**
4735
- * Chart plugin
4736
- *
4737
- * This plugin manages charts
4738
- * */
4810
+ interface FigureChart {
4811
+ figureId: UID;
4812
+ chart: AbstractChart;
4813
+ }
4739
4814
  interface ChartState {
4740
- readonly charts: Record<UID, AbstractChart | undefined>;
4815
+ readonly charts: Record<UID, FigureChart | undefined>;
4741
4816
  }
4742
4817
  declare class ChartPlugin extends CorePlugin<ChartState> implements ChartState {
4743
- static getters: readonly ["isChartDefined", "getChartDefinition", "getChartType", "getChartIds", "getChart", "getContextCreationChart"];
4744
- readonly charts: Record<UID, AbstractChart | undefined>;
4818
+ static getters: readonly ["isChartDefined", "getChartDefinition", "getChartType", "getChartIds", "getChart", "getFigureIdFromChartId", "getContextCreationChart"];
4819
+ readonly charts: Record<UID, FigureChart | undefined>;
4745
4820
  private createChart;
4746
4821
  private validateChartDefinition;
4747
4822
  adaptRanges(applyChange: ApplyRangeChange): void;
4748
4823
  allowDispatch(cmd: Command): CommandResult | CommandResult[];
4749
4824
  handle(cmd: CoreCommand): void;
4750
- getContextCreationChart(figureId: UID): ChartCreationContext | undefined;
4751
- getChart(figureId: UID): AbstractChart | undefined;
4752
- getChartType(figureId: UID): ChartType;
4753
- isChartDefined(figureId: UID): boolean;
4825
+ getContextCreationChart(chartId: UID): ChartCreationContext | undefined;
4826
+ getChart(chartId: UID): AbstractChart | undefined;
4827
+ getFigureIdFromChartId(chartId: UID): UID;
4828
+ getChartType(chartId: UID): ChartType;
4829
+ isChartDefined(chartId: UID): boolean;
4754
4830
  getChartIds(sheetId: UID): string[];
4755
- getChartDefinition(figureId: UID): ChartDefinition;
4831
+ getChartDefinition(chartId: UID): ChartDefinition;
4756
4832
  import(data: WorkbookData): void;
4757
4833
  export(data: WorkbookData): void;
4758
4834
  /**
@@ -4767,6 +4843,8 @@ declare class ChartPlugin extends CorePlugin<ChartState> implements ChartState {
4767
4843
  private checkChartDuplicate;
4768
4844
  private checkChartExists;
4769
4845
  private checkChartChanged;
4846
+ /** If the command would create a new figure, there need to be a position & offset defined in the command */
4847
+ private checkFigureArguments;
4770
4848
  }
4771
4849
 
4772
4850
  interface ConditionalFormatState {
@@ -5524,7 +5602,7 @@ declare class EvaluationChartPlugin extends CoreViewPlugin<EvaluationChartState>
5524
5602
  charts: Record<UID, ChartRuntime | undefined>;
5525
5603
  private createRuntimeChart;
5526
5604
  handle(cmd: CoreViewCommand): void;
5527
- getChartRuntime(figureId: UID): ChartRuntime;
5605
+ getChartRuntime(chartId: UID): ChartRuntime;
5528
5606
  /**
5529
5607
  * Get the background and textColor of a chart based on the color of the first cell of the main range of the chart.
5530
5608
  */
@@ -5850,6 +5928,7 @@ declare class SpreadsheetPivotTable {
5850
5928
  };
5851
5929
  sort(measure: string, sortedColumn: PivotSortedColumn, getValue: (measure: string, domain: PivotDomain) => FunctionResultObject): void;
5852
5930
  private rowTreeToRows;
5931
+ get numberOfCells(): number;
5853
5932
  }
5854
5933
 
5855
5934
  interface InitPivotParams {
@@ -6331,6 +6410,19 @@ declare class TableComputedStylePlugin extends UIPlugin {
6331
6410
  private getTableMapping;
6332
6411
  }
6333
6412
 
6413
+ declare class CarouselUIPlugin extends UIPlugin {
6414
+ static getters: readonly ["getSelectedCarouselItem", "getChartFromFigureId", "getChartIdFromFigureId"];
6415
+ private uuidGenerator;
6416
+ carouselStates: Record<UID, CarouselItem | undefined>;
6417
+ handle(cmd: Command): void;
6418
+ getSelectedCarouselItem(figureId: UID): CarouselItem | undefined;
6419
+ getChartFromFigureId(figureId: UID): AbstractChart | undefined;
6420
+ getChartIdFromFigureId(figureId: UID): UID | undefined;
6421
+ private fixWrongCarouselState;
6422
+ private addNewChartToCarousel;
6423
+ private addFigureChartToCarousel;
6424
+ }
6425
+
6334
6426
  declare class HeaderPositionsUIPlugin extends UIPlugin {
6335
6427
  static getters: readonly ["getColDimensions", "getRowDimensions", "getColRowOffset"];
6336
6428
  private headerPositions;
@@ -6411,11 +6503,11 @@ type PluginGetters<Plugin extends {
6411
6503
  getters: readonly string[];
6412
6504
  }> = Pick<InstanceType<Plugin>, GetterNames<Plugin>>;
6413
6505
  type RangeAdapterGetters = Pick<RangeAdapter, GetterNames<typeof RangeAdapter>>;
6414
- type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof HeaderSizePlugin> & PluginGetters<typeof HeaderVisibilityPlugin> & PluginGetters<typeof CellPlugin> & PluginGetters<typeof MergePlugin> & PluginGetters<typeof BordersPlugin> & PluginGetters<typeof ChartPlugin> & PluginGetters<typeof ImagePlugin> & PluginGetters<typeof FigurePlugin> & RangeAdapterGetters & PluginGetters<typeof ConditionalFormatPlugin> & PluginGetters<typeof TablePlugin> & PluginGetters<typeof SettingsPlugin> & PluginGetters<typeof HeaderGroupingPlugin> & PluginGetters<typeof DataValidationPlugin> & PluginGetters<typeof PivotCorePlugin>;
6506
+ type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof HeaderSizePlugin> & PluginGetters<typeof HeaderVisibilityPlugin> & PluginGetters<typeof CellPlugin> & PluginGetters<typeof MergePlugin> & PluginGetters<typeof BordersPlugin> & PluginGetters<typeof ChartPlugin> & PluginGetters<typeof ImagePlugin> & PluginGetters<typeof CarouselPlugin> & PluginGetters<typeof FigurePlugin> & RangeAdapterGetters & PluginGetters<typeof ConditionalFormatPlugin> & PluginGetters<typeof TablePlugin> & PluginGetters<typeof SettingsPlugin> & PluginGetters<typeof HeaderGroupingPlugin> & PluginGetters<typeof DataValidationPlugin> & PluginGetters<typeof PivotCorePlugin>;
6415
6507
  type Getters = {
6416
6508
  isReadonly: () => boolean;
6417
6509
  isDashboard: () => boolean;
6418
- } & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin> & PluginGetters<typeof TableStylePlugin> & PluginGetters<typeof CellComputedStylePlugin> & PluginGetters<typeof DynamicTablesPlugin> & PluginGetters<typeof PivotUIPlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof GeoFeaturePlugin> & PluginGetters<typeof PivotPresencePlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof CheckboxTogglePlugin> & PluginGetters<typeof CellIconPlugin>;
6510
+ } & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin> & PluginGetters<typeof TableStylePlugin> & PluginGetters<typeof CellComputedStylePlugin> & PluginGetters<typeof DynamicTablesPlugin> & PluginGetters<typeof PivotUIPlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof GeoFeaturePlugin> & PluginGetters<typeof PivotPresencePlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof CheckboxTogglePlugin> & PluginGetters<typeof CellIconPlugin> & PluginGetters<typeof CarouselUIPlugin>;
6419
6511
 
6420
6512
  type ArgType = "ANY" | "BOOLEAN" | "NUMBER" | "STRING" | "DATE" | "RANGE" | "RANGE<BOOLEAN>" | "RANGE<NUMBER>" | "RANGE<DATE>" | "RANGE<STRING>" | "RANGE<ANY>" | "META";
6421
6513
  interface ArgDefinition {
@@ -7046,7 +7138,7 @@ interface ChartSubtypeProperties {
7046
7138
  preview: string;
7047
7139
  }
7048
7140
 
7049
- interface Props$1o {
7141
+ interface Props$1p {
7050
7142
  label?: string;
7051
7143
  value: boolean;
7052
7144
  className?: string;
@@ -7055,7 +7147,7 @@ interface Props$1o {
7055
7147
  disabled?: boolean;
7056
7148
  onChange: (value: boolean) => void;
7057
7149
  }
7058
- declare class Checkbox extends Component<Props$1o, SpreadsheetChildEnv> {
7150
+ declare class Checkbox extends Component<Props$1p, SpreadsheetChildEnv> {
7059
7151
  static template: string;
7060
7152
  static props: {
7061
7153
  label: {
@@ -7090,10 +7182,10 @@ declare class Checkbox extends Component<Props$1o, SpreadsheetChildEnv> {
7090
7182
  onChange(ev: InputEvent): void;
7091
7183
  }
7092
7184
 
7093
- interface Props$1n {
7185
+ interface Props$1o {
7094
7186
  class?: string;
7095
7187
  }
7096
- declare class Section extends Component<Props$1n, SpreadsheetChildEnv> {
7188
+ declare class Section extends Component<Props$1o, SpreadsheetChildEnv> {
7097
7189
  static template: string;
7098
7190
  static props: {
7099
7191
  class: {
@@ -7258,7 +7350,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
7258
7350
  getIndex(rangeId: number | null): number | null;
7259
7351
  }
7260
7352
 
7261
- interface Props$1m {
7353
+ interface Props$1n {
7262
7354
  ranges: string[];
7263
7355
  hasSingleRange?: boolean;
7264
7356
  required?: boolean;
@@ -7286,7 +7378,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
7286
7378
  * onSelectionChanged is called every time the input value
7287
7379
  * changes.
7288
7380
  */
7289
- declare class SelectionInput extends Component<Props$1m, SpreadsheetChildEnv> {
7381
+ declare class SelectionInput extends Component<Props$1n, SpreadsheetChildEnv> {
7290
7382
  static template: string;
7291
7383
  static props: {
7292
7384
  ranges: ArrayConstructor;
@@ -7363,7 +7455,7 @@ declare class SelectionInput extends Component<Props$1m, SpreadsheetChildEnv> {
7363
7455
  confirm(): void;
7364
7456
  }
7365
7457
 
7366
- interface Props$1l {
7458
+ interface Props$1m {
7367
7459
  ranges: CustomizedDataSet[];
7368
7460
  hasSingleRange?: boolean;
7369
7461
  onSelectionChanged: (ranges: string[]) => void;
@@ -7376,7 +7468,7 @@ interface Props$1l {
7376
7468
  canChangeDatasetOrientation?: boolean;
7377
7469
  onFlipAxis?: (structure: string) => void;
7378
7470
  }
7379
- declare class ChartDataSeries extends Component<Props$1l, SpreadsheetChildEnv> {
7471
+ declare class ChartDataSeries extends Component<Props$1m, SpreadsheetChildEnv> {
7380
7472
  static template: string;
7381
7473
  static components: {
7382
7474
  SelectionInput: typeof SelectionInput;
@@ -7425,12 +7517,12 @@ declare class ChartDataSeries extends Component<Props$1l, SpreadsheetChildEnv> {
7425
7517
  get title(): string;
7426
7518
  }
7427
7519
 
7428
- interface Props$1k {
7520
+ interface Props$1l {
7429
7521
  messages: string[];
7430
7522
  msgType: "warning" | "error" | "info";
7431
7523
  singleBox?: boolean;
7432
7524
  }
7433
- declare class ValidationMessages extends Component<Props$1k, SpreadsheetChildEnv> {
7525
+ declare class ValidationMessages extends Component<Props$1l, SpreadsheetChildEnv> {
7434
7526
  static template: string;
7435
7527
  static props: {
7436
7528
  messages: ArrayConstructor;
@@ -7444,10 +7536,10 @@ declare class ValidationMessages extends Component<Props$1k, SpreadsheetChildEnv
7444
7536
  get alertBoxes(): string[][];
7445
7537
  }
7446
7538
 
7447
- interface Props$1j {
7539
+ interface Props$1k {
7448
7540
  messages: string[];
7449
7541
  }
7450
- declare class ChartErrorSection extends Component<Props$1j, SpreadsheetChildEnv> {
7542
+ declare class ChartErrorSection extends Component<Props$1k, SpreadsheetChildEnv> {
7451
7543
  static template: string;
7452
7544
  static components: {
7453
7545
  Section: typeof Section;
@@ -7461,7 +7553,7 @@ declare class ChartErrorSection extends Component<Props$1j, SpreadsheetChildEnv>
7461
7553
  };
7462
7554
  }
7463
7555
 
7464
- interface Props$1i {
7556
+ interface Props$1j {
7465
7557
  title?: string;
7466
7558
  range: string;
7467
7559
  isInvalid: boolean;
@@ -7474,7 +7566,7 @@ interface Props$1i {
7474
7566
  onChange: (value: boolean) => void;
7475
7567
  }>;
7476
7568
  }
7477
- declare class ChartLabelRange extends Component<Props$1i, SpreadsheetChildEnv> {
7569
+ declare class ChartLabelRange extends Component<Props$1j, SpreadsheetChildEnv> {
7478
7570
  static template: string;
7479
7571
  static components: {
7480
7572
  SelectionInput: typeof SelectionInput;
@@ -7495,20 +7587,20 @@ declare class ChartLabelRange extends Component<Props$1i, SpreadsheetChildEnv> {
7495
7587
  optional: boolean;
7496
7588
  };
7497
7589
  };
7498
- static defaultProps: Partial<Props$1i>;
7590
+ static defaultProps: Partial<Props$1j>;
7499
7591
  }
7500
7592
 
7501
- interface Props$1h {
7502
- figureId: UID;
7593
+ interface Props$1i {
7594
+ chartId: UID;
7503
7595
  definition: ChartWithDataSetDefinition;
7504
- canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7505
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7596
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7597
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7506
7598
  }
7507
7599
  interface ChartPanelState {
7508
7600
  datasetDispatchResult?: DispatchResult;
7509
7601
  labelsDispatchResult?: DispatchResult;
7510
7602
  }
7511
- declare class GenericChartConfigPanel extends Component<Props$1h, SpreadsheetChildEnv> {
7603
+ declare class GenericChartConfigPanel extends Component<Props$1i, SpreadsheetChildEnv> {
7512
7604
  static template: string;
7513
7605
  static components: {
7514
7606
  ChartDataSeries: typeof ChartDataSeries;
@@ -7518,7 +7610,7 @@ declare class GenericChartConfigPanel extends Component<Props$1h, SpreadsheetChi
7518
7610
  ChartErrorSection: typeof ChartErrorSection;
7519
7611
  };
7520
7612
  static props: {
7521
- figureId: StringConstructor;
7613
+ chartId: StringConstructor;
7522
7614
  definition: ObjectConstructor;
7523
7615
  updateChart: FunctionConstructor;
7524
7616
  canUpdateChart: FunctionConstructor;
@@ -7577,11 +7669,11 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
7577
7669
  onUpdateStacked(stacked: boolean): void;
7578
7670
  }
7579
7671
 
7580
- interface Props$1g {
7672
+ interface Props$1h {
7581
7673
  isCollapsed: boolean;
7582
7674
  slots: any;
7583
7675
  }
7584
- declare class Collapse extends Component<Props$1g, SpreadsheetChildEnv> {
7676
+ declare class Collapse extends Component<Props$1h, SpreadsheetChildEnv> {
7585
7677
  static template: string;
7586
7678
  static props: {
7587
7679
  isCollapsed: BooleanConstructor;
@@ -7620,12 +7712,12 @@ interface Choice$1 {
7620
7712
  value: string;
7621
7713
  label: string;
7622
7714
  }
7623
- interface Props$1f {
7715
+ interface Props$1g {
7624
7716
  choices: Choice$1[];
7625
7717
  onChange: (value: string) => void;
7626
7718
  selectedValue: string;
7627
7719
  }
7628
- declare class BadgeSelection extends Component<Props$1f, SpreadsheetChildEnv> {
7720
+ declare class BadgeSelection extends Component<Props$1g, SpreadsheetChildEnv> {
7629
7721
  static template: string;
7630
7722
  static props: {
7631
7723
  choices: ArrayConstructor;
@@ -7634,14 +7726,14 @@ declare class BadgeSelection extends Component<Props$1f, SpreadsheetChildEnv> {
7634
7726
  };
7635
7727
  }
7636
7728
 
7637
- interface Props$1e {
7729
+ interface Props$1f {
7638
7730
  action: ActionSpec;
7639
7731
  hasTriangleDownIcon?: boolean;
7640
7732
  selectedColor?: string;
7641
7733
  class?: string;
7642
7734
  onClick?: (ev: MouseEvent) => void;
7643
7735
  }
7644
- declare class ActionButton extends Component<Props$1e, SpreadsheetChildEnv> {
7736
+ declare class ActionButton extends Component<Props$1f, SpreadsheetChildEnv> {
7645
7737
  static template: string;
7646
7738
  static props: {
7647
7739
  action: ObjectConstructor;
@@ -7828,7 +7920,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
7828
7920
  isSameColor(color1: Color, color2: Color): boolean;
7829
7921
  }
7830
7922
 
7831
- interface Props$1d {
7923
+ interface Props$1e {
7832
7924
  currentColor: string | undefined;
7833
7925
  toggleColorPicker: () => void;
7834
7926
  showColorPicker: boolean;
@@ -7839,7 +7931,7 @@ interface Props$1d {
7839
7931
  dropdownMaxHeight?: Pixel;
7840
7932
  class?: string;
7841
7933
  }
7842
- declare class ColorPickerWidget extends Component<Props$1d, SpreadsheetChildEnv> {
7934
+ declare class ColorPickerWidget extends Component<Props$1e, SpreadsheetChildEnv> {
7843
7935
  static template: string;
7844
7936
  static props: {
7845
7937
  currentColor: {
@@ -7900,14 +7992,14 @@ declare class CellPopoverStore extends SpreadsheetStore {
7900
7992
  interface State$5 {
7901
7993
  isOpen: boolean;
7902
7994
  }
7903
- interface Props$1c {
7995
+ interface Props$1d {
7904
7996
  currentFontSize: number;
7905
7997
  class: string;
7906
7998
  onFontSizeChanged: (fontSize: number) => void;
7907
7999
  onToggle?: () => void;
7908
8000
  onFocusInput?: () => void;
7909
8001
  }
7910
- declare class FontSizeEditor extends Component<Props$1c, SpreadsheetChildEnv> {
8002
+ declare class FontSizeEditor extends Component<Props$1d, SpreadsheetChildEnv> {
7911
8003
  static template: string;
7912
8004
  static props: {
7913
8005
  currentFontSize: NumberConstructor;
@@ -7945,7 +8037,7 @@ declare class FontSizeEditor extends Component<Props$1c, SpreadsheetChildEnv> {
7945
8037
  onInputKeydown(ev: KeyboardEvent): void;
7946
8038
  }
7947
8039
 
7948
- interface Props$1b {
8040
+ interface Props$1c {
7949
8041
  class?: string;
7950
8042
  style: ChartStyle;
7951
8043
  updateStyle: (style: ChartStyle) => void;
@@ -7954,7 +8046,7 @@ interface Props$1b {
7954
8046
  hasHorizontalAlign?: boolean;
7955
8047
  hasBackgroundColor?: boolean;
7956
8048
  }
7957
- declare class TextStyler extends Component<Props$1b, SpreadsheetChildEnv> {
8049
+ declare class TextStyler extends Component<Props$1c, SpreadsheetChildEnv> {
7958
8050
  static template: string;
7959
8051
  static components: {
7960
8052
  ColorPickerWidget: typeof ColorPickerWidget;
@@ -8022,7 +8114,7 @@ declare class TextStyler extends Component<Props$1b, SpreadsheetChildEnv> {
8022
8114
  get verticalAlignActions(): ActionSpec[];
8023
8115
  }
8024
8116
 
8025
- interface Props$1a {
8117
+ interface Props$1b {
8026
8118
  title?: string;
8027
8119
  placeholder?: string;
8028
8120
  updateTitle: (title: string) => void;
@@ -8031,7 +8123,7 @@ interface Props$1a {
8031
8123
  defaultStyle?: Partial<TitleDesign>;
8032
8124
  updateStyle: (style: TitleDesign) => void;
8033
8125
  }
8034
- declare class ChartTitle extends Component<Props$1a, SpreadsheetChildEnv> {
8126
+ declare class ChartTitle extends Component<Props$1b, SpreadsheetChildEnv> {
8035
8127
  static template: string;
8036
8128
  static components: {
8037
8129
  Section: typeof Section;
@@ -8068,13 +8160,13 @@ interface AxisDefinition {
8068
8160
  id: string;
8069
8161
  name: string;
8070
8162
  }
8071
- interface Props$19 {
8072
- figureId: UID;
8163
+ interface Props$1a {
8164
+ chartId: UID;
8073
8165
  definition: ChartWithAxisDefinition;
8074
- updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
8166
+ updateChart: (chartId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
8075
8167
  axesList: AxisDefinition[];
8076
8168
  }
8077
- declare class AxisDesignEditor extends Component<Props$19, SpreadsheetChildEnv> {
8169
+ declare class AxisDesignEditor extends Component<Props$1a, SpreadsheetChildEnv> {
8078
8170
  static template: string;
8079
8171
  static components: {
8080
8172
  Section: typeof Section;
@@ -8082,7 +8174,7 @@ declare class AxisDesignEditor extends Component<Props$19, SpreadsheetChildEnv>
8082
8174
  BadgeSelection: typeof BadgeSelection;
8083
8175
  };
8084
8176
  static props: {
8085
- figureId: StringConstructor;
8177
+ chartId: StringConstructor;
8086
8178
  definition: ObjectConstructor;
8087
8179
  updateChart: FunctionConstructor;
8088
8180
  axesList: ArrayConstructor;
@@ -8106,14 +8198,14 @@ interface Choice {
8106
8198
  value: unknown;
8107
8199
  label: string;
8108
8200
  }
8109
- interface Props$18 {
8201
+ interface Props$19 {
8110
8202
  choices: Choice[];
8111
8203
  onChange: (value: unknown) => void;
8112
8204
  selectedValue: string;
8113
8205
  name: string;
8114
8206
  direction: "horizontal" | "vertical";
8115
8207
  }
8116
- declare class RadioSelection extends Component<Props$18, SpreadsheetChildEnv> {
8208
+ declare class RadioSelection extends Component<Props$19, SpreadsheetChildEnv> {
8117
8209
  static template: string;
8118
8210
  static props: {
8119
8211
  choices: ArrayConstructor;
@@ -8132,13 +8224,13 @@ declare class RadioSelection extends Component<Props$18, SpreadsheetChildEnv> {
8132
8224
  };
8133
8225
  }
8134
8226
 
8135
- interface Props$17 {
8227
+ interface Props$18 {
8136
8228
  currentColor?: string;
8137
8229
  onColorPicked: (color: string) => void;
8138
8230
  title?: string;
8139
8231
  disableNoColor?: boolean;
8140
8232
  }
8141
- declare class RoundColorPicker extends Component<Props$17, SpreadsheetChildEnv> {
8233
+ declare class RoundColorPicker extends Component<Props$18, SpreadsheetChildEnv> {
8142
8234
  static template: string;
8143
8235
  static components: {
8144
8236
  Section: typeof Section;
@@ -8171,14 +8263,14 @@ declare class RoundColorPicker extends Component<Props$17, SpreadsheetChildEnv>
8171
8263
  get buttonStyle(): string;
8172
8264
  }
8173
8265
 
8174
- interface Props$16 {
8175
- figureId: UID;
8266
+ interface Props$17 {
8267
+ chartId: UID;
8176
8268
  definition: ChartDefinition;
8177
- updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8178
- canUpdateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8269
+ updateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8270
+ canUpdateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8179
8271
  defaultChartTitleFontSize?: number;
8180
8272
  }
8181
- declare class GeneralDesignEditor extends Component<Props$16, SpreadsheetChildEnv> {
8273
+ declare class GeneralDesignEditor extends Component<Props$17, SpreadsheetChildEnv> {
8182
8274
  static template: string;
8183
8275
  static components: {
8184
8276
  RoundColorPicker: typeof RoundColorPicker;
@@ -8188,7 +8280,7 @@ declare class GeneralDesignEditor extends Component<Props$16, SpreadsheetChildEn
8188
8280
  RadioSelection: typeof RadioSelection;
8189
8281
  };
8190
8282
  static props: {
8191
- figureId: StringConstructor;
8283
+ chartId: StringConstructor;
8192
8284
  definition: ObjectConstructor;
8193
8285
  updateChart: FunctionConstructor;
8194
8286
  canUpdateChart: FunctionConstructor;
@@ -8213,19 +8305,19 @@ declare class GeneralDesignEditor extends Component<Props$16, SpreadsheetChildEn
8213
8305
  updateChartTitleStyle(style: TitleDesign): void;
8214
8306
  }
8215
8307
 
8216
- interface Props$15 {
8217
- figureId: UID;
8308
+ interface Props$16 {
8309
+ chartId: UID;
8218
8310
  definition: ChartWithDataSetDefinition;
8219
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8220
- canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8311
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8312
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8221
8313
  }
8222
- declare class ChartLegend extends Component<Props$15, SpreadsheetChildEnv> {
8314
+ declare class ChartLegend extends Component<Props$16, SpreadsheetChildEnv> {
8223
8315
  static template: string;
8224
8316
  static components: {
8225
8317
  Section: typeof Section;
8226
8318
  };
8227
8319
  static props: {
8228
- figureId: StringConstructor;
8320
+ chartId: StringConstructor;
8229
8321
  definition: ObjectConstructor;
8230
8322
  updateChart: FunctionConstructor;
8231
8323
  canUpdateChart: FunctionConstructor;
@@ -8233,13 +8325,13 @@ declare class ChartLegend extends Component<Props$15, SpreadsheetChildEnv> {
8233
8325
  updateLegendPosition(ev: any): void;
8234
8326
  }
8235
8327
 
8236
- interface Props$14 {
8237
- figureId: UID;
8328
+ interface Props$15 {
8329
+ chartId: UID;
8238
8330
  definition: ChartWithDataSetDefinition;
8239
- canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8240
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8331
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8332
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8241
8333
  }
8242
- declare class SeriesDesignEditor extends Component<Props$14, SpreadsheetChildEnv> {
8334
+ declare class SeriesDesignEditor extends Component<Props$15, SpreadsheetChildEnv> {
8243
8335
  static template: string;
8244
8336
  static components: {
8245
8337
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -8247,7 +8339,7 @@ declare class SeriesDesignEditor extends Component<Props$14, SpreadsheetChildEnv
8247
8339
  RoundColorPicker: typeof RoundColorPicker;
8248
8340
  };
8249
8341
  static props: {
8250
- figureId: StringConstructor;
8342
+ chartId: StringConstructor;
8251
8343
  definition: ObjectConstructor;
8252
8344
  updateChart: FunctionConstructor;
8253
8345
  canUpdateChart: FunctionConstructor;
@@ -8267,13 +8359,13 @@ declare class SeriesDesignEditor extends Component<Props$14, SpreadsheetChildEnv
8267
8359
  getDataSeriesLabel(): string | undefined;
8268
8360
  }
8269
8361
 
8270
- interface Props$13 {
8271
- figureId: UID;
8362
+ interface Props$14 {
8363
+ chartId: UID;
8272
8364
  definition: ChartWithDataSetDefinition;
8273
- canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8274
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8365
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8366
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8275
8367
  }
8276
- declare class SeriesWithAxisDesignEditor extends Component<Props$13, SpreadsheetChildEnv> {
8368
+ declare class SeriesWithAxisDesignEditor extends Component<Props$14, SpreadsheetChildEnv> {
8277
8369
  static template: string;
8278
8370
  static components: {
8279
8371
  SeriesDesignEditor: typeof SeriesDesignEditor;
@@ -8283,7 +8375,7 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$13, Spreadsheet
8283
8375
  RoundColorPicker: typeof RoundColorPicker;
8284
8376
  };
8285
8377
  static props: {
8286
- figureId: StringConstructor;
8378
+ chartId: StringConstructor;
8287
8379
  definition: ObjectConstructor;
8288
8380
  canUpdateChart: FunctionConstructor;
8289
8381
  updateChart: FunctionConstructor;
@@ -8314,20 +8406,20 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$13, Spreadsheet
8314
8406
  updateTrendLineValue(index: number, config: any): void;
8315
8407
  }
8316
8408
 
8317
- interface Props$12 {
8318
- figureId: UID;
8409
+ interface Props$13 {
8410
+ chartId: UID;
8319
8411
  definition: ChartWithDataSetDefinition;
8320
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8321
- canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8412
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8413
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8322
8414
  defaultValue?: boolean;
8323
8415
  }
8324
- declare class ChartShowValues extends Component<Props$12, SpreadsheetChildEnv> {
8416
+ declare class ChartShowValues extends Component<Props$13, SpreadsheetChildEnv> {
8325
8417
  static template: string;
8326
8418
  static components: {
8327
8419
  Checkbox: typeof Checkbox;
8328
8420
  };
8329
8421
  static props: {
8330
- figureId: StringConstructor;
8422
+ chartId: StringConstructor;
8331
8423
  definition: ObjectConstructor;
8332
8424
  updateChart: FunctionConstructor;
8333
8425
  canUpdateChart: FunctionConstructor;
@@ -8338,13 +8430,13 @@ declare class ChartShowValues extends Component<Props$12, SpreadsheetChildEnv> {
8338
8430
  };
8339
8431
  }
8340
8432
 
8341
- interface Props$11 {
8342
- figureId: UID;
8433
+ interface Props$12 {
8434
+ chartId: UID;
8343
8435
  definition: ChartWithDataSetDefinition;
8344
- canUpdateChart: (figureID: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8345
- updateChart: (figureId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8436
+ canUpdateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8437
+ updateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8346
8438
  }
8347
- declare class ChartWithAxisDesignPanel<P extends Props$11 = Props$11> extends Component<P, SpreadsheetChildEnv> {
8439
+ declare class ChartWithAxisDesignPanel<P extends Props$12 = Props$12> extends Component<P, SpreadsheetChildEnv> {
8348
8440
  static template: string;
8349
8441
  static components: {
8350
8442
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -8356,7 +8448,7 @@ declare class ChartWithAxisDesignPanel<P extends Props$11 = Props$11> extends Co
8356
8448
  ChartShowValues: typeof ChartShowValues;
8357
8449
  };
8358
8450
  static props: {
8359
- figureId: StringConstructor;
8451
+ chartId: StringConstructor;
8360
8452
  definition: ObjectConstructor;
8361
8453
  canUpdateChart: FunctionConstructor;
8362
8454
  updateChart: FunctionConstructor;
@@ -8364,20 +8456,20 @@ declare class ChartWithAxisDesignPanel<P extends Props$11 = Props$11> extends Co
8364
8456
  get axesList(): AxisDefinition[];
8365
8457
  }
8366
8458
 
8367
- interface Props$10 {
8368
- figureId: UID;
8459
+ interface Props$11 {
8460
+ chartId: UID;
8369
8461
  definition: GaugeChartDefinition;
8370
- canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8371
- updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8462
+ canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8463
+ updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8372
8464
  }
8373
- declare class GaugeChartConfigPanel extends Component<Props$10, SpreadsheetChildEnv> {
8465
+ declare class GaugeChartConfigPanel extends Component<Props$11, SpreadsheetChildEnv> {
8374
8466
  static template: string;
8375
8467
  static components: {
8376
8468
  ChartErrorSection: typeof ChartErrorSection;
8377
8469
  ChartDataSeries: typeof ChartDataSeries;
8378
8470
  };
8379
8471
  static props: {
8380
- figureId: StringConstructor;
8472
+ chartId: StringConstructor;
8381
8473
  definition: ObjectConstructor;
8382
8474
  updateChart: FunctionConstructor;
8383
8475
  canUpdateChart: FunctionConstructor;
@@ -8435,13 +8527,13 @@ interface EnrichedToken extends Token {
8435
8527
  isInHoverContext?: boolean;
8436
8528
  }
8437
8529
 
8438
- interface Props$$ {
8530
+ interface Props$10 {
8439
8531
  proposals: AutoCompleteProposal[];
8440
8532
  selectedIndex: number | undefined;
8441
8533
  onValueSelected: (value: string) => void;
8442
8534
  onValueHovered: (index: string) => void;
8443
8535
  }
8444
- declare class TextValueProvider extends Component<Props$$> {
8536
+ declare class TextValueProvider extends Component<Props$10> {
8445
8537
  static template: string;
8446
8538
  static props: {
8447
8539
  proposals: ArrayConstructor;
@@ -8498,11 +8590,11 @@ declare class ContentEditableHelper {
8498
8590
  getText(): string;
8499
8591
  }
8500
8592
 
8501
- interface Props$_ {
8593
+ interface Props$$ {
8502
8594
  functionDescription: FunctionDescription;
8503
8595
  argsToFocus: number[];
8504
8596
  }
8505
- declare class FunctionDescriptionProvider extends Component<Props$_, SpreadsheetChildEnv> {
8597
+ declare class FunctionDescriptionProvider extends Component<Props$$, SpreadsheetChildEnv> {
8506
8598
  static template: string;
8507
8599
  static props: {
8508
8600
  functionDescription: ObjectConstructor;
@@ -8513,15 +8605,15 @@ declare class FunctionDescriptionProvider extends Component<Props$_, Spreadsheet
8513
8605
  };
8514
8606
  private state;
8515
8607
  toggle(): void;
8516
- getContext(): Props$_;
8608
+ getContext(): Props$$;
8517
8609
  get formulaArgSeparator(): string;
8518
8610
  }
8519
8611
 
8520
- interface Props$Z {
8612
+ interface Props$_ {
8521
8613
  anchorRect: Rect;
8522
8614
  content: string;
8523
8615
  }
8524
- declare class SpeechBubble extends Component<Props$Z, SpreadsheetChildEnv> {
8616
+ declare class SpeechBubble extends Component<Props$_, SpreadsheetChildEnv> {
8525
8617
  static template: string;
8526
8618
  static props: {
8527
8619
  content: StringConstructor;
@@ -8934,7 +9026,7 @@ interface AutoCompleteProviderDefinition {
8934
9026
  }, tokenAtCursor: EnrichedToken, text: string): void;
8935
9027
  }
8936
9028
 
8937
- interface Props$Y {
9029
+ interface Props$Z {
8938
9030
  onConfirm: (content: string) => void;
8939
9031
  composerContent: string;
8940
9032
  defaultRangeSheetId: UID;
@@ -8946,7 +9038,7 @@ interface Props$Y {
8946
9038
  invalid?: boolean;
8947
9039
  getContextualColoredSymbolToken?: (token: Token) => Color;
8948
9040
  }
8949
- declare class StandaloneComposer extends Component<Props$Y, SpreadsheetChildEnv> {
9041
+ declare class StandaloneComposer extends Component<Props$Z, SpreadsheetChildEnv> {
8950
9042
  static template: string;
8951
9043
  static props: {
8952
9044
  composerContent: {
@@ -9009,13 +9101,13 @@ interface PanelState {
9009
9101
  sectionRuleCancelledReasons?: CommandResult[];
9010
9102
  sectionRule: SectionRule;
9011
9103
  }
9012
- interface Props$X {
9013
- figureId: UID;
9104
+ interface Props$Y {
9105
+ chartId: UID;
9014
9106
  definition: GaugeChartDefinition;
9015
- canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
9016
- updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
9107
+ canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
9108
+ updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
9017
9109
  }
9018
- declare class GaugeChartDesignPanel extends Component<Props$X, SpreadsheetChildEnv> {
9110
+ declare class GaugeChartDesignPanel extends Component<Props$Y, SpreadsheetChildEnv> {
9019
9111
  static template: string;
9020
9112
  static components: {
9021
9113
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -9026,7 +9118,7 @@ declare class GaugeChartDesignPanel extends Component<Props$X, SpreadsheetChildE
9026
9118
  StandaloneComposer: typeof StandaloneComposer;
9027
9119
  };
9028
9120
  static props: {
9029
- figureId: StringConstructor;
9121
+ chartId: StringConstructor;
9030
9122
  definition: ObjectConstructor;
9031
9123
  updateChart: FunctionConstructor;
9032
9124
  canUpdateChart: {
@@ -9065,13 +9157,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
9065
9157
  onUpdateCumulative(cumulative: boolean): void;
9066
9158
  }
9067
9159
 
9068
- interface Props$W {
9069
- figureId: UID;
9160
+ interface Props$X {
9161
+ chartId: UID;
9070
9162
  definition: ScorecardChartDefinition;
9071
- canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9072
- updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9163
+ canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9164
+ updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9073
9165
  }
9074
- declare class ScorecardChartConfigPanel extends Component<Props$W, SpreadsheetChildEnv> {
9166
+ declare class ScorecardChartConfigPanel extends Component<Props$X, SpreadsheetChildEnv> {
9075
9167
  static template: string;
9076
9168
  static components: {
9077
9169
  SelectionInput: typeof SelectionInput;
@@ -9079,7 +9171,7 @@ declare class ScorecardChartConfigPanel extends Component<Props$W, SpreadsheetCh
9079
9171
  Section: typeof Section;
9080
9172
  };
9081
9173
  static props: {
9082
- figureId: StringConstructor;
9174
+ chartId: StringConstructor;
9083
9175
  definition: ObjectConstructor;
9084
9176
  updateChart: FunctionConstructor;
9085
9177
  canUpdateChart: FunctionConstructor;
@@ -9100,13 +9192,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$W, SpreadsheetCh
9100
9192
  }
9101
9193
 
9102
9194
  type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
9103
- interface Props$V {
9104
- figureId: UID;
9195
+ interface Props$W {
9196
+ chartId: UID;
9105
9197
  definition: ScorecardChartDefinition;
9106
- canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9107
- updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9198
+ canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9199
+ updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9108
9200
  }
9109
- declare class ScorecardChartDesignPanel extends Component<Props$V, SpreadsheetChildEnv> {
9201
+ declare class ScorecardChartDesignPanel extends Component<Props$W, SpreadsheetChildEnv> {
9110
9202
  static template: string;
9111
9203
  static components: {
9112
9204
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -9117,7 +9209,7 @@ declare class ScorecardChartDesignPanel extends Component<Props$V, SpreadsheetCh
9117
9209
  ChartTitle: typeof ChartTitle;
9118
9210
  };
9119
9211
  static props: {
9120
- figureId: StringConstructor;
9212
+ chartId: StringConstructor;
9121
9213
  definition: ObjectConstructor;
9122
9214
  updateChart: FunctionConstructor;
9123
9215
  canUpdateChart: {
@@ -9179,7 +9271,7 @@ interface PanelInfo {
9179
9271
  isCollapsed?: boolean;
9180
9272
  }
9181
9273
  declare class SidePanelStore extends SpreadsheetStore {
9182
- mutators: readonly ["open", "toggle", "close", "changePanelSize", "resetPanelSize", "togglePinPanel", "closeMainPanel", "changeSpreadsheetWidth", "toggleCollapsePanel"];
9274
+ mutators: readonly ["open", "replace", "toggle", "close", "changePanelSize", "resetPanelSize", "togglePinPanel", "closeMainPanel", "changeSpreadsheetWidth", "toggleCollapsePanel"];
9183
9275
  mainPanel: (PanelInfo & {
9184
9276
  isCollapsed?: boolean;
9185
9277
  isPinned?: boolean;
@@ -9201,6 +9293,7 @@ declare class SidePanelStore extends SpreadsheetStore {
9201
9293
  private getPanelProps;
9202
9294
  private getPanelKey;
9203
9295
  open(componentTag: string, initialPanelProps?: SidePanelComponentProps): void;
9296
+ replace(componentTag: string, currentPanelKey: string, initialPanelProps?: SidePanelComponentProps): void;
9204
9297
  private _openPanel;
9205
9298
  toggle(componentTag: string, panelProps: SidePanelComponentProps): void;
9206
9299
  close(): void;
@@ -9284,42 +9377,59 @@ declare class ComposerFocusStore extends SpreadsheetStore {
9284
9377
  private setComposerContent;
9285
9378
  }
9286
9379
 
9287
- interface Props$U {
9288
- figureUI: FigureUI;
9380
+ declare class ChartAnimationStore extends SpreadsheetStore {
9381
+ mutators: readonly ["disableAnimationForChart", "enableAnimationForChart"];
9382
+ animationPlayed: {};
9383
+ disableAnimationForChart(chartId: UID, chartType: ChartType): string;
9384
+ enableAnimationForChart(chartId: UID): string;
9385
+ }
9386
+
9387
+ interface Props$V {
9388
+ chartId: UID;
9289
9389
  isFullScreen?: boolean;
9290
9390
  }
9291
- declare class ChartJsComponent extends Component<Props$U, SpreadsheetChildEnv> {
9391
+ declare class ChartJsComponent extends Component<Props$V, SpreadsheetChildEnv> {
9292
9392
  static template: string;
9293
9393
  static props: {
9294
- figureUI: ObjectConstructor;
9394
+ chartId: StringConstructor;
9295
9395
  isFullScreen: {
9296
9396
  type: BooleanConstructor;
9297
9397
  optional: boolean;
9298
9398
  };
9299
9399
  };
9300
- private canvas;
9301
- private chart?;
9302
- private currentRuntime;
9303
- private animationStore;
9400
+ protected canvas: {
9401
+ el: HTMLElement | null;
9402
+ };
9403
+ protected chart?: Chart;
9404
+ protected currentRuntime: ChartJSRuntime;
9405
+ protected animationStore: Store<ChartAnimationStore> | undefined;
9304
9406
  private currentDevicePixelRatio;
9305
9407
  get background(): string;
9306
9408
  get canvasStyle(): string;
9307
9409
  get chartRuntime(): ChartJSRuntime;
9308
9410
  setup(): void;
9309
- private createChart;
9310
- private updateChartJs;
9411
+ protected unmount(): void;
9412
+ protected get shouldAnimate(): boolean;
9413
+ protected createChart(chartRuntime: ChartJSRuntime): void;
9414
+ protected updateChartJs(chartRuntime: ChartJSRuntime): void;
9311
9415
  private hasChartDataChanged;
9312
- private enableAnimationInChartData;
9416
+ protected enableAnimationInChartData(chartData: ChartConfiguration$1<any>): {
9417
+ options: any;
9418
+ type: any;
9419
+ data: chart_js_auto.ChartData<any, any[], unknown>;
9420
+ plugins?: chart_js_auto.Plugin<any, chart_js_dist_types_basic.AnyObject>[] | undefined;
9421
+ platform?: typeof chart_js_auto.BasePlatform;
9422
+ };
9313
9423
  get animationFigureId(): string;
9314
9424
  }
9315
9425
 
9316
- interface Props$T {
9317
- figureUI: FigureUI;
9426
+ interface Props$U {
9427
+ chartId: UID;
9318
9428
  }
9319
- declare class ScorecardChart$1 extends Component<Props$T, SpreadsheetChildEnv> {
9429
+ declare class ScorecardChart$1 extends Component<Props$U, SpreadsheetChildEnv> {
9320
9430
  static template: string;
9321
9431
  static props: {
9322
- figureUI: ObjectConstructor;
9432
+ chartId: StringConstructor;
9323
9433
  };
9324
9434
  private canvas;
9325
9435
  get runtime(): ScorecardChartRuntime;
@@ -9392,7 +9502,7 @@ declare class Menu extends Component<MenuProps, SpreadsheetChildEnv> {
9392
9502
  onClickMenu(menu: Action, ev: CustomEvent): void;
9393
9503
  }
9394
9504
 
9395
- interface Props$S {
9505
+ interface Props$T {
9396
9506
  anchorRect: Rect;
9397
9507
  popoverPositioning: PopoverPropsPosition;
9398
9508
  menuItems: Action[];
@@ -9412,7 +9522,7 @@ interface MenuState {
9412
9522
  menuItems: Action[];
9413
9523
  isHoveringChild?: boolean;
9414
9524
  }
9415
- declare class MenuPopover extends Component<Props$S, SpreadsheetChildEnv> {
9525
+ declare class MenuPopover extends Component<Props$T, SpreadsheetChildEnv> {
9416
9526
  static template: string;
9417
9527
  static props: {
9418
9528
  anchorRect: ObjectConstructor;
@@ -9492,14 +9602,15 @@ declare class MenuPopover extends Component<Props$S, SpreadsheetChildEnv> {
9492
9602
  }
9493
9603
 
9494
9604
  type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
9495
- interface Props$R {
9605
+ interface Props$S {
9496
9606
  figureUI: FigureUI;
9497
9607
  style: string;
9608
+ class: string;
9498
9609
  onFigureDeleted: () => void;
9499
9610
  onMouseDown: (ev: MouseEvent) => void;
9500
9611
  onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
9501
9612
  }
9502
- declare class FigureComponent extends Component<Props$R, SpreadsheetChildEnv> {
9613
+ declare class FigureComponent extends Component<Props$S, SpreadsheetChildEnv> {
9503
9614
  static template: string;
9504
9615
  static props: {
9505
9616
  figureUI: ObjectConstructor;
@@ -9507,6 +9618,10 @@ declare class FigureComponent extends Component<Props$R, SpreadsheetChildEnv> {
9507
9618
  type: StringConstructor;
9508
9619
  optional: boolean;
9509
9620
  };
9621
+ class: {
9622
+ type: StringConstructor;
9623
+ optional: boolean;
9624
+ };
9510
9625
  onFigureDeleted: {
9511
9626
  type: FunctionConstructor;
9512
9627
  optional: boolean;
@@ -9530,6 +9645,7 @@ declare class FigureComponent extends Component<Props$R, SpreadsheetChildEnv> {
9530
9645
  };
9531
9646
  private menuState;
9532
9647
  private figureRef;
9648
+ private figureWrapperRef;
9533
9649
  private menuButtonRef;
9534
9650
  private borderWidth;
9535
9651
  get isSelected(): boolean;
@@ -9547,10 +9663,11 @@ declare class FigureComponent extends Component<Props$R, SpreadsheetChildEnv> {
9547
9663
  onContextMenu(ev: MouseEvent): void;
9548
9664
  showMenu(): void;
9549
9665
  private openContextMenu;
9666
+ editWrapperStyle(properties: CSSProperties): void;
9550
9667
  }
9551
9668
 
9552
- interface Props$Q {
9553
- figureUI: FigureUI;
9669
+ interface Props$R {
9670
+ chartId: UID;
9554
9671
  }
9555
9672
  interface MenuItem {
9556
9673
  id: string;
@@ -9559,13 +9676,13 @@ interface MenuItem {
9559
9676
  onClick: () => void;
9560
9677
  isSelected?: boolean;
9561
9678
  }
9562
- declare class ChartDashboardMenu extends Component<Props$Q, SpreadsheetChildEnv> {
9679
+ declare class ChartDashboardMenu extends Component<Props$R, SpreadsheetChildEnv> {
9563
9680
  static template: string;
9564
9681
  static components: {
9565
9682
  MenuPopover: typeof MenuPopover;
9566
9683
  };
9567
9684
  static props: {
9568
- figureUI: ObjectConstructor;
9685
+ chartId: StringConstructor;
9569
9686
  };
9570
9687
  private fullScreenFigureStore;
9571
9688
  private store;
@@ -9577,21 +9694,27 @@ declare class ChartDashboardMenu extends Component<Props$Q, SpreadsheetChildEnv>
9577
9694
  get fullScreenMenuItem(): MenuItem | undefined;
9578
9695
  }
9579
9696
 
9580
- interface Props$P {
9697
+ interface Props$Q {
9581
9698
  figureUI: FigureUI;
9582
9699
  onFigureDeleted: () => void;
9700
+ editFigureStyle?: (properties: CSSProperties) => void;
9583
9701
  }
9584
- declare class ChartFigure extends Component<Props$P, SpreadsheetChildEnv> {
9702
+ declare class ChartFigure extends Component<Props$Q, SpreadsheetChildEnv> {
9585
9703
  static template: string;
9586
9704
  static props: {
9587
9705
  figureUI: ObjectConstructor;
9588
9706
  onFigureDeleted: FunctionConstructor;
9707
+ editFigureStyle: {
9708
+ type: FunctionConstructor;
9709
+ optional: boolean;
9710
+ };
9589
9711
  };
9590
9712
  static components: {
9591
9713
  ChartDashboardMenu: typeof ChartDashboardMenu;
9592
9714
  };
9593
9715
  onDoubleClick(): void;
9594
9716
  get chartType(): ChartType;
9717
+ get chartId(): UID;
9595
9718
  get chartComponent(): new (...args: any) => Component;
9596
9719
  }
9597
9720
 
@@ -9606,7 +9729,7 @@ declare class DelayedHoveredCellStore extends SpreadsheetStore {
9606
9729
 
9607
9730
  type DnDDirection = "all" | "vertical" | "horizontal";
9608
9731
 
9609
- interface Props$O {
9732
+ interface Props$P {
9610
9733
  isVisible: boolean;
9611
9734
  position: Position;
9612
9735
  }
@@ -9618,7 +9741,7 @@ interface State$4 {
9618
9741
  position: Position;
9619
9742
  handler: boolean;
9620
9743
  }
9621
- declare class Autofill extends Component<Props$O, SpreadsheetChildEnv> {
9744
+ declare class Autofill extends Component<Props$P, SpreadsheetChildEnv> {
9622
9745
  static template: string;
9623
9746
  static props: {
9624
9747
  position: ObjectConstructor;
@@ -9658,7 +9781,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
9658
9781
  get tagStyle(): string;
9659
9782
  }
9660
9783
 
9661
- interface Props$N {
9784
+ interface Props$O {
9662
9785
  gridDims: DOMDimension;
9663
9786
  onInputContextMenu: (event: MouseEvent) => void;
9664
9787
  }
@@ -9666,7 +9789,7 @@ interface Props$N {
9666
9789
  * This component is a composer which positions itself on the grid at the anchor cell.
9667
9790
  * It also applies the style of the cell to the composer input.
9668
9791
  */
9669
- declare class GridComposer extends Component<Props$N, SpreadsheetChildEnv> {
9792
+ declare class GridComposer extends Component<Props$O, SpreadsheetChildEnv> {
9670
9793
  static template: string;
9671
9794
  static props: {
9672
9795
  gridDims: ObjectConstructor;
@@ -9710,7 +9833,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
9710
9833
  }
9711
9834
 
9712
9835
  type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
9713
- interface Props$M {
9836
+ interface Props$N {
9714
9837
  onFigureDeleted: () => void;
9715
9838
  }
9716
9839
  interface Container {
@@ -9729,6 +9852,7 @@ interface DndState {
9729
9852
  horizontalSnap?: Snap<HFigureAxisType>;
9730
9853
  verticalSnap?: Snap<VFigureAxisType>;
9731
9854
  cancelDnd: (() => void) | undefined;
9855
+ overlappingCarousel?: FigureUI;
9732
9856
  }
9733
9857
  /**
9734
9858
  * Each figure ⭐ is positioned inside a container `div` placed and sized
@@ -9790,7 +9914,7 @@ interface DndState {
9790
9914
  * that occurred during the drag & drop, and to position the figure on the correct pane.
9791
9915
  *
9792
9916
  */
9793
- declare class FiguresContainer extends Component<Props$M, SpreadsheetChildEnv> {
9917
+ declare class FiguresContainer extends Component<Props$N, SpreadsheetChildEnv> {
9794
9918
  static template: string;
9795
9919
  static props: {
9796
9920
  onFigureDeleted: FunctionConstructor;
@@ -9822,14 +9946,16 @@ declare class FiguresContainer extends Component<Props$M, SpreadsheetChildEnv> {
9822
9946
  private getOtherFigures;
9823
9947
  private getDndFigure;
9824
9948
  getFigureStyle(figureUI: FigureUI): string;
9949
+ getFigureClass(figureUI: FigureUI): string;
9825
9950
  private getSnap;
9826
9951
  private getSnapLineStyle;
9952
+ private getCarouselOverlappingChart;
9827
9953
  }
9828
9954
 
9829
- interface Props$L {
9955
+ interface Props$M {
9830
9956
  focusGrid: () => void;
9831
9957
  }
9832
- declare class GridAddRowsFooter extends Component<Props$L, SpreadsheetChildEnv> {
9958
+ declare class GridAddRowsFooter extends Component<Props$M, SpreadsheetChildEnv> {
9833
9959
  static template: string;
9834
9960
  static props: {
9835
9961
  focusGrid: FunctionConstructor;
@@ -9853,7 +9979,7 @@ declare class GridAddRowsFooter extends Component<Props$L, SpreadsheetChildEnv>
9853
9979
  private onExternalClick;
9854
9980
  }
9855
9981
 
9856
- interface Props$K {
9982
+ interface Props$L {
9857
9983
  onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
9858
9984
  onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: PointerEvent | MouseEvent) => void;
9859
9985
  onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
@@ -9866,7 +9992,7 @@ interface Props$K {
9866
9992
  height: number;
9867
9993
  };
9868
9994
  }
9869
- declare class GridOverlay extends Component<Props$K, SpreadsheetChildEnv> {
9995
+ declare class GridOverlay extends Component<Props$L, SpreadsheetChildEnv> {
9870
9996
  static template: string;
9871
9997
  static props: {
9872
9998
  onCellDoubleClicked: {
@@ -9926,12 +10052,12 @@ declare class GridOverlay extends Component<Props$K, SpreadsheetChildEnv> {
9926
10052
  private getInteractiveIconAtEvent;
9927
10053
  }
9928
10054
 
9929
- interface Props$J {
10055
+ interface Props$K {
9930
10056
  gridRect: Rect;
9931
10057
  onClosePopover: () => void;
9932
10058
  onMouseWheel: (ev: WheelEvent) => void;
9933
10059
  }
9934
- declare class GridPopover extends Component<Props$J, SpreadsheetChildEnv> {
10060
+ declare class GridPopover extends Component<Props$K, SpreadsheetChildEnv> {
9935
10061
  static template: string;
9936
10062
  static props: {
9937
10063
  onClosePopover: FunctionConstructor;
@@ -9947,7 +10073,7 @@ declare class GridPopover extends Component<Props$J, SpreadsheetChildEnv> {
9947
10073
  get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
9948
10074
  }
9949
10075
 
9950
- interface Props$I {
10076
+ interface Props$J {
9951
10077
  headersGroups: ConsecutiveIndexes[];
9952
10078
  offset: number;
9953
10079
  headerRange: {
@@ -9955,7 +10081,7 @@ interface Props$I {
9955
10081
  end: HeaderIndex;
9956
10082
  };
9957
10083
  }
9958
- declare class UnhideRowHeaders extends Component<Props$I, SpreadsheetChildEnv> {
10084
+ declare class UnhideRowHeaders extends Component<Props$J, SpreadsheetChildEnv> {
9959
10085
  static template: string;
9960
10086
  static props: {
9961
10087
  headersGroups: ArrayConstructor;
@@ -9974,7 +10100,7 @@ declare class UnhideRowHeaders extends Component<Props$I, SpreadsheetChildEnv> {
9974
10100
  unhide(hiddenElements: HeaderIndex[]): void;
9975
10101
  isVisible(header: HeaderIndex): boolean;
9976
10102
  }
9977
- declare class UnhideColumnHeaders extends Component<Props$I, SpreadsheetChildEnv> {
10103
+ declare class UnhideColumnHeaders extends Component<Props$J, SpreadsheetChildEnv> {
9978
10104
  static template: string;
9979
10105
  static props: {
9980
10106
  headersGroups: ArrayConstructor;
@@ -10167,13 +10293,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
10167
10293
  }
10168
10294
 
10169
10295
  type Orientation$1 = "n" | "s" | "w" | "e";
10170
- interface Props$H {
10296
+ interface Props$I {
10171
10297
  zone: Zone;
10172
10298
  orientation: Orientation$1;
10173
10299
  isMoving: boolean;
10174
10300
  onMoveHighlight: (ev: PointerEvent) => void;
10175
10301
  }
10176
- declare class Border extends Component<Props$H, SpreadsheetChildEnv> {
10302
+ declare class Border extends Component<Props$I, SpreadsheetChildEnv> {
10177
10303
  static template: string;
10178
10304
  static props: {
10179
10305
  zone: ObjectConstructor;
@@ -10186,14 +10312,14 @@ declare class Border extends Component<Props$H, SpreadsheetChildEnv> {
10186
10312
  }
10187
10313
 
10188
10314
  type Orientation = "nw" | "ne" | "sw" | "se" | "n" | "s" | "e" | "w";
10189
- interface Props$G {
10315
+ interface Props$H {
10190
10316
  zone: Zone;
10191
10317
  color: Color;
10192
10318
  orientation: Orientation;
10193
10319
  isResizing: boolean;
10194
10320
  onResizeHighlight: (ev: PointerEvent, dirX: ResizeDirection, dirY: ResizeDirection) => void;
10195
10321
  }
10196
- declare class Corner extends Component<Props$G, SpreadsheetChildEnv> {
10322
+ declare class Corner extends Component<Props$H, SpreadsheetChildEnv> {
10197
10323
  static template: string;
10198
10324
  static props: {
10199
10325
  zone: ObjectConstructor;
@@ -10242,7 +10368,7 @@ declare class Highlight extends Component<HighlightProps, SpreadsheetChildEnv> {
10242
10368
 
10243
10369
  type ScrollDirection = "horizontal" | "vertical";
10244
10370
 
10245
- interface Props$F {
10371
+ interface Props$G {
10246
10372
  width: Pixel;
10247
10373
  height: Pixel;
10248
10374
  direction: ScrollDirection;
@@ -10250,7 +10376,7 @@ interface Props$F {
10250
10376
  offset: Pixel;
10251
10377
  onScroll: (offset: Pixel) => void;
10252
10378
  }
10253
- declare class ScrollBar extends Component<Props$F> {
10379
+ declare class ScrollBar extends Component<Props$G> {
10254
10380
  static props: {
10255
10381
  width: {
10256
10382
  type: NumberConstructor;
@@ -10278,10 +10404,10 @@ declare class ScrollBar extends Component<Props$F> {
10278
10404
  onScroll(ev: any): void;
10279
10405
  }
10280
10406
 
10281
- interface Props$E {
10407
+ interface Props$F {
10282
10408
  leftOffset: number;
10283
10409
  }
10284
- declare class HorizontalScrollBar extends Component<Props$E, SpreadsheetChildEnv> {
10410
+ declare class HorizontalScrollBar extends Component<Props$F, SpreadsheetChildEnv> {
10285
10411
  static props: {
10286
10412
  leftOffset: {
10287
10413
  type: NumberConstructor;
@@ -10307,10 +10433,10 @@ declare class HorizontalScrollBar extends Component<Props$E, SpreadsheetChildEnv
10307
10433
  onScroll(offset: any): void;
10308
10434
  }
10309
10435
 
10310
- interface Props$D {
10436
+ interface Props$E {
10311
10437
  topOffset: number;
10312
10438
  }
10313
- declare class VerticalScrollBar extends Component<Props$D, SpreadsheetChildEnv> {
10439
+ declare class VerticalScrollBar extends Component<Props$E, SpreadsheetChildEnv> {
10314
10440
  static props: {
10315
10441
  topOffset: {
10316
10442
  type: NumberConstructor;
@@ -10345,13 +10471,13 @@ declare class Selection extends Component<{}, SpreadsheetChildEnv> {
10345
10471
  get highlightProps(): HighlightProps;
10346
10472
  }
10347
10473
 
10348
- interface Props$C {
10474
+ interface Props$D {
10349
10475
  table: Table;
10350
10476
  }
10351
10477
  interface State$3 {
10352
10478
  highlightZone: Zone | undefined;
10353
10479
  }
10354
- declare class TableResizer extends Component<Props$C, SpreadsheetChildEnv> {
10480
+ declare class TableResizer extends Component<Props$D, SpreadsheetChildEnv> {
10355
10481
  static template: string;
10356
10482
  static props: {
10357
10483
  table: ObjectConstructor;
@@ -10380,11 +10506,11 @@ declare class TableResizer extends Component<Props$C, SpreadsheetChildEnv> {
10380
10506
  * - a vertical resizer (same, for rows)
10381
10507
  */
10382
10508
  type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
10383
- interface Props$B {
10509
+ interface Props$C {
10384
10510
  exposeFocus: (focus: () => void) => void;
10385
10511
  getGridSize: () => DOMDimension;
10386
10512
  }
10387
- declare class Grid extends Component<Props$B, SpreadsheetChildEnv> {
10513
+ declare class Grid extends Component<Props$C, SpreadsheetChildEnv> {
10388
10514
  static template: string;
10389
10515
  static props: {
10390
10516
  exposeFocus: FunctionConstructor;
@@ -10496,26 +10622,26 @@ declare class MainChartPanelStore extends SpreadsheetStore {
10496
10622
  panel: "configuration" | "design";
10497
10623
  private creationContexts;
10498
10624
  activatePanel(panel: "configuration" | "design"): void;
10499
- changeChartType(figureId: UID, newDisplayType: string): void;
10625
+ changeChartType(chartId: UID, newDisplayType: string): void;
10500
10626
  private getChartDefinitionFromContextCreation;
10501
10627
  }
10502
10628
 
10503
- interface Props$A {
10504
- figureId: UID;
10629
+ interface Props$B {
10630
+ chartId: UID;
10505
10631
  chartPanelStore: MainChartPanelStore;
10506
10632
  }
10507
10633
  interface ChartTypePickerState {
10508
10634
  popoverProps: PopoverProps | undefined;
10509
10635
  popoverStyle: string;
10510
10636
  }
10511
- declare class ChartTypePicker extends Component<Props$A, SpreadsheetChildEnv> {
10637
+ declare class ChartTypePicker extends Component<Props$B, SpreadsheetChildEnv> {
10512
10638
  static template: string;
10513
10639
  static components: {
10514
10640
  Section: typeof Section;
10515
10641
  Popover: typeof Popover;
10516
10642
  };
10517
10643
  static props: {
10518
- figureId: StringConstructor;
10644
+ chartId: StringConstructor;
10519
10645
  chartPanelStore: ObjectConstructor;
10520
10646
  };
10521
10647
  categories: {
@@ -10544,11 +10670,11 @@ declare class ChartTypePicker extends Component<Props$A, SpreadsheetChildEnv> {
10544
10670
  private closePopover;
10545
10671
  }
10546
10672
 
10547
- interface Props$z {
10673
+ interface Props$A {
10548
10674
  onCloseSidePanel: () => void;
10549
- figureId: UID;
10675
+ chartId: UID;
10550
10676
  }
10551
- declare class ChartPanel extends Component<Props$z, SpreadsheetChildEnv> {
10677
+ declare class ChartPanel extends Component<Props$A, SpreadsheetChildEnv> {
10552
10678
  static template: string;
10553
10679
  static components: {
10554
10680
  Section: typeof Section;
@@ -10556,26 +10682,26 @@ declare class ChartPanel extends Component<Props$z, SpreadsheetChildEnv> {
10556
10682
  };
10557
10683
  static props: {
10558
10684
  onCloseSidePanel: FunctionConstructor;
10559
- figureId: StringConstructor;
10685
+ chartId: StringConstructor;
10560
10686
  };
10561
10687
  private panelContentRef;
10562
10688
  private scrollPositions;
10563
10689
  store: Store<MainChartPanelStore>;
10564
- get figureId(): UID;
10690
+ get chartId(): UID;
10565
10691
  setup(): void;
10566
10692
  switchPanel(panel: "configuration" | "design"): void;
10567
- updateChart<T extends ChartDefinition>(figureId: UID, updateDefinition: Partial<T>): DispatchResult | undefined;
10568
- canUpdateChart<T extends ChartDefinition>(figureId: UID, updateDefinition: Partial<T>): DispatchResult | undefined;
10693
+ updateChart<T extends ChartDefinition>(chartId: UID, updateDefinition: Partial<T>): DispatchResult | undefined;
10694
+ canUpdateChart<T extends ChartDefinition>(chartId: UID, updateDefinition: Partial<T>): DispatchResult | undefined;
10569
10695
  onTypeChange(type: ChartType): void;
10570
10696
  get chartPanel(): ChartSidePanel;
10571
10697
  private getChartDefinition;
10572
10698
  }
10573
10699
 
10574
- interface Props$y {
10700
+ interface Props$z {
10575
10701
  onValueChange: (value: number) => void;
10576
10702
  value: number;
10577
10703
  }
10578
- declare class PieHoleSize extends Component<Props$y, SpreadsheetChildEnv> {
10704
+ declare class PieHoleSize extends Component<Props$z, SpreadsheetChildEnv> {
10579
10705
  static template: string;
10580
10706
  static components: {
10581
10707
  Section: typeof Section;
@@ -10588,13 +10714,13 @@ declare class PieHoleSize extends Component<Props$y, SpreadsheetChildEnv> {
10588
10714
  onChange(value: string): void;
10589
10715
  }
10590
10716
 
10591
- interface Props$x {
10592
- figureId: UID;
10717
+ interface Props$y {
10718
+ chartId: UID;
10593
10719
  definition: PieChartDefinition;
10594
- canUpdateChart: (figureID: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10595
- updateChart: (figureId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10720
+ canUpdateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10721
+ updateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10596
10722
  }
10597
- declare class PieChartDesignPanel extends Component<Props$x, SpreadsheetChildEnv> {
10723
+ declare class PieChartDesignPanel extends Component<Props$y, SpreadsheetChildEnv> {
10598
10724
  static template: string;
10599
10725
  static components: {
10600
10726
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -10604,7 +10730,7 @@ declare class PieChartDesignPanel extends Component<Props$x, SpreadsheetChildEnv
10604
10730
  PieHoleSize: typeof PieHoleSize;
10605
10731
  };
10606
10732
  static props: {
10607
- figureId: StringConstructor;
10733
+ chartId: StringConstructor;
10608
10734
  definition: ObjectConstructor;
10609
10735
  updateChart: FunctionConstructor;
10610
10736
  canUpdateChart: {
@@ -10616,10 +10742,10 @@ declare class PieChartDesignPanel extends Component<Props$x, SpreadsheetChildEnv
10616
10742
  get defaultHoleSize(): number;
10617
10743
  }
10618
10744
 
10619
- interface Props$w {
10745
+ interface Props$x {
10620
10746
  items: ActionSpec[];
10621
10747
  }
10622
- declare class CogWheelMenu extends Component<Props$w, SpreadsheetChildEnv> {
10748
+ declare class CogWheelMenu extends Component<Props$x, SpreadsheetChildEnv> {
10623
10749
  static template: string;
10624
10750
  static components: {
10625
10751
  MenuPopover: typeof MenuPopover;
@@ -10702,14 +10828,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
10702
10828
  get highlights(): Highlight$1[];
10703
10829
  }
10704
10830
 
10705
- interface Props$v {
10831
+ interface Props$w {
10706
10832
  deferUpdate: boolean;
10707
10833
  isDirty: boolean;
10708
10834
  toggleDeferUpdate: (value: boolean) => void;
10709
10835
  discard: () => void;
10710
10836
  apply: () => void;
10711
10837
  }
10712
- declare class PivotDeferUpdate extends Component<Props$v, SpreadsheetChildEnv> {
10838
+ declare class PivotDeferUpdate extends Component<Props$w, SpreadsheetChildEnv> {
10713
10839
  static template: string;
10714
10840
  static props: {
10715
10841
  deferUpdate: BooleanConstructor;
@@ -10726,11 +10852,11 @@ declare class PivotDeferUpdate extends Component<Props$v, SpreadsheetChildEnv> {
10726
10852
  get deferUpdatesTooltip(): string;
10727
10853
  }
10728
10854
 
10729
- interface Props$u {
10855
+ interface Props$v {
10730
10856
  onFieldPicked: (field: string) => void;
10731
10857
  fields: PivotField[];
10732
10858
  }
10733
- declare class AddDimensionButton extends Component<Props$u, SpreadsheetChildEnv> {
10859
+ declare class AddDimensionButton extends Component<Props$v, SpreadsheetChildEnv> {
10734
10860
  static template: string;
10735
10861
  static components: {
10736
10862
  Popover: typeof Popover;
@@ -10766,7 +10892,7 @@ declare class AddDimensionButton extends Component<Props$u, SpreadsheetChildEnv>
10766
10892
  onKeyDown(ev: KeyboardEvent): void;
10767
10893
  }
10768
10894
 
10769
- interface Props$t {
10895
+ interface Props$u {
10770
10896
  value: string;
10771
10897
  onChange: (value: string) => void;
10772
10898
  class?: string;
@@ -10774,7 +10900,7 @@ interface Props$t {
10774
10900
  placeholder?: string;
10775
10901
  autofocus?: boolean;
10776
10902
  }
10777
- declare class TextInput extends Component<Props$t, SpreadsheetChildEnv> {
10903
+ declare class TextInput extends Component<Props$u, SpreadsheetChildEnv> {
10778
10904
  static template: string;
10779
10905
  static props: {
10780
10906
  value: StringConstructor;
@@ -10804,13 +10930,13 @@ declare class TextInput extends Component<Props$t, SpreadsheetChildEnv> {
10804
10930
  onMouseUp(ev: MouseEvent): void;
10805
10931
  }
10806
10932
 
10807
- interface Props$s {
10933
+ interface Props$t {
10808
10934
  dimension: PivotCoreDimension | PivotCoreMeasure;
10809
10935
  onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
10810
10936
  onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
10811
10937
  type: "row" | "col" | "measure";
10812
10938
  }
10813
- declare class PivotDimension extends Component<Props$s, SpreadsheetChildEnv> {
10939
+ declare class PivotDimension extends Component<Props$t, SpreadsheetChildEnv> {
10814
10940
  static template: string;
10815
10941
  static props: {
10816
10942
  dimension: ObjectConstructor;
@@ -10834,13 +10960,13 @@ declare class PivotDimension extends Component<Props$s, SpreadsheetChildEnv> {
10834
10960
  updateName(name: string): void;
10835
10961
  }
10836
10962
 
10837
- interface Props$r {
10963
+ interface Props$s {
10838
10964
  dimension: PivotDimension$1;
10839
10965
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
10840
10966
  availableGranularities: Set<string>;
10841
10967
  allGranularities: string[];
10842
10968
  }
10843
- declare class PivotDimensionGranularity extends Component<Props$r, SpreadsheetChildEnv> {
10969
+ declare class PivotDimensionGranularity extends Component<Props$s, SpreadsheetChildEnv> {
10844
10970
  static template: string;
10845
10971
  static props: {
10846
10972
  dimension: ObjectConstructor;
@@ -10865,11 +10991,11 @@ declare class PivotDimensionGranularity extends Component<Props$r, SpreadsheetCh
10865
10991
  };
10866
10992
  }
10867
10993
 
10868
- interface Props$q {
10994
+ interface Props$r {
10869
10995
  dimension: PivotDimension$1;
10870
10996
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
10871
10997
  }
10872
- declare class PivotDimensionOrder extends Component<Props$q, SpreadsheetChildEnv> {
10998
+ declare class PivotDimensionOrder extends Component<Props$r, SpreadsheetChildEnv> {
10873
10999
  static template: string;
10874
11000
  static props: {
10875
11001
  dimension: ObjectConstructor;
@@ -10906,12 +11032,12 @@ declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type"
10906
11032
  declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
10907
11033
  declare function createCustomFields(definition: PivotCoreDefinition, fields: PivotFields): PivotFields;
10908
11034
 
10909
- interface Props$p {
11035
+ interface Props$q {
10910
11036
  pivotId: UID;
10911
11037
  customField: PivotCustomGroupedField;
10912
11038
  onCustomFieldUpdated: (definition: Partial<PivotCoreDefinition>) => void;
10913
11039
  }
10914
- declare class PivotCustomGroupsCollapsible extends Component<Props$p, SpreadsheetChildEnv> {
11040
+ declare class PivotCustomGroupsCollapsible extends Component<Props$q, SpreadsheetChildEnv> {
10915
11041
  static template: string;
10916
11042
  static props: {
10917
11043
  pivotId: StringConstructor;
@@ -10931,7 +11057,7 @@ declare class PivotCustomGroupsCollapsible extends Component<Props$p, Spreadshee
10931
11057
  private updateCustomField;
10932
11058
  }
10933
11059
 
10934
- interface Props$o {
11060
+ interface Props$p {
10935
11061
  pivotId: string;
10936
11062
  definition: PivotRuntimeDefinition;
10937
11063
  measure: PivotMeasure;
@@ -10939,7 +11065,7 @@ interface Props$o {
10939
11065
  onRemoved: () => void;
10940
11066
  generateMeasureId: (fieldName: string, aggregator?: string) => string;
10941
11067
  }
10942
- declare class PivotMeasureEditor extends Component<Props$o> {
11068
+ declare class PivotMeasureEditor extends Component<Props$p> {
10943
11069
  static template: string;
10944
11070
  static components: {
10945
11071
  PivotDimension: typeof PivotDimension;
@@ -10964,11 +11090,11 @@ declare class PivotMeasureEditor extends Component<Props$o> {
10964
11090
  get isCalculatedMeasureInvalid(): boolean;
10965
11091
  }
10966
11092
 
10967
- interface Props$n {
11093
+ interface Props$o {
10968
11094
  definition: PivotRuntimeDefinition;
10969
11095
  pivotId: UID;
10970
11096
  }
10971
- declare class PivotSortSection extends Component<Props$n, SpreadsheetChildEnv> {
11097
+ declare class PivotSortSection extends Component<Props$o, SpreadsheetChildEnv> {
10972
11098
  static template: string;
10973
11099
  static components: {
10974
11100
  Section: typeof Section;
@@ -10985,7 +11111,7 @@ declare class PivotSortSection extends Component<Props$n, SpreadsheetChildEnv> {
10985
11111
  }[];
10986
11112
  }
10987
11113
 
10988
- interface Props$m {
11114
+ interface Props$n {
10989
11115
  definition: PivotRuntimeDefinition;
10990
11116
  onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
10991
11117
  unusedGroupableFields: PivotField[];
@@ -10996,7 +11122,7 @@ interface Props$m {
10996
11122
  getScrollableContainerEl?: () => HTMLElement;
10997
11123
  pivotId: UID;
10998
11124
  }
10999
- declare class PivotLayoutConfigurator extends Component<Props$m, SpreadsheetChildEnv> {
11125
+ declare class PivotLayoutConfigurator extends Component<Props$n, SpreadsheetChildEnv> {
11000
11126
  static template: string;
11001
11127
  static components: {
11002
11128
  AddDimensionButton: typeof AddDimensionButton;
@@ -11049,6 +11175,7 @@ declare class PivotLayoutConfigurator extends Component<Props$m, SpreadsheetChil
11049
11175
  updateOrder(updateDimension: PivotDimension$1, order?: SortDirection): void;
11050
11176
  updateGranularity(dimension: PivotDimension$1, granularity: Granularity): void;
11051
11177
  getMeasureDescription(measure: PivotMeasure): string;
11178
+ getHugeDimensionErrorMessage(dimension: PivotDimension$1): string | undefined;
11052
11179
  }
11053
11180
 
11054
11181
  declare class PivotSidePanelStore extends SpreadsheetStore {
@@ -11058,6 +11185,7 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
11058
11185
  private draft;
11059
11186
  private notification;
11060
11187
  private alreadyNotified;
11188
+ private alreadyNotifiedForPivotSize;
11061
11189
  constructor(get: Get, pivotId: UID);
11062
11190
  handle(cmd: Command): void;
11063
11191
  get fields(): PivotFields;
@@ -11089,11 +11217,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
11089
11217
  private areDomainFieldsValid;
11090
11218
  }
11091
11219
 
11092
- interface Props$l {
11220
+ interface Props$m {
11093
11221
  pivotId: UID;
11094
11222
  flipAxis: () => void;
11095
11223
  }
11096
- declare class PivotTitleSection extends Component<Props$l, SpreadsheetChildEnv> {
11224
+ declare class PivotTitleSection extends Component<Props$m, SpreadsheetChildEnv> {
11097
11225
  static template: string;
11098
11226
  static components: {
11099
11227
  CogWheelMenu: typeof CogWheelMenu;
@@ -11190,13 +11318,49 @@ declare function getFirstPivotFunction(tokens: Token[]): {
11190
11318
  */
11191
11319
  declare function getNumberOfPivotFunctions(tokens: Token[]): number;
11192
11320
 
11321
+ declare class ZoomableChartJsComponent extends ChartJsComponent {
11322
+ static template: string;
11323
+ private store;
11324
+ private fullScreenChartStore;
11325
+ private masterChartCanvas;
11326
+ private masterChart?;
11327
+ private mode?;
11328
+ private hasLinearScale?;
11329
+ private isBarChart?;
11330
+ private chartId;
11331
+ private datasetBoundaries;
11332
+ private removeEventListeners;
11333
+ setup(): void;
11334
+ protected unmount(): void;
11335
+ get containerStyle(): string;
11336
+ get sliceable(): boolean;
11337
+ get axisOffset(): number;
11338
+ private getMasterChartConfiguration;
11339
+ private getDetailChartConfiguration;
11340
+ private getAxisLimitsFromDataset;
11341
+ protected get shouldAnimate(): boolean;
11342
+ protected createChart(chartRuntime: ChartJSRuntime): void;
11343
+ protected updateChartJs(chartRuntime: ChartJSRuntime): void;
11344
+ private resetAxesLimits;
11345
+ private updateTrendingLineAxes;
11346
+ get upperBound(): number | undefined;
11347
+ get lowerBound(): number | undefined;
11348
+ private computePosition;
11349
+ private computeCoordinate;
11350
+ private updateAxisLimits;
11351
+ onPointerDownInMasterChart(ev: PointerEvent): void;
11352
+ onPointerMoveInMasterChart(ev: PointerEvent): void;
11353
+ onMouseLeaveMasterChart(ev: PointerEvent): void;
11354
+ onDoubleClickInMasterChart(ev: PointerEvent): void;
11355
+ }
11356
+
11193
11357
  declare class ChartDashboardMenuStore extends SpreadsheetStore {
11194
11358
  private chartId;
11195
11359
  mutators: readonly ["reset"];
11196
11360
  private originalChartDefinition;
11197
11361
  constructor(get: Get, chartId: UID);
11198
11362
  get changeChartTypeMenuItems(): {
11199
- id: "line" | "bar" | "scatter" | "pie" | "radar" | "treemap" | "funnel" | "combo" | "waterfall" | "pyramid" | "geo" | "sunburst" | "scorecard" | "gauge";
11363
+ id: "line" | "bar" | "scatter" | "pie" | "radar" | "treemap" | "funnel" | "geo" | "combo" | "waterfall" | "pyramid" | "sunburst" | "scorecard" | "gauge";
11200
11364
  label: string;
11201
11365
  onClick: () => void;
11202
11366
  isSelected: boolean;
@@ -11219,6 +11383,7 @@ declare class FullScreenChart extends Component<{}, SpreadsheetChildEnv> {
11219
11383
  figureRegistry: Registry<FigureContent>;
11220
11384
  setup(): void;
11221
11385
  get figureUI(): FigureUI | undefined;
11386
+ get chartId(): UID | undefined;
11222
11387
  exitFullScreen(): void;
11223
11388
  onKeyDown(ev: KeyboardEvent): void;
11224
11389
  get chartComponent(): (new (...args: any) => Component) | undefined;
@@ -11242,7 +11407,7 @@ interface PivotDialogValue {
11242
11407
  value: string;
11243
11408
  isMissing: boolean;
11244
11409
  }
11245
- interface Props$k {
11410
+ interface Props$l {
11246
11411
  pivotId: UID;
11247
11412
  onCellClicked: (formula: string) => void;
11248
11413
  }
@@ -11251,7 +11416,7 @@ interface TableData {
11251
11416
  rows: PivotDialogRow[];
11252
11417
  values: PivotDialogValue[][];
11253
11418
  }
11254
- declare class PivotHTMLRenderer extends Component<Props$k, SpreadsheetChildEnv> {
11419
+ declare class PivotHTMLRenderer extends Component<Props$l, SpreadsheetChildEnv> {
11255
11420
  static template: string;
11256
11421
  static components: {
11257
11422
  Checkbox: typeof Checkbox;
@@ -11308,36 +11473,58 @@ declare class PivotHTMLRenderer extends Component<Props$k, SpreadsheetChildEnv>
11308
11473
  _buildValues(id: UID, table: SpreadsheetPivotTable): PivotDialogValue[][];
11309
11474
  }
11310
11475
 
11311
- interface Props$j {
11312
- figureId: UID;
11476
+ interface Props$k {
11477
+ chartId: UID;
11313
11478
  definition: ChartWithDataSetDefinition;
11314
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
11315
- canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
11479
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
11480
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
11316
11481
  }
11317
- declare class ChartShowDataMarkers extends Component<Props$j, SpreadsheetChildEnv> {
11482
+ declare class ChartShowDataMarkers extends Component<Props$k, SpreadsheetChildEnv> {
11318
11483
  static template: string;
11319
11484
  static components: {
11320
11485
  Checkbox: typeof Checkbox;
11321
11486
  };
11322
11487
  static props: {
11323
- figureId: StringConstructor;
11488
+ chartId: StringConstructor;
11324
11489
  definition: ObjectConstructor;
11325
11490
  updateChart: FunctionConstructor;
11326
11491
  canUpdateChart: FunctionConstructor;
11327
11492
  };
11328
11493
  }
11329
11494
 
11495
+ interface Props$j {
11496
+ chartId: UID;
11497
+ definition: ZoomableChartDefinition;
11498
+ canUpdateChart: (chartId: UID, definition: GenericDefinition<ZoomableChartDefinition>) => DispatchResult;
11499
+ updateChart: (chartId: UID, definition: GenericDefinition<ZoomableChartDefinition>) => DispatchResult;
11500
+ }
11501
+ declare class GenericZoomableChartDesignPanel<P extends Props$j = Props$j> extends ChartWithAxisDesignPanel<Props$j> {
11502
+ static template: string;
11503
+ static components: {
11504
+ Checkbox: typeof Checkbox;
11505
+ GeneralDesignEditor: typeof GeneralDesignEditor;
11506
+ SidePanelCollapsible: typeof SidePanelCollapsible;
11507
+ Section: typeof Section;
11508
+ AxisDesignEditor: typeof AxisDesignEditor;
11509
+ SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
11510
+ ChartLegend: typeof ChartLegend;
11511
+ ChartShowValues: typeof ChartShowValues;
11512
+ };
11513
+ onToggleZoom(zoomable: boolean): void;
11514
+ }
11515
+
11330
11516
  interface Props$i {
11331
- figureId: UID;
11517
+ chartId: UID;
11332
11518
  definition: ComboChartDefinition;
11333
- canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11334
- updateChart: (figureId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11519
+ canUpdateChart: (chartId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11520
+ updateChart: (chartId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11335
11521
  }
11336
- declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$i> {
11522
+ declare class ComboChartDesignPanel extends GenericZoomableChartDesignPanel<Props$i> {
11337
11523
  static template: string;
11338
11524
  static components: {
11339
11525
  ChartShowDataMarkers: typeof ChartShowDataMarkers;
11340
11526
  RadioSelection: typeof RadioSelection;
11527
+ Checkbox: typeof Checkbox;
11341
11528
  GeneralDesignEditor: typeof GeneralDesignEditor;
11342
11529
  SidePanelCollapsible: typeof SidePanelCollapsible;
11343
11530
  Section: typeof Section;
@@ -11355,10 +11542,10 @@ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$i> {
11355
11542
  }
11356
11543
 
11357
11544
  interface Props$h {
11358
- figureId: UID;
11545
+ chartId: UID;
11359
11546
  definition: FunnelChartDefinition;
11360
- canUpdateChart: (figureID: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
11361
- updateChart: (figureId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
11547
+ canUpdateChart: (chartId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
11548
+ updateChart: (chartId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
11362
11549
  }
11363
11550
  declare class FunnelChartDesignPanel extends Component<Props$h, SpreadsheetChildEnv> {
11364
11551
  static template: string;
@@ -11370,7 +11557,7 @@ declare class FunnelChartDesignPanel extends Component<Props$h, SpreadsheetChild
11370
11557
  Section: typeof Section;
11371
11558
  };
11372
11559
  static props: {
11373
- figureId: StringConstructor;
11560
+ chartId: StringConstructor;
11374
11561
  definition: ObjectConstructor;
11375
11562
  updateChart: FunctionConstructor;
11376
11563
  canUpdateChart: FunctionConstructor;
@@ -11383,10 +11570,10 @@ declare class FunnelChartDesignPanel extends Component<Props$h, SpreadsheetChild
11383
11570
  }
11384
11571
 
11385
11572
  interface Props$g {
11386
- figureId: UID;
11573
+ chartId: UID;
11387
11574
  definition: GeoChartDefinition;
11388
- canUpdateChart: (figureID: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11389
- updateChart: (figureId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11575
+ canUpdateChart: (chartId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11576
+ updateChart: (chartId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11390
11577
  }
11391
11578
  declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$g> {
11392
11579
  static template: string;
@@ -11413,9 +11600,9 @@ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$g> {
11413
11600
  }
11414
11601
 
11415
11602
  interface Props$f {
11416
- figureId: UID;
11603
+ chartId: UID;
11417
11604
  definition: GeoChartDefinition;
11418
- updateChart: (figureId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11605
+ updateChart: (chartId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11419
11606
  }
11420
11607
  declare class GeoChartRegionSelectSection extends Component<Props$f, SpreadsheetChildEnv> {
11421
11608
  static template: string;
@@ -11423,7 +11610,7 @@ declare class GeoChartRegionSelectSection extends Component<Props$f, Spreadsheet
11423
11610
  Section: typeof Section;
11424
11611
  };
11425
11612
  static props: {
11426
- figureId: StringConstructor;
11613
+ chartId: StringConstructor;
11427
11614
  definition: ObjectConstructor;
11428
11615
  updateChart: FunctionConstructor;
11429
11616
  };
@@ -11433,15 +11620,16 @@ declare class GeoChartRegionSelectSection extends Component<Props$f, Spreadsheet
11433
11620
  }
11434
11621
 
11435
11622
  interface Props$e {
11436
- figureId: UID;
11437
- definition: ComboChartDefinition;
11438
- canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11439
- updateChart: (figureId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11623
+ chartId: UID;
11624
+ definition: LineChartDefinition;
11625
+ canUpdateChart: (chartId: UID, definition: LineChartDefinition) => DispatchResult;
11626
+ updateChart: (chartId: UID, definition: LineChartDefinition) => DispatchResult;
11440
11627
  }
11441
- declare class LineChartDesignPanel extends ChartWithAxisDesignPanel<Props$e> {
11628
+ declare class LineChartDesignPanel extends GenericZoomableChartDesignPanel<Props$e> {
11442
11629
  static template: string;
11443
11630
  static components: {
11444
11631
  ChartShowDataMarkers: typeof ChartShowDataMarkers;
11632
+ Checkbox: typeof Checkbox;
11445
11633
  GeneralDesignEditor: typeof GeneralDesignEditor;
11446
11634
  SidePanelCollapsible: typeof SidePanelCollapsible;
11447
11635
  Section: typeof Section;
@@ -11453,10 +11641,10 @@ declare class LineChartDesignPanel extends ChartWithAxisDesignPanel<Props$e> {
11453
11641
  }
11454
11642
 
11455
11643
  interface Props$d {
11456
- figureId: UID;
11644
+ chartId: UID;
11457
11645
  definition: RadarChartDefinition;
11458
- canUpdateChart: (figureID: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
11459
- updateChart: (figureId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
11646
+ canUpdateChart: (chartId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
11647
+ updateChart: (chartId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
11460
11648
  }
11461
11649
  declare class RadarChartDesignPanel extends Component<Props$d, SpreadsheetChildEnv> {
11462
11650
  static template: string;
@@ -11469,7 +11657,7 @@ declare class RadarChartDesignPanel extends Component<Props$d, SpreadsheetChildE
11469
11657
  ChartShowDataMarkers: typeof ChartShowDataMarkers;
11470
11658
  };
11471
11659
  static props: {
11472
- figureId: StringConstructor;
11660
+ chartId: StringConstructor;
11473
11661
  definition: ObjectConstructor;
11474
11662
  canUpdateChart: FunctionConstructor;
11475
11663
  updateChart: FunctionConstructor;
@@ -11477,10 +11665,10 @@ declare class RadarChartDesignPanel extends Component<Props$d, SpreadsheetChildE
11477
11665
  }
11478
11666
 
11479
11667
  interface Props$c {
11480
- figureId: UID;
11668
+ chartId: UID;
11481
11669
  definition: SunburstChartDefinition;
11482
- canUpdateChart: (figureID: UID, definition: Partial<SunburstChartDefinition>) => DispatchResult;
11483
- updateChart: (figureId: UID, definition: Partial<SunburstChartDefinition>) => DispatchResult;
11670
+ canUpdateChart: (chartId: UID, definition: Partial<SunburstChartDefinition>) => DispatchResult;
11671
+ updateChart: (chartId: UID, definition: Partial<SunburstChartDefinition>) => DispatchResult;
11484
11672
  }
11485
11673
  declare class SunburstChartDesignPanel extends Component<Props$c, SpreadsheetChildEnv> {
11486
11674
  static template: string;
@@ -11496,7 +11684,7 @@ declare class SunburstChartDesignPanel extends Component<Props$c, SpreadsheetChi
11496
11684
  PieHoleSize: typeof PieHoleSize;
11497
11685
  };
11498
11686
  static props: {
11499
- figureId: StringConstructor;
11687
+ chartId: StringConstructor;
11500
11688
  definition: ObjectConstructor;
11501
11689
  updateChart: FunctionConstructor;
11502
11690
  canUpdateChart: {
@@ -11520,7 +11708,7 @@ declare class SunburstChartDesignPanel extends Component<Props$c, SpreadsheetChi
11520
11708
  }
11521
11709
 
11522
11710
  interface Props$b {
11523
- figureId: UID;
11711
+ chartId: UID;
11524
11712
  definition: TreeMapChartDefinition;
11525
11713
  onColorChanged: (colors: TreeMapCategoryColorOptions) => DispatchResult;
11526
11714
  }
@@ -11531,7 +11719,7 @@ declare class TreeMapCategoryColors extends Component<Props$b, SpreadsheetChildE
11531
11719
  RoundColorPicker: typeof RoundColorPicker;
11532
11720
  };
11533
11721
  static props: {
11534
- figureId: StringConstructor;
11722
+ chartId: StringConstructor;
11535
11723
  definition: ObjectConstructor;
11536
11724
  onColorChanged: FunctionConstructor;
11537
11725
  };
@@ -11542,7 +11730,7 @@ declare class TreeMapCategoryColors extends Component<Props$b, SpreadsheetChildE
11542
11730
  }
11543
11731
 
11544
11732
  interface Props$a {
11545
- figureId: UID;
11733
+ chartId: UID;
11546
11734
  definition: TreeMapChartDefinition;
11547
11735
  onColorChanged: (colors: TreeMapColorScaleOptions) => DispatchResult;
11548
11736
  }
@@ -11552,7 +11740,7 @@ declare class TreeMapColorScale extends Component<Props$a, SpreadsheetChildEnv>
11552
11740
  RoundColorPicker: typeof RoundColorPicker;
11553
11741
  };
11554
11742
  static props: {
11555
- figureId: StringConstructor;
11743
+ chartId: StringConstructor;
11556
11744
  definition: ObjectConstructor;
11557
11745
  onColorChanged: FunctionConstructor;
11558
11746
  };
@@ -11561,10 +11749,10 @@ declare class TreeMapColorScale extends Component<Props$a, SpreadsheetChildEnv>
11561
11749
  }
11562
11750
 
11563
11751
  interface Props$9 {
11564
- figureId: UID;
11752
+ chartId: UID;
11565
11753
  definition: TreeMapChartDefinition;
11566
- canUpdateChart: (figureID: UID, definition: Partial<TreeMapChartDefinition>) => DispatchResult;
11567
- updateChart: (figureId: UID, definition: Partial<TreeMapChartDefinition>) => DispatchResult;
11754
+ canUpdateChart: (chartId: UID, definition: Partial<TreeMapChartDefinition>) => DispatchResult;
11755
+ updateChart: (chartId: UID, definition: Partial<TreeMapChartDefinition>) => DispatchResult;
11568
11756
  }
11569
11757
  declare class TreeMapChartDesignPanel extends Component<Props$9, SpreadsheetChildEnv> {
11570
11758
  static template: string;
@@ -11581,7 +11769,7 @@ declare class TreeMapChartDesignPanel extends Component<Props$9, SpreadsheetChil
11581
11769
  TreeMapColorScale: typeof TreeMapColorScale;
11582
11770
  };
11583
11771
  static props: {
11584
- figureId: StringConstructor;
11772
+ chartId: StringConstructor;
11585
11773
  definition: ObjectConstructor;
11586
11774
  updateChart: FunctionConstructor;
11587
11775
  canUpdateChart: {
@@ -11612,10 +11800,10 @@ declare class TreeMapChartDesignPanel extends Component<Props$9, SpreadsheetChil
11612
11800
  }
11613
11801
 
11614
11802
  interface Props$8 {
11615
- figureId: UID;
11803
+ chartId: UID;
11616
11804
  definition: WaterfallChartDefinition;
11617
- canUpdateChart: (figureID: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
11618
- updateChart: (figureId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
11805
+ canUpdateChart: (chartId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
11806
+ updateChart: (chartId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
11619
11807
  }
11620
11808
  declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetChildEnv> {
11621
11809
  static template: string;
@@ -11631,7 +11819,7 @@ declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetCh
11631
11819
  ChartLegend: typeof ChartLegend;
11632
11820
  };
11633
11821
  static props: {
11634
- figureId: StringConstructor;
11822
+ chartId: StringConstructor;
11635
11823
  definition: ObjectConstructor;
11636
11824
  updateChart: FunctionConstructor;
11637
11825
  canUpdateChart: {
@@ -11652,6 +11840,7 @@ declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetCh
11652
11840
  get negativeValuesColor(): Color | "#EA6175";
11653
11841
  get subTotalValuesColor(): Color | "#AAAAAA";
11654
11842
  updateVerticalAxisPosition(value: "left" | "right"): void;
11843
+ onToggleZoom(zoomable: boolean): void;
11655
11844
  }
11656
11845
 
11657
11846
  declare class PivotMeasureDisplayPanelStore extends SpreadsheetStore {
@@ -11726,6 +11915,7 @@ declare class BarChart extends AbstractChart {
11726
11915
  readonly axesDesign?: AxesDesign;
11727
11916
  readonly horizontal?: boolean;
11728
11917
  readonly showValues?: boolean;
11918
+ readonly zoomable?: boolean;
11729
11919
  constructor(definition: BarChartDefinition, sheetId: UID, getters: CoreGetters);
11730
11920
  static transformDefinition(chartSheetId: UID, definition: BarChartDefinition, applyChange: RangeAdapter$1): BarChartDefinition;
11731
11921
  static validateChartDefinition(validator: Validator, definition: BarChartDefinition): CommandResult | CommandResult[];
@@ -11773,6 +11963,7 @@ declare class LineChart extends AbstractChart {
11773
11963
  readonly fillArea?: boolean;
11774
11964
  readonly showValues?: boolean;
11775
11965
  readonly hideDataMarkers?: boolean;
11966
+ readonly zoomable?: boolean;
11776
11967
  constructor(definition: LineChartDefinition, sheetId: UID, getters: CoreGetters);
11777
11968
  static validateChartDefinition(validator: Validator, definition: LineChartDefinition): CommandResult | CommandResult[];
11778
11969
  static transformDefinition(chartSheetId: UID, definition: LineChartDefinition, applyChange: RangeAdapter$1): LineChartDefinition;
@@ -11854,6 +12045,7 @@ declare class WaterfallChart extends AbstractChart {
11854
12045
  readonly dataSetDesign: CustomizedDataSet[];
11855
12046
  readonly axesDesign?: AxesDesign;
11856
12047
  readonly showValues?: boolean;
12048
+ readonly zoomable?: boolean;
11857
12049
  constructor(definition: WaterfallChartDefinition, sheetId: UID, getters: CoreGetters);
11858
12050
  static transformDefinition(chartSheetId: UID, definition: WaterfallChartDefinition, applyChange: RangeAdapter$1): WaterfallChartDefinition;
11859
12051
  static validateChartDefinition(validator: Validator, definition: WaterfallChartDefinition): CommandResult | CommandResult[];
@@ -12783,6 +12975,7 @@ declare const components: {
12783
12975
  ChartPanel: typeof ChartPanel;
12784
12976
  ChartFigure: typeof ChartFigure;
12785
12977
  ChartJsComponent: typeof ChartJsComponent;
12978
+ ZoomableChartJsComponent: typeof ZoomableChartJsComponent;
12786
12979
  Grid: typeof Grid;
12787
12980
  GridOverlay: typeof GridOverlay;
12788
12981
  ScorecardChart: typeof ScorecardChart$1;
@@ -12791,6 +12984,7 @@ declare const components: {
12791
12984
  PieChartDesignPanel: typeof PieChartDesignPanel;
12792
12985
  GenericChartConfigPanel: typeof GenericChartConfigPanel;
12793
12986
  ChartWithAxisDesignPanel: typeof ChartWithAxisDesignPanel;
12987
+ GenericZoomableChartDesignPanel: typeof GenericZoomableChartDesignPanel;
12794
12988
  LineChartDesignPanel: typeof LineChartDesignPanel;
12795
12989
  GaugeChartConfigPanel: typeof GaugeChartConfigPanel;
12796
12990
  GaugeChartDesignPanel: typeof GaugeChartDesignPanel;
@@ -12878,6 +13072,7 @@ declare const constants: {
12878
13072
  ColorScales: Record<Extract<GeoChartColorScale, string>, string>;
12879
13073
  };
12880
13074
  };
13075
+ FIGURE_ID_SPLITTER: string;
12881
13076
  };
12882
13077
  declare const chartHelpers: {
12883
13078
  getBarChartData(definition: GenericDefinition<BarChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
@@ -13383,7 +13578,7 @@ declare const chartHelpers: {
13383
13578
  formatChartDatasetValue(axisFormats: ChartAxisFormats, locale: Locale): (value: any, axisId: string) => any;
13384
13579
  formatTickValue(localeFormat: LocaleFormat): (value: any) => any;
13385
13580
  getPieColors(colors: ColorGenerator, dataSetsValues: DatasetValues[]): Color[];
13386
- truncateLabel(label: string | undefined): string;
13581
+ truncateLabel(label: string | undefined, maxLen?: number): string;
13387
13582
  isTrendLineAxis(axisID: string): axisID is "x1" | "xMovingAverage";
13388
13583
  TREND_LINE_XAXIS_ID: "x1";
13389
13584
  MOVING_AVERAGE_TREND_LINE_XAXIS_ID: "xMovingAverage";
@@ -13397,7 +13592,7 @@ declare const chartHelpers: {
13397
13592
  value: string;
13398
13593
  label: string;
13399
13594
  }[];
13400
- chartFactory(getters: CoreGetters): (id: UID, definition: ChartDefinition, sheetId: UID) => AbstractChart;
13595
+ chartFactory(getters: CoreGetters): (figureId: UID, definition: ChartDefinition, sheetId: UID) => AbstractChart;
13401
13596
  chartRuntimeFactory(getters: Getters): (chart: AbstractChart) => ChartRuntime;
13402
13597
  validateChartDefinition(validator: Validator, definition: ChartDefinition): CommandResult | CommandResult[];
13403
13598
  transformDefinition(chartSheetId: UID, definition: ChartDefinition, applyrange: RangeAdapter$1): ChartDefinition;
@@ -13431,4 +13626,4 @@ declare const chartHelpers: {
13431
13626
  WaterfallChart: typeof WaterfallChart;
13432
13627
  };
13433
13628
 
13434
- export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescrWithOpacity, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientDisconnectedError, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClientWithColor, ClientWithPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, CriterionFilter, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataFilterValue, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluatedCriterion, EvaluatedDateCriterion, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartTrendConfiguration, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelTrendlineType, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterCriterionType, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericCriterion, GenericCriterionType, GenericDateCriterion, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, LocalTransportService, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, MinimalClipboardData, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCollapsedDomains, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotCustomGroup, PivotCustomGroupedField, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, PivotVisibilityOptions, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeAdapter$1 as RangeAdapter, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RenderingBorder, RenderingBox, RenderingGridIcon, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection$1 as Selection, SelectionStep, SetBorderCommand, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, ToggleCheckboxCommand, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, ValueAndLabel, ValuesFilter, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, filterDateCriterionOperators, filterNumberCriterionOperators, filterTextCriterionOperators, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
13629
+ export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFigureChartToCarouselCommand, AddFunctionDescription, AddMergeCommand, AddNewChartToCarouselCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescrWithOpacity, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Carousel, CarouselItem, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientDisconnectedError, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClientWithColor, ClientWithPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateCarouselCommand, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, CriterionFilter, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataFilterValue, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteChartCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluatedCriterion, EvaluatedDateCriterion, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartTrendConfiguration, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelTrendlineType, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterCriterionType, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericCriterion, GenericCriterionType, GenericDateCriterion, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, LocalTransportService, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, MinimalClipboardData, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCollapsedDomains, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotCustomGroup, PivotCustomGroupedField, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, PivotVisibilityOptions, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeAdapter$1 as RangeAdapter, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RenderingBorder, RenderingBox, RenderingGridIcon, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection$1 as Selection, SelectionStep, SetBorderCommand, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, ToggleCheckboxCommand, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCarouselActiveItemCommand, UpdateCarouselCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, ValueAndLabel, ValuesFilter, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, ZoomableChartDefinition, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, filterDateCriterionOperators, filterNumberCriterionOperators, filterTextCriterionOperators, findCellInNewZone, functionCache, helpers, hooks, 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 };