@odoo/o-spreadsheet 18.1.0-alpha.6 → 18.1.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.
@@ -1,5 +1,7 @@
1
1
  import * as chart_js from 'chart.js';
2
2
  import { ChartConfiguration, Chart, Color as Color$1, ChartType as ChartType$1 } from 'chart.js';
3
+ import * as ChartGeo from 'chartjs-chart-geo';
4
+ import * as GeoJSON$1 from 'geojson';
3
5
  import * as _odoo_owl from '@odoo/owl';
4
6
  import { ComponentConstructor, Component } from '@odoo/owl';
5
7
  import * as chart_js_dist_types_utils from 'chart.js/dist/types/utils';
@@ -132,6 +134,42 @@ interface GaugeChartRuntime {
132
134
  colors: Color[];
133
135
  }
134
136
 
137
+ interface GeoChartDefinition {
138
+ readonly type: "geo";
139
+ readonly dataSets: CustomizedDataSet[];
140
+ readonly dataSetsHaveTitle: boolean;
141
+ readonly labelRange?: string;
142
+ readonly title: TitleDesign;
143
+ readonly background?: Color;
144
+ readonly legendPosition: LegendPosition;
145
+ readonly axesDesign?: AxesDesign;
146
+ readonly aggregated?: boolean;
147
+ readonly colorScale?: GeoChartColorScale;
148
+ readonly missingValueColor?: Color;
149
+ readonly region?: string;
150
+ }
151
+ type GeoChartRuntime = {
152
+ chartJsConfig: ChartConfiguration;
153
+ background: Color;
154
+ };
155
+ interface GeoChartCustomColorScale {
156
+ minColor: Color;
157
+ midColor?: Color;
158
+ maxColor: Color;
159
+ }
160
+ type GeoChartColorScale = GeoChartCustomColorScale | "blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis";
161
+ type GeoChartProjection = "azimuthalEqualArea" | "azimuthalEquidistant" | "gnomonic" | "orthographic" | "stereographic" | "equalEarth" | "albers" | "albersUsa" | "conicConformal" | "conicEqualArea" | "conicEquidistant" | "equirectangular" | "mercator" | "transverseMercator" | "naturalEarth1";
162
+ interface GeoChartRegion {
163
+ id: string;
164
+ label: string;
165
+ defaultProjection: GeoChartProjection;
166
+ }
167
+ interface GeoChartRuntimeGenerationArgs extends ChartRuntimeGenerationArgs {
168
+ availableRegions: GeoChartRegion[];
169
+ getGeoJsonFeatures: (region: string) => GeoJSON.Feature[] | undefined;
170
+ geoFeatureNameToId: (region: string, featureName: string) => string | undefined;
171
+ }
172
+
135
173
  interface LineChartDefinition {
136
174
  readonly type: "line";
137
175
  readonly dataSets: CustomizedDataSet[];
@@ -259,14 +297,14 @@ type WaterfallChartRuntime = {
259
297
  background: Color;
260
298
  };
261
299
 
262
- declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall", "pyramid", "radar"];
300
+ declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall", "pyramid", "radar", "geo"];
263
301
  type ChartType = (typeof CHART_TYPES)[number];
264
- type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition | PyramidChartDefinition | RadarChartDefinition;
302
+ type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition | PyramidChartDefinition | RadarChartDefinition | GeoChartDefinition;
265
303
  type ChartWithDataSetDefinition = Extract<ChartDefinition, {
266
304
  dataSets: CustomizedDataSet[];
267
305
  labelRange?: string;
268
306
  }>;
269
- type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime | PyramidChartRuntime | RadarChartRuntime;
307
+ type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime | PyramidChartRuntime | RadarChartRuntime | GeoChartRuntime;
270
308
  type ChartRuntime = ChartJSRuntime | ScorecardChartRuntime | GaugeChartRuntime;
271
309
  interface LabelValues {
272
310
  readonly values: string[];
@@ -295,6 +333,7 @@ interface TitleDesign {
295
333
  readonly italic?: boolean;
296
334
  readonly align?: Align;
297
335
  readonly color?: Color;
336
+ readonly fontSize?: number;
298
337
  }
299
338
  type TrendType = "polynomial" | "exponential" | "logarithmic" | "trailingMovingAverage";
300
339
  interface TrendConfiguration {
@@ -691,7 +730,7 @@ type Aggregator = "array_agg" | "count" | "count_distinct" | "bool_and" | "bool_
691
730
  type Granularity = "day" | "week" | "month" | "quarter" | "year" | "second_number" | "minute_number" | "hour_number" | "day_of_week" | "day_of_month" | "iso_week_number" | "month_number" | "quarter_number";
692
731
  interface PivotCoreDimension {
693
732
  fieldName: string;
694
- order?: "asc" | "desc";
733
+ order?: SortDirection;
695
734
  granularity?: Granularity | string;
696
735
  }
697
736
  interface PivotCoreMeasure {
@@ -717,6 +756,12 @@ interface CommonPivotCoreDefinition {
717
756
  measures: PivotCoreMeasure[];
718
757
  name: string;
719
758
  deferUpdates?: boolean;
759
+ sortedColumn?: PivotSortedColumn;
760
+ }
761
+ interface PivotSortedColumn {
762
+ order: SortDirection;
763
+ domain: PivotDomain;
764
+ measure: string;
720
765
  }
721
766
  interface SpreadsheetPivotCoreDefinition extends CommonPivotCoreDefinition {
722
767
  type: "SPREADSHEET";
@@ -814,6 +859,7 @@ type PivotMeasureDisplayType = "no_calculations" | "%_of_grand_total" | "%_of_co
814
859
  interface DimensionTreeNode {
815
860
  value: CellValue;
816
861
  field: string;
862
+ type: string;
817
863
  children: DimensionTree;
818
864
  width: number;
819
865
  }
@@ -1223,7 +1269,7 @@ declare function colorToRGBA(color: Color): RGBA;
1223
1269
  declare class ColorGenerator {
1224
1270
  private preferredColors;
1225
1271
  private currentColorIndex;
1226
- private palette;
1272
+ protected palette: Color[];
1227
1273
  constructor(paletteSize: number, preferredColors?: (string | undefined)[]);
1228
1274
  next(): string;
1229
1275
  }
@@ -1318,6 +1364,8 @@ interface SearchOptions {
1318
1364
  */
1319
1365
  declare function deepCopy<T>(obj: T): T;
1320
1366
  declare function unquote(string: string, quoteChar?: "'" | '"'): string;
1367
+ /** Replace the excel-excluded characters of a sheetName */
1368
+ declare function sanitizeSheetName(sheetName: string, replacementChar?: string): string;
1321
1369
  declare function isMarkdownLink(str: string): boolean;
1322
1370
  /**
1323
1371
  * Build a markdown link from a label and an url
@@ -1482,7 +1530,6 @@ type StatefulStream<Event, State> = {
1482
1530
  * Allows to select cells in the grid and update the selection
1483
1531
  */
1484
1532
  interface SelectionProcessor {
1485
- getAnchor(): Immutable<AnchorZone>;
1486
1533
  selectZone(anchor: AnchorZone, options?: SelectionEventOptions): DispatchResult;
1487
1534
  selectCell(col: number, row: number): DispatchResult;
1488
1535
  moveAnchorCell(direction: Direction$1, step: SelectionStep): DispatchResult;
@@ -1576,6 +1623,12 @@ interface ModelExternalConfig {
1576
1623
  readonly fileStore?: FileStore;
1577
1624
  readonly loadCurrencies?: () => Promise<Currency[]>;
1578
1625
  readonly loadLocales?: () => Promise<Locale[]>;
1626
+ readonly geoJsonService?: {
1627
+ getAvailableRegions: () => GeoChartRegion[];
1628
+ getTopoJson: (region: string) => Promise<any>;
1629
+ /** Convert the name of a geographical feature (eg. France) to the id of the corresponding feature in the TopoJSON */
1630
+ geoFeatureNameToId: (region: string, territory: string) => string | undefined;
1631
+ };
1579
1632
  }
1580
1633
  declare class Model extends EventBus<any> implements CommandDispatcher {
1581
1634
  private corePlugins;
@@ -1813,6 +1866,7 @@ interface UIPluginConfig {
1813
1866
  readonly session: Session;
1814
1867
  readonly defaultCurrency?: Partial<Currency>;
1815
1868
  readonly customColors: Color[];
1869
+ readonly external: ModelConfig["external"];
1816
1870
  }
1817
1871
  interface UIPluginConstructor {
1818
1872
  new (config: UIPluginConfig): UIPlugin;
@@ -2320,12 +2374,12 @@ interface ZoneDependentCommand {
2320
2374
  }
2321
2375
  declare function isZoneDependent(cmd: CoreCommand): boolean;
2322
2376
  declare function isPositionDependent(cmd: CoreCommand): boolean;
2323
- 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" | "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" | "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">;
2324
- 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" | "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" | "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">;
2325
- 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" | "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" | "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">;
2326
- 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" | "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" | "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">;
2327
- 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" | "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" | "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">;
2328
- 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" | "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" | "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">;
2377
+ 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" | "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">;
2378
+ 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" | "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">;
2379
+ 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" | "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">;
2380
+ 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" | "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">;
2381
+ 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" | "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">;
2382
+ 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" | "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">;
2329
2383
  declare const coreTypes: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT">;
2330
2384
  declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
2331
2385
  declare function canExecuteInReadonly(cmd: Command): boolean;
@@ -2720,6 +2774,9 @@ interface ActivateSheetCommand {
2720
2774
  interface EvaluateCellsCommand {
2721
2775
  type: "EVALUATE_CELLS";
2722
2776
  }
2777
+ interface EvaluateChartsCommand {
2778
+ type: "EVALUATE_CHARTS";
2779
+ }
2723
2780
  interface StartChangeHighlightCommand {
2724
2781
  type: "START_CHANGE_HIGHLIGHT";
2725
2782
  zone: Zone;
@@ -2787,7 +2844,6 @@ interface SortCommand {
2787
2844
  sortDirection: SortDirection;
2788
2845
  sortOptions?: SortOptions;
2789
2846
  }
2790
- type SortDirection = "ascending" | "descending";
2791
2847
  interface ResizeViewportCommand {
2792
2848
  type: "RESIZE_SHEETVIEW";
2793
2849
  width: Pixel;
@@ -2905,7 +2961,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | ClearCellsCom
2905
2961
  | UpdateLocaleCommand
2906
2962
  /** PIVOT */
2907
2963
  | AddPivotCommand | UpdatePivotCommand | InsertPivotCommand | RenamePivotCommand | RemovePivotCommand | DuplicatePivotCommand;
2908
- type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | 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;
2964
+ 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;
2909
2965
  type Command = CoreCommand | LocalCommand;
2910
2966
  /**
2911
2967
  * Holds the result of a command dispatch.
@@ -3075,7 +3131,7 @@ interface CoreCommandDispatcher {
3075
3131
  }
3076
3132
  type CommandTypes = Command["type"];
3077
3133
  type CoreCommandTypes = CoreCommand["type"];
3078
- type CoreViewCommand = CoreCommand | EvaluateCellsCommand | UndoCommand | RedoCommand;
3134
+ type CoreViewCommand = CoreCommand | EvaluateCellsCommand | EvaluateChartsCommand | UndoCommand | RedoCommand;
3079
3135
  type CoreViewCommandTypes = CoreViewCommand["type"];
3080
3136
 
3081
3137
  declare const functionCache: {
@@ -3308,6 +3364,7 @@ interface CompiledFormula {
3308
3364
  tokens: Token[];
3309
3365
  dependencies: string[];
3310
3366
  isBadExpression: boolean;
3367
+ normalizedFormula: string;
3311
3368
  }
3312
3369
  interface RangeCompiledFormula extends Omit<CompiledFormula, "dependencies"> {
3313
3370
  dependencies: Range[];
@@ -3468,6 +3525,7 @@ interface GridClickModifiers {
3468
3525
  }
3469
3526
  type ComposerFocusType = "inactive" | "cellFocus" | "contentFocus";
3470
3527
  type EditionMode = "editing" | "selecting" | "inactive";
3528
+ type SortDirection = "asc" | "desc";
3471
3529
 
3472
3530
  type LocaleCode = string & Alias;
3473
3531
  interface Locale {
@@ -5076,8 +5134,6 @@ declare class EvaluationConditionalFormatPlugin extends UIPlugin {
5076
5134
  private applyDataBar;
5077
5135
  /** Compute the color scale for the given range and CF rule, and apply in in the given computedStyle object */
5078
5136
  private applyColorScale;
5079
- private computeColorDiffUnits;
5080
- private colorCell;
5081
5137
  /**
5082
5138
  * Execute the predicate to know if a conditional formatting rule should be applied to a cell
5083
5139
  */
@@ -5186,6 +5242,7 @@ declare class PivotRuntimeDefinition {
5186
5242
  readonly measures: PivotMeasure[];
5187
5243
  readonly columns: PivotDimension$1[];
5188
5244
  readonly rows: PivotDimension$1[];
5245
+ readonly sortedColumn?: PivotSortedColumn;
5189
5246
  constructor(definition: CommonPivotCoreDefinition, fields: PivotFields);
5190
5247
  getDimension(nameWithGranularity: string): PivotDimension$1;
5191
5248
  getMeasure(id: string): PivotMeasure;
@@ -5235,7 +5292,7 @@ declare class PivotRuntimeDefinition {
5235
5292
  */
5236
5293
  declare class SpreadsheetPivotTable {
5237
5294
  readonly columns: PivotTableColumn[][];
5238
- readonly rows: PivotTableRow[];
5295
+ rows: PivotTableRow[];
5239
5296
  readonly measures: string[];
5240
5297
  readonly fieldsType: Record<string, string | undefined>;
5241
5298
  readonly maxIndent: number;
@@ -5244,6 +5301,7 @@ declare class SpreadsheetPivotTable {
5244
5301
  };
5245
5302
  private rowTree;
5246
5303
  private colTree;
5304
+ isSorted: boolean;
5247
5305
  constructor(columns: PivotTableColumn[][], rows: PivotTableRow[], measures: string[], fieldsType: Record<string, string | undefined>);
5248
5306
  /**
5249
5307
  * Get the number of columns leafs (i.e. the number of the last row of columns)
@@ -5266,6 +5324,8 @@ declare class SpreadsheetPivotTable {
5266
5324
  measures: string[];
5267
5325
  fieldsType: Record<string, string | undefined>;
5268
5326
  };
5327
+ sort(measure: string, sortedColumn: PivotSortedColumn, getValue: (measure: string, domain: PivotDomain) => FunctionResultObject): void;
5328
+ private rowTreeToRows;
5269
5329
  }
5270
5330
 
5271
5331
  interface InitPivotParams {
@@ -5494,17 +5554,6 @@ declare class AutomaticSumPlugin extends UIPlugin {
5494
5554
  private transpose;
5495
5555
  }
5496
5556
 
5497
- declare class CellComputedStylePlugin extends UIPlugin {
5498
- static getters: readonly ["getCellComputedBorder", "getCellComputedStyle"];
5499
- private styles;
5500
- private borders;
5501
- handle(cmd: Command): void;
5502
- getCellComputedBorder(position: CellPosition): Border$1 | null;
5503
- getCellComputedStyle(position: CellPosition): Style;
5504
- private computeCellBorder;
5505
- private computeCellStyle;
5506
- }
5507
-
5508
5557
  interface ClientToDisplay extends Required<Client> {
5509
5558
  color: Color;
5510
5559
  }
@@ -5516,7 +5565,6 @@ declare class CollaborativePlugin extends UIPlugin {
5516
5565
  private session;
5517
5566
  constructor(config: UIPluginConfig);
5518
5567
  private isPositionValid;
5519
- private chooseNewColor;
5520
5568
  getClient(): Client;
5521
5569
  getConnectedClients(): Set<Client>;
5522
5570
  isFullySynchronized(): boolean;
@@ -5528,6 +5576,17 @@ declare class CollaborativePlugin extends UIPlugin {
5528
5576
  drawLayer(renderingContext: GridRenderingContext): void;
5529
5577
  }
5530
5578
 
5579
+ declare class GeoFeaturePlugin extends UIPlugin {
5580
+ static getters: readonly ["getGeoJsonFeatures", "geoFeatureNameToId", "getGeoChartAvailableRegions"];
5581
+ private readonly geoJsonService;
5582
+ private geoJsonCache;
5583
+ constructor(config: UIPluginConfig);
5584
+ getGeoChartAvailableRegions(): GeoChartRegion[];
5585
+ getGeoJsonFeatures(region: string): GeoJSON$1.Feature[] | undefined;
5586
+ geoFeatureNameToId(region: string, featureName: string): string | undefined;
5587
+ private convertToGeoJson;
5588
+ }
5589
+
5531
5590
  declare class HeaderVisibilityUIPlugin extends UIPlugin {
5532
5591
  static getters: readonly ["getNextVisibleCellPosition", "findVisibleHeader", "findLastVisibleColRowIndex", "findFirstVisibleColRowIndex", "isRowHidden", "isColHidden", "isHeaderHidden"];
5533
5592
  isRowHidden(sheetId: UID, index: number): boolean;
@@ -5548,42 +5607,6 @@ declare class HeaderVisibilityUIPlugin extends UIPlugin {
5548
5607
  exportForExcel(data: ExcelWorkbookData): void;
5549
5608
  }
5550
5609
 
5551
- /**
5552
- * Local History
5553
- *
5554
- * The local history is responsible of tracking the locally state updates
5555
- * It maintains the local undo and redo stack to allow to undo/redo only local
5556
- * changes
5557
- */
5558
- declare class HistoryPlugin extends UIPlugin {
5559
- static getters: readonly ["canUndo", "canRedo"];
5560
- /**
5561
- * Ids of the revisions which can be undone
5562
- */
5563
- private undoStack;
5564
- /**
5565
- * Ids of the revisions which can be redone
5566
- */
5567
- private redoStack;
5568
- private session;
5569
- constructor(config: UIPluginConfig);
5570
- allowDispatch(cmd: Command): CommandResult;
5571
- handle(cmd: Command): void;
5572
- finalize(): void;
5573
- private requestHistoryChange;
5574
- canUndo(): boolean;
5575
- canRedo(): boolean;
5576
- private drop;
5577
- private onNewLocalStateUpdate;
5578
- /**
5579
- * Fetch the last revision which is not empty and not a repeated command
5580
- *
5581
- * Ignore repeated commands (REQUEST_REDO command as root command)
5582
- * Ignore standard undo/redo revisions (that are empty)
5583
- */
5584
- private getPossibleRevisionToRepeat;
5585
- }
5586
-
5587
5610
  declare class SortPlugin extends UIPlugin {
5588
5611
  allowDispatch(cmd: LocalCommand): CommandResult | CommandResult[];
5589
5612
  handle(cmd: Command): void;
@@ -5613,46 +5636,6 @@ declare class SortPlugin extends UIPlugin {
5613
5636
  private mainCells;
5614
5637
  }
5615
5638
 
5616
- declare class SplitToColumnsPlugin extends UIPlugin {
5617
- static getters: readonly ["getAutomaticSeparator"];
5618
- allowDispatch(cmd: Command): CommandResult | CommandResult[];
5619
- handle(cmd: Command): void;
5620
- getAutomaticSeparator(): string;
5621
- private getAutoSeparatorForString;
5622
- private splitIntoColumns;
5623
- private getSplittedCols;
5624
- private splitAndRemoveTrailingEmpty;
5625
- private willSplittedColsOverwriteContent;
5626
- private removeMergesInSplitZone;
5627
- private addColsToAvoidCollisions;
5628
- private getColsToAddToAvoidCollision;
5629
- private addColumnsToNotOverflowSheet;
5630
- private checkSingleColSelected;
5631
- private checkNonEmptySelector;
5632
- private checkNotOverwritingContent;
5633
- private checkSeparatorInSelection;
5634
- }
5635
-
5636
- declare class TableComputedStylePlugin extends UIPlugin {
5637
- static getters: readonly ["getCellTableStyle", "getCellTableBorder"];
5638
- private tableStyles;
5639
- handle(cmd: Command): void;
5640
- finalize(): void;
5641
- getCellTableStyle(position: CellPosition): Style | undefined;
5642
- getCellTableBorder(position: CellPosition): Border$1 | undefined;
5643
- private computeTableStyle;
5644
- /**
5645
- * Get the actual table config that will be used to compute the table style. It is different from
5646
- * the config of the table because of hidden rows and columns in the sheet. For example remove the
5647
- * hidden rows from config.numberOfHeaders.
5648
- */
5649
- private getTableRuntimeConfig;
5650
- /**
5651
- * Get a mapping: relative col/row position in the table <=> col/row in the sheet
5652
- */
5653
- private getTableMapping;
5654
- }
5655
-
5656
5639
  declare class UIOptionsPlugin extends UIPlugin {
5657
5640
  static getters: readonly ["shouldShowFormulas"];
5658
5641
  private showFormulas;
@@ -5703,6 +5686,93 @@ declare class SheetUIPlugin extends UIPlugin {
5703
5686
  private checkZonesAreInSheet;
5704
5687
  }
5705
5688
 
5689
+ declare class CellComputedStylePlugin extends UIPlugin {
5690
+ static getters: readonly ["getCellComputedBorder", "getCellComputedStyle"];
5691
+ private styles;
5692
+ private borders;
5693
+ handle(cmd: Command): void;
5694
+ getCellComputedBorder(position: CellPosition): Border$1 | null;
5695
+ getCellComputedStyle(position: CellPosition): Style;
5696
+ private computeCellBorder;
5697
+ private computeCellStyle;
5698
+ }
5699
+
5700
+ /**
5701
+ * Local History
5702
+ *
5703
+ * The local history is responsible of tracking the locally state updates
5704
+ * It maintains the local undo and redo stack to allow to undo/redo only local
5705
+ * changes
5706
+ */
5707
+ declare class HistoryPlugin extends UIPlugin {
5708
+ static getters: readonly ["canUndo", "canRedo"];
5709
+ /**
5710
+ * Ids of the revisions which can be undone
5711
+ */
5712
+ private undoStack;
5713
+ /**
5714
+ * Ids of the revisions which can be redone
5715
+ */
5716
+ private redoStack;
5717
+ private session;
5718
+ constructor(config: UIPluginConfig);
5719
+ allowDispatch(cmd: Command): CommandResult;
5720
+ handle(cmd: Command): void;
5721
+ finalize(): void;
5722
+ private requestHistoryChange;
5723
+ canUndo(): boolean;
5724
+ canRedo(): boolean;
5725
+ private drop;
5726
+ private onNewLocalStateUpdate;
5727
+ /**
5728
+ * Fetch the last revision which is not empty and not a repeated command
5729
+ *
5730
+ * Ignore repeated commands (REQUEST_REDO command as root command)
5731
+ * Ignore standard undo/redo revisions (that are empty)
5732
+ */
5733
+ private getPossibleRevisionToRepeat;
5734
+ }
5735
+
5736
+ declare class SplitToColumnsPlugin extends UIPlugin {
5737
+ static getters: readonly ["getAutomaticSeparator"];
5738
+ allowDispatch(cmd: Command): CommandResult | CommandResult[];
5739
+ handle(cmd: Command): void;
5740
+ getAutomaticSeparator(): string;
5741
+ private getAutoSeparatorForString;
5742
+ private splitIntoColumns;
5743
+ private getSplittedCols;
5744
+ private splitAndRemoveTrailingEmpty;
5745
+ private willSplittedColsOverwriteContent;
5746
+ private removeMergesInSplitZone;
5747
+ private addColsToAvoidCollisions;
5748
+ private getColsToAddToAvoidCollision;
5749
+ private addColumnsToNotOverflowSheet;
5750
+ private checkSingleColSelected;
5751
+ private checkNonEmptySelector;
5752
+ private checkNotOverwritingContent;
5753
+ private checkSeparatorInSelection;
5754
+ }
5755
+
5756
+ declare class TableComputedStylePlugin extends UIPlugin {
5757
+ static getters: readonly ["getCellTableStyle", "getCellTableBorder"];
5758
+ private tableStyles;
5759
+ handle(cmd: Command): void;
5760
+ finalize(): void;
5761
+ getCellTableStyle(position: CellPosition): Style | undefined;
5762
+ getCellTableBorder(position: CellPosition): Border$1 | undefined;
5763
+ private computeTableStyle;
5764
+ /**
5765
+ * Get the actual table config that will be used to compute the table style. It is different from
5766
+ * the config of the table because of hidden rows and columns in the sheet. For example remove the
5767
+ * hidden rows from config.numberOfHeaders.
5768
+ */
5769
+ private getTableRuntimeConfig;
5770
+ /**
5771
+ * Get a mapping: relative col/row position in the table <=> col/row in the sheet
5772
+ */
5773
+ private getTableMapping;
5774
+ }
5775
+
5706
5776
  declare class HeaderPositionsUIPlugin extends UIPlugin {
5707
5777
  static getters: readonly ["getColDimensions", "getRowDimensions", "getColRowOffset"];
5708
5778
  private headerPositions;
@@ -5787,7 +5857,7 @@ type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof Head
5787
5857
  type Getters = {
5788
5858
  isReadonly: () => boolean;
5789
5859
  isDashboard: () => boolean;
5790
- } & 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>;
5860
+ } & 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>;
5791
5861
 
5792
5862
  type ArgType = "ANY" | "BOOLEAN" | "NUMBER" | "STRING" | "DATE" | "RANGE" | "RANGE<BOOLEAN>" | "RANGE<NUMBER>" | "RANGE<DATE>" | "RANGE<STRING>" | "RANGE<ANY>" | "META";
5793
5863
  interface ArgDefinition {
@@ -6054,6 +6124,7 @@ type ScrollDirection$1 = 1 | 0 | -1 | "reset";
6054
6124
  declare global {
6055
6125
  interface Window {
6056
6126
  Chart: typeof Chart;
6127
+ ChartGeo: typeof ChartGeo;
6057
6128
  }
6058
6129
  }
6059
6130
 
@@ -6586,7 +6657,7 @@ interface ChartSubtypeProperties {
6586
6657
  preview: string;
6587
6658
  }
6588
6659
 
6589
- interface Props$1b {
6660
+ interface Props$1c {
6590
6661
  label?: string;
6591
6662
  value: boolean;
6592
6663
  className?: string;
@@ -6595,7 +6666,7 @@ interface Props$1b {
6595
6666
  disabled?: boolean;
6596
6667
  onChange: (value: boolean) => void;
6597
6668
  }
6598
- declare class Checkbox extends Component<Props$1b, SpreadsheetChildEnv> {
6669
+ declare class Checkbox extends Component<Props$1c, SpreadsheetChildEnv> {
6599
6670
  static template: string;
6600
6671
  static props: {
6601
6672
  label: {
@@ -6630,10 +6701,10 @@ declare class Checkbox extends Component<Props$1b, SpreadsheetChildEnv> {
6630
6701
  onChange(ev: InputEvent): void;
6631
6702
  }
6632
6703
 
6633
- interface Props$1a {
6704
+ interface Props$1b {
6634
6705
  class?: string;
6635
6706
  }
6636
- declare class Section extends Component<Props$1a, SpreadsheetChildEnv> {
6707
+ declare class Section extends Component<Props$1b, SpreadsheetChildEnv> {
6637
6708
  static template: string;
6638
6709
  static props: {
6639
6710
  class: {
@@ -6766,7 +6837,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
6766
6837
  getIndex(rangeId: number | null): number | null;
6767
6838
  }
6768
6839
 
6769
- interface Props$19 {
6840
+ interface Props$1a {
6770
6841
  ranges: string[];
6771
6842
  hasSingleRange?: boolean;
6772
6843
  required?: boolean;
@@ -6789,7 +6860,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
6789
6860
  * onSelectionChanged is called every time the input value
6790
6861
  * changes.
6791
6862
  */
6792
- declare class SelectionInput extends Component<Props$19, SpreadsheetChildEnv> {
6863
+ declare class SelectionInput extends Component<Props$1a, SpreadsheetChildEnv> {
6793
6864
  static template: string;
6794
6865
  static props: {
6795
6866
  ranges: ArrayConstructor;
@@ -6844,13 +6915,13 @@ declare class SelectionInput extends Component<Props$19, SpreadsheetChildEnv> {
6844
6915
  confirm(): void;
6845
6916
  }
6846
6917
 
6847
- interface Props$18 {
6918
+ interface Props$19 {
6848
6919
  ranges: CustomizedDataSet[];
6849
6920
  hasSingleRange?: boolean;
6850
6921
  onSelectionChanged: (ranges: string[]) => void;
6851
6922
  onSelectionConfirmed: () => void;
6852
6923
  }
6853
- declare class ChartDataSeries extends Component<Props$18, SpreadsheetChildEnv> {
6924
+ declare class ChartDataSeries extends Component<Props$19, SpreadsheetChildEnv> {
6854
6925
  static template: string;
6855
6926
  static components: {
6856
6927
  SelectionInput: typeof SelectionInput;
@@ -6870,12 +6941,12 @@ declare class ChartDataSeries extends Component<Props$18, SpreadsheetChildEnv> {
6870
6941
  get title(): string;
6871
6942
  }
6872
6943
 
6873
- interface Props$17 {
6944
+ interface Props$18 {
6874
6945
  messages: string[];
6875
6946
  msgType: "warning" | "error" | "info";
6876
6947
  singleBox?: boolean;
6877
6948
  }
6878
- declare class ValidationMessages extends Component<Props$17, SpreadsheetChildEnv> {
6949
+ declare class ValidationMessages extends Component<Props$18, SpreadsheetChildEnv> {
6879
6950
  static template: string;
6880
6951
  static props: {
6881
6952
  messages: ArrayConstructor;
@@ -6889,10 +6960,10 @@ declare class ValidationMessages extends Component<Props$17, SpreadsheetChildEnv
6889
6960
  get alertBoxes(): string[][];
6890
6961
  }
6891
6962
 
6892
- interface Props$16 {
6963
+ interface Props$17 {
6893
6964
  messages: string[];
6894
6965
  }
6895
- declare class ChartErrorSection extends Component<Props$16, SpreadsheetChildEnv> {
6966
+ declare class ChartErrorSection extends Component<Props$17, SpreadsheetChildEnv> {
6896
6967
  static template: string;
6897
6968
  static components: {
6898
6969
  Section: typeof Section;
@@ -6906,7 +6977,7 @@ declare class ChartErrorSection extends Component<Props$16, SpreadsheetChildEnv>
6906
6977
  };
6907
6978
  }
6908
6979
 
6909
- interface Props$15 {
6980
+ interface Props$16 {
6910
6981
  title?: string;
6911
6982
  range: string;
6912
6983
  isInvalid: boolean;
@@ -6919,7 +6990,7 @@ interface Props$15 {
6919
6990
  onChange: (value: boolean) => void;
6920
6991
  }>;
6921
6992
  }
6922
- declare class ChartLabelRange extends Component<Props$15, SpreadsheetChildEnv> {
6993
+ declare class ChartLabelRange extends Component<Props$16, SpreadsheetChildEnv> {
6923
6994
  static template: string;
6924
6995
  static components: {
6925
6996
  SelectionInput: typeof SelectionInput;
@@ -6940,16 +7011,20 @@ declare class ChartLabelRange extends Component<Props$15, SpreadsheetChildEnv> {
6940
7011
  optional: boolean;
6941
7012
  };
6942
7013
  };
6943
- static defaultProps: Partial<Props$15>;
7014
+ static defaultProps: Partial<Props$16>;
6944
7015
  }
6945
7016
 
6946
- interface Props$14 {
7017
+ interface Props$15 {
6947
7018
  figureId: UID;
6948
7019
  definition: ChartWithDataSetDefinition;
6949
7020
  canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
6950
7021
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
6951
7022
  }
6952
- declare class GenericChartConfigPanel extends Component<Props$14, SpreadsheetChildEnv> {
7023
+ interface ChartPanelState {
7024
+ datasetDispatchResult?: DispatchResult;
7025
+ labelsDispatchResult?: DispatchResult;
7026
+ }
7027
+ declare class GenericChartConfigPanel extends Component<Props$15, SpreadsheetChildEnv> {
6953
7028
  static template: string;
6954
7029
  static components: {
6955
7030
  ChartDataSeries: typeof ChartDataSeries;
@@ -6964,33 +7039,13 @@ declare class GenericChartConfigPanel extends Component<Props$14, SpreadsheetChi
6964
7039
  updateChart: FunctionConstructor;
6965
7040
  canUpdateChart: FunctionConstructor;
6966
7041
  };
6967
- private state;
6968
- private dataSeriesRanges;
7042
+ protected state: ChartPanelState;
7043
+ protected dataSeriesRanges: CustomizedDataSet[];
6969
7044
  private labelRange;
6970
7045
  protected chartTerms: {
6971
- Series: string;
6972
- BackgroundColor: string;
6973
- StackedBarChart: string;
6974
- StackedLineChart: string;
6975
- StackedAreaChart: string;
6976
- StackedColumnChart: string;
6977
- CumulativeData: string;
6978
- TreatLabelsAsText: string;
6979
- AggregatedChart: string;
6980
- Errors: {
6981
- Unexpected: string;
6982
- InvalidDataSet: string;
6983
- InvalidLabelRange: string;
6984
- InvalidScorecardKeyValue: string;
6985
- InvalidScorecardBaseline: string;
6986
- InvalidGaugeDataRange: string;
6987
- EmptyGaugeRangeMin: string;
6988
- GaugeRangeMinNaN: string;
6989
- EmptyGaugeRangeMax: string;
6990
- GaugeRangeMaxNaN: string;
6991
- GaugeRangeMinBiggerThanRangeMax: string;
6992
- GaugeLowerInflectionPointNaN: string;
6993
- GaugeUpperInflectionPointNaN: string;
7046
+ [key: string]: any;
7047
+ GeoChart: {
7048
+ ColorScales: Record<"blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis", string>;
6994
7049
  };
6995
7050
  };
6996
7051
  setup(): void;
@@ -7000,7 +7055,7 @@ declare class GenericChartConfigPanel extends Component<Props$14, SpreadsheetChi
7000
7055
  get dataSetsHaveTitleLabel(): string;
7001
7056
  getLabelRangeOptions(): {
7002
7057
  name: string;
7003
- label: string;
7058
+ label: any;
7004
7059
  value: boolean;
7005
7060
  onChange: (aggregated: boolean) => void;
7006
7061
  }[];
@@ -7053,12 +7108,12 @@ interface Choice$1 {
7053
7108
  value: string;
7054
7109
  label: string;
7055
7110
  }
7056
- interface Props$13 {
7111
+ interface Props$14 {
7057
7112
  choices: Choice$1[];
7058
7113
  onChange: (value: string) => void;
7059
7114
  selectedValue: string;
7060
7115
  }
7061
- declare class BadgeSelection extends Component<Props$13, SpreadsheetChildEnv> {
7116
+ declare class BadgeSelection extends Component<Props$14, SpreadsheetChildEnv> {
7062
7117
  static template: string;
7063
7118
  static props: {
7064
7119
  choices: ArrayConstructor;
@@ -7215,7 +7270,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
7215
7270
  isSameColor(color1: Color, color2: Color): boolean;
7216
7271
  }
7217
7272
 
7218
- interface Props$12 {
7273
+ interface Props$13 {
7219
7274
  currentColor: string | undefined;
7220
7275
  toggleColorPicker: () => void;
7221
7276
  showColorPicker: boolean;
@@ -7226,7 +7281,7 @@ interface Props$12 {
7226
7281
  dropdownMaxHeight?: Pixel;
7227
7282
  class?: string;
7228
7283
  }
7229
- declare class ColorPickerWidget extends Component<Props$12, SpreadsheetChildEnv> {
7284
+ declare class ColorPickerWidget extends Component<Props$13, SpreadsheetChildEnv> {
7230
7285
  static template: string;
7231
7286
  static props: {
7232
7287
  currentColor: {
@@ -7264,6 +7319,66 @@ declare class ColorPickerWidget extends Component<Props$12, SpreadsheetChildEnv>
7264
7319
  get colorPickerAnchorRect(): Rect;
7265
7320
  }
7266
7321
 
7322
+ declare class CellPopoverStore extends SpreadsheetStore {
7323
+ mutators: readonly ["open", "close"];
7324
+ private persistentPopover?;
7325
+ protected hoveredCell: {
7326
+ readonly clear: () => void;
7327
+ readonly hover: (position: Position$1) => void;
7328
+ readonly mutators: readonly ["clear", "hover"];
7329
+ readonly col: number | undefined;
7330
+ readonly row: number | undefined;
7331
+ readonly renderingLayers: readonly ("Chart" | "Background" | "Highlights" | "Clipboard" | "Autofill" | "Selection" | "Headers")[];
7332
+ };
7333
+ handle(cmd: Command): void;
7334
+ open({ col, row }: Position$1, type: CellPopoverType): void;
7335
+ close(): void;
7336
+ get persistentCellPopover(): OpenCellPopover | ClosedCellPopover;
7337
+ get isOpen(): boolean;
7338
+ get cellPopover(): ClosedCellPopover | PositionedCellPopoverComponent;
7339
+ private computePopoverAnchorRect;
7340
+ }
7341
+
7342
+ interface State$8 {
7343
+ isOpen: boolean;
7344
+ }
7345
+ interface Props$12 {
7346
+ currentFontSize: number;
7347
+ class: string;
7348
+ onFontSizeChanged: (fontSize: number) => void;
7349
+ onToggle?: () => void;
7350
+ }
7351
+ declare class FontSizeEditor extends Component<Props$12, SpreadsheetChildEnv> {
7352
+ static template: string;
7353
+ static props: {
7354
+ currentFontSize: NumberConstructor;
7355
+ onFontSizeChanged: FunctionConstructor;
7356
+ onToggle: {
7357
+ type: FunctionConstructor;
7358
+ optional: boolean;
7359
+ };
7360
+ class: StringConstructor;
7361
+ };
7362
+ static components: {
7363
+ Popover: typeof Popover;
7364
+ };
7365
+ fontSizes: number[];
7366
+ dropdown: State$8;
7367
+ private inputRef;
7368
+ private rootEditorRef;
7369
+ private fontSizeListRef;
7370
+ setup(): void;
7371
+ get popoverProps(): PopoverProps;
7372
+ onExternalClick(ev: MouseEvent): void;
7373
+ toggleFontList(): void;
7374
+ closeFontList(): void;
7375
+ private setSize;
7376
+ setSizeFromInput(ev: InputEvent): void;
7377
+ setSizeFromList(fontSizeStr: string): void;
7378
+ onInputFocused(ev: InputEvent): void;
7379
+ onInputKeydown(ev: KeyboardEvent): void;
7380
+ }
7381
+
7267
7382
  interface Props$11 {
7268
7383
  title?: string;
7269
7384
  updateTitle: (title: string) => void;
@@ -7273,12 +7388,14 @@ interface Props$11 {
7273
7388
  updateAlignment?: (string: any) => void;
7274
7389
  updateColor?: (Color: any) => void;
7275
7390
  style: TitleDesign;
7391
+ onFontSizeChanged: (fontSize: number) => void;
7276
7392
  }
7277
7393
  declare class ChartTitle extends Component<Props$11, SpreadsheetChildEnv> {
7278
7394
  static template: string;
7279
7395
  static components: {
7280
7396
  Section: typeof Section;
7281
7397
  ColorPickerWidget: typeof ColorPickerWidget;
7398
+ FontSizeEditor: typeof FontSizeEditor;
7282
7399
  };
7283
7400
  static props: {
7284
7401
  title: {
@@ -7306,10 +7423,8 @@ declare class ChartTitle extends Component<Props$11, SpreadsheetChildEnv> {
7306
7423
  type: FunctionConstructor;
7307
7424
  optional: boolean;
7308
7425
  };
7309
- style: {
7310
- type: ObjectConstructor;
7311
- optional: boolean;
7312
- };
7426
+ style: ObjectConstructor;
7427
+ onFontSizeChanged: FunctionConstructor;
7313
7428
  };
7314
7429
  static defaultProps: {
7315
7430
  title: string;
@@ -7320,6 +7435,7 @@ declare class ChartTitle extends Component<Props$11, SpreadsheetChildEnv> {
7320
7435
  activeTool: string;
7321
7436
  };
7322
7437
  updateTitle(ev: InputEvent): void;
7438
+ updateFontSize(fontSize: number): void;
7323
7439
  toggleDropdownTool(tool: string, ev: MouseEvent): void;
7324
7440
  /**
7325
7441
  * TODO: This is clearly not a goot way to handle external click, but
@@ -7365,6 +7481,7 @@ declare class AxisDesignEditor extends Component<Props$10, SpreadsheetChildEnv>
7365
7481
  label: string;
7366
7482
  }[];
7367
7483
  updateAxisTitleColor(color: Color): void;
7484
+ updateAxisTitleFontSize(fontSize: number): void;
7368
7485
  toggleBoldAxisTitle(): void;
7369
7486
  toggleItalicAxisTitle(): void;
7370
7487
  updateAxisTitleAlignment(align: "left" | "center" | "right"): void;
@@ -7416,6 +7533,7 @@ interface Props$_ {
7416
7533
  figureId: UID;
7417
7534
  definition: ChartDefinition;
7418
7535
  updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
7536
+ defaultChartTitleFontSize?: number;
7419
7537
  }
7420
7538
  declare class GeneralDesignEditor extends Component<Props$_, SpreadsheetChildEnv> {
7421
7539
  static template: string;
@@ -7429,11 +7547,18 @@ declare class GeneralDesignEditor extends Component<Props$_, SpreadsheetChildEnv
7429
7547
  figureId: StringConstructor;
7430
7548
  definition: ObjectConstructor;
7431
7549
  updateChart: FunctionConstructor;
7550
+ defaultChartTitleFontSize: {
7551
+ type: NumberConstructor;
7552
+ optional: boolean;
7553
+ };
7432
7554
  slots: {
7433
7555
  type: ObjectConstructor;
7434
7556
  optional: boolean;
7435
7557
  };
7436
7558
  };
7559
+ static defaultProps: {
7560
+ defaultChartTitleFontSize: number;
7561
+ };
7437
7562
  private state;
7438
7563
  setup(): void;
7439
7564
  get title(): TitleDesign;
@@ -7442,6 +7567,7 @@ declare class GeneralDesignEditor extends Component<Props$_, SpreadsheetChildEnv
7442
7567
  updateTitle(newTitle: string): void;
7443
7568
  get titleStyle(): TitleDesign;
7444
7569
  updateChartTitleColor(color: Color): void;
7570
+ updateChartTitleFontSize(fontSize: number): void;
7445
7571
  toggleBoldChartTitle(): void;
7446
7572
  toggleItalicChartTitle(): void;
7447
7573
  updateChartTitleAlignment(align: "left" | "center" | "right"): void;
@@ -7675,7 +7801,7 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
7675
7801
  get stackedLabel(): string;
7676
7802
  getLabelRangeOptions(): {
7677
7803
  name: string;
7678
- label: string;
7804
+ label: any;
7679
7805
  value: boolean;
7680
7806
  onChange: (aggregated: boolean) => void;
7681
7807
  }[];
@@ -7745,6 +7871,7 @@ declare class ScorecardChartDesignPanel extends Component<Props$R, SpreadsheetCh
7745
7871
  };
7746
7872
  get colorsSectionTitle(): string;
7747
7873
  get humanizeNumbersLabel(): string;
7874
+ get defaultScorecardTitleFontSize(): number;
7748
7875
  updateHumanizeNumbers(humanize: boolean): void;
7749
7876
  translate(term: any): string;
7750
7877
  updateBaselineDescr(ev: any): void;
@@ -8098,7 +8225,7 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
8098
8225
  */
8099
8226
  private insertText;
8100
8227
  private updateTokenColor;
8101
- private getTokenColor;
8228
+ protected getTokenColor(token: EnrichedToken): string;
8102
8229
  private rangeColor;
8103
8230
  /**
8104
8231
  * Compute for each token if it is part of the same
@@ -8308,6 +8435,7 @@ interface AutoCompleteProposal {
8308
8435
  * Key to use for fuzzy search.
8309
8436
  */
8310
8437
  fuzzySearchKey?: string;
8438
+ alwaysExpanded?: boolean;
8311
8439
  }
8312
8440
  interface AutoCompleteProvider {
8313
8441
  proposals: AutoCompleteProposal[];
@@ -8579,7 +8707,7 @@ interface Position {
8579
8707
  top: HeaderIndex;
8580
8708
  left: HeaderIndex;
8581
8709
  }
8582
- interface State$8 {
8710
+ interface State$7 {
8583
8711
  position: Position;
8584
8712
  handler: boolean;
8585
8713
  }
@@ -8589,7 +8717,7 @@ declare class Autofill extends Component<Props$J, SpreadsheetChildEnv> {
8589
8717
  position: ObjectConstructor;
8590
8718
  isVisible: BooleanConstructor;
8591
8719
  };
8592
- state: State$8;
8720
+ state: State$7;
8593
8721
  get style(): string;
8594
8722
  get handlerStyle(): string;
8595
8723
  get styleNextValue(): string;
@@ -8750,6 +8878,7 @@ interface DndState {
8750
8878
  draggedFigure?: Figure;
8751
8879
  horizontalSnap?: Snap<HFigureAxisType>;
8752
8880
  verticalSnap?: Snap<VFigureAxisType>;
8881
+ cancelDnd: (() => void) | undefined;
8753
8882
  }
8754
8883
  /**
8755
8884
  * Each figure ⭐ is positioned inside a container `div` placed and sized
@@ -8846,26 +8975,6 @@ declare class FiguresContainer extends Component<Props$F, SpreadsheetChildEnv> {
8846
8975
  private getSnapLineStyle;
8847
8976
  }
8848
8977
 
8849
- declare class CellPopoverStore extends SpreadsheetStore {
8850
- mutators: readonly ["open", "close"];
8851
- private persistentPopover?;
8852
- protected hoveredCell: {
8853
- readonly clear: () => void;
8854
- readonly hover: (position: Position$1) => void;
8855
- readonly mutators: readonly ["clear", "hover"];
8856
- readonly col: number | undefined;
8857
- readonly row: number | undefined;
8858
- readonly renderingLayers: readonly ("Chart" | "Background" | "Highlights" | "Clipboard" | "Autofill" | "Selection" | "Headers")[];
8859
- };
8860
- handle(cmd: Command): void;
8861
- open({ col, row }: Position$1, type: CellPopoverType): void;
8862
- close(): void;
8863
- get persistentCellPopover(): OpenCellPopover | ClosedCellPopover;
8864
- get isOpen(): boolean;
8865
- get cellPopover(): ClosedCellPopover | PositionedCellPopoverComponent;
8866
- private computePopoverAnchorRect;
8867
- }
8868
-
8869
8978
  interface Props$E {
8870
8979
  cellPosition: CellPosition;
8871
8980
  }
@@ -9296,7 +9405,7 @@ declare class VerticalScrollBar extends Component<Props$v, SpreadsheetChildEnv>
9296
9405
  interface Props$u {
9297
9406
  table: Table;
9298
9407
  }
9299
- interface State$7 {
9408
+ interface State$6 {
9300
9409
  highlightZone: Zone | undefined;
9301
9410
  }
9302
9411
  declare class TableResizer extends Component<Props$u, SpreadsheetChildEnv> {
@@ -9304,7 +9413,7 @@ declare class TableResizer extends Component<Props$u, SpreadsheetChildEnv> {
9304
9413
  static props: {
9305
9414
  table: ObjectConstructor;
9306
9415
  };
9307
- state: State$7;
9416
+ state: State$6;
9308
9417
  setup(): void;
9309
9418
  get containerStyle(): string;
9310
9419
  onMouseDown(ev: MouseEvent): void;
@@ -9423,13 +9532,13 @@ interface DndPartialArgs {
9423
9532
  onCancel?: () => void;
9424
9533
  onDragEnd?: (itemId: UID, indexAtEnd: Pixel) => void;
9425
9534
  }
9426
- interface State$6 {
9535
+ interface State$5 {
9427
9536
  itemsStyle: Record<UID, string>;
9428
9537
  draggedItemId: UID | undefined;
9429
9538
  start: (direction: Direction, args: DndPartialArgs) => void;
9430
9539
  cancel: () => void;
9431
9540
  }
9432
- declare function useDragAndDropListItems(): State$6;
9541
+ declare function useDragAndDropListItems(): State$5;
9433
9542
 
9434
9543
  declare function useHighlightsOnHover(ref: Ref<HTMLElement>, highlightProvider: HighlightProvider): void;
9435
9544
  declare function useHighlights(highlightProvider: HighlightProvider): void;
@@ -9825,6 +9934,7 @@ interface Props$i {
9825
9934
  placeholder?: string;
9826
9935
  class?: string;
9827
9936
  invalid?: boolean;
9937
+ getContextualColoredSymbolToken?: (token: Token) => Color;
9828
9938
  }
9829
9939
  declare class StandaloneComposer extends Component<Props$i, SpreadsheetChildEnv> {
9830
9940
  static template: string;
@@ -9854,6 +9964,10 @@ declare class StandaloneComposer extends Component<Props$i, SpreadsheetChildEnv>
9854
9964
  type: BooleanConstructor;
9855
9965
  optional: boolean;
9856
9966
  };
9967
+ getContextualColoredSymbolToken: {
9968
+ type: FunctionConstructor;
9969
+ optional: boolean;
9970
+ };
9857
9971
  };
9858
9972
  static components: {
9859
9973
  Composer: typeof Composer;
@@ -9901,9 +10015,31 @@ declare class PivotMeasureEditor extends Component<Props$h> {
9901
10015
  updateName(measure: PivotMeasure, userDefinedName?: string): void;
9902
10016
  toggleMeasureVisibility(): void;
9903
10017
  openShowValuesAs(): void;
10018
+ getColoredSymbolToken(token: Token): Color | undefined;
9904
10019
  }
9905
10020
 
9906
10021
  interface Props$g {
10022
+ definition: PivotRuntimeDefinition;
10023
+ pivotId: UID;
10024
+ }
10025
+ declare class PivotSortSection extends Component<Props$g, SpreadsheetChildEnv> {
10026
+ static template: string;
10027
+ static components: {
10028
+ Section: typeof Section;
10029
+ };
10030
+ static props: {
10031
+ definition: ObjectConstructor;
10032
+ pivotId: StringConstructor;
10033
+ };
10034
+ get hasValidSort(): boolean;
10035
+ get sortDescription(): string;
10036
+ get sortValuesAndFields(): {
10037
+ field?: string | undefined;
10038
+ value: string;
10039
+ }[];
10040
+ }
10041
+
10042
+ interface Props$f {
9907
10043
  definition: PivotRuntimeDefinition;
9908
10044
  onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
9909
10045
  unusedGroupableFields: PivotField[];
@@ -9913,7 +10049,7 @@ interface Props$g {
9913
10049
  datetimeGranularities: string[];
9914
10050
  pivotId: UID;
9915
10051
  }
9916
- declare class PivotLayoutConfigurator extends Component<Props$g, SpreadsheetChildEnv> {
10052
+ declare class PivotLayoutConfigurator extends Component<Props$f, SpreadsheetChildEnv> {
9917
10053
  static template: string;
9918
10054
  static components: {
9919
10055
  AddDimensionButton: typeof AddDimensionButton;
@@ -9921,6 +10057,7 @@ declare class PivotLayoutConfigurator extends Component<Props$g, SpreadsheetChil
9921
10057
  PivotDimensionOrder: typeof PivotDimensionOrder;
9922
10058
  PivotDimensionGranularity: typeof PivotDimensionGranularity;
9923
10059
  PivotMeasureEditor: typeof PivotMeasureEditor;
10060
+ PivotSortSection: typeof PivotSortSection;
9924
10061
  };
9925
10062
  static props: {
9926
10063
  definition: ObjectConstructor;
@@ -9956,7 +10093,7 @@ declare class PivotLayoutConfigurator extends Component<Props$g, SpreadsheetChil
9956
10093
  private getMeasureId;
9957
10094
  private getDefaultMeasureAggregator;
9958
10095
  addCalculatedMeasure(): void;
9959
- updateOrder(updateDimension: PivotDimension$1, order?: "asc" | "desc"): void;
10096
+ updateOrder(updateDimension: PivotDimension$1, order?: SortDirection): void;
9960
10097
  updateGranularity(dimension: PivotDimension$1, granularity: Granularity): void;
9961
10098
  getMeasureDescription(measure: PivotMeasure): string;
9962
10099
  }
@@ -9987,13 +10124,18 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
9987
10124
  private isDynamicPivotInViewport;
9988
10125
  private addDefaultDateTimeGranularity;
9989
10126
  private getUnusedGranularities;
10127
+ /**
10128
+ * Check if we want to keep the sorted column when updating the pivot definition. We should remove it if either
10129
+ * the measure is not in the new definition or the columns have changed.
10130
+ */
10131
+ private shouldKeepSortedColumn;
9990
10132
  }
9991
10133
 
9992
- interface Props$f {
10134
+ interface Props$e {
9993
10135
  pivotId: UID;
9994
10136
  flipAxis: () => void;
9995
10137
  }
9996
- declare class PivotTitleSection extends Component<Props$f, SpreadsheetChildEnv> {
10138
+ declare class PivotTitleSection extends Component<Props$e, SpreadsheetChildEnv> {
9997
10139
  static template: string;
9998
10140
  static components: {
9999
10141
  CogWheelMenu: typeof CogWheelMenu;
@@ -10034,7 +10176,7 @@ declare class FunctionRegistry extends Registry<FunctionDescription> {
10034
10176
  }
10035
10177
 
10036
10178
  /**
10037
- * Create a proposal entry for the compose autowcomplete
10179
+ * Create a proposal entry for the composer autocomplete
10038
10180
  * to insert a field name string in a formula.
10039
10181
  */
10040
10182
  declare function makeFieldProposal(field: PivotField, granularity?: Granularity): {
@@ -10077,13 +10219,13 @@ declare function getFirstPivotFunction(tokens: Token[]): {
10077
10219
  */
10078
10220
  declare function getNumberOfPivotFunctions(tokens: Token[]): number;
10079
10221
 
10080
- interface Props$e {
10222
+ interface Props$d {
10081
10223
  figureId: UID;
10082
10224
  definition: ComboChartDefinition;
10083
10225
  canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
10084
10226
  updateChart: (figureId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
10085
10227
  }
10086
- declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$e> {
10228
+ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$d> {
10087
10229
  static template: string;
10088
10230
  static components: {
10089
10231
  RadioSelection: typeof RadioSelection;
@@ -10103,13 +10245,13 @@ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$e> {
10103
10245
  getDataSeriesType(index: number): "line" | "bar";
10104
10246
  }
10105
10247
 
10106
- interface Props$d {
10248
+ interface Props$c {
10107
10249
  figureId: UID;
10108
10250
  definition: RadarChartDefinition;
10109
10251
  canUpdateChart: (figureID: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
10110
10252
  updateChart: (figureId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
10111
10253
  }
10112
- declare class RadarChartDesignPanel extends Component<Props$d, SpreadsheetChildEnv> {
10254
+ declare class RadarChartDesignPanel extends Component<Props$c, SpreadsheetChildEnv> {
10113
10255
  static template: string;
10114
10256
  static components: {
10115
10257
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -10126,13 +10268,13 @@ declare class RadarChartDesignPanel extends Component<Props$d, SpreadsheetChildE
10126
10268
  };
10127
10269
  }
10128
10270
 
10129
- interface Props$c {
10271
+ interface Props$b {
10130
10272
  figureId: UID;
10131
10273
  definition: WaterfallChartDefinition;
10132
10274
  canUpdateChart: (figureID: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
10133
10275
  updateChart: (figureId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
10134
10276
  }
10135
- declare class WaterfallChartDesignPanel extends Component<Props$c, SpreadsheetChildEnv> {
10277
+ declare class WaterfallChartDesignPanel extends Component<Props$b, SpreadsheetChildEnv> {
10136
10278
  static template: string;
10137
10279
  static components: {
10138
10280
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -10187,7 +10329,7 @@ declare class PivotMeasureDisplayPanelStore extends SpreadsheetStore {
10187
10329
  type: string;
10188
10330
  isValid: boolean;
10189
10331
  fieldName: string;
10190
- order?: "desc" | "asc" | undefined;
10332
+ order?: SortDirection | undefined;
10191
10333
  granularity?: string | undefined;
10192
10334
  }[];
10193
10335
  get doesDisplayNeedsValue(): boolean;
@@ -10497,13 +10639,13 @@ declare class Ripple extends Component<RippleProps, SpreadsheetChildEnv> {
10497
10639
  getRippleEffectProps(id: number): RippleEffectProps;
10498
10640
  }
10499
10641
 
10500
- interface Props$b {
10642
+ interface Props$a {
10501
10643
  sheetId: string;
10502
10644
  openContextMenu: (registry: MenuItemRegistry, ev: MouseEvent) => void;
10503
10645
  style?: string;
10504
10646
  onMouseDown: (ev: MouseEvent) => void;
10505
10647
  }
10506
- declare class BottomBarSheet extends Component<Props$b, SpreadsheetChildEnv> {
10648
+ declare class BottomBarSheet extends Component<Props$a, SpreadsheetChildEnv> {
10507
10649
  static template: string;
10508
10650
  static props: {
10509
10651
  sheetId: StringConstructor;
@@ -10554,11 +10696,11 @@ declare class BottomBarSheet extends Component<Props$b, SpreadsheetChildEnv> {
10554
10696
  get sheetColorStyle(): string;
10555
10697
  }
10556
10698
 
10557
- interface Props$a {
10699
+ interface Props$9 {
10558
10700
  openContextMenu: (x: number, y: number, registry: MenuItemRegistry) => void;
10559
10701
  closeContextMenu: () => void;
10560
10702
  }
10561
- declare class BottomBarStatistic extends Component<Props$a, SpreadsheetChildEnv> {
10703
+ declare class BottomBarStatistic extends Component<Props$9, SpreadsheetChildEnv> {
10562
10704
  static template: string;
10563
10705
  static props: {
10564
10706
  openContextMenu: FunctionConstructor;
@@ -10579,13 +10721,13 @@ interface BottomBarSheetItem {
10579
10721
  id: UID;
10580
10722
  name: string;
10581
10723
  }
10582
- interface Props$9 {
10724
+ interface Props$8 {
10583
10725
  onClick: () => void;
10584
10726
  }
10585
10727
  interface BottomBarMenuState extends MenuState {
10586
10728
  menuId: UID | undefined;
10587
10729
  }
10588
- declare class BottomBar extends Component<Props$9, SpreadsheetChildEnv> {
10730
+ declare class BottomBar extends Component<Props$8, SpreadsheetChildEnv> {
10589
10731
  static template: string;
10590
10732
  static props: {
10591
10733
  onClick: FunctionConstructor;
@@ -10641,9 +10783,9 @@ declare class ClickableCellsStore extends SpreadsheetStore {
10641
10783
  get clickableCells(): ClickableCell[];
10642
10784
  }
10643
10785
 
10644
- interface Props$8 {
10786
+ interface Props$7 {
10645
10787
  }
10646
- declare class SpreadsheetDashboard extends Component<Props$8, SpreadsheetChildEnv> {
10788
+ declare class SpreadsheetDashboard extends Component<Props$7, SpreadsheetChildEnv> {
10647
10789
  static template: string;
10648
10790
  static props: {};
10649
10791
  static components: {
@@ -10680,7 +10822,7 @@ declare class SpreadsheetDashboard extends Component<Props$8, SpreadsheetChildEn
10680
10822
  private getGridRect;
10681
10823
  }
10682
10824
 
10683
- interface Props$7 {
10825
+ interface Props$6 {
10684
10826
  group: HeaderGroup;
10685
10827
  layerOffset: number;
10686
10828
  openContextMenu(position: DOMCoordinates, menuItems: Action[]): void;
@@ -10690,7 +10832,7 @@ interface GroupBox {
10690
10832
  headerRect: Rect;
10691
10833
  isEndHidden: boolean;
10692
10834
  }
10693
- declare abstract class AbstractHeaderGroup extends Component<Props$7, SpreadsheetChildEnv> {
10835
+ declare abstract class AbstractHeaderGroup extends Component<Props$6, SpreadsheetChildEnv> {
10694
10836
  static template: string;
10695
10837
  static props: {
10696
10838
  group: ObjectConstructor;
@@ -10722,11 +10864,11 @@ declare class ColGroup extends AbstractHeaderGroup {
10722
10864
  get groupBox(): GroupBox;
10723
10865
  }
10724
10866
 
10725
- interface Props$6 {
10867
+ interface Props$5 {
10726
10868
  dimension: Dimension;
10727
10869
  layers: HeaderGroup[][];
10728
10870
  }
10729
- declare class HeaderGroupContainer extends Component<Props$6, SpreadsheetChildEnv> {
10871
+ declare class HeaderGroupContainer extends Component<Props$5, SpreadsheetChildEnv> {
10730
10872
  static template: string;
10731
10873
  static props: {
10732
10874
  dimension: StringConstructor;
@@ -10872,14 +11014,45 @@ declare namespace ACTION_EDIT {
10872
11014
  };
10873
11015
  }
10874
11016
 
10875
- interface Props$5 {
11017
+ declare class PositionMap<T> {
11018
+ private map;
11019
+ constructor(entries?: Iterable<readonly [CellPosition, T]>);
11020
+ set({ sheetId, col, row }: CellPosition, value: T): void;
11021
+ get({ sheetId, col, row }: CellPosition): T | undefined;
11022
+ getSheet(sheetId: UID): Record<number, Record<number, T>> | undefined;
11023
+ has({ sheetId, col, row }: CellPosition): boolean;
11024
+ delete({ sheetId, col, row }: CellPosition): void;
11025
+ keys(): CellPosition[];
11026
+ keysForSheet(sheetId: UID): CellPosition[];
11027
+ entries(): IterableIterator<[CellPosition, T]>;
11028
+ }
11029
+
11030
+ declare class FormulaFingerprintStore extends SpreadsheetStore {
11031
+ mutators: readonly ["enable", "disable"];
11032
+ private isInvalidated;
11033
+ private fingerprintColors;
11034
+ isEnabled: boolean;
11035
+ colors: PositionMap<Color>;
11036
+ handle(cmd: Command): void;
11037
+ finalize(): void;
11038
+ enable(): void;
11039
+ disable(): void;
11040
+ private computeFingerprints;
11041
+ private colorSpreadZone;
11042
+ private assignColors;
11043
+ private computeFingerprint;
11044
+ private computeFormulaFingerprint;
11045
+ private getLiteralFingerprint;
11046
+ }
11047
+
11048
+ interface Props$4 {
10876
11049
  action: ActionSpec;
10877
11050
  hasTriangleDownIcon?: boolean;
10878
11051
  selectedColor?: string;
10879
11052
  class?: string;
10880
11053
  onClick?: (ev: MouseEvent) => void;
10881
11054
  }
10882
- declare class ActionButton extends Component<Props$5, SpreadsheetChildEnv> {
11055
+ declare class ActionButton extends Component<Props$4, SpreadsheetChildEnv> {
10883
11056
  static template: string;
10884
11057
  static props: {
10885
11058
  action: ObjectConstructor;
@@ -10912,7 +11085,7 @@ declare class ActionButton extends Component<Props$5, SpreadsheetChildEnv> {
10912
11085
  }
10913
11086
 
10914
11087
  type Tool = "borderColorTool" | "borderTypeTool";
10915
- interface State$5 {
11088
+ interface State$4 {
10916
11089
  activeTool: Tool | undefined;
10917
11090
  }
10918
11091
  interface BorderEditorProps {
@@ -10963,7 +11136,7 @@ declare class BorderEditor extends Component<BorderEditorProps, SpreadsheetChild
10963
11136
  el: HTMLElement | null;
10964
11137
  };
10965
11138
  borderStyles: readonly ["thin", "medium", "thick", "dashed", "dotted"];
10966
- state: State$5;
11139
+ state: State$4;
10967
11140
  toggleDropdownTool(tool: Tool): void;
10968
11141
  closeDropdown(): void;
10969
11142
  setBorderPosition(position: BorderPosition): void;
@@ -10974,19 +11147,19 @@ declare class BorderEditor extends Component<BorderEditorProps, SpreadsheetChild
10974
11147
  get lineStylePickerAnchorRect(): Rect;
10975
11148
  }
10976
11149
 
10977
- interface Props$4 {
11150
+ interface Props$3 {
10978
11151
  toggleBorderEditor: () => void;
10979
11152
  showBorderEditor: boolean;
10980
11153
  disabled?: boolean;
10981
11154
  dropdownMaxHeight?: Pixel;
10982
11155
  class?: string;
10983
11156
  }
10984
- interface State$4 {
11157
+ interface State$3 {
10985
11158
  currentColor: Color;
10986
11159
  currentStyle: BorderStyle;
10987
11160
  currentPosition: BorderPosition | undefined;
10988
11161
  }
10989
- declare class BorderEditorWidget extends Component<Props$4, SpreadsheetChildEnv> {
11162
+ declare class BorderEditorWidget extends Component<Props$3, SpreadsheetChildEnv> {
10990
11163
  static template: string;
10991
11164
  static props: {
10992
11165
  toggleBorderEditor: FunctionConstructor;
@@ -11010,7 +11183,7 @@ declare class BorderEditorWidget extends Component<Props$4, SpreadsheetChildEnv>
11010
11183
  borderEditorButtonRef: {
11011
11184
  el: HTMLElement | null;
11012
11185
  };
11013
- state: State$4;
11186
+ state: State$3;
11014
11187
  get borderEditorAnchorRect(): Rect;
11015
11188
  onBorderPositionPicked(position: BorderPosition): void;
11016
11189
  onBorderColorPicked(color: Color): void;
@@ -11034,38 +11207,6 @@ declare class TopBarComposer extends Component<any, SpreadsheetChildEnv> {
11034
11207
  onFocus(selection: ComposerSelection): void;
11035
11208
  }
11036
11209
 
11037
- interface State$3 {
11038
- isOpen: boolean;
11039
- }
11040
- interface Props$3 {
11041
- onToggle: () => void;
11042
- dropdownStyle: string;
11043
- class: string;
11044
- }
11045
- declare class FontSizeEditor extends Component<Props$3, SpreadsheetChildEnv> {
11046
- static template: string;
11047
- static props: {
11048
- onToggle: FunctionConstructor;
11049
- dropdownStyle: StringConstructor;
11050
- class: StringConstructor;
11051
- };
11052
- static components: {};
11053
- fontSizes: number[];
11054
- dropdown: State$3;
11055
- private inputRef;
11056
- private rootEditorRef;
11057
- setup(): void;
11058
- onExternalClick(ev: MouseEvent): void;
11059
- get currentFontSize(): number;
11060
- toggleFontList(): void;
11061
- closeFontList(): void;
11062
- private setSize;
11063
- setSizeFromInput(ev: InputEvent): void;
11064
- setSizeFromList(fontSizeStr: string): void;
11065
- onInputFocused(ev: InputEvent): void;
11066
- onInputKeydown(ev: KeyboardEvent): void;
11067
- }
11068
-
11069
11210
  interface Props$2 {
11070
11211
  tableConfig: TableConfig;
11071
11212
  tableStyle: TableStyle;
@@ -11207,7 +11348,6 @@ declare class TopBar extends Component<Props, SpreadsheetChildEnv> {
11207
11348
  onClick: FunctionConstructor;
11208
11349
  dropdownMaxHeight: NumberConstructor;
11209
11350
  };
11210
- get dropdownStyle(): string;
11211
11351
  static components: {
11212
11352
  ColorPickerWidget: typeof ColorPickerWidget;
11213
11353
  ColorPicker: typeof ColorPicker;
@@ -11229,8 +11369,10 @@ declare class TopBar extends Component<Props, SpreadsheetChildEnv> {
11229
11369
  formatNumberMenuItemSpec: ActionSpec;
11230
11370
  isntToolbarMenu: boolean;
11231
11371
  composerFocusStore: Store<ComposerFocusStore>;
11372
+ fingerprints: Store<FormulaFingerprintStore>;
11232
11373
  setup(): void;
11233
11374
  get topbarComponents(): TopbarComponent[];
11375
+ get currentFontSize(): number;
11234
11376
  onExternalClick(ev: MouseEvent): void;
11235
11377
  onClick(): void;
11236
11378
  onMenuMouseOver(menu: Action, ev: MouseEvent): void;
@@ -11242,6 +11384,7 @@ declare class TopBar extends Component<Props, SpreadsheetChildEnv> {
11242
11384
  updateCellState(): void;
11243
11385
  getMenuName(menu: Action): string;
11244
11386
  setColor(target: string, color: Color): void;
11387
+ setFontSize(fontSize: number): void;
11245
11388
  }
11246
11389
 
11247
11390
  interface SpreadsheetProps extends Partial<NotificationStoreMethods> {
@@ -11335,7 +11478,6 @@ declare const SPREADSHEET_DIMENSIONS: {
11335
11478
  MIN_COL_WIDTH: number;
11336
11479
  HEADER_HEIGHT: number;
11337
11480
  HEADER_WIDTH: number;
11338
- TOPBAR_HEIGHT: number;
11339
11481
  BOTTOMBAR_HEIGHT: number;
11340
11482
  DEFAULT_CELL_WIDTH: number;
11341
11483
  DEFAULT_CELL_HEIGHT: number;
@@ -11390,7 +11532,7 @@ declare const registries: {
11390
11532
  clipboardHandlersRegistries: {
11391
11533
  figureHandlers: Registry<{
11392
11534
  new (getters: Getters, dispatch: {
11393
- <T extends "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" | "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" | "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", C extends Extract<UpdateCellCommand, {
11535
+ <T extends "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" | "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", C extends Extract<UpdateCellCommand, {
11394
11536
  type: T;
11395
11537
  }> | Extract<UpdateCellPositionCommand, {
11396
11538
  type: T;
@@ -11550,6 +11692,8 @@ declare const registries: {
11550
11692
  type: T;
11551
11693
  }> | Extract<EvaluateCellsCommand, {
11552
11694
  type: T;
11695
+ }> | Extract<EvaluateChartsCommand, {
11696
+ type: T;
11553
11697
  }> | Extract<StartChangeHighlightCommand, {
11554
11698
  type: T;
11555
11699
  }> | Extract<StartCommand, {
@@ -11617,7 +11761,7 @@ declare const registries: {
11617
11761
  }> | Extract<PaintFormat, {
11618
11762
  type: T;
11619
11763
  }>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
11620
- <T_1 extends "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" | "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" | "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", C_1 extends Extract<UpdateCellCommand, {
11764
+ <T_1 extends "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" | "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", C_1 extends Extract<UpdateCellCommand, {
11621
11765
  type: T_1;
11622
11766
  }> | Extract<UpdateCellPositionCommand, {
11623
11767
  type: T_1;
@@ -11777,6 +11921,8 @@ declare const registries: {
11777
11921
  type: T_1;
11778
11922
  }> | Extract<EvaluateCellsCommand, {
11779
11923
  type: T_1;
11924
+ }> | Extract<EvaluateChartsCommand, {
11925
+ type: T_1;
11780
11926
  }> | Extract<StartChangeHighlightCommand, {
11781
11927
  type: T_1;
11782
11928
  }> | Extract<StartCommand, {
@@ -11848,7 +11994,7 @@ declare const registries: {
11848
11994
  }>;
11849
11995
  cellHandlers: Registry<{
11850
11996
  new (getters: Getters, dispatch: {
11851
- <T extends "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" | "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" | "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", C extends Extract<UpdateCellCommand, {
11997
+ <T extends "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" | "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", C extends Extract<UpdateCellCommand, {
11852
11998
  type: T;
11853
11999
  }> | Extract<UpdateCellPositionCommand, {
11854
12000
  type: T;
@@ -12008,6 +12154,8 @@ declare const registries: {
12008
12154
  type: T;
12009
12155
  }> | Extract<EvaluateCellsCommand, {
12010
12156
  type: T;
12157
+ }> | Extract<EvaluateChartsCommand, {
12158
+ type: T;
12011
12159
  }> | Extract<StartChangeHighlightCommand, {
12012
12160
  type: T;
12013
12161
  }> | Extract<StartCommand, {
@@ -12075,7 +12223,7 @@ declare const registries: {
12075
12223
  }> | Extract<PaintFormat, {
12076
12224
  type: T;
12077
12225
  }>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
12078
- <T_1 extends "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" | "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" | "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", C_1 extends Extract<UpdateCellCommand, {
12226
+ <T_1 extends "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" | "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", C_1 extends Extract<UpdateCellCommand, {
12079
12227
  type: T_1;
12080
12228
  }> | Extract<UpdateCellPositionCommand, {
12081
12229
  type: T_1;
@@ -12235,6 +12383,8 @@ declare const registries: {
12235
12383
  type: T_1;
12236
12384
  }> | Extract<EvaluateCellsCommand, {
12237
12385
  type: T_1;
12386
+ }> | Extract<EvaluateChartsCommand, {
12387
+ type: T_1;
12238
12388
  }> | Extract<StartChangeHighlightCommand, {
12239
12389
  type: T_1;
12240
12390
  }> | Extract<StartCommand, {
@@ -12369,6 +12519,7 @@ declare const helpers: {
12369
12519
  createPivotFormula: typeof createPivotFormula;
12370
12520
  areDomainArgsFieldsValid: typeof areDomainArgsFieldsValid;
12371
12521
  splitReference: typeof splitReference;
12522
+ sanitizeSheetName: typeof sanitizeSheetName;
12372
12523
  };
12373
12524
  declare const links: {
12374
12525
  isMarkdownLink: typeof isMarkdownLink;
@@ -12465,29 +12616,9 @@ declare const constants: {
12465
12616
  automaticAutofill: boolean;
12466
12617
  };
12467
12618
  ChartTerms: {
12468
- Series: string;
12469
- BackgroundColor: string;
12470
- StackedBarChart: string;
12471
- StackedLineChart: string;
12472
- StackedAreaChart: string;
12473
- StackedColumnChart: string;
12474
- CumulativeData: string;
12475
- TreatLabelsAsText: string;
12476
- AggregatedChart: string;
12477
- Errors: {
12478
- Unexpected: string;
12479
- InvalidDataSet: string;
12480
- InvalidLabelRange: string;
12481
- InvalidScorecardKeyValue: string;
12482
- InvalidScorecardBaseline: string;
12483
- InvalidGaugeDataRange: string;
12484
- EmptyGaugeRangeMin: string;
12485
- GaugeRangeMinNaN: string;
12486
- EmptyGaugeRangeMax: string;
12487
- GaugeRangeMaxNaN: string;
12488
- GaugeRangeMinBiggerThanRangeMax: string;
12489
- GaugeLowerInflectionPointNaN: string;
12490
- GaugeUpperInflectionPointNaN: string;
12619
+ [key: string]: any;
12620
+ GeoChart: {
12621
+ ColorScales: Record<"blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis", string>;
12491
12622
  };
12492
12623
  };
12493
12624
  };
@@ -12497,6 +12628,7 @@ declare const chartHelpers: {
12497
12628
  getLineChartData(definition: GenericDefinition<LineChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
12498
12629
  getPieChartData(definition: GenericDefinition<PieChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
12499
12630
  getRadarChartData(definition: GenericDefinition<RadarChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
12631
+ getGeoChartData(definition: GeoChartDefinition, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): GeoChartRuntimeGenerationArgs;
12500
12632
  getTrendDatasetForBarChart(config: TrendConfiguration, data: any[]): (number | null)[] | undefined;
12501
12633
  getTrendDatasetForLineChart(config: TrendConfiguration, data: any[], labels: string[], axisType: AxisType, locale: Locale): (number | null)[] | undefined;
12502
12634
  canChartParseLabels(labelRange: Range | undefined, getters: Getters): boolean;
@@ -12512,23 +12644,8 @@ declare const chartHelpers: {
12512
12644
  getPieChartDatasets(definition: GenericDefinition<PieChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"pie">[];
12513
12645
  getComboChartDatasets(definition: GenericDefinition<ComboChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"line" | "bar">[];
12514
12646
  getRadarChartDatasets(definition: GenericDefinition<RadarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"radar">[];
12515
- getCommonChartLayout(definition: GenericDefinition<ChartWithDataSetDefinition>): chart_js_dist_types_utils._DeepPartialObject<Partial<{
12516
- autoPadding: boolean;
12517
- padding: chart_js.Scriptable<chart_js_dist_types_geometric.Padding, chart_js.ScriptableContext<keyof chart_js.ChartTypeRegistry>>;
12518
- }>> | undefined;
12519
- getBarChartLayout(definition: GenericDefinition<BarChartDefinition>): chart_js_dist_types_utils._DeepPartialObject<Partial<{
12520
- autoPadding: boolean;
12521
- padding: chart_js.Scriptable<chart_js_dist_types_geometric.Padding, chart_js.ScriptableContext<keyof chart_js.ChartTypeRegistry>>;
12522
- }>> | undefined;
12523
- getLineChartLayout(definition: GenericDefinition<LineChartDefinition>): chart_js_dist_types_utils._DeepPartialObject<Partial<{
12524
- autoPadding: boolean;
12525
- padding: chart_js.Scriptable<chart_js_dist_types_geometric.Padding, chart_js.ScriptableContext<keyof chart_js.ChartTypeRegistry>>;
12526
- }>> | undefined;
12527
- getPieChartLayout(definition: PieChartDefinition): chart_js_dist_types_utils._DeepPartialObject<Partial<{
12528
- autoPadding: boolean;
12529
- padding: chart_js.Scriptable<chart_js_dist_types_geometric.Padding, chart_js.ScriptableContext<keyof chart_js.ChartTypeRegistry>>;
12530
- }>> | undefined;
12531
- getWaterfallChartLayout(definition: WaterfallChartDefinition): chart_js_dist_types_utils._DeepPartialObject<Partial<{
12647
+ getGeoChartDatasets(definition: GenericDefinition<GeoChartDefinition>, args: GeoChartRuntimeGenerationArgs): chart_js.ChartDataset[];
12648
+ getChartLayout(definition: GenericDefinition<ChartWithDataSetDefinition>): chart_js_dist_types_utils._DeepPartialObject<Partial<{
12532
12649
  autoPadding: boolean;
12533
12650
  padding: chart_js.Scriptable<chart_js_dist_types_geometric.Padding, chart_js.ScriptableContext<keyof chart_js.ChartTypeRegistry>>;
12534
12651
  }>> | undefined;
@@ -12546,10 +12663,10 @@ declare const chartHelpers: {
12546
12663
  };
12547
12664
  getBarChartScales(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
12548
12665
  [key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
12549
- }> | undefined;
12666
+ }>;
12550
12667
  getLineChartScales(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
12551
12668
  [key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
12552
- }> | undefined;
12669
+ }>;
12553
12670
  getScatterChartScales(definition: GenericDefinition<ScatterChartDefinition>, args: ChartRuntimeGenerationArgs): {
12554
12671
  x: {
12555
12672
  grid: {
@@ -12942,13 +13059,16 @@ declare const chartHelpers: {
12942
13059
  };
12943
13060
  getWaterfallChartScales(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
12944
13061
  [key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
12945
- }> | undefined;
13062
+ }>;
12946
13063
  getPyramidChartScales(definition: PyramidChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
12947
13064
  [key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
12948
- }> | undefined;
13065
+ }>;
12949
13066
  getRadarChartScales(definition: GenericDefinition<RadarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
12950
13067
  [key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
12951
- }> | undefined;
13068
+ }>;
13069
+ getGeoChartScales(definition: GeoChartDefinition, args: GeoChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
13070
+ [key: string]: chart_js.ScaleOptionsByType<"projection" | keyof chart_js.ColorScaleTypeRegistry>;
13071
+ }>;
12952
13072
  getChartShowValues(definition: ChartWithDataSetDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
12953
13073
  getChartTitle(definition: ChartWithDataSetDefinition): chart_js_dist_types_utils._DeepPartialObject<chart_js.TitleOptions>;
12954
13074
  getBarChartTooltip(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
@@ -12957,6 +13077,7 @@ declare const chartHelpers: {
12957
13077
  getWaterfallChartTooltip(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
12958
13078
  getPyramidChartTooltip(definition: PyramidChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
12959
13079
  getRadarChartTooltip(definition: RadarChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
13080
+ getGeoChartTooltip(definition: GeoChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
12960
13081
  AbstractChart: typeof AbstractChart;
12961
13082
  createBarChartRuntime(chart: BarChart, getters: Getters): BarChartRuntime;
12962
13083
  BarChart: typeof BarChart;
@@ -12973,6 +13094,7 @@ declare const chartHelpers: {
12973
13094
  toExcelLabelRange(getters: CoreGetters, labelRange: Range | undefined, shouldRemoveFirstLabel?: boolean | undefined): string | undefined;
12974
13095
  transformChartDefinitionWithDataSetsWithZone<T extends ChartWithDataSetDefinition>(definition: T, executed: AddColumnsRowsCommand | RemoveColumnsRowsCommand): T;
12975
13096
  chartFontColor(backgroundColor: Color | undefined): Color;
13097
+ chartMutedFontColor(backgroundColor: Color | undefined): Color;
12976
13098
  checkDataset(definition: ChartWithDataSetDefinition): CommandResult;
12977
13099
  checkLabelRange(definition: ChartWithDataSetDefinition): CommandResult;
12978
13100
  shouldRemoveFirstLabel(labelRange: Range | undefined, dataset: DataSet | undefined, dataSetsHaveTitle: boolean): boolean;
@@ -13010,4 +13132,4 @@ declare const chartHelpers: {
13010
13132
  WaterfallChart: typeof WaterfallChart;
13011
13133
  };
13012
13134
 
13013
- export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescription, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartType, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, RevisionsDroppedEvent, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
13135
+ export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescription, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartType, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, RevisionsDroppedEvent, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };