@odoo/o-spreadsheet 18.3.0-alpha.2 → 18.3.0-alpha.3
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.
- package/dist/o-spreadsheet.cjs.js +1971 -844
- package/dist/o-spreadsheet.d.ts +319 -747
- package/dist/o-spreadsheet.esm.js +1971 -844
- package/dist/o-spreadsheet.iife.js +1971 -844
- package/dist/o-spreadsheet.iife.min.js +462 -471
- package/dist/o_spreadsheet.xml +210 -168
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as chart_js from 'chart.js';
|
|
2
|
-
import { ChartConfiguration, Point,
|
|
2
|
+
import chart_js__default, { ChartConfiguration, Point, Color as Color$1, ChartType as ChartType$1 } from 'chart.js';
|
|
3
3
|
import * as ChartGeo from 'chartjs-chart-geo';
|
|
4
4
|
import * as GeoJSON$1 from 'geojson';
|
|
5
5
|
import * as _odoo_owl from '@odoo/owl';
|
|
@@ -28,12 +28,13 @@ type ResizeDirection = -1 | 0 | 1;
|
|
|
28
28
|
/**
|
|
29
29
|
* Image source given to <img src="..."/>
|
|
30
30
|
*/
|
|
31
|
-
type ImageSrc = string;
|
|
31
|
+
type ImageSrc = string & Alias;
|
|
32
32
|
interface Image$1 {
|
|
33
33
|
path: string;
|
|
34
34
|
size: FigureSize;
|
|
35
35
|
mimetype?: string;
|
|
36
36
|
}
|
|
37
|
+
declare const AllowedImageMimeTypes: readonly ["image/avif", "image/bmp", "image/gif", "image/vnd.microsoft.icon", "image/jpeg", "image/png", "image/tiff", "image/webp"];
|
|
37
38
|
|
|
38
39
|
type XLSXExportFile = XLSXExportImageFile | XLSXExportXMLFile;
|
|
39
40
|
interface XLSXExportXMLFile {
|
|
@@ -93,6 +94,26 @@ type ComboChartRuntime = {
|
|
|
93
94
|
background: Color;
|
|
94
95
|
};
|
|
95
96
|
|
|
97
|
+
interface FunnelChartDefinition {
|
|
98
|
+
readonly type: "funnel";
|
|
99
|
+
readonly dataSets: CustomizedDataSet[];
|
|
100
|
+
readonly dataSetsHaveTitle: boolean;
|
|
101
|
+
readonly labelRange?: string;
|
|
102
|
+
readonly title: TitleDesign;
|
|
103
|
+
readonly background?: Color;
|
|
104
|
+
readonly legendPosition: LegendPosition;
|
|
105
|
+
readonly horizontal?: boolean;
|
|
106
|
+
readonly axesDesign?: AxesDesign;
|
|
107
|
+
readonly aggregated?: boolean;
|
|
108
|
+
readonly showValues?: boolean;
|
|
109
|
+
readonly funnelColors?: FunnelChartColors;
|
|
110
|
+
}
|
|
111
|
+
type FunnelChartRuntime = {
|
|
112
|
+
chartJsConfig: ChartConfiguration;
|
|
113
|
+
background: Color;
|
|
114
|
+
};
|
|
115
|
+
type FunnelChartColors = (Color | undefined)[];
|
|
116
|
+
|
|
96
117
|
interface GaugeChartDefinition {
|
|
97
118
|
readonly type: "gauge";
|
|
98
119
|
readonly title: TitleDesign;
|
|
@@ -297,14 +318,14 @@ type WaterfallChartRuntime = {
|
|
|
297
318
|
background: Color;
|
|
298
319
|
};
|
|
299
320
|
|
|
300
|
-
declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall", "pyramid", "radar", "geo"];
|
|
321
|
+
declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall", "pyramid", "radar", "geo", "funnel"];
|
|
301
322
|
type ChartType = (typeof CHART_TYPES)[number];
|
|
302
|
-
type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition | PyramidChartDefinition | RadarChartDefinition | GeoChartDefinition;
|
|
323
|
+
type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition | PyramidChartDefinition | RadarChartDefinition | GeoChartDefinition | FunnelChartDefinition;
|
|
303
324
|
type ChartWithDataSetDefinition = Extract<ChartDefinition, {
|
|
304
325
|
dataSets: CustomizedDataSet[];
|
|
305
326
|
labelRange?: string;
|
|
306
327
|
}>;
|
|
307
|
-
type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime | PyramidChartRuntime | RadarChartRuntime | GeoChartRuntime;
|
|
328
|
+
type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime | PyramidChartRuntime | RadarChartRuntime | GeoChartRuntime | FunnelChartRuntime;
|
|
308
329
|
type ChartRuntime = ChartJSRuntime | ScorecardChartRuntime | GaugeChartRuntime;
|
|
309
330
|
interface LabelValues {
|
|
310
331
|
readonly values: string[];
|
|
@@ -400,6 +421,7 @@ interface ChartCreationContext {
|
|
|
400
421
|
readonly axesDesign?: AxesDesign;
|
|
401
422
|
readonly fillArea?: boolean;
|
|
402
423
|
readonly showValues?: boolean;
|
|
424
|
+
readonly funnelColors?: FunnelChartColors;
|
|
403
425
|
}
|
|
404
426
|
type ChartAxisFormats = {
|
|
405
427
|
[axisId: string]: Format | undefined;
|
|
@@ -1014,6 +1036,9 @@ interface ExcelSheetData extends Omit<SheetData, "figureTables" | "cols" | "rows
|
|
|
1014
1036
|
cellValues: {
|
|
1015
1037
|
[xc: string]: CellValue | undefined;
|
|
1016
1038
|
};
|
|
1039
|
+
formulaSpillRanges: {
|
|
1040
|
+
[xc: string]: string;
|
|
1041
|
+
};
|
|
1017
1042
|
charts: FigureData<ExcelChartDefinition>[];
|
|
1018
1043
|
images: FigureData<Image$1>[];
|
|
1019
1044
|
tables: ExcelTableData[];
|
|
@@ -1584,6 +1609,10 @@ interface FileStore {
|
|
|
1584
1609
|
* Delete a file from the server
|
|
1585
1610
|
*/
|
|
1586
1611
|
delete(filePath: FilePath): Promise<void>;
|
|
1612
|
+
/**
|
|
1613
|
+
* get File from the server
|
|
1614
|
+
*/
|
|
1615
|
+
getFile(filePath: FilePath): Promise<File | Blob>;
|
|
1587
1616
|
}
|
|
1588
1617
|
/**
|
|
1589
1618
|
* ImageProvider can request the user to input an image file before sending it to a server.
|
|
@@ -1593,6 +1622,7 @@ interface ImageProviderInterface {
|
|
|
1593
1622
|
* RequestImage ask the user to input an image file. Then send it to a server trough an FileStore. Finally it return the path and the size of the image in the server.
|
|
1594
1623
|
*/
|
|
1595
1624
|
requestImage(): Promise<Image$1>;
|
|
1625
|
+
uploadFile(file: File | Blob): Promise<Image$1>;
|
|
1596
1626
|
getImageOriginalSize(path: string): Promise<FigureSize>;
|
|
1597
1627
|
}
|
|
1598
1628
|
|
|
@@ -1934,12 +1964,15 @@ interface SpreadsheetClipboardData extends MinimalClipboardData {
|
|
|
1934
1964
|
*/
|
|
1935
1965
|
declare class ClipboardPlugin extends UIPlugin {
|
|
1936
1966
|
static layers: readonly ["Clipboard"];
|
|
1937
|
-
static getters: readonly ["
|
|
1967
|
+
static getters: readonly ["getClipboardTextAndImageContent", "getClipboardId", "getClipboardTextContent", "isCutOperation"];
|
|
1938
1968
|
private status;
|
|
1939
1969
|
private originSheetId?;
|
|
1940
1970
|
private copiedData?;
|
|
1941
1971
|
private _isCutOperation;
|
|
1942
1972
|
private clipboardId;
|
|
1973
|
+
private fileStore?;
|
|
1974
|
+
private uuidGenerator;
|
|
1975
|
+
constructor(config: UIPluginConfig);
|
|
1943
1976
|
allowDispatch(cmd: LocalCommand): CommandResult;
|
|
1944
1977
|
handle(cmd: Command): void;
|
|
1945
1978
|
private convertTextToClipboardData;
|
|
@@ -1967,10 +2000,13 @@ declare class ClipboardPlugin extends UIPlugin {
|
|
|
1967
2000
|
*/
|
|
1968
2001
|
getClipboardTextContent(): string;
|
|
1969
2002
|
getClipboardId(): string;
|
|
1970
|
-
|
|
2003
|
+
getClipboardTextAndImageContent(): Promise<OSClipboardContent>;
|
|
1971
2004
|
private getSheetData;
|
|
1972
2005
|
private getPlainTextContent;
|
|
1973
2006
|
private getHTMLContent;
|
|
2007
|
+
private readFileAsDataURL;
|
|
2008
|
+
private craftImageHTML;
|
|
2009
|
+
private getImageContent;
|
|
1974
2010
|
isCutOperation(): boolean;
|
|
1975
2011
|
private getDeleteCellsTargets;
|
|
1976
2012
|
private getInsertCellsTargets;
|
|
@@ -2326,14 +2362,22 @@ declare class SheetViewPlugin extends UIPlugin {
|
|
|
2326
2362
|
|
|
2327
2363
|
declare enum ClipboardMIMEType {
|
|
2328
2364
|
PlainText = "text/plain",
|
|
2329
|
-
Html = "text/html"
|
|
2365
|
+
Html = "text/html",
|
|
2366
|
+
Image = "image"
|
|
2330
2367
|
}
|
|
2331
2368
|
type OSClipboardContent = {
|
|
2332
|
-
[
|
|
2369
|
+
[key in (typeof AllowedImageMimeTypes)[number]]?: Blob;
|
|
2370
|
+
} & {
|
|
2371
|
+
[ClipboardMIMEType.PlainText]?: string;
|
|
2372
|
+
[ClipboardMIMEType.Html]?: string;
|
|
2333
2373
|
};
|
|
2334
2374
|
type ParsedOSClipboardContent = {
|
|
2335
2375
|
text?: string;
|
|
2336
2376
|
data?: SpreadsheetClipboardData;
|
|
2377
|
+
imageBlob?: Blob;
|
|
2378
|
+
};
|
|
2379
|
+
type ParsedOsClipboardContentWithImageData = ParsedOSClipboardContent & {
|
|
2380
|
+
imageData?: Image$1;
|
|
2337
2381
|
};
|
|
2338
2382
|
interface ClipboardOptions {
|
|
2339
2383
|
isCutOperation: boolean;
|
|
@@ -2411,12 +2455,12 @@ interface ZoneDependentCommand {
|
|
|
2411
2455
|
zone: Zone;
|
|
2412
2456
|
}
|
|
2413
2457
|
declare function isZoneDependent(cmd: CoreCommand): cmd is Extract<CoreCommand, ZoneDependentCommand>;
|
|
2414
|
-
declare const invalidateEvaluationCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT">;
|
|
2415
|
-
declare const invalidateChartEvaluationCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT">;
|
|
2416
|
-
declare const invalidateDependenciesCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT">;
|
|
2417
|
-
declare const invalidateCFEvaluationCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT">;
|
|
2418
|
-
declare const invalidateBordersCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT">;
|
|
2419
|
-
declare const readonlyAllowedCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT">;
|
|
2458
|
+
declare const invalidateEvaluationCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT">;
|
|
2459
|
+
declare const invalidateChartEvaluationCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT">;
|
|
2460
|
+
declare const invalidateDependenciesCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT">;
|
|
2461
|
+
declare const invalidateCFEvaluationCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT">;
|
|
2462
|
+
declare const invalidateBordersCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT">;
|
|
2463
|
+
declare const readonlyAllowedCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT">;
|
|
2420
2464
|
declare const coreTypes: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT">;
|
|
2421
2465
|
declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
|
|
2422
2466
|
declare function canExecuteInReadonly(cmd: Command): boolean;
|
|
@@ -2790,7 +2834,7 @@ interface AutoFillCellCommand {
|
|
|
2790
2834
|
interface PasteFromOSClipboardCommand {
|
|
2791
2835
|
type: "PASTE_FROM_OS_CLIPBOARD";
|
|
2792
2836
|
target: Zone[];
|
|
2793
|
-
clipboardContent:
|
|
2837
|
+
clipboardContent: ParsedOsClipboardContentWithImageData;
|
|
2794
2838
|
pasteOption?: ClipboardPasteOptions;
|
|
2795
2839
|
}
|
|
2796
2840
|
interface AutoresizeColumnsCommand {
|
|
@@ -2967,6 +3011,9 @@ interface SplitPivotFormulaCommand extends PositionDependentCommand {
|
|
|
2967
3011
|
interface PaintFormat extends TargetDependentCommand {
|
|
2968
3012
|
type: "PAINT_FORMAT";
|
|
2969
3013
|
}
|
|
3014
|
+
interface DeleteUnfilteredContentCommand extends TargetDependentCommand {
|
|
3015
|
+
type: "DELETE_UNFILTERED_CONTENT";
|
|
3016
|
+
}
|
|
2970
3017
|
type CoreCommand =
|
|
2971
3018
|
/** CELLS */
|
|
2972
3019
|
UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | ClearCellsCommand | DeleteContentCommand
|
|
@@ -2998,7 +3045,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | ClearCellsCom
|
|
|
2998
3045
|
| UpdateLocaleCommand
|
|
2999
3046
|
/** PIVOT */
|
|
3000
3047
|
| AddPivotCommand | UpdatePivotCommand | InsertPivotCommand | RenamePivotCommand | RemovePivotCommand | DuplicatePivotCommand;
|
|
3001
|
-
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;
|
|
3048
|
+
type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | EvaluateChartsCommand | StartChangeHighlightCommand | StartCommand | AutofillCommand | AutofillSelectCommand | AutofillTableCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | ReplaceSearchCommand | SortCommand | SetDecimalCommand | SetContextualFormatCommand | ResizeViewportCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | MoveViewportToCellCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand | RemoveDuplicatesCommand | TrimWhitespaceCommand | ResizeTableCommand | RefreshPivotCommand | InsertNewPivotCommand | DuplicatePivotInNewSheetCommand | InsertPivotWithTableCommand | SplitPivotFormulaCommand | PaintFormat | DeleteUnfilteredContentCommand;
|
|
3002
3049
|
type Command = CoreCommand | LocalCommand;
|
|
3003
3050
|
/**
|
|
3004
3051
|
* Holds the result of a command dispatch.
|
|
@@ -4438,7 +4485,8 @@ declare class ConditionalFormatPlugin extends CorePlugin<ConditionalFormatState>
|
|
|
4438
4485
|
readonly cfRules: {
|
|
4439
4486
|
[sheet: string]: ConditionalFormatInternal[];
|
|
4440
4487
|
};
|
|
4441
|
-
|
|
4488
|
+
adaptCFFormulas(applyChange: ApplyRangeChange): void;
|
|
4489
|
+
adaptCFRanges(sheetId: UID, applyChange: ApplyRangeChange): void;
|
|
4442
4490
|
adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
|
|
4443
4491
|
allowDispatch(cmd: Command): CommandResult | CommandResult[];
|
|
4444
4492
|
handle(cmd: CoreCommand): void;
|
|
@@ -4491,7 +4539,8 @@ declare class DataValidationPlugin extends CorePlugin<DataValidationState> imple
|
|
|
4491
4539
|
[sheet: string]: DataValidationRule[];
|
|
4492
4540
|
};
|
|
4493
4541
|
adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
|
|
4494
|
-
private
|
|
4542
|
+
private adaptDVFormulas;
|
|
4543
|
+
private adaptDVRanges;
|
|
4495
4544
|
allowDispatch(cmd: Command): CommandResult | CommandResult[];
|
|
4496
4545
|
handle(cmd: CoreCommand): void;
|
|
4497
4546
|
getDataValidationRules(sheetId: UID): DataValidationRule[];
|
|
@@ -4544,10 +4593,10 @@ declare class FigurePlugin extends CorePlugin<FigureState> implements FigureStat
|
|
|
4544
4593
|
exportForExcel(data: ExcelWorkbookData): void;
|
|
4545
4594
|
}
|
|
4546
4595
|
|
|
4547
|
-
interface State$
|
|
4596
|
+
interface State$5 {
|
|
4548
4597
|
groups: Record<UID, Record<Dimension, HeaderGroup[]>>;
|
|
4549
4598
|
}
|
|
4550
|
-
declare class HeaderGroupingPlugin extends CorePlugin<State$
|
|
4599
|
+
declare class HeaderGroupingPlugin extends CorePlugin<State$5> {
|
|
4551
4600
|
static getters: readonly ["getHeaderGroups", "getGroupsLayers", "getVisibleGroupLayers", "getHeaderGroup", "getHeaderGroupsInZone", "isGroupFolded", "isRowFolded", "isColFolded"];
|
|
4552
4601
|
private readonly groups;
|
|
4553
4602
|
allowDispatch(cmd: CoreCommand): CommandResult;
|
|
@@ -6198,7 +6247,7 @@ type ScrollDirection$1 = 1 | 0 | -1 | "reset";
|
|
|
6198
6247
|
|
|
6199
6248
|
declare global {
|
|
6200
6249
|
interface Window {
|
|
6201
|
-
Chart: typeof Chart;
|
|
6250
|
+
Chart: typeof chart_js__default & typeof chart_js__default.Chart;
|
|
6202
6251
|
ChartGeo: typeof ChartGeo;
|
|
6203
6252
|
}
|
|
6204
6253
|
}
|
|
@@ -6433,171 +6482,6 @@ declare function createAction(item: ActionSpec): Action;
|
|
|
6433
6482
|
interface NumberFormatActionSpec extends ActionSpec {
|
|
6434
6483
|
format?: Format | ((env: SpreadsheetChildEnv) => Format);
|
|
6435
6484
|
}
|
|
6436
|
-
/**
|
|
6437
|
-
* Create a format action specification for a given format.
|
|
6438
|
-
* The format can be dynamically computed from the environment.
|
|
6439
|
-
*/
|
|
6440
|
-
declare function createFormatActionSpec({ name, format, descriptionValue, }: {
|
|
6441
|
-
name: string;
|
|
6442
|
-
descriptionValue: CellValue;
|
|
6443
|
-
format: Format | ((env: SpreadsheetChildEnv) => Format);
|
|
6444
|
-
}): NumberFormatActionSpec;
|
|
6445
|
-
declare const formatNumberAutomatic: NumberFormatActionSpec;
|
|
6446
|
-
declare const formatNumberPlainText: NumberFormatActionSpec;
|
|
6447
|
-
declare const formatNumberNumber: NumberFormatActionSpec;
|
|
6448
|
-
declare const formatPercent: ActionSpec;
|
|
6449
|
-
declare const formatNumberPercent: NumberFormatActionSpec;
|
|
6450
|
-
declare const formatNumberCurrency: NumberFormatActionSpec;
|
|
6451
|
-
declare const formatNumberCurrencyRounded: NumberFormatActionSpec;
|
|
6452
|
-
declare const formatNumberAccounting: NumberFormatActionSpec;
|
|
6453
|
-
declare const EXAMPLE_DATE: CellValue;
|
|
6454
|
-
declare const formatCustomCurrency: ActionSpec;
|
|
6455
|
-
declare const formatNumberDate: NumberFormatActionSpec;
|
|
6456
|
-
declare const formatNumberTime: NumberFormatActionSpec;
|
|
6457
|
-
declare const formatNumberDateTime: NumberFormatActionSpec;
|
|
6458
|
-
declare const formatNumberDuration: NumberFormatActionSpec;
|
|
6459
|
-
declare const formatNumberQuarter: NumberFormatActionSpec;
|
|
6460
|
-
declare const formatNumberFullQuarter: NumberFormatActionSpec;
|
|
6461
|
-
declare const moreFormats: ActionSpec;
|
|
6462
|
-
declare const formatNumberFullDateTime: NumberFormatActionSpec;
|
|
6463
|
-
declare const formatNumberFullWeekDayAndMonth: NumberFormatActionSpec;
|
|
6464
|
-
declare const formatNumberDayAndFullMonth: NumberFormatActionSpec;
|
|
6465
|
-
declare const formatNumberShortWeekDay: NumberFormatActionSpec;
|
|
6466
|
-
declare const formatNumberDayAndShortMonth: NumberFormatActionSpec;
|
|
6467
|
-
declare const formatNumberFullMonth: NumberFormatActionSpec;
|
|
6468
|
-
declare const formatNumberShortMonth: NumberFormatActionSpec;
|
|
6469
|
-
declare const incraseDecimalPlaces: ActionSpec;
|
|
6470
|
-
declare const decraseDecimalPlaces: ActionSpec;
|
|
6471
|
-
declare const formatBold: ActionSpec;
|
|
6472
|
-
declare const formatItalic: ActionSpec;
|
|
6473
|
-
declare const formatUnderline: ActionSpec;
|
|
6474
|
-
declare const formatStrikethrough: ActionSpec;
|
|
6475
|
-
declare const formatFontSize: ActionSpec;
|
|
6476
|
-
declare const formatAlignment: ActionSpec;
|
|
6477
|
-
declare const formatAlignmentHorizontal: ActionSpec;
|
|
6478
|
-
declare const formatAlignmentLeft: ActionSpec;
|
|
6479
|
-
declare const formatAlignmentCenter: ActionSpec;
|
|
6480
|
-
declare const formatAlignmentRight: ActionSpec;
|
|
6481
|
-
declare const formatAlignmentVertical: ActionSpec;
|
|
6482
|
-
declare const formatAlignmentTop: ActionSpec;
|
|
6483
|
-
declare const formatAlignmentMiddle: ActionSpec;
|
|
6484
|
-
declare const formatAlignmentBottom: ActionSpec;
|
|
6485
|
-
declare const formatWrappingIcon: ActionSpec;
|
|
6486
|
-
declare const formatWrapping: ActionSpec;
|
|
6487
|
-
declare const formatWrappingOverflow: ActionSpec;
|
|
6488
|
-
declare const formatWrappingWrap: ActionSpec;
|
|
6489
|
-
declare const formatWrappingClip: ActionSpec;
|
|
6490
|
-
declare const textColor: ActionSpec;
|
|
6491
|
-
declare const fillColor: ActionSpec;
|
|
6492
|
-
declare const formatCF: ActionSpec;
|
|
6493
|
-
declare const clearFormat: ActionSpec;
|
|
6494
|
-
|
|
6495
|
-
declare const ACTION_FORMAT_EXAMPLE_DATE: typeof EXAMPLE_DATE;
|
|
6496
|
-
type ACTION_FORMAT_NumberFormatActionSpec = NumberFormatActionSpec;
|
|
6497
|
-
declare const ACTION_FORMAT_clearFormat: typeof clearFormat;
|
|
6498
|
-
declare const ACTION_FORMAT_createFormatActionSpec: typeof createFormatActionSpec;
|
|
6499
|
-
declare const ACTION_FORMAT_decraseDecimalPlaces: typeof decraseDecimalPlaces;
|
|
6500
|
-
declare const ACTION_FORMAT_fillColor: typeof fillColor;
|
|
6501
|
-
declare const ACTION_FORMAT_formatAlignment: typeof formatAlignment;
|
|
6502
|
-
declare const ACTION_FORMAT_formatAlignmentBottom: typeof formatAlignmentBottom;
|
|
6503
|
-
declare const ACTION_FORMAT_formatAlignmentCenter: typeof formatAlignmentCenter;
|
|
6504
|
-
declare const ACTION_FORMAT_formatAlignmentHorizontal: typeof formatAlignmentHorizontal;
|
|
6505
|
-
declare const ACTION_FORMAT_formatAlignmentLeft: typeof formatAlignmentLeft;
|
|
6506
|
-
declare const ACTION_FORMAT_formatAlignmentMiddle: typeof formatAlignmentMiddle;
|
|
6507
|
-
declare const ACTION_FORMAT_formatAlignmentRight: typeof formatAlignmentRight;
|
|
6508
|
-
declare const ACTION_FORMAT_formatAlignmentTop: typeof formatAlignmentTop;
|
|
6509
|
-
declare const ACTION_FORMAT_formatAlignmentVertical: typeof formatAlignmentVertical;
|
|
6510
|
-
declare const ACTION_FORMAT_formatBold: typeof formatBold;
|
|
6511
|
-
declare const ACTION_FORMAT_formatCF: typeof formatCF;
|
|
6512
|
-
declare const ACTION_FORMAT_formatCustomCurrency: typeof formatCustomCurrency;
|
|
6513
|
-
declare const ACTION_FORMAT_formatFontSize: typeof formatFontSize;
|
|
6514
|
-
declare const ACTION_FORMAT_formatItalic: typeof formatItalic;
|
|
6515
|
-
declare const ACTION_FORMAT_formatNumberAccounting: typeof formatNumberAccounting;
|
|
6516
|
-
declare const ACTION_FORMAT_formatNumberAutomatic: typeof formatNumberAutomatic;
|
|
6517
|
-
declare const ACTION_FORMAT_formatNumberCurrency: typeof formatNumberCurrency;
|
|
6518
|
-
declare const ACTION_FORMAT_formatNumberCurrencyRounded: typeof formatNumberCurrencyRounded;
|
|
6519
|
-
declare const ACTION_FORMAT_formatNumberDate: typeof formatNumberDate;
|
|
6520
|
-
declare const ACTION_FORMAT_formatNumberDateTime: typeof formatNumberDateTime;
|
|
6521
|
-
declare const ACTION_FORMAT_formatNumberDayAndFullMonth: typeof formatNumberDayAndFullMonth;
|
|
6522
|
-
declare const ACTION_FORMAT_formatNumberDayAndShortMonth: typeof formatNumberDayAndShortMonth;
|
|
6523
|
-
declare const ACTION_FORMAT_formatNumberDuration: typeof formatNumberDuration;
|
|
6524
|
-
declare const ACTION_FORMAT_formatNumberFullDateTime: typeof formatNumberFullDateTime;
|
|
6525
|
-
declare const ACTION_FORMAT_formatNumberFullMonth: typeof formatNumberFullMonth;
|
|
6526
|
-
declare const ACTION_FORMAT_formatNumberFullQuarter: typeof formatNumberFullQuarter;
|
|
6527
|
-
declare const ACTION_FORMAT_formatNumberFullWeekDayAndMonth: typeof formatNumberFullWeekDayAndMonth;
|
|
6528
|
-
declare const ACTION_FORMAT_formatNumberNumber: typeof formatNumberNumber;
|
|
6529
|
-
declare const ACTION_FORMAT_formatNumberPercent: typeof formatNumberPercent;
|
|
6530
|
-
declare const ACTION_FORMAT_formatNumberPlainText: typeof formatNumberPlainText;
|
|
6531
|
-
declare const ACTION_FORMAT_formatNumberQuarter: typeof formatNumberQuarter;
|
|
6532
|
-
declare const ACTION_FORMAT_formatNumberShortMonth: typeof formatNumberShortMonth;
|
|
6533
|
-
declare const ACTION_FORMAT_formatNumberShortWeekDay: typeof formatNumberShortWeekDay;
|
|
6534
|
-
declare const ACTION_FORMAT_formatNumberTime: typeof formatNumberTime;
|
|
6535
|
-
declare const ACTION_FORMAT_formatPercent: typeof formatPercent;
|
|
6536
|
-
declare const ACTION_FORMAT_formatStrikethrough: typeof formatStrikethrough;
|
|
6537
|
-
declare const ACTION_FORMAT_formatUnderline: typeof formatUnderline;
|
|
6538
|
-
declare const ACTION_FORMAT_formatWrapping: typeof formatWrapping;
|
|
6539
|
-
declare const ACTION_FORMAT_formatWrappingClip: typeof formatWrappingClip;
|
|
6540
|
-
declare const ACTION_FORMAT_formatWrappingIcon: typeof formatWrappingIcon;
|
|
6541
|
-
declare const ACTION_FORMAT_formatWrappingOverflow: typeof formatWrappingOverflow;
|
|
6542
|
-
declare const ACTION_FORMAT_formatWrappingWrap: typeof formatWrappingWrap;
|
|
6543
|
-
declare const ACTION_FORMAT_incraseDecimalPlaces: typeof incraseDecimalPlaces;
|
|
6544
|
-
declare const ACTION_FORMAT_moreFormats: typeof moreFormats;
|
|
6545
|
-
declare const ACTION_FORMAT_textColor: typeof textColor;
|
|
6546
|
-
declare namespace ACTION_FORMAT {
|
|
6547
|
-
export {
|
|
6548
|
-
ACTION_FORMAT_EXAMPLE_DATE as EXAMPLE_DATE,
|
|
6549
|
-
ACTION_FORMAT_NumberFormatActionSpec as NumberFormatActionSpec,
|
|
6550
|
-
ACTION_FORMAT_clearFormat as clearFormat,
|
|
6551
|
-
ACTION_FORMAT_createFormatActionSpec as createFormatActionSpec,
|
|
6552
|
-
ACTION_FORMAT_decraseDecimalPlaces as decraseDecimalPlaces,
|
|
6553
|
-
ACTION_FORMAT_fillColor as fillColor,
|
|
6554
|
-
ACTION_FORMAT_formatAlignment as formatAlignment,
|
|
6555
|
-
ACTION_FORMAT_formatAlignmentBottom as formatAlignmentBottom,
|
|
6556
|
-
ACTION_FORMAT_formatAlignmentCenter as formatAlignmentCenter,
|
|
6557
|
-
ACTION_FORMAT_formatAlignmentHorizontal as formatAlignmentHorizontal,
|
|
6558
|
-
ACTION_FORMAT_formatAlignmentLeft as formatAlignmentLeft,
|
|
6559
|
-
ACTION_FORMAT_formatAlignmentMiddle as formatAlignmentMiddle,
|
|
6560
|
-
ACTION_FORMAT_formatAlignmentRight as formatAlignmentRight,
|
|
6561
|
-
ACTION_FORMAT_formatAlignmentTop as formatAlignmentTop,
|
|
6562
|
-
ACTION_FORMAT_formatAlignmentVertical as formatAlignmentVertical,
|
|
6563
|
-
ACTION_FORMAT_formatBold as formatBold,
|
|
6564
|
-
ACTION_FORMAT_formatCF as formatCF,
|
|
6565
|
-
ACTION_FORMAT_formatCustomCurrency as formatCustomCurrency,
|
|
6566
|
-
ACTION_FORMAT_formatFontSize as formatFontSize,
|
|
6567
|
-
ACTION_FORMAT_formatItalic as formatItalic,
|
|
6568
|
-
ACTION_FORMAT_formatNumberAccounting as formatNumberAccounting,
|
|
6569
|
-
ACTION_FORMAT_formatNumberAutomatic as formatNumberAutomatic,
|
|
6570
|
-
ACTION_FORMAT_formatNumberCurrency as formatNumberCurrency,
|
|
6571
|
-
ACTION_FORMAT_formatNumberCurrencyRounded as formatNumberCurrencyRounded,
|
|
6572
|
-
ACTION_FORMAT_formatNumberDate as formatNumberDate,
|
|
6573
|
-
ACTION_FORMAT_formatNumberDateTime as formatNumberDateTime,
|
|
6574
|
-
ACTION_FORMAT_formatNumberDayAndFullMonth as formatNumberDayAndFullMonth,
|
|
6575
|
-
ACTION_FORMAT_formatNumberDayAndShortMonth as formatNumberDayAndShortMonth,
|
|
6576
|
-
ACTION_FORMAT_formatNumberDuration as formatNumberDuration,
|
|
6577
|
-
ACTION_FORMAT_formatNumberFullDateTime as formatNumberFullDateTime,
|
|
6578
|
-
ACTION_FORMAT_formatNumberFullMonth as formatNumberFullMonth,
|
|
6579
|
-
ACTION_FORMAT_formatNumberFullQuarter as formatNumberFullQuarter,
|
|
6580
|
-
ACTION_FORMAT_formatNumberFullWeekDayAndMonth as formatNumberFullWeekDayAndMonth,
|
|
6581
|
-
ACTION_FORMAT_formatNumberNumber as formatNumberNumber,
|
|
6582
|
-
ACTION_FORMAT_formatNumberPercent as formatNumberPercent,
|
|
6583
|
-
ACTION_FORMAT_formatNumberPlainText as formatNumberPlainText,
|
|
6584
|
-
ACTION_FORMAT_formatNumberQuarter as formatNumberQuarter,
|
|
6585
|
-
ACTION_FORMAT_formatNumberShortMonth as formatNumberShortMonth,
|
|
6586
|
-
ACTION_FORMAT_formatNumberShortWeekDay as formatNumberShortWeekDay,
|
|
6587
|
-
ACTION_FORMAT_formatNumberTime as formatNumberTime,
|
|
6588
|
-
ACTION_FORMAT_formatPercent as formatPercent,
|
|
6589
|
-
ACTION_FORMAT_formatStrikethrough as formatStrikethrough,
|
|
6590
|
-
ACTION_FORMAT_formatUnderline as formatUnderline,
|
|
6591
|
-
ACTION_FORMAT_formatWrapping as formatWrapping,
|
|
6592
|
-
ACTION_FORMAT_formatWrappingClip as formatWrappingClip,
|
|
6593
|
-
ACTION_FORMAT_formatWrappingIcon as formatWrappingIcon,
|
|
6594
|
-
ACTION_FORMAT_formatWrappingOverflow as formatWrappingOverflow,
|
|
6595
|
-
ACTION_FORMAT_formatWrappingWrap as formatWrappingWrap,
|
|
6596
|
-
ACTION_FORMAT_incraseDecimalPlaces as incraseDecimalPlaces,
|
|
6597
|
-
ACTION_FORMAT_moreFormats as moreFormats,
|
|
6598
|
-
ACTION_FORMAT_textColor as textColor,
|
|
6599
|
-
};
|
|
6600
|
-
}
|
|
6601
6485
|
|
|
6602
6486
|
type CellPopoverType = "ErrorToolTip" | "LinkDisplay" | "FilterMenu" | "LinkEditor";
|
|
6603
6487
|
type PopoverPropsPosition = "TopRight" | "BottomLeft";
|
|
@@ -6733,7 +6617,7 @@ interface ChartSubtypeProperties {
|
|
|
6733
6617
|
preview: string;
|
|
6734
6618
|
}
|
|
6735
6619
|
|
|
6736
|
-
interface Props$
|
|
6620
|
+
interface Props$18 {
|
|
6737
6621
|
label?: string;
|
|
6738
6622
|
value: boolean;
|
|
6739
6623
|
className?: string;
|
|
@@ -6742,7 +6626,7 @@ interface Props$1c {
|
|
|
6742
6626
|
disabled?: boolean;
|
|
6743
6627
|
onChange: (value: boolean) => void;
|
|
6744
6628
|
}
|
|
6745
|
-
declare class Checkbox extends Component<Props$
|
|
6629
|
+
declare class Checkbox extends Component<Props$18, SpreadsheetChildEnv> {
|
|
6746
6630
|
static template: string;
|
|
6747
6631
|
static props: {
|
|
6748
6632
|
label: {
|
|
@@ -6777,10 +6661,10 @@ declare class Checkbox extends Component<Props$1c, SpreadsheetChildEnv> {
|
|
|
6777
6661
|
onChange(ev: InputEvent): void;
|
|
6778
6662
|
}
|
|
6779
6663
|
|
|
6780
|
-
interface Props$
|
|
6664
|
+
interface Props$17 {
|
|
6781
6665
|
class?: string;
|
|
6782
6666
|
}
|
|
6783
|
-
declare class Section extends Component<Props$
|
|
6667
|
+
declare class Section extends Component<Props$17, SpreadsheetChildEnv> {
|
|
6784
6668
|
static template: string;
|
|
6785
6669
|
static props: {
|
|
6786
6670
|
class: {
|
|
@@ -6837,7 +6721,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
6837
6721
|
private readonly inputHasSingleRange;
|
|
6838
6722
|
colors: Color[];
|
|
6839
6723
|
mutators: readonly ["resetWithRanges", "focusById", "unfocus", "addEmptyRange", "removeRange", "changeRange", "reset", "confirm", "updateColors"];
|
|
6840
|
-
ranges
|
|
6724
|
+
private ranges;
|
|
6841
6725
|
focusedRangeIndex: number | null;
|
|
6842
6726
|
private inputSheetId;
|
|
6843
6727
|
private focusStore;
|
|
@@ -6914,7 +6798,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
6914
6798
|
getIndex(rangeId: number | null): number | null;
|
|
6915
6799
|
}
|
|
6916
6800
|
|
|
6917
|
-
interface Props$
|
|
6801
|
+
interface Props$16 {
|
|
6918
6802
|
ranges: string[];
|
|
6919
6803
|
hasSingleRange?: boolean;
|
|
6920
6804
|
required?: boolean;
|
|
@@ -6939,7 +6823,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
6939
6823
|
* onSelectionChanged is called every time the input value
|
|
6940
6824
|
* changes.
|
|
6941
6825
|
*/
|
|
6942
|
-
declare class SelectionInput extends Component<Props$
|
|
6826
|
+
declare class SelectionInput extends Component<Props$16, SpreadsheetChildEnv> {
|
|
6943
6827
|
static template: string;
|
|
6944
6828
|
static props: {
|
|
6945
6829
|
ranges: ArrayConstructor;
|
|
@@ -7006,7 +6890,7 @@ declare class SelectionInput extends Component<Props$1a, SpreadsheetChildEnv> {
|
|
|
7006
6890
|
confirm(): void;
|
|
7007
6891
|
}
|
|
7008
6892
|
|
|
7009
|
-
interface Props$
|
|
6893
|
+
interface Props$15 {
|
|
7010
6894
|
ranges: CustomizedDataSet[];
|
|
7011
6895
|
hasSingleRange?: boolean;
|
|
7012
6896
|
onSelectionChanged: (ranges: string[]) => void;
|
|
@@ -7014,7 +6898,7 @@ interface Props$19 {
|
|
|
7014
6898
|
onSelectionRemoved?: (index: number) => void;
|
|
7015
6899
|
onSelectionConfirmed: () => void;
|
|
7016
6900
|
}
|
|
7017
|
-
declare class ChartDataSeries extends Component<Props$
|
|
6901
|
+
declare class ChartDataSeries extends Component<Props$15, SpreadsheetChildEnv> {
|
|
7018
6902
|
static template: string;
|
|
7019
6903
|
static components: {
|
|
7020
6904
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7042,12 +6926,12 @@ declare class ChartDataSeries extends Component<Props$19, SpreadsheetChildEnv> {
|
|
|
7042
6926
|
get title(): string;
|
|
7043
6927
|
}
|
|
7044
6928
|
|
|
7045
|
-
interface Props$
|
|
6929
|
+
interface Props$14 {
|
|
7046
6930
|
messages: string[];
|
|
7047
6931
|
msgType: "warning" | "error" | "info";
|
|
7048
6932
|
singleBox?: boolean;
|
|
7049
6933
|
}
|
|
7050
|
-
declare class ValidationMessages extends Component<Props$
|
|
6934
|
+
declare class ValidationMessages extends Component<Props$14, SpreadsheetChildEnv> {
|
|
7051
6935
|
static template: string;
|
|
7052
6936
|
static props: {
|
|
7053
6937
|
messages: ArrayConstructor;
|
|
@@ -7061,10 +6945,10 @@ declare class ValidationMessages extends Component<Props$18, SpreadsheetChildEnv
|
|
|
7061
6945
|
get alertBoxes(): string[][];
|
|
7062
6946
|
}
|
|
7063
6947
|
|
|
7064
|
-
interface Props$
|
|
6948
|
+
interface Props$13 {
|
|
7065
6949
|
messages: string[];
|
|
7066
6950
|
}
|
|
7067
|
-
declare class ChartErrorSection extends Component<Props$
|
|
6951
|
+
declare class ChartErrorSection extends Component<Props$13, SpreadsheetChildEnv> {
|
|
7068
6952
|
static template: string;
|
|
7069
6953
|
static components: {
|
|
7070
6954
|
Section: typeof Section;
|
|
@@ -7078,7 +6962,7 @@ declare class ChartErrorSection extends Component<Props$17, SpreadsheetChildEnv>
|
|
|
7078
6962
|
};
|
|
7079
6963
|
}
|
|
7080
6964
|
|
|
7081
|
-
interface Props$
|
|
6965
|
+
interface Props$12 {
|
|
7082
6966
|
title?: string;
|
|
7083
6967
|
range: string;
|
|
7084
6968
|
isInvalid: boolean;
|
|
@@ -7091,7 +6975,7 @@ interface Props$16 {
|
|
|
7091
6975
|
onChange: (value: boolean) => void;
|
|
7092
6976
|
}>;
|
|
7093
6977
|
}
|
|
7094
|
-
declare class ChartLabelRange extends Component<Props$
|
|
6978
|
+
declare class ChartLabelRange extends Component<Props$12, SpreadsheetChildEnv> {
|
|
7095
6979
|
static template: string;
|
|
7096
6980
|
static components: {
|
|
7097
6981
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7112,10 +6996,10 @@ declare class ChartLabelRange extends Component<Props$16, SpreadsheetChildEnv> {
|
|
|
7112
6996
|
optional: boolean;
|
|
7113
6997
|
};
|
|
7114
6998
|
};
|
|
7115
|
-
static defaultProps: Partial<Props$
|
|
6999
|
+
static defaultProps: Partial<Props$12>;
|
|
7116
7000
|
}
|
|
7117
7001
|
|
|
7118
|
-
interface Props$
|
|
7002
|
+
interface Props$11 {
|
|
7119
7003
|
figureId: UID;
|
|
7120
7004
|
definition: ChartWithDataSetDefinition;
|
|
7121
7005
|
canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
@@ -7125,7 +7009,7 @@ interface ChartPanelState {
|
|
|
7125
7009
|
datasetDispatchResult?: DispatchResult;
|
|
7126
7010
|
labelsDispatchResult?: DispatchResult;
|
|
7127
7011
|
}
|
|
7128
|
-
declare class GenericChartConfigPanel extends Component<Props$
|
|
7012
|
+
declare class GenericChartConfigPanel extends Component<Props$11, SpreadsheetChildEnv> {
|
|
7129
7013
|
static template: string;
|
|
7130
7014
|
static components: {
|
|
7131
7015
|
ChartDataSeries: typeof ChartDataSeries;
|
|
@@ -7211,12 +7095,12 @@ interface Choice$1 {
|
|
|
7211
7095
|
value: string;
|
|
7212
7096
|
label: string;
|
|
7213
7097
|
}
|
|
7214
|
-
interface Props$
|
|
7098
|
+
interface Props$10 {
|
|
7215
7099
|
choices: Choice$1[];
|
|
7216
7100
|
onChange: (value: string) => void;
|
|
7217
7101
|
selectedValue: string;
|
|
7218
7102
|
}
|
|
7219
|
-
declare class BadgeSelection extends Component<Props$
|
|
7103
|
+
declare class BadgeSelection extends Component<Props$10, SpreadsheetChildEnv> {
|
|
7220
7104
|
static template: string;
|
|
7221
7105
|
static props: {
|
|
7222
7106
|
choices: ArrayConstructor;
|
|
@@ -7233,7 +7117,6 @@ declare enum ComponentsImportance {
|
|
|
7233
7117
|
ScrollBar = 15,
|
|
7234
7118
|
GridPopover = 19,
|
|
7235
7119
|
GridComposer = 20,
|
|
7236
|
-
Dropdown = 21,
|
|
7237
7120
|
IconPicker = 25,
|
|
7238
7121
|
TopBarComposer = 30,
|
|
7239
7122
|
Popover = 35,
|
|
@@ -7260,6 +7143,7 @@ interface PopoverProps {
|
|
|
7260
7143
|
onPopoverHidden?: () => void;
|
|
7261
7144
|
/** Setting popover to allow dynamic zIndex */
|
|
7262
7145
|
zIndex?: Number;
|
|
7146
|
+
class?: string;
|
|
7263
7147
|
}
|
|
7264
7148
|
declare class Popover extends Component<PopoverProps, SpreadsheetChildEnv> {
|
|
7265
7149
|
static template: string;
|
|
@@ -7301,6 +7185,10 @@ declare class Popover extends Component<PopoverProps, SpreadsheetChildEnv> {
|
|
|
7301
7185
|
type: NumberConstructor;
|
|
7302
7186
|
optional: boolean;
|
|
7303
7187
|
};
|
|
7188
|
+
class: {
|
|
7189
|
+
type: StringConstructor;
|
|
7190
|
+
optional: boolean;
|
|
7191
|
+
};
|
|
7304
7192
|
slots: ObjectConstructor;
|
|
7305
7193
|
};
|
|
7306
7194
|
static defaultProps: {
|
|
@@ -7374,7 +7262,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
7374
7262
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
7375
7263
|
}
|
|
7376
7264
|
|
|
7377
|
-
interface Props
|
|
7265
|
+
interface Props$$ {
|
|
7378
7266
|
currentColor: string | undefined;
|
|
7379
7267
|
toggleColorPicker: () => void;
|
|
7380
7268
|
showColorPicker: boolean;
|
|
@@ -7385,7 +7273,7 @@ interface Props$13 {
|
|
|
7385
7273
|
dropdownMaxHeight?: Pixel;
|
|
7386
7274
|
class?: string;
|
|
7387
7275
|
}
|
|
7388
|
-
declare class ColorPickerWidget extends Component<Props
|
|
7276
|
+
declare class ColorPickerWidget extends Component<Props$$, SpreadsheetChildEnv> {
|
|
7389
7277
|
static template: string;
|
|
7390
7278
|
static props: {
|
|
7391
7279
|
currentColor: {
|
|
@@ -7443,16 +7331,17 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
7443
7331
|
private computePopoverAnchorRect;
|
|
7444
7332
|
}
|
|
7445
7333
|
|
|
7446
|
-
interface State$
|
|
7334
|
+
interface State$4 {
|
|
7447
7335
|
isOpen: boolean;
|
|
7448
7336
|
}
|
|
7449
|
-
interface Props$
|
|
7337
|
+
interface Props$_ {
|
|
7450
7338
|
currentFontSize: number;
|
|
7451
7339
|
class: string;
|
|
7452
7340
|
onFontSizeChanged: (fontSize: number) => void;
|
|
7453
7341
|
onToggle?: () => void;
|
|
7342
|
+
onFocusInput?: () => void;
|
|
7454
7343
|
}
|
|
7455
|
-
declare class FontSizeEditor extends Component<Props$
|
|
7344
|
+
declare class FontSizeEditor extends Component<Props$_, SpreadsheetChildEnv> {
|
|
7456
7345
|
static template: string;
|
|
7457
7346
|
static props: {
|
|
7458
7347
|
currentFontSize: NumberConstructor;
|
|
@@ -7461,13 +7350,20 @@ declare class FontSizeEditor extends Component<Props$12, SpreadsheetChildEnv> {
|
|
|
7461
7350
|
type: FunctionConstructor;
|
|
7462
7351
|
optional: boolean;
|
|
7463
7352
|
};
|
|
7353
|
+
onFocusInput: {
|
|
7354
|
+
type: FunctionConstructor;
|
|
7355
|
+
optional: boolean;
|
|
7356
|
+
};
|
|
7464
7357
|
class: StringConstructor;
|
|
7465
7358
|
};
|
|
7359
|
+
static defaultProps: {
|
|
7360
|
+
onFocusInput: () => void;
|
|
7361
|
+
};
|
|
7466
7362
|
static components: {
|
|
7467
7363
|
Popover: typeof Popover;
|
|
7468
7364
|
};
|
|
7469
7365
|
fontSizes: number[];
|
|
7470
|
-
dropdown: State$
|
|
7366
|
+
dropdown: State$4;
|
|
7471
7367
|
private inputRef;
|
|
7472
7368
|
private rootEditorRef;
|
|
7473
7369
|
private fontSizeListRef;
|
|
@@ -7483,7 +7379,7 @@ declare class FontSizeEditor extends Component<Props$12, SpreadsheetChildEnv> {
|
|
|
7483
7379
|
onInputKeydown(ev: KeyboardEvent): void;
|
|
7484
7380
|
}
|
|
7485
7381
|
|
|
7486
|
-
interface Props$
|
|
7382
|
+
interface Props$Z {
|
|
7487
7383
|
title?: string;
|
|
7488
7384
|
updateTitle: (title: string) => void;
|
|
7489
7385
|
name?: string;
|
|
@@ -7494,7 +7390,7 @@ interface Props$11 {
|
|
|
7494
7390
|
style: TitleDesign;
|
|
7495
7391
|
onFontSizeChanged: (fontSize: number) => void;
|
|
7496
7392
|
}
|
|
7497
|
-
declare class ChartTitle extends Component<Props$
|
|
7393
|
+
declare class ChartTitle extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
7498
7394
|
static template: string;
|
|
7499
7395
|
static components: {
|
|
7500
7396
|
Section: typeof Section;
|
|
@@ -7557,13 +7453,13 @@ interface AxisDefinition {
|
|
|
7557
7453
|
id: string;
|
|
7558
7454
|
name: string;
|
|
7559
7455
|
}
|
|
7560
|
-
interface Props$
|
|
7456
|
+
interface Props$Y {
|
|
7561
7457
|
figureId: UID;
|
|
7562
7458
|
definition: ChartWithDataSetDefinition | WaterfallChartDefinition;
|
|
7563
7459
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition | WaterfallChartDefinition>) => DispatchResult;
|
|
7564
7460
|
axesList: AxisDefinition[];
|
|
7565
7461
|
}
|
|
7566
|
-
declare class AxisDesignEditor extends Component<Props$
|
|
7462
|
+
declare class AxisDesignEditor extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
7567
7463
|
static template: string;
|
|
7568
7464
|
static components: {
|
|
7569
7465
|
Section: typeof Section;
|
|
@@ -7594,13 +7490,13 @@ declare class AxisDesignEditor extends Component<Props$10, SpreadsheetChildEnv>
|
|
|
7594
7490
|
updateAxisTitle(text: string): void;
|
|
7595
7491
|
}
|
|
7596
7492
|
|
|
7597
|
-
interface Props
|
|
7493
|
+
interface Props$X {
|
|
7598
7494
|
currentColor?: string;
|
|
7599
7495
|
onColorPicked: (color: string) => void;
|
|
7600
7496
|
title?: string;
|
|
7601
7497
|
disableNoColor?: boolean;
|
|
7602
7498
|
}
|
|
7603
|
-
declare class RoundColorPicker extends Component<Props
|
|
7499
|
+
declare class RoundColorPicker extends Component<Props$X, SpreadsheetChildEnv> {
|
|
7604
7500
|
static template: string;
|
|
7605
7501
|
static components: {
|
|
7606
7502
|
Section: typeof Section;
|
|
@@ -7633,13 +7529,13 @@ declare class RoundColorPicker extends Component<Props$$, SpreadsheetChildEnv> {
|
|
|
7633
7529
|
get buttonStyle(): string;
|
|
7634
7530
|
}
|
|
7635
7531
|
|
|
7636
|
-
interface Props$
|
|
7532
|
+
interface Props$W {
|
|
7637
7533
|
figureId: UID;
|
|
7638
7534
|
definition: ChartDefinition;
|
|
7639
7535
|
updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
7640
7536
|
defaultChartTitleFontSize?: number;
|
|
7641
7537
|
}
|
|
7642
|
-
declare class GeneralDesignEditor extends Component<Props$
|
|
7538
|
+
declare class GeneralDesignEditor extends Component<Props$W, SpreadsheetChildEnv> {
|
|
7643
7539
|
static template: string;
|
|
7644
7540
|
static components: {
|
|
7645
7541
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -7677,12 +7573,12 @@ declare class GeneralDesignEditor extends Component<Props$_, SpreadsheetChildEnv
|
|
|
7677
7573
|
updateChartTitleAlignment(align: "left" | "center" | "right"): void;
|
|
7678
7574
|
}
|
|
7679
7575
|
|
|
7680
|
-
interface Props$
|
|
7576
|
+
interface Props$V {
|
|
7681
7577
|
figureId: UID;
|
|
7682
7578
|
definition: ChartWithDataSetDefinition;
|
|
7683
7579
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7684
7580
|
}
|
|
7685
|
-
declare class ChartLegend extends Component<Props$
|
|
7581
|
+
declare class ChartLegend extends Component<Props$V, SpreadsheetChildEnv> {
|
|
7686
7582
|
static template: string;
|
|
7687
7583
|
static components: {
|
|
7688
7584
|
Section: typeof Section;
|
|
@@ -7699,14 +7595,14 @@ interface Choice {
|
|
|
7699
7595
|
value: unknown;
|
|
7700
7596
|
label: string;
|
|
7701
7597
|
}
|
|
7702
|
-
interface Props$
|
|
7598
|
+
interface Props$U {
|
|
7703
7599
|
choices: Choice[];
|
|
7704
7600
|
onChange: (value: unknown) => void;
|
|
7705
7601
|
selectedValue: string;
|
|
7706
7602
|
name: string;
|
|
7707
7603
|
direction: "horizontal" | "vertical";
|
|
7708
7604
|
}
|
|
7709
|
-
declare class RadioSelection extends Component<Props$
|
|
7605
|
+
declare class RadioSelection extends Component<Props$U, SpreadsheetChildEnv> {
|
|
7710
7606
|
static template: string;
|
|
7711
7607
|
static props: {
|
|
7712
7608
|
choices: ArrayConstructor;
|
|
@@ -7725,13 +7621,13 @@ declare class RadioSelection extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
|
7725
7621
|
};
|
|
7726
7622
|
}
|
|
7727
7623
|
|
|
7728
|
-
interface Props$
|
|
7624
|
+
interface Props$T {
|
|
7729
7625
|
figureId: UID;
|
|
7730
7626
|
definition: ChartWithDataSetDefinition;
|
|
7731
7627
|
canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7732
7628
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7733
7629
|
}
|
|
7734
|
-
declare class SeriesDesignEditor extends Component<Props$
|
|
7630
|
+
declare class SeriesDesignEditor extends Component<Props$T, SpreadsheetChildEnv> {
|
|
7735
7631
|
static template: string;
|
|
7736
7632
|
static components: {
|
|
7737
7633
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -7759,13 +7655,13 @@ declare class SeriesDesignEditor extends Component<Props$X, SpreadsheetChildEnv>
|
|
|
7759
7655
|
getDataSerieLabel(): string | undefined;
|
|
7760
7656
|
}
|
|
7761
7657
|
|
|
7762
|
-
interface Props$
|
|
7658
|
+
interface Props$S {
|
|
7763
7659
|
figureId: UID;
|
|
7764
7660
|
definition: ChartWithDataSetDefinition;
|
|
7765
7661
|
canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7766
7662
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7767
7663
|
}
|
|
7768
|
-
declare class SeriesWithAxisDesignEditor extends Component<Props$
|
|
7664
|
+
declare class SeriesWithAxisDesignEditor extends Component<Props$S, SpreadsheetChildEnv> {
|
|
7769
7665
|
static template: string;
|
|
7770
7666
|
static components: {
|
|
7771
7667
|
SeriesDesignEditor: typeof SeriesDesignEditor;
|
|
@@ -7806,13 +7702,13 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$W, SpreadsheetC
|
|
|
7806
7702
|
updateTrendLineValue(index: number, config: any): void;
|
|
7807
7703
|
}
|
|
7808
7704
|
|
|
7809
|
-
interface Props$
|
|
7705
|
+
interface Props$R {
|
|
7810
7706
|
figureId: UID;
|
|
7811
7707
|
definition: ChartWithDataSetDefinition;
|
|
7812
7708
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7813
7709
|
updateChart: (figureId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7814
7710
|
}
|
|
7815
|
-
declare class ChartWithAxisDesignPanel<P extends Props$
|
|
7711
|
+
declare class ChartWithAxisDesignPanel<P extends Props$R = Props$R> extends Component<P, SpreadsheetChildEnv> {
|
|
7816
7712
|
static template: string;
|
|
7817
7713
|
static components: {
|
|
7818
7714
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -7832,13 +7728,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$V = Props$V> extends Comp
|
|
|
7832
7728
|
get axesList(): AxisDefinition[];
|
|
7833
7729
|
}
|
|
7834
7730
|
|
|
7835
|
-
interface Props$
|
|
7731
|
+
interface Props$Q {
|
|
7836
7732
|
figureId: UID;
|
|
7837
7733
|
definition: GaugeChartDefinition;
|
|
7838
7734
|
canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
7839
7735
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
7840
7736
|
}
|
|
7841
|
-
declare class GaugeChartConfigPanel extends Component<Props$
|
|
7737
|
+
declare class GaugeChartConfigPanel extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
7842
7738
|
static template: string;
|
|
7843
7739
|
static components: {
|
|
7844
7740
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -7902,13 +7798,13 @@ interface EnrichedToken extends Token {
|
|
|
7902
7798
|
isParenthesisLinkedToCursor?: boolean;
|
|
7903
7799
|
}
|
|
7904
7800
|
|
|
7905
|
-
interface Props$
|
|
7801
|
+
interface Props$P {
|
|
7906
7802
|
proposals: AutoCompleteProposal[];
|
|
7907
7803
|
selectedIndex: number | undefined;
|
|
7908
7804
|
onValueSelected: (value: string) => void;
|
|
7909
7805
|
onValueHovered: (index: string) => void;
|
|
7910
7806
|
}
|
|
7911
|
-
declare class TextValueProvider extends Component<Props$
|
|
7807
|
+
declare class TextValueProvider extends Component<Props$P> {
|
|
7912
7808
|
static template: string;
|
|
7913
7809
|
static props: {
|
|
7914
7810
|
proposals: ArrayConstructor;
|
|
@@ -7975,19 +7871,19 @@ declare class ContentEditableHelper {
|
|
|
7975
7871
|
getText(): string;
|
|
7976
7872
|
}
|
|
7977
7873
|
|
|
7978
|
-
interface Props$
|
|
7874
|
+
interface Props$O {
|
|
7979
7875
|
functionName: string;
|
|
7980
7876
|
functionDescription: FunctionDescription;
|
|
7981
7877
|
argToFocus: number;
|
|
7982
7878
|
}
|
|
7983
|
-
declare class FunctionDescriptionProvider extends Component<Props$
|
|
7879
|
+
declare class FunctionDescriptionProvider extends Component<Props$O, SpreadsheetChildEnv> {
|
|
7984
7880
|
static template: string;
|
|
7985
7881
|
static props: {
|
|
7986
7882
|
functionName: StringConstructor;
|
|
7987
7883
|
functionDescription: ObjectConstructor;
|
|
7988
7884
|
argToFocus: NumberConstructor;
|
|
7989
7885
|
};
|
|
7990
|
-
getContext(): Props$
|
|
7886
|
+
getContext(): Props$O;
|
|
7991
7887
|
get formulaArgSeparator(): string;
|
|
7992
7888
|
}
|
|
7993
7889
|
|
|
@@ -8228,7 +8124,9 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
|
|
|
8228
8124
|
};
|
|
8229
8125
|
private compositionActive;
|
|
8230
8126
|
private spreadsheetRect;
|
|
8127
|
+
get assistantStyleProperties(): CSSProperties;
|
|
8231
8128
|
get assistantStyle(): string;
|
|
8129
|
+
get assistantContainerStyle(): string;
|
|
8232
8130
|
shouldProcessInputEvents: boolean;
|
|
8233
8131
|
tokens: EnrichedToken[];
|
|
8234
8132
|
keyMapping: {
|
|
@@ -8348,7 +8246,7 @@ interface AutoCompleteProviderDefinition {
|
|
|
8348
8246
|
*/
|
|
8349
8247
|
interface AutofillRule {
|
|
8350
8248
|
condition: (cell: Cell, cells: (Cell | undefined)[]) => boolean;
|
|
8351
|
-
generateRule: (cell: Cell, cells: (Cell | undefined)[]) => AutofillModifier;
|
|
8249
|
+
generateRule: (cell: Cell, cells: (Cell | undefined)[], direction: DIRECTION) => AutofillModifier;
|
|
8352
8250
|
sequence: number;
|
|
8353
8251
|
}
|
|
8354
8252
|
|
|
@@ -8387,7 +8285,7 @@ declare class MenuItemRegistry extends Registry<ActionSpec> {
|
|
|
8387
8285
|
getMenuItems(): Action[];
|
|
8388
8286
|
}
|
|
8389
8287
|
|
|
8390
|
-
interface Props$
|
|
8288
|
+
interface Props$N {
|
|
8391
8289
|
onConfirm: (content: string) => void;
|
|
8392
8290
|
composerContent: string;
|
|
8393
8291
|
defaultRangeSheetId: UID;
|
|
@@ -8399,7 +8297,7 @@ interface Props$R {
|
|
|
8399
8297
|
invalid?: boolean;
|
|
8400
8298
|
getContextualColoredSymbolToken?: (token: Token) => Color;
|
|
8401
8299
|
}
|
|
8402
|
-
declare class StandaloneComposer extends Component<Props$
|
|
8300
|
+
declare class StandaloneComposer extends Component<Props$N, SpreadsheetChildEnv> {
|
|
8403
8301
|
static template: string;
|
|
8404
8302
|
static props: {
|
|
8405
8303
|
composerContent: {
|
|
@@ -8462,13 +8360,13 @@ interface PanelState {
|
|
|
8462
8360
|
sectionRuleCancelledReasons?: CommandResult[];
|
|
8463
8361
|
sectionRule: SectionRule;
|
|
8464
8362
|
}
|
|
8465
|
-
interface Props$
|
|
8363
|
+
interface Props$M {
|
|
8466
8364
|
figureId: UID;
|
|
8467
8365
|
definition: GaugeChartDefinition;
|
|
8468
8366
|
canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8469
8367
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8470
8368
|
}
|
|
8471
|
-
declare class GaugeChartDesignPanel extends Component<Props$
|
|
8369
|
+
declare class GaugeChartDesignPanel extends Component<Props$M, SpreadsheetChildEnv> {
|
|
8472
8370
|
static template: string;
|
|
8473
8371
|
static components: {
|
|
8474
8372
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -8518,13 +8416,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
8518
8416
|
onUpdateCumulative(cumulative: boolean): void;
|
|
8519
8417
|
}
|
|
8520
8418
|
|
|
8521
|
-
interface Props$
|
|
8419
|
+
interface Props$L {
|
|
8522
8420
|
figureId: UID;
|
|
8523
8421
|
definition: ScorecardChartDefinition;
|
|
8524
8422
|
canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8525
8423
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8526
8424
|
}
|
|
8527
|
-
declare class ScorecardChartConfigPanel extends Component<Props$
|
|
8425
|
+
declare class ScorecardChartConfigPanel extends Component<Props$L, SpreadsheetChildEnv> {
|
|
8528
8426
|
static template: string;
|
|
8529
8427
|
static components: {
|
|
8530
8428
|
SelectionInput: typeof SelectionInput;
|
|
@@ -8553,13 +8451,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$P, SpreadsheetCh
|
|
|
8553
8451
|
}
|
|
8554
8452
|
|
|
8555
8453
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
8556
|
-
interface Props$
|
|
8454
|
+
interface Props$K {
|
|
8557
8455
|
figureId: UID;
|
|
8558
8456
|
definition: ScorecardChartDefinition;
|
|
8559
8457
|
canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8560
8458
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8561
8459
|
}
|
|
8562
|
-
declare class ScorecardChartDesignPanel extends Component<Props$
|
|
8460
|
+
declare class ScorecardChartDesignPanel extends Component<Props$K, SpreadsheetChildEnv> {
|
|
8563
8461
|
static template: string;
|
|
8564
8462
|
static components: {
|
|
8565
8463
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -8658,10 +8556,10 @@ declare class ComposerFocusStore extends SpreadsheetStore {
|
|
|
8658
8556
|
private setComposerContent;
|
|
8659
8557
|
}
|
|
8660
8558
|
|
|
8661
|
-
interface Props$
|
|
8559
|
+
interface Props$J {
|
|
8662
8560
|
figure: Figure;
|
|
8663
8561
|
}
|
|
8664
|
-
declare class ChartJsComponent extends Component<Props$
|
|
8562
|
+
declare class ChartJsComponent extends Component<Props$J, SpreadsheetChildEnv> {
|
|
8665
8563
|
static template: string;
|
|
8666
8564
|
static props: {
|
|
8667
8565
|
figure: ObjectConstructor;
|
|
@@ -8677,10 +8575,10 @@ declare class ChartJsComponent extends Component<Props$N, SpreadsheetChildEnv> {
|
|
|
8677
8575
|
private updateChartJs;
|
|
8678
8576
|
}
|
|
8679
8577
|
|
|
8680
|
-
interface Props$
|
|
8578
|
+
interface Props$I {
|
|
8681
8579
|
figure: Figure;
|
|
8682
8580
|
}
|
|
8683
|
-
declare class ScorecardChart$1 extends Component<Props$
|
|
8581
|
+
declare class ScorecardChart$1 extends Component<Props$I, SpreadsheetChildEnv> {
|
|
8684
8582
|
static template: string;
|
|
8685
8583
|
static props: {
|
|
8686
8584
|
figure: ObjectConstructor;
|
|
@@ -8693,7 +8591,7 @@ declare class ScorecardChart$1 extends Component<Props$M, SpreadsheetChildEnv> {
|
|
|
8693
8591
|
}
|
|
8694
8592
|
|
|
8695
8593
|
type MenuItemOrSeparator = Action | "separator";
|
|
8696
|
-
interface Props$
|
|
8594
|
+
interface Props$H {
|
|
8697
8595
|
position: DOMCoordinates;
|
|
8698
8596
|
menuItems: Action[];
|
|
8699
8597
|
depth: number;
|
|
@@ -8712,7 +8610,7 @@ interface MenuState {
|
|
|
8712
8610
|
menuItems: Action[];
|
|
8713
8611
|
isHoveringChild?: boolean;
|
|
8714
8612
|
}
|
|
8715
|
-
declare class Menu extends Component<Props$
|
|
8613
|
+
declare class Menu extends Component<Props$H, SpreadsheetChildEnv> {
|
|
8716
8614
|
static template: string;
|
|
8717
8615
|
static props: {
|
|
8718
8616
|
position: ObjectConstructor;
|
|
@@ -8788,14 +8686,14 @@ declare class Menu extends Component<Props$L, SpreadsheetChildEnv> {
|
|
|
8788
8686
|
}
|
|
8789
8687
|
|
|
8790
8688
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
8791
|
-
interface Props$
|
|
8689
|
+
interface Props$G {
|
|
8792
8690
|
figure: Figure;
|
|
8793
8691
|
style: string;
|
|
8794
8692
|
onFigureDeleted: () => void;
|
|
8795
8693
|
onMouseDown: (ev: MouseEvent) => void;
|
|
8796
8694
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
8797
8695
|
}
|
|
8798
|
-
declare class FigureComponent extends Component<Props$
|
|
8696
|
+
declare class FigureComponent extends Component<Props$G, SpreadsheetChildEnv> {
|
|
8799
8697
|
static template: string;
|
|
8800
8698
|
static props: {
|
|
8801
8699
|
figure: ObjectConstructor;
|
|
@@ -8844,11 +8742,11 @@ declare class FigureComponent extends Component<Props$K, SpreadsheetChildEnv> {
|
|
|
8844
8742
|
private openContextMenu;
|
|
8845
8743
|
}
|
|
8846
8744
|
|
|
8847
|
-
interface Props$
|
|
8745
|
+
interface Props$F {
|
|
8848
8746
|
figure: Figure;
|
|
8849
8747
|
onFigureDeleted: () => void;
|
|
8850
8748
|
}
|
|
8851
|
-
declare class ChartFigure extends Component<Props$
|
|
8749
|
+
declare class ChartFigure extends Component<Props$F, SpreadsheetChildEnv> {
|
|
8852
8750
|
static template: string;
|
|
8853
8751
|
static props: {
|
|
8854
8752
|
figure: ObjectConstructor;
|
|
@@ -8860,7 +8758,7 @@ declare class ChartFigure extends Component<Props$J, SpreadsheetChildEnv> {
|
|
|
8860
8758
|
get chartComponent(): new (...args: any) => Component;
|
|
8861
8759
|
}
|
|
8862
8760
|
|
|
8863
|
-
interface Props$
|
|
8761
|
+
interface Props$E {
|
|
8864
8762
|
isVisible: boolean;
|
|
8865
8763
|
position: Position;
|
|
8866
8764
|
}
|
|
@@ -8868,17 +8766,17 @@ interface Position {
|
|
|
8868
8766
|
top: HeaderIndex;
|
|
8869
8767
|
left: HeaderIndex;
|
|
8870
8768
|
}
|
|
8871
|
-
interface State$
|
|
8769
|
+
interface State$3 {
|
|
8872
8770
|
position: Position;
|
|
8873
8771
|
handler: boolean;
|
|
8874
8772
|
}
|
|
8875
|
-
declare class Autofill extends Component<Props$
|
|
8773
|
+
declare class Autofill extends Component<Props$E, SpreadsheetChildEnv> {
|
|
8876
8774
|
static template: string;
|
|
8877
8775
|
static props: {
|
|
8878
8776
|
position: ObjectConstructor;
|
|
8879
8777
|
isVisible: BooleanConstructor;
|
|
8880
8778
|
};
|
|
8881
|
-
state: State$
|
|
8779
|
+
state: State$3;
|
|
8882
8780
|
get style(): string;
|
|
8883
8781
|
get handlerStyle(): string;
|
|
8884
8782
|
get styleNextValue(): string;
|
|
@@ -8906,7 +8804,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
8906
8804
|
get tagStyle(): string;
|
|
8907
8805
|
}
|
|
8908
8806
|
|
|
8909
|
-
interface Props$
|
|
8807
|
+
interface Props$D {
|
|
8910
8808
|
gridDims: DOMDimension;
|
|
8911
8809
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
8912
8810
|
}
|
|
@@ -8914,7 +8812,7 @@ interface Props$H {
|
|
|
8914
8812
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
8915
8813
|
* It also applies the style of the cell to the composer input.
|
|
8916
8814
|
*/
|
|
8917
|
-
declare class GridComposer extends Component<Props$
|
|
8815
|
+
declare class GridComposer extends Component<Props$D, SpreadsheetChildEnv> {
|
|
8918
8816
|
static template: string;
|
|
8919
8817
|
static props: {
|
|
8920
8818
|
gridDims: ObjectConstructor;
|
|
@@ -8972,10 +8870,10 @@ declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChild
|
|
|
8972
8870
|
isPositionVisible(position: CellPosition): boolean;
|
|
8973
8871
|
}
|
|
8974
8872
|
|
|
8975
|
-
interface Props$
|
|
8873
|
+
interface Props$C {
|
|
8976
8874
|
cellPosition: CellPosition;
|
|
8977
8875
|
}
|
|
8978
|
-
declare class DataValidationCheckbox extends Component<Props$
|
|
8876
|
+
declare class DataValidationCheckbox extends Component<Props$C, SpreadsheetChildEnv> {
|
|
8979
8877
|
static template: string;
|
|
8980
8878
|
static components: {
|
|
8981
8879
|
Checkbox: typeof Checkbox;
|
|
@@ -8988,10 +8886,10 @@ declare class DataValidationCheckbox extends Component<Props$G, SpreadsheetChild
|
|
|
8988
8886
|
get isDisabled(): boolean;
|
|
8989
8887
|
}
|
|
8990
8888
|
|
|
8991
|
-
interface Props$
|
|
8889
|
+
interface Props$B {
|
|
8992
8890
|
cellPosition: CellPosition;
|
|
8993
8891
|
}
|
|
8994
|
-
declare class DataValidationListIcon extends Component<Props$
|
|
8892
|
+
declare class DataValidationListIcon extends Component<Props$B, SpreadsheetChildEnv> {
|
|
8995
8893
|
static template: string;
|
|
8996
8894
|
static props: {
|
|
8997
8895
|
cellPosition: ObjectConstructor;
|
|
@@ -9021,7 +8919,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
9021
8919
|
}
|
|
9022
8920
|
|
|
9023
8921
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
9024
|
-
interface Props$
|
|
8922
|
+
interface Props$A {
|
|
9025
8923
|
onFigureDeleted: () => void;
|
|
9026
8924
|
}
|
|
9027
8925
|
interface Container {
|
|
@@ -9101,7 +8999,7 @@ interface DndState {
|
|
|
9101
8999
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
9102
9000
|
*
|
|
9103
9001
|
*/
|
|
9104
|
-
declare class FiguresContainer extends Component<Props$
|
|
9002
|
+
declare class FiguresContainer extends Component<Props$A, SpreadsheetChildEnv> {
|
|
9105
9003
|
static template: string;
|
|
9106
9004
|
static props: {
|
|
9107
9005
|
onFigureDeleted: FunctionConstructor;
|
|
@@ -9136,10 +9034,10 @@ declare class FiguresContainer extends Component<Props$E, SpreadsheetChildEnv> {
|
|
|
9136
9034
|
private getSnapLineStyle;
|
|
9137
9035
|
}
|
|
9138
9036
|
|
|
9139
|
-
interface Props$
|
|
9037
|
+
interface Props$z {
|
|
9140
9038
|
cellPosition: CellPosition;
|
|
9141
9039
|
}
|
|
9142
|
-
declare class FilterIcon extends Component<Props$
|
|
9040
|
+
declare class FilterIcon extends Component<Props$z, SpreadsheetChildEnv> {
|
|
9143
9041
|
static template: string;
|
|
9144
9042
|
static props: {
|
|
9145
9043
|
cellPosition: ObjectConstructor;
|
|
@@ -9161,10 +9059,10 @@ declare class FilterIconsOverlay extends Component<{}, SpreadsheetChildEnv> {
|
|
|
9161
9059
|
getFilterHeadersPositions(): CellPosition[];
|
|
9162
9060
|
}
|
|
9163
9061
|
|
|
9164
|
-
interface Props$
|
|
9062
|
+
interface Props$y {
|
|
9165
9063
|
focusGrid: () => void;
|
|
9166
9064
|
}
|
|
9167
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
9065
|
+
declare class GridAddRowsFooter extends Component<Props$y, SpreadsheetChildEnv> {
|
|
9168
9066
|
static template: string;
|
|
9169
9067
|
static props: {
|
|
9170
9068
|
focusGrid: FunctionConstructor;
|
|
@@ -9188,7 +9086,7 @@ declare class GridAddRowsFooter extends Component<Props$C, SpreadsheetChildEnv>
|
|
|
9188
9086
|
private onExternalClick;
|
|
9189
9087
|
}
|
|
9190
9088
|
|
|
9191
|
-
interface Props$
|
|
9089
|
+
interface Props$x {
|
|
9192
9090
|
onCellHovered: (position: Partial<Position$1>) => void;
|
|
9193
9091
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
9194
9092
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers) => void;
|
|
@@ -9198,7 +9096,7 @@ interface Props$B {
|
|
|
9198
9096
|
gridOverlayDimensions: string;
|
|
9199
9097
|
onFigureDeleted: () => void;
|
|
9200
9098
|
}
|
|
9201
|
-
declare class GridOverlay extends Component<Props$
|
|
9099
|
+
declare class GridOverlay extends Component<Props$x, SpreadsheetChildEnv> {
|
|
9202
9100
|
static template: string;
|
|
9203
9101
|
static props: {
|
|
9204
9102
|
onCellHovered: {
|
|
@@ -9256,12 +9154,12 @@ declare class GridOverlay extends Component<Props$B, SpreadsheetChildEnv> {
|
|
|
9256
9154
|
private getCartesianCoordinates;
|
|
9257
9155
|
}
|
|
9258
9156
|
|
|
9259
|
-
interface Props$
|
|
9157
|
+
interface Props$w {
|
|
9260
9158
|
gridRect: Rect;
|
|
9261
9159
|
onClosePopover: () => void;
|
|
9262
9160
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
9263
9161
|
}
|
|
9264
|
-
declare class GridPopover extends Component<Props$
|
|
9162
|
+
declare class GridPopover extends Component<Props$w, SpreadsheetChildEnv> {
|
|
9265
9163
|
static template: string;
|
|
9266
9164
|
static props: {
|
|
9267
9165
|
onClosePopover: FunctionConstructor;
|
|
@@ -9404,13 +9302,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
9404
9302
|
}
|
|
9405
9303
|
|
|
9406
9304
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
9407
|
-
interface Props$
|
|
9305
|
+
interface Props$v {
|
|
9408
9306
|
zone: Zone;
|
|
9409
9307
|
orientation: Orientation$1;
|
|
9410
9308
|
isMoving: boolean;
|
|
9411
9309
|
onMoveHighlight: (x: Pixel, y: Pixel) => void;
|
|
9412
9310
|
}
|
|
9413
|
-
declare class Border extends Component<Props$
|
|
9311
|
+
declare class Border extends Component<Props$v, SpreadsheetChildEnv> {
|
|
9414
9312
|
static template: string;
|
|
9415
9313
|
static props: {
|
|
9416
9314
|
zone: ObjectConstructor;
|
|
@@ -9423,14 +9321,14 @@ declare class Border extends Component<Props$z, SpreadsheetChildEnv> {
|
|
|
9423
9321
|
}
|
|
9424
9322
|
|
|
9425
9323
|
type Orientation = "nw" | "ne" | "sw" | "se";
|
|
9426
|
-
interface Props$
|
|
9324
|
+
interface Props$u {
|
|
9427
9325
|
zone: Zone;
|
|
9428
9326
|
color: Color;
|
|
9429
9327
|
orientation: Orientation;
|
|
9430
9328
|
isResizing: boolean;
|
|
9431
9329
|
onResizeHighlight: (isLeft: boolean, isRight: boolean) => void;
|
|
9432
9330
|
}
|
|
9433
|
-
declare class Corner extends Component<Props$
|
|
9331
|
+
declare class Corner extends Component<Props$u, SpreadsheetChildEnv> {
|
|
9434
9332
|
static template: string;
|
|
9435
9333
|
static props: {
|
|
9436
9334
|
zone: ObjectConstructor;
|
|
@@ -9445,14 +9343,14 @@ declare class Corner extends Component<Props$y, SpreadsheetChildEnv> {
|
|
|
9445
9343
|
onMouseDown(ev: MouseEvent): void;
|
|
9446
9344
|
}
|
|
9447
9345
|
|
|
9448
|
-
interface Props$
|
|
9346
|
+
interface Props$t {
|
|
9449
9347
|
zone: Zone;
|
|
9450
9348
|
color: Color;
|
|
9451
9349
|
}
|
|
9452
9350
|
interface HighlightState {
|
|
9453
9351
|
shiftingMode: "isMoving" | "isResizing" | "none";
|
|
9454
9352
|
}
|
|
9455
|
-
declare class Highlight extends Component<Props$
|
|
9353
|
+
declare class Highlight extends Component<Props$t, SpreadsheetChildEnv> {
|
|
9456
9354
|
static template: string;
|
|
9457
9355
|
static props: {
|
|
9458
9356
|
zone: ObjectConstructor;
|
|
@@ -9469,7 +9367,7 @@ declare class Highlight extends Component<Props$x, SpreadsheetChildEnv> {
|
|
|
9469
9367
|
|
|
9470
9368
|
type ScrollDirection = "horizontal" | "vertical";
|
|
9471
9369
|
|
|
9472
|
-
interface Props$
|
|
9370
|
+
interface Props$s {
|
|
9473
9371
|
width: Pixel;
|
|
9474
9372
|
height: Pixel;
|
|
9475
9373
|
direction: ScrollDirection;
|
|
@@ -9477,7 +9375,7 @@ interface Props$w {
|
|
|
9477
9375
|
offset: Pixel;
|
|
9478
9376
|
onScroll: (offset: Pixel) => void;
|
|
9479
9377
|
}
|
|
9480
|
-
declare class ScrollBar extends Component<Props$
|
|
9378
|
+
declare class ScrollBar extends Component<Props$s> {
|
|
9481
9379
|
static props: {
|
|
9482
9380
|
width: {
|
|
9483
9381
|
type: NumberConstructor;
|
|
@@ -9505,10 +9403,10 @@ declare class ScrollBar extends Component<Props$w> {
|
|
|
9505
9403
|
onScroll(ev: any): void;
|
|
9506
9404
|
}
|
|
9507
9405
|
|
|
9508
|
-
interface Props$
|
|
9406
|
+
interface Props$r {
|
|
9509
9407
|
leftOffset: number;
|
|
9510
9408
|
}
|
|
9511
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
9409
|
+
declare class HorizontalScrollBar extends Component<Props$r, SpreadsheetChildEnv> {
|
|
9512
9410
|
static props: {
|
|
9513
9411
|
leftOffset: {
|
|
9514
9412
|
type: NumberConstructor;
|
|
@@ -9534,10 +9432,10 @@ declare class HorizontalScrollBar extends Component<Props$v, SpreadsheetChildEnv
|
|
|
9534
9432
|
onScroll(offset: any): void;
|
|
9535
9433
|
}
|
|
9536
9434
|
|
|
9537
|
-
interface Props$
|
|
9435
|
+
interface Props$q {
|
|
9538
9436
|
topOffset: number;
|
|
9539
9437
|
}
|
|
9540
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
9438
|
+
declare class VerticalScrollBar extends Component<Props$q, SpreadsheetChildEnv> {
|
|
9541
9439
|
static props: {
|
|
9542
9440
|
topOffset: {
|
|
9543
9441
|
type: NumberConstructor;
|
|
@@ -9563,18 +9461,18 @@ declare class VerticalScrollBar extends Component<Props$u, SpreadsheetChildEnv>
|
|
|
9563
9461
|
onScroll(offset: any): void;
|
|
9564
9462
|
}
|
|
9565
9463
|
|
|
9566
|
-
interface Props$
|
|
9464
|
+
interface Props$p {
|
|
9567
9465
|
table: Table;
|
|
9568
9466
|
}
|
|
9569
|
-
interface State$
|
|
9467
|
+
interface State$2 {
|
|
9570
9468
|
highlightZone: Zone | undefined;
|
|
9571
9469
|
}
|
|
9572
|
-
declare class TableResizer extends Component<Props$
|
|
9470
|
+
declare class TableResizer extends Component<Props$p, SpreadsheetChildEnv> {
|
|
9573
9471
|
static template: string;
|
|
9574
9472
|
static props: {
|
|
9575
9473
|
table: ObjectConstructor;
|
|
9576
9474
|
};
|
|
9577
|
-
state: State$
|
|
9475
|
+
state: State$2;
|
|
9578
9476
|
setup(): void;
|
|
9579
9477
|
get containerStyle(): string;
|
|
9580
9478
|
onMouseDown(ev: MouseEvent): void;
|
|
@@ -9601,10 +9499,10 @@ declare class HoveredCellStore extends SpreadsheetStore {
|
|
|
9601
9499
|
* - a vertical resizer (same, for rows)
|
|
9602
9500
|
*/
|
|
9603
9501
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
9604
|
-
interface Props$
|
|
9502
|
+
interface Props$o {
|
|
9605
9503
|
exposeFocus: (focus: () => void) => void;
|
|
9606
9504
|
}
|
|
9607
|
-
declare class Grid extends Component<Props$
|
|
9505
|
+
declare class Grid extends Component<Props$o, SpreadsheetChildEnv> {
|
|
9608
9506
|
static template: string;
|
|
9609
9507
|
static props: {
|
|
9610
9508
|
exposeFocus: FunctionConstructor;
|
|
@@ -9693,13 +9591,13 @@ interface DndPartialArgs {
|
|
|
9693
9591
|
onCancel?: () => void;
|
|
9694
9592
|
onDragEnd?: (itemId: UID, indexAtEnd: Pixel) => void;
|
|
9695
9593
|
}
|
|
9696
|
-
interface State$
|
|
9594
|
+
interface State$1 {
|
|
9697
9595
|
itemsStyle: Record<UID, string>;
|
|
9698
9596
|
draggedItemId: UID | undefined;
|
|
9699
9597
|
start: (direction: Direction, args: DndPartialArgs) => void;
|
|
9700
9598
|
cancel: () => void;
|
|
9701
9599
|
}
|
|
9702
|
-
declare function useDragAndDropListItems(): State$
|
|
9600
|
+
declare function useDragAndDropListItems(): State$1;
|
|
9703
9601
|
|
|
9704
9602
|
declare function useHighlightsOnHover(ref: Ref<HTMLElement>, highlightProvider: HighlightProvider): void;
|
|
9705
9603
|
declare function useHighlights(highlightProvider: HighlightProvider): void;
|
|
@@ -9713,7 +9611,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
9713
9611
|
private getChartDefinitionFromContextCreation;
|
|
9714
9612
|
}
|
|
9715
9613
|
|
|
9716
|
-
interface Props$
|
|
9614
|
+
interface Props$n {
|
|
9717
9615
|
figureId: UID;
|
|
9718
9616
|
chartPanelStore: MainChartPanelStore;
|
|
9719
9617
|
}
|
|
@@ -9721,7 +9619,7 @@ interface ChartTypePickerState {
|
|
|
9721
9619
|
popoverProps: PopoverProps | undefined;
|
|
9722
9620
|
popoverStyle: string;
|
|
9723
9621
|
}
|
|
9724
|
-
declare class ChartTypePicker extends Component<Props$
|
|
9622
|
+
declare class ChartTypePicker extends Component<Props$n, SpreadsheetChildEnv> {
|
|
9725
9623
|
static template: string;
|
|
9726
9624
|
static components: {
|
|
9727
9625
|
Section: typeof Section;
|
|
@@ -9756,11 +9654,11 @@ declare class ChartTypePicker extends Component<Props$r, SpreadsheetChildEnv> {
|
|
|
9756
9654
|
private closePopover;
|
|
9757
9655
|
}
|
|
9758
9656
|
|
|
9759
|
-
interface Props$
|
|
9657
|
+
interface Props$m {
|
|
9760
9658
|
onCloseSidePanel: () => void;
|
|
9761
9659
|
figureId: UID;
|
|
9762
9660
|
}
|
|
9763
|
-
declare class ChartPanel extends Component<Props$
|
|
9661
|
+
declare class ChartPanel extends Component<Props$m, SpreadsheetChildEnv> {
|
|
9764
9662
|
static template: string;
|
|
9765
9663
|
static components: {
|
|
9766
9664
|
Section: typeof Section;
|
|
@@ -9780,13 +9678,13 @@ declare class ChartPanel extends Component<Props$q, SpreadsheetChildEnv> {
|
|
|
9780
9678
|
private getChartDefinition;
|
|
9781
9679
|
}
|
|
9782
9680
|
|
|
9783
|
-
interface Props$
|
|
9681
|
+
interface Props$l {
|
|
9784
9682
|
figureId: UID;
|
|
9785
9683
|
definition: PieChartDefinition;
|
|
9786
9684
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
9787
9685
|
updateChart: (figureId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
9788
9686
|
}
|
|
9789
|
-
declare class PieChartDesignPanel extends Component<Props$
|
|
9687
|
+
declare class PieChartDesignPanel extends Component<Props$l, SpreadsheetChildEnv> {
|
|
9790
9688
|
static template: string;
|
|
9791
9689
|
static components: {
|
|
9792
9690
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -9805,10 +9703,10 @@ declare class PieChartDesignPanel extends Component<Props$p, SpreadsheetChildEnv
|
|
|
9805
9703
|
};
|
|
9806
9704
|
}
|
|
9807
9705
|
|
|
9808
|
-
interface Props$
|
|
9706
|
+
interface Props$k {
|
|
9809
9707
|
items: ActionSpec[];
|
|
9810
9708
|
}
|
|
9811
|
-
declare class CogWheelMenu extends Component<Props$
|
|
9709
|
+
declare class CogWheelMenu extends Component<Props$k, SpreadsheetChildEnv> {
|
|
9812
9710
|
static template: string;
|
|
9813
9711
|
static components: {
|
|
9814
9712
|
Menu: typeof Menu;
|
|
@@ -9891,14 +9789,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
9891
9789
|
get highlights(): Highlight$1[];
|
|
9892
9790
|
}
|
|
9893
9791
|
|
|
9894
|
-
interface Props$
|
|
9792
|
+
interface Props$j {
|
|
9895
9793
|
deferUpdate: boolean;
|
|
9896
9794
|
isDirty: boolean;
|
|
9897
9795
|
toggleDeferUpdate: (value: boolean) => void;
|
|
9898
9796
|
discard: () => void;
|
|
9899
9797
|
apply: () => void;
|
|
9900
9798
|
}
|
|
9901
|
-
declare class PivotDeferUpdate extends Component<Props$
|
|
9799
|
+
declare class PivotDeferUpdate extends Component<Props$j, SpreadsheetChildEnv> {
|
|
9902
9800
|
static template: string;
|
|
9903
9801
|
static props: {
|
|
9904
9802
|
deferUpdate: BooleanConstructor;
|
|
@@ -9915,11 +9813,11 @@ declare class PivotDeferUpdate extends Component<Props$n, SpreadsheetChildEnv> {
|
|
|
9915
9813
|
get deferUpdatesTooltip(): string;
|
|
9916
9814
|
}
|
|
9917
9815
|
|
|
9918
|
-
interface Props$
|
|
9816
|
+
interface Props$i {
|
|
9919
9817
|
onFieldPicked: (field: string) => void;
|
|
9920
9818
|
fields: PivotField[];
|
|
9921
9819
|
}
|
|
9922
|
-
declare class AddDimensionButton extends Component<Props$
|
|
9820
|
+
declare class AddDimensionButton extends Component<Props$i, SpreadsheetChildEnv> {
|
|
9923
9821
|
static template: string;
|
|
9924
9822
|
static components: {
|
|
9925
9823
|
Popover: typeof Popover;
|
|
@@ -9955,7 +9853,7 @@ declare class AddDimensionButton extends Component<Props$m, SpreadsheetChildEnv>
|
|
|
9955
9853
|
onKeyDown(ev: KeyboardEvent): void;
|
|
9956
9854
|
}
|
|
9957
9855
|
|
|
9958
|
-
interface Props$
|
|
9856
|
+
interface Props$h {
|
|
9959
9857
|
value: string;
|
|
9960
9858
|
onChange: (value: string) => void;
|
|
9961
9859
|
class?: string;
|
|
@@ -9963,7 +9861,7 @@ interface Props$l {
|
|
|
9963
9861
|
placeholder?: string;
|
|
9964
9862
|
autofocus?: boolean;
|
|
9965
9863
|
}
|
|
9966
|
-
declare class TextInput extends Component<Props$
|
|
9864
|
+
declare class TextInput extends Component<Props$h, SpreadsheetChildEnv> {
|
|
9967
9865
|
static template: string;
|
|
9968
9866
|
static props: {
|
|
9969
9867
|
value: StringConstructor;
|
|
@@ -9993,13 +9891,13 @@ declare class TextInput extends Component<Props$l, SpreadsheetChildEnv> {
|
|
|
9993
9891
|
onMouseUp(ev: MouseEvent): void;
|
|
9994
9892
|
}
|
|
9995
9893
|
|
|
9996
|
-
interface Props$
|
|
9894
|
+
interface Props$g {
|
|
9997
9895
|
dimension: PivotCoreDimension | PivotCoreMeasure;
|
|
9998
9896
|
onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
|
|
9999
9897
|
onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
|
|
10000
9898
|
type: "row" | "col" | "measure";
|
|
10001
9899
|
}
|
|
10002
|
-
declare class PivotDimension extends Component<Props$
|
|
9900
|
+
declare class PivotDimension extends Component<Props$g, SpreadsheetChildEnv> {
|
|
10003
9901
|
static template: string;
|
|
10004
9902
|
static props: {
|
|
10005
9903
|
dimension: ObjectConstructor;
|
|
@@ -10023,13 +9921,13 @@ declare class PivotDimension extends Component<Props$k, SpreadsheetChildEnv> {
|
|
|
10023
9921
|
updateName(name: string): void;
|
|
10024
9922
|
}
|
|
10025
9923
|
|
|
10026
|
-
interface Props$
|
|
9924
|
+
interface Props$f {
|
|
10027
9925
|
dimension: PivotDimension$1;
|
|
10028
9926
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
10029
9927
|
availableGranularities: Set<string>;
|
|
10030
9928
|
allGranularities: string[];
|
|
10031
9929
|
}
|
|
10032
|
-
declare class PivotDimensionGranularity extends Component<Props$
|
|
9930
|
+
declare class PivotDimensionGranularity extends Component<Props$f, SpreadsheetChildEnv> {
|
|
10033
9931
|
static template: string;
|
|
10034
9932
|
static props: {
|
|
10035
9933
|
dimension: ObjectConstructor;
|
|
@@ -10054,11 +9952,11 @@ declare class PivotDimensionGranularity extends Component<Props$j, SpreadsheetCh
|
|
|
10054
9952
|
};
|
|
10055
9953
|
}
|
|
10056
9954
|
|
|
10057
|
-
interface Props$
|
|
9955
|
+
interface Props$e {
|
|
10058
9956
|
dimension: PivotDimension$1;
|
|
10059
9957
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
10060
9958
|
}
|
|
10061
|
-
declare class PivotDimensionOrder extends Component<Props$
|
|
9959
|
+
declare class PivotDimensionOrder extends Component<Props$e, SpreadsheetChildEnv> {
|
|
10062
9960
|
static template: string;
|
|
10063
9961
|
static props: {
|
|
10064
9962
|
dimension: ObjectConstructor;
|
|
@@ -10093,7 +9991,7 @@ declare function createPivotFormula(formulaId: string, cell: PivotTableCell): st
|
|
|
10093
9991
|
*/
|
|
10094
9992
|
declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type" | "displayName" | "granularity">, groupValue: any): CellValue;
|
|
10095
9993
|
|
|
10096
|
-
interface Props$
|
|
9994
|
+
interface Props$d {
|
|
10097
9995
|
pivotId: string;
|
|
10098
9996
|
definition: PivotRuntimeDefinition;
|
|
10099
9997
|
measure: PivotMeasure;
|
|
@@ -10101,7 +9999,7 @@ interface Props$h {
|
|
|
10101
9999
|
onRemoved: () => void;
|
|
10102
10000
|
generateMeasureId: (fieldName: string, aggregator?: string) => string;
|
|
10103
10001
|
}
|
|
10104
|
-
declare class PivotMeasureEditor extends Component<Props$
|
|
10002
|
+
declare class PivotMeasureEditor extends Component<Props$d> {
|
|
10105
10003
|
static template: string;
|
|
10106
10004
|
static components: {
|
|
10107
10005
|
PivotDimension: typeof PivotDimension;
|
|
@@ -10125,11 +10023,11 @@ declare class PivotMeasureEditor extends Component<Props$h> {
|
|
|
10125
10023
|
getColoredSymbolToken(token: Token): Color | undefined;
|
|
10126
10024
|
}
|
|
10127
10025
|
|
|
10128
|
-
interface Props$
|
|
10026
|
+
interface Props$c {
|
|
10129
10027
|
definition: PivotRuntimeDefinition;
|
|
10130
10028
|
pivotId: UID;
|
|
10131
10029
|
}
|
|
10132
|
-
declare class PivotSortSection extends Component<Props$
|
|
10030
|
+
declare class PivotSortSection extends Component<Props$c, SpreadsheetChildEnv> {
|
|
10133
10031
|
static template: string;
|
|
10134
10032
|
static components: {
|
|
10135
10033
|
Section: typeof Section;
|
|
@@ -10146,7 +10044,7 @@ declare class PivotSortSection extends Component<Props$g, SpreadsheetChildEnv> {
|
|
|
10146
10044
|
}[];
|
|
10147
10045
|
}
|
|
10148
10046
|
|
|
10149
|
-
interface Props$
|
|
10047
|
+
interface Props$b {
|
|
10150
10048
|
definition: PivotRuntimeDefinition;
|
|
10151
10049
|
onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
10152
10050
|
unusedGroupableFields: PivotField[];
|
|
@@ -10157,7 +10055,7 @@ interface Props$f {
|
|
|
10157
10055
|
getScrollableContainerEl?: () => HTMLElement;
|
|
10158
10056
|
pivotId: UID;
|
|
10159
10057
|
}
|
|
10160
|
-
declare class PivotLayoutConfigurator extends Component<Props$
|
|
10058
|
+
declare class PivotLayoutConfigurator extends Component<Props$b, SpreadsheetChildEnv> {
|
|
10161
10059
|
static template: string;
|
|
10162
10060
|
static components: {
|
|
10163
10061
|
AddDimensionButton: typeof AddDimensionButton;
|
|
@@ -10233,8 +10131,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
10233
10131
|
applyUpdate(): void;
|
|
10234
10132
|
discardPendingUpdate(): void;
|
|
10235
10133
|
update(definitionUpdate: Partial<PivotCoreDefinition>): void;
|
|
10236
|
-
|
|
10237
|
-
|
|
10134
|
+
/**
|
|
10135
|
+
* @returns true if the updated pivot is visible in the viewport only as a
|
|
10136
|
+
* static pivot and not as a dynamic pivot
|
|
10137
|
+
*/
|
|
10138
|
+
private isUpdatedPivotVisibleInViewportOnlyAsStaticPivot;
|
|
10238
10139
|
private addDefaultDateTimeGranularity;
|
|
10239
10140
|
private getUnusedGranularities;
|
|
10240
10141
|
/**
|
|
@@ -10244,11 +10145,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
10244
10145
|
private shouldKeepSortedColumn;
|
|
10245
10146
|
}
|
|
10246
10147
|
|
|
10247
|
-
interface Props$
|
|
10148
|
+
interface Props$a {
|
|
10248
10149
|
pivotId: UID;
|
|
10249
10150
|
flipAxis: () => void;
|
|
10250
10151
|
}
|
|
10251
|
-
declare class PivotTitleSection extends Component<Props$
|
|
10152
|
+
declare class PivotTitleSection extends Component<Props$a, SpreadsheetChildEnv> {
|
|
10252
10153
|
static template: string;
|
|
10253
10154
|
static components: {
|
|
10254
10155
|
CogWheelMenu: typeof CogWheelMenu;
|
|
@@ -10332,13 +10233,13 @@ declare function getFirstPivotFunction(tokens: Token[]): {
|
|
|
10332
10233
|
*/
|
|
10333
10234
|
declare function getNumberOfPivotFunctions(tokens: Token[]): number;
|
|
10334
10235
|
|
|
10335
|
-
interface Props$
|
|
10236
|
+
interface Props$9 {
|
|
10336
10237
|
figureId: UID;
|
|
10337
10238
|
definition: ComboChartDefinition;
|
|
10338
10239
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
10339
10240
|
updateChart: (figureId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
10340
10241
|
}
|
|
10341
|
-
declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$
|
|
10242
|
+
declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$9> {
|
|
10342
10243
|
static template: string;
|
|
10343
10244
|
static components: {
|
|
10344
10245
|
RadioSelection: typeof RadioSelection;
|
|
@@ -10358,13 +10259,13 @@ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$d> {
|
|
|
10358
10259
|
getDataSeriesType(index: number): "line" | "bar";
|
|
10359
10260
|
}
|
|
10360
10261
|
|
|
10361
|
-
interface Props$
|
|
10262
|
+
interface Props$8 {
|
|
10362
10263
|
figureId: UID;
|
|
10363
10264
|
definition: RadarChartDefinition;
|
|
10364
10265
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
|
|
10365
10266
|
updateChart: (figureId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
|
|
10366
10267
|
}
|
|
10367
|
-
declare class RadarChartDesignPanel extends Component<Props$
|
|
10268
|
+
declare class RadarChartDesignPanel extends Component<Props$8, SpreadsheetChildEnv> {
|
|
10368
10269
|
static template: string;
|
|
10369
10270
|
static components: {
|
|
10370
10271
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -10381,13 +10282,13 @@ declare class RadarChartDesignPanel extends Component<Props$c, SpreadsheetChildE
|
|
|
10381
10282
|
};
|
|
10382
10283
|
}
|
|
10383
10284
|
|
|
10384
|
-
interface Props$
|
|
10285
|
+
interface Props$7 {
|
|
10385
10286
|
figureId: UID;
|
|
10386
10287
|
definition: WaterfallChartDefinition;
|
|
10387
10288
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
|
|
10388
10289
|
updateChart: (figureId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
|
|
10389
10290
|
}
|
|
10390
|
-
declare class WaterfallChartDesignPanel extends Component<Props$
|
|
10291
|
+
declare class WaterfallChartDesignPanel extends Component<Props$7, SpreadsheetChildEnv> {
|
|
10391
10292
|
static template: string;
|
|
10392
10293
|
static components: {
|
|
10393
10294
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -10752,13 +10653,13 @@ declare class Ripple extends Component<RippleProps, SpreadsheetChildEnv> {
|
|
|
10752
10653
|
getRippleEffectProps(id: number): RippleEffectProps;
|
|
10753
10654
|
}
|
|
10754
10655
|
|
|
10755
|
-
interface Props$
|
|
10656
|
+
interface Props$6 {
|
|
10756
10657
|
sheetId: string;
|
|
10757
10658
|
openContextMenu: (registry: MenuItemRegistry, ev: MouseEvent) => void;
|
|
10758
10659
|
style?: string;
|
|
10759
10660
|
onMouseDown: (ev: MouseEvent) => void;
|
|
10760
10661
|
}
|
|
10761
|
-
declare class BottomBarSheet extends Component<Props$
|
|
10662
|
+
declare class BottomBarSheet extends Component<Props$6, SpreadsheetChildEnv> {
|
|
10762
10663
|
static template: string;
|
|
10763
10664
|
static props: {
|
|
10764
10665
|
sheetId: StringConstructor;
|
|
@@ -10809,11 +10710,11 @@ declare class BottomBarSheet extends Component<Props$a, SpreadsheetChildEnv> {
|
|
|
10809
10710
|
get sheetColorStyle(): string;
|
|
10810
10711
|
}
|
|
10811
10712
|
|
|
10812
|
-
interface Props$
|
|
10713
|
+
interface Props$5 {
|
|
10813
10714
|
openContextMenu: (x: number, y: number, registry: MenuItemRegistry) => void;
|
|
10814
10715
|
closeContextMenu: () => void;
|
|
10815
10716
|
}
|
|
10816
|
-
declare class BottomBarStatistic extends Component<Props$
|
|
10717
|
+
declare class BottomBarStatistic extends Component<Props$5, SpreadsheetChildEnv> {
|
|
10817
10718
|
static template: string;
|
|
10818
10719
|
static props: {
|
|
10819
10720
|
openContextMenu: FunctionConstructor;
|
|
@@ -10834,13 +10735,13 @@ interface BottomBarSheetItem {
|
|
|
10834
10735
|
id: UID;
|
|
10835
10736
|
name: string;
|
|
10836
10737
|
}
|
|
10837
|
-
interface Props$
|
|
10738
|
+
interface Props$4 {
|
|
10838
10739
|
onClick: () => void;
|
|
10839
10740
|
}
|
|
10840
10741
|
interface BottomBarMenuState extends MenuState {
|
|
10841
10742
|
menuId: UID | undefined;
|
|
10842
10743
|
}
|
|
10843
|
-
declare class BottomBar extends Component<Props$
|
|
10744
|
+
declare class BottomBar extends Component<Props$4, SpreadsheetChildEnv> {
|
|
10844
10745
|
static template: string;
|
|
10845
10746
|
static props: {
|
|
10846
10747
|
onClick: FunctionConstructor;
|
|
@@ -10897,9 +10798,9 @@ declare class ClickableCellsStore extends SpreadsheetStore {
|
|
|
10897
10798
|
get clickableCells(): ClickableCell[];
|
|
10898
10799
|
}
|
|
10899
10800
|
|
|
10900
|
-
interface Props$
|
|
10801
|
+
interface Props$3 {
|
|
10901
10802
|
}
|
|
10902
|
-
declare class SpreadsheetDashboard extends Component<Props$
|
|
10803
|
+
declare class SpreadsheetDashboard extends Component<Props$3, SpreadsheetChildEnv> {
|
|
10903
10804
|
static template: string;
|
|
10904
10805
|
static props: {};
|
|
10905
10806
|
static components: {
|
|
@@ -10936,7 +10837,7 @@ declare class SpreadsheetDashboard extends Component<Props$7, SpreadsheetChildEn
|
|
|
10936
10837
|
private getGridRect;
|
|
10937
10838
|
}
|
|
10938
10839
|
|
|
10939
|
-
interface Props$
|
|
10840
|
+
interface Props$2 {
|
|
10940
10841
|
group: HeaderGroup;
|
|
10941
10842
|
layerOffset: number;
|
|
10942
10843
|
openContextMenu(position: DOMCoordinates, menuItems: Action[]): void;
|
|
@@ -10946,7 +10847,7 @@ interface GroupBox {
|
|
|
10946
10847
|
headerRect: Rect;
|
|
10947
10848
|
isEndHidden: boolean;
|
|
10948
10849
|
}
|
|
10949
|
-
declare abstract class AbstractHeaderGroup extends Component<Props$
|
|
10850
|
+
declare abstract class AbstractHeaderGroup extends Component<Props$2, SpreadsheetChildEnv> {
|
|
10950
10851
|
static template: string;
|
|
10951
10852
|
static props: {
|
|
10952
10853
|
group: ObjectConstructor;
|
|
@@ -10978,11 +10879,11 @@ declare class ColGroup extends AbstractHeaderGroup {
|
|
|
10978
10879
|
get groupBox(): GroupBox;
|
|
10979
10880
|
}
|
|
10980
10881
|
|
|
10981
|
-
interface Props$
|
|
10882
|
+
interface Props$1 {
|
|
10982
10883
|
dimension: Dimension;
|
|
10983
10884
|
layers: HeaderGroup[][];
|
|
10984
10885
|
}
|
|
10985
|
-
declare class HeaderGroupContainer extends Component<Props$
|
|
10886
|
+
declare class HeaderGroupContainer extends Component<Props$1, SpreadsheetChildEnv> {
|
|
10986
10887
|
static template: string;
|
|
10987
10888
|
static props: {
|
|
10988
10889
|
dimension: StringConstructor;
|
|
@@ -11017,115 +10918,19 @@ declare class SidePanel extends Component<{}, SpreadsheetChildEnv> {
|
|
|
11017
10918
|
startHandleDrag(ev: MouseEvent): void;
|
|
11018
10919
|
}
|
|
11019
10920
|
|
|
11020
|
-
|
|
11021
|
-
|
|
11022
|
-
|
|
11023
|
-
|
|
11024
|
-
|
|
11025
|
-
declare
|
|
11026
|
-
|
|
11027
|
-
|
|
11028
|
-
|
|
11029
|
-
|
|
11030
|
-
|
|
11031
|
-
|
|
11032
|
-
|
|
11033
|
-
declare const ACTION_DATA_createRemoveFilterTool: typeof createRemoveFilterTool;
|
|
11034
|
-
declare const ACTION_DATA_dataCleanup: typeof dataCleanup;
|
|
11035
|
-
declare const ACTION_DATA_reinsertDynamicPivotMenu: typeof reinsertDynamicPivotMenu;
|
|
11036
|
-
declare const ACTION_DATA_reinsertStaticPivotMenu: typeof reinsertStaticPivotMenu;
|
|
11037
|
-
declare const ACTION_DATA_removeDuplicates: typeof removeDuplicates;
|
|
11038
|
-
declare const ACTION_DATA_sortAscending: typeof sortAscending;
|
|
11039
|
-
declare const ACTION_DATA_sortDescending: typeof sortDescending;
|
|
11040
|
-
declare const ACTION_DATA_sortRange: typeof sortRange;
|
|
11041
|
-
declare const ACTION_DATA_splitToColumns: typeof splitToColumns;
|
|
11042
|
-
declare const ACTION_DATA_trimWhitespace: typeof trimWhitespace;
|
|
11043
|
-
declare namespace ACTION_DATA {
|
|
11044
|
-
export {
|
|
11045
|
-
ACTION_DATA_createRemoveFilter as createRemoveFilter,
|
|
11046
|
-
ACTION_DATA_createRemoveFilterTool as createRemoveFilterTool,
|
|
11047
|
-
ACTION_DATA_dataCleanup as dataCleanup,
|
|
11048
|
-
ACTION_DATA_reinsertDynamicPivotMenu as reinsertDynamicPivotMenu,
|
|
11049
|
-
ACTION_DATA_reinsertStaticPivotMenu as reinsertStaticPivotMenu,
|
|
11050
|
-
ACTION_DATA_removeDuplicates as removeDuplicates,
|
|
11051
|
-
ACTION_DATA_sortAscending as sortAscending,
|
|
11052
|
-
ACTION_DATA_sortDescending as sortDescending,
|
|
11053
|
-
ACTION_DATA_sortRange as sortRange,
|
|
11054
|
-
ACTION_DATA_splitToColumns as splitToColumns,
|
|
11055
|
-
ACTION_DATA_trimWhitespace as trimWhitespace,
|
|
11056
|
-
};
|
|
11057
|
-
}
|
|
11058
|
-
|
|
11059
|
-
declare const undo: ActionSpec;
|
|
11060
|
-
declare const redo: ActionSpec;
|
|
11061
|
-
declare const copy: ActionSpec;
|
|
11062
|
-
declare const cut: ActionSpec;
|
|
11063
|
-
declare const paste: ActionSpec;
|
|
11064
|
-
declare const pasteSpecial: ActionSpec;
|
|
11065
|
-
declare const pasteSpecialValue: ActionSpec;
|
|
11066
|
-
declare const pasteSpecialFormat: ActionSpec;
|
|
11067
|
-
declare const findAndReplace: ActionSpec;
|
|
11068
|
-
declare const deleteValues: ActionSpec;
|
|
11069
|
-
declare const deleteRows: ActionSpec;
|
|
11070
|
-
declare const deleteRow: ActionSpec;
|
|
11071
|
-
declare const clearRows: ActionSpec;
|
|
11072
|
-
declare const deleteCols: ActionSpec;
|
|
11073
|
-
declare const deleteCol: ActionSpec;
|
|
11074
|
-
declare const clearCols: ActionSpec;
|
|
11075
|
-
declare const deleteCells: ActionSpec;
|
|
11076
|
-
declare const deleteCellShiftUp: ActionSpec;
|
|
11077
|
-
declare const deleteCellShiftLeft: ActionSpec;
|
|
11078
|
-
declare const mergeCells: ActionSpec;
|
|
11079
|
-
declare const editTable: ActionSpec;
|
|
11080
|
-
declare const deleteTable: ActionSpec;
|
|
11081
|
-
|
|
11082
|
-
declare const ACTION_EDIT_clearCols: typeof clearCols;
|
|
11083
|
-
declare const ACTION_EDIT_clearRows: typeof clearRows;
|
|
11084
|
-
declare const ACTION_EDIT_copy: typeof copy;
|
|
11085
|
-
declare const ACTION_EDIT_cut: typeof cut;
|
|
11086
|
-
declare const ACTION_EDIT_deleteCellShiftLeft: typeof deleteCellShiftLeft;
|
|
11087
|
-
declare const ACTION_EDIT_deleteCellShiftUp: typeof deleteCellShiftUp;
|
|
11088
|
-
declare const ACTION_EDIT_deleteCells: typeof deleteCells;
|
|
11089
|
-
declare const ACTION_EDIT_deleteCol: typeof deleteCol;
|
|
11090
|
-
declare const ACTION_EDIT_deleteCols: typeof deleteCols;
|
|
11091
|
-
declare const ACTION_EDIT_deleteRow: typeof deleteRow;
|
|
11092
|
-
declare const ACTION_EDIT_deleteRows: typeof deleteRows;
|
|
11093
|
-
declare const ACTION_EDIT_deleteTable: typeof deleteTable;
|
|
11094
|
-
declare const ACTION_EDIT_deleteValues: typeof deleteValues;
|
|
11095
|
-
declare const ACTION_EDIT_editTable: typeof editTable;
|
|
11096
|
-
declare const ACTION_EDIT_findAndReplace: typeof findAndReplace;
|
|
11097
|
-
declare const ACTION_EDIT_mergeCells: typeof mergeCells;
|
|
11098
|
-
declare const ACTION_EDIT_paste: typeof paste;
|
|
11099
|
-
declare const ACTION_EDIT_pasteSpecial: typeof pasteSpecial;
|
|
11100
|
-
declare const ACTION_EDIT_pasteSpecialFormat: typeof pasteSpecialFormat;
|
|
11101
|
-
declare const ACTION_EDIT_pasteSpecialValue: typeof pasteSpecialValue;
|
|
11102
|
-
declare const ACTION_EDIT_redo: typeof redo;
|
|
11103
|
-
declare const ACTION_EDIT_undo: typeof undo;
|
|
11104
|
-
declare namespace ACTION_EDIT {
|
|
11105
|
-
export {
|
|
11106
|
-
ACTION_EDIT_clearCols as clearCols,
|
|
11107
|
-
ACTION_EDIT_clearRows as clearRows,
|
|
11108
|
-
ACTION_EDIT_copy as copy,
|
|
11109
|
-
ACTION_EDIT_cut as cut,
|
|
11110
|
-
ACTION_EDIT_deleteCellShiftLeft as deleteCellShiftLeft,
|
|
11111
|
-
ACTION_EDIT_deleteCellShiftUp as deleteCellShiftUp,
|
|
11112
|
-
ACTION_EDIT_deleteCells as deleteCells,
|
|
11113
|
-
ACTION_EDIT_deleteCol as deleteCol,
|
|
11114
|
-
ACTION_EDIT_deleteCols as deleteCols,
|
|
11115
|
-
ACTION_EDIT_deleteRow as deleteRow,
|
|
11116
|
-
ACTION_EDIT_deleteRows as deleteRows,
|
|
11117
|
-
ACTION_EDIT_deleteTable as deleteTable,
|
|
11118
|
-
ACTION_EDIT_deleteValues as deleteValues,
|
|
11119
|
-
ACTION_EDIT_editTable as editTable,
|
|
11120
|
-
ACTION_EDIT_findAndReplace as findAndReplace,
|
|
11121
|
-
ACTION_EDIT_mergeCells as mergeCells,
|
|
11122
|
-
ACTION_EDIT_paste as paste,
|
|
11123
|
-
ACTION_EDIT_pasteSpecial as pasteSpecial,
|
|
11124
|
-
ACTION_EDIT_pasteSpecialFormat as pasteSpecialFormat,
|
|
11125
|
-
ACTION_EDIT_pasteSpecialValue as pasteSpecialValue,
|
|
11126
|
-
ACTION_EDIT_redo as redo,
|
|
11127
|
-
ACTION_EDIT_undo as undo,
|
|
11128
|
-
};
|
|
10921
|
+
type ToolBarItem<C extends ComponentConstructor = ComponentConstructor> = {
|
|
10922
|
+
component: C;
|
|
10923
|
+
props: PropsOf<C>;
|
|
10924
|
+
sequence: number;
|
|
10925
|
+
};
|
|
10926
|
+
declare class ToolBarRegistry {
|
|
10927
|
+
content: {
|
|
10928
|
+
[key: string]: ToolBarItem[];
|
|
10929
|
+
};
|
|
10930
|
+
add(key: string): ToolBarRegistry;
|
|
10931
|
+
addChild(key: string, value: ToolBarItem): ToolBarRegistry;
|
|
10932
|
+
getEntries(id: string): ToolBarItem[];
|
|
10933
|
+
getCategories(): string[];
|
|
11129
10934
|
}
|
|
11130
10935
|
|
|
11131
10936
|
declare class PositionMap<T> {
|
|
@@ -11159,153 +10964,6 @@ declare class FormulaFingerprintStore extends SpreadsheetStore {
|
|
|
11159
10964
|
private getLiteralFingerprint;
|
|
11160
10965
|
}
|
|
11161
10966
|
|
|
11162
|
-
interface Props$4 {
|
|
11163
|
-
action: ActionSpec;
|
|
11164
|
-
hasTriangleDownIcon?: boolean;
|
|
11165
|
-
selectedColor?: string;
|
|
11166
|
-
class?: string;
|
|
11167
|
-
onClick?: (ev: MouseEvent) => void;
|
|
11168
|
-
}
|
|
11169
|
-
declare class ActionButton extends Component<Props$4, SpreadsheetChildEnv> {
|
|
11170
|
-
static template: string;
|
|
11171
|
-
static props: {
|
|
11172
|
-
action: ObjectConstructor;
|
|
11173
|
-
hasTriangleDownIcon: {
|
|
11174
|
-
type: BooleanConstructor;
|
|
11175
|
-
optional: boolean;
|
|
11176
|
-
};
|
|
11177
|
-
selectedColor: {
|
|
11178
|
-
type: StringConstructor;
|
|
11179
|
-
optional: boolean;
|
|
11180
|
-
};
|
|
11181
|
-
class: {
|
|
11182
|
-
type: StringConstructor;
|
|
11183
|
-
optional: boolean;
|
|
11184
|
-
};
|
|
11185
|
-
onClick: {
|
|
11186
|
-
type: FunctionConstructor;
|
|
11187
|
-
optional: boolean;
|
|
11188
|
-
};
|
|
11189
|
-
};
|
|
11190
|
-
private actionButton;
|
|
11191
|
-
setup(): void;
|
|
11192
|
-
get isVisible(): boolean;
|
|
11193
|
-
get isEnabled(): boolean;
|
|
11194
|
-
get isActive(): boolean | undefined;
|
|
11195
|
-
get title(): string;
|
|
11196
|
-
get iconTitle(): string;
|
|
11197
|
-
onClick(ev: MouseEvent): void;
|
|
11198
|
-
get buttonStyle(): string;
|
|
11199
|
-
}
|
|
11200
|
-
|
|
11201
|
-
type Tool = "borderColorTool" | "borderTypeTool";
|
|
11202
|
-
interface State$4 {
|
|
11203
|
-
activeTool: Tool | undefined;
|
|
11204
|
-
}
|
|
11205
|
-
interface BorderEditorProps {
|
|
11206
|
-
class?: string;
|
|
11207
|
-
currentBorderColor: Color;
|
|
11208
|
-
currentBorderStyle: BorderStyle;
|
|
11209
|
-
currentBorderPosition: BorderPosition | undefined;
|
|
11210
|
-
onBorderColorPicked: (color: Color) => void;
|
|
11211
|
-
onBorderStylePicked: (style: BorderStyle) => void;
|
|
11212
|
-
onBorderPositionPicked: (position: BorderPosition) => void;
|
|
11213
|
-
maxHeight?: Pixel;
|
|
11214
|
-
anchorRect: Rect;
|
|
11215
|
-
}
|
|
11216
|
-
declare class BorderEditor extends Component<BorderEditorProps, SpreadsheetChildEnv> {
|
|
11217
|
-
static template: string;
|
|
11218
|
-
static props: {
|
|
11219
|
-
class: {
|
|
11220
|
-
type: StringConstructor;
|
|
11221
|
-
optional: boolean;
|
|
11222
|
-
};
|
|
11223
|
-
currentBorderColor: {
|
|
11224
|
-
type: StringConstructor;
|
|
11225
|
-
optional: boolean;
|
|
11226
|
-
};
|
|
11227
|
-
currentBorderStyle: {
|
|
11228
|
-
type: StringConstructor;
|
|
11229
|
-
optional: boolean;
|
|
11230
|
-
};
|
|
11231
|
-
currentBorderPosition: {
|
|
11232
|
-
type: StringConstructor;
|
|
11233
|
-
optional: boolean;
|
|
11234
|
-
};
|
|
11235
|
-
onBorderColorPicked: FunctionConstructor;
|
|
11236
|
-
onBorderStylePicked: FunctionConstructor;
|
|
11237
|
-
onBorderPositionPicked: FunctionConstructor;
|
|
11238
|
-
maxHeight: {
|
|
11239
|
-
type: NumberConstructor;
|
|
11240
|
-
optional: boolean;
|
|
11241
|
-
};
|
|
11242
|
-
anchorRect: ObjectConstructor;
|
|
11243
|
-
};
|
|
11244
|
-
static components: {
|
|
11245
|
-
ColorPickerWidget: typeof ColorPickerWidget;
|
|
11246
|
-
Popover: typeof Popover;
|
|
11247
|
-
};
|
|
11248
|
-
BORDER_POSITIONS: [BorderPosition, string][][];
|
|
11249
|
-
lineStyleButtonRef: {
|
|
11250
|
-
el: HTMLElement | null;
|
|
11251
|
-
};
|
|
11252
|
-
borderStyles: readonly ["thin", "medium", "thick", "dashed", "dotted"];
|
|
11253
|
-
state: State$4;
|
|
11254
|
-
toggleDropdownTool(tool: Tool): void;
|
|
11255
|
-
closeDropdown(): void;
|
|
11256
|
-
setBorderPosition(position: BorderPosition): void;
|
|
11257
|
-
setBorderColor(color: Color): void;
|
|
11258
|
-
setBorderStyle(style: BorderStyle): void;
|
|
11259
|
-
get lineStylePickerPopoverProps(): PopoverProps;
|
|
11260
|
-
get popoverProps(): PopoverProps;
|
|
11261
|
-
get lineStylePickerAnchorRect(): Rect;
|
|
11262
|
-
}
|
|
11263
|
-
|
|
11264
|
-
interface Props$3 {
|
|
11265
|
-
toggleBorderEditor: (ev: MouseEvent) => void;
|
|
11266
|
-
showBorderEditor: boolean;
|
|
11267
|
-
disabled?: boolean;
|
|
11268
|
-
dropdownMaxHeight?: Pixel;
|
|
11269
|
-
class?: string;
|
|
11270
|
-
}
|
|
11271
|
-
interface State$3 {
|
|
11272
|
-
currentColor: Color;
|
|
11273
|
-
currentStyle: BorderStyle;
|
|
11274
|
-
currentPosition: BorderPosition | undefined;
|
|
11275
|
-
}
|
|
11276
|
-
declare class BorderEditorWidget extends Component<Props$3, SpreadsheetChildEnv> {
|
|
11277
|
-
static template: string;
|
|
11278
|
-
static props: {
|
|
11279
|
-
toggleBorderEditor: FunctionConstructor;
|
|
11280
|
-
showBorderEditor: BooleanConstructor;
|
|
11281
|
-
disabled: {
|
|
11282
|
-
type: BooleanConstructor;
|
|
11283
|
-
optional: boolean;
|
|
11284
|
-
};
|
|
11285
|
-
dropdownMaxHeight: {
|
|
11286
|
-
type: NumberConstructor;
|
|
11287
|
-
optional: boolean;
|
|
11288
|
-
};
|
|
11289
|
-
class: {
|
|
11290
|
-
type: StringConstructor;
|
|
11291
|
-
optional: boolean;
|
|
11292
|
-
};
|
|
11293
|
-
};
|
|
11294
|
-
static components: {
|
|
11295
|
-
BorderEditor: typeof BorderEditor;
|
|
11296
|
-
};
|
|
11297
|
-
borderEditorButtonRef: {
|
|
11298
|
-
el: HTMLElement | null;
|
|
11299
|
-
};
|
|
11300
|
-
state: State$3;
|
|
11301
|
-
setup(): void;
|
|
11302
|
-
get borderEditorAnchorRect(): Rect;
|
|
11303
|
-
onBorderPositionPicked(position: BorderPosition): void;
|
|
11304
|
-
onBorderColorPicked(color: Color): void;
|
|
11305
|
-
onBorderStylePicked(style: BorderStyle): void;
|
|
11306
|
-
private updateBorder;
|
|
11307
|
-
}
|
|
11308
|
-
|
|
11309
10967
|
declare class TopBarComposer extends Component<any, SpreadsheetChildEnv> {
|
|
11310
10968
|
static template: string;
|
|
11311
10969
|
static props: {};
|
|
@@ -11322,136 +10980,26 @@ declare class TopBarComposer extends Component<any, SpreadsheetChildEnv> {
|
|
|
11322
10980
|
onFocus(selection: ComposerSelection): void;
|
|
11323
10981
|
}
|
|
11324
10982
|
|
|
11325
|
-
|
|
11326
|
-
|
|
11327
|
-
|
|
11328
|
-
|
|
11329
|
-
|
|
11330
|
-
|
|
11331
|
-
|
|
11332
|
-
|
|
11333
|
-
|
|
11334
|
-
|
|
11335
|
-
|
|
11336
|
-
|
|
11337
|
-
};
|
|
11338
|
-
static props: {
|
|
11339
|
-
tableConfig: ObjectConstructor;
|
|
11340
|
-
tableStyle: ObjectConstructor;
|
|
11341
|
-
class: StringConstructor;
|
|
11342
|
-
styleId: {
|
|
11343
|
-
type: StringConstructor;
|
|
11344
|
-
optional: boolean;
|
|
11345
|
-
};
|
|
11346
|
-
selected: {
|
|
11347
|
-
type: BooleanConstructor;
|
|
11348
|
-
optional: boolean;
|
|
11349
|
-
};
|
|
11350
|
-
onClick: {
|
|
11351
|
-
type: FunctionConstructor;
|
|
11352
|
-
optional: boolean;
|
|
11353
|
-
};
|
|
11354
|
-
};
|
|
11355
|
-
private canvasRef;
|
|
11356
|
-
menu: MenuState;
|
|
11357
|
-
setup(): void;
|
|
11358
|
-
private drawTable;
|
|
11359
|
-
onContextMenu(event: MouseEvent): void;
|
|
11360
|
-
closeMenu(): void;
|
|
11361
|
-
get styleName(): string;
|
|
11362
|
-
get isStyleEditable(): boolean;
|
|
11363
|
-
editTableStyle(): void;
|
|
11364
|
-
}
|
|
11365
|
-
|
|
11366
|
-
interface TableStylesPopoverProps {
|
|
11367
|
-
selectedStyleId?: string;
|
|
11368
|
-
tableConfig: Omit<TableConfig, "styleId">;
|
|
11369
|
-
closePopover: () => void;
|
|
11370
|
-
onStylePicked: (styleId: string) => void;
|
|
11371
|
-
popoverProps?: PopoverProps;
|
|
11372
|
-
}
|
|
11373
|
-
type CustomTablePopoverMouseEvent = MouseEvent & {
|
|
11374
|
-
hasClosedTableStylesPopover?: boolean;
|
|
11375
|
-
};
|
|
11376
|
-
interface State$2 {
|
|
11377
|
-
selectedCategory: string;
|
|
11378
|
-
}
|
|
11379
|
-
declare class TableStylesPopover extends Component<TableStylesPopoverProps, SpreadsheetChildEnv> {
|
|
11380
|
-
static template: string;
|
|
11381
|
-
static components: {
|
|
11382
|
-
Popover: typeof Popover;
|
|
11383
|
-
TableStylePreview: typeof TableStylePreview;
|
|
11384
|
-
};
|
|
11385
|
-
static props: {
|
|
11386
|
-
tableConfig: ObjectConstructor;
|
|
11387
|
-
popoverProps: {
|
|
11388
|
-
type: ObjectConstructor;
|
|
11389
|
-
optional: boolean;
|
|
11390
|
-
};
|
|
11391
|
-
closePopover: FunctionConstructor;
|
|
11392
|
-
onStylePicked: FunctionConstructor;
|
|
11393
|
-
selectedStyleId: {
|
|
11394
|
-
type: StringConstructor;
|
|
11395
|
-
optional: boolean;
|
|
11396
|
-
};
|
|
11397
|
-
};
|
|
11398
|
-
categories: {
|
|
11399
|
-
light: string;
|
|
11400
|
-
medium: string;
|
|
11401
|
-
dark: string;
|
|
11402
|
-
custom: string;
|
|
11403
|
-
};
|
|
11404
|
-
private tableStyleListRef;
|
|
11405
|
-
state: State$2;
|
|
11406
|
-
menu: MenuState;
|
|
11407
|
-
setup(): void;
|
|
11408
|
-
onExternalClick(ev: CustomTablePopoverMouseEvent): void;
|
|
11409
|
-
get displayedStyles(): string[];
|
|
11410
|
-
get initialSelectedCategory(): string;
|
|
11411
|
-
newTableStyle(): void;
|
|
11412
|
-
}
|
|
11413
|
-
|
|
11414
|
-
interface State$1 {
|
|
11415
|
-
popoverProps: PopoverProps | undefined;
|
|
11416
|
-
}
|
|
11417
|
-
declare class TableDropdownButton extends Component<{}, SpreadsheetChildEnv> {
|
|
11418
|
-
static template: string;
|
|
11419
|
-
static components: {
|
|
11420
|
-
TableStylesPopover: typeof TableStylesPopover;
|
|
11421
|
-
ActionButton: typeof ActionButton;
|
|
11422
|
-
};
|
|
11423
|
-
static props: {};
|
|
11424
|
-
state: State$1;
|
|
11425
|
-
onStylePicked(styleId: string): void;
|
|
11426
|
-
onClick(ev: CustomTablePopoverMouseEvent): void;
|
|
11427
|
-
private closePopover;
|
|
11428
|
-
get action(): ActionSpec;
|
|
11429
|
-
get tableConfig(): TableConfig;
|
|
11430
|
-
}
|
|
11431
|
-
|
|
11432
|
-
interface Props$1 {
|
|
11433
|
-
class?: string;
|
|
11434
|
-
}
|
|
11435
|
-
declare class PaintFormatButton extends Component<Props$1, SpreadsheetChildEnv> {
|
|
11436
|
-
static template: string;
|
|
11437
|
-
static props: {
|
|
11438
|
-
class: {
|
|
11439
|
-
type: StringConstructor;
|
|
11440
|
-
optional: boolean;
|
|
11441
|
-
};
|
|
11442
|
-
};
|
|
11443
|
-
private paintFormatStore;
|
|
11444
|
-
setup(): void;
|
|
11445
|
-
get isActive(): boolean;
|
|
11446
|
-
onDblClick(): void;
|
|
11447
|
-
togglePaintFormat(): void;
|
|
10983
|
+
/**
|
|
10984
|
+
* This store is used to manage the dropdown that is currently
|
|
10985
|
+
* opened after clicking an item on the toolbar.
|
|
10986
|
+
* It can only have one displayed at a time.
|
|
10987
|
+
*
|
|
10988
|
+
*/
|
|
10989
|
+
declare class TopBarToolStore {
|
|
10990
|
+
mutators: readonly ["closeDropdowns", "openDropdown"];
|
|
10991
|
+
private _currentDropdown;
|
|
10992
|
+
closeDropdowns(): void;
|
|
10993
|
+
openDropdown(dropdownComponent: Component): void;
|
|
10994
|
+
get currentDropdown(): Component<any, any> | null;
|
|
11448
10995
|
}
|
|
11449
10996
|
|
|
11450
10997
|
interface State {
|
|
11451
10998
|
menuState: MenuState;
|
|
11452
|
-
|
|
11453
|
-
|
|
11454
|
-
|
|
10999
|
+
invisibleToolsCategories: string[];
|
|
11000
|
+
toolsPopoverState: {
|
|
11001
|
+
isOpen: boolean;
|
|
11002
|
+
};
|
|
11455
11003
|
}
|
|
11456
11004
|
interface Props {
|
|
11457
11005
|
onClick: () => void;
|
|
@@ -11464,42 +11012,51 @@ declare class TopBar extends Component<Props, SpreadsheetChildEnv> {
|
|
|
11464
11012
|
dropdownMaxHeight: NumberConstructor;
|
|
11465
11013
|
};
|
|
11466
11014
|
static components: {
|
|
11467
|
-
ColorPickerWidget: typeof ColorPickerWidget;
|
|
11468
|
-
ColorPicker: typeof ColorPicker;
|
|
11469
11015
|
Menu: typeof Menu;
|
|
11470
11016
|
TopBarComposer: typeof TopBarComposer;
|
|
11471
|
-
|
|
11472
|
-
ActionButton: typeof ActionButton;
|
|
11473
|
-
PaintFormatButton: typeof PaintFormatButton;
|
|
11474
|
-
BorderEditorWidget: typeof BorderEditorWidget;
|
|
11475
|
-
TableDropdownButton: typeof TableDropdownButton;
|
|
11017
|
+
Popover: typeof Popover;
|
|
11476
11018
|
};
|
|
11019
|
+
toolsCategories: string[];
|
|
11477
11020
|
state: State;
|
|
11478
11021
|
isSelectingMenu: boolean;
|
|
11479
11022
|
openedEl: HTMLElement | null;
|
|
11480
11023
|
menus: Action[];
|
|
11481
|
-
|
|
11482
|
-
FORMAT: typeof ACTION_FORMAT;
|
|
11483
|
-
DATA: typeof ACTION_DATA;
|
|
11024
|
+
toolbarMenuRegistry: ToolBarRegistry;
|
|
11484
11025
|
formatNumberMenuItemSpec: ActionSpec;
|
|
11485
11026
|
isntToolbarMenu: boolean;
|
|
11486
11027
|
composerFocusStore: Store<ComposerFocusStore>;
|
|
11487
11028
|
fingerprints: Store<FormulaFingerprintStore>;
|
|
11029
|
+
topBarToolStore: Store<TopBarToolStore>;
|
|
11030
|
+
toolBarContainerRef: {
|
|
11031
|
+
el: HTMLElement | null;
|
|
11032
|
+
};
|
|
11033
|
+
toolbarRef: {
|
|
11034
|
+
el: HTMLElement | null;
|
|
11035
|
+
};
|
|
11036
|
+
moreToolsContainerRef: {
|
|
11037
|
+
el: HTMLElement | null;
|
|
11038
|
+
};
|
|
11039
|
+
moreToolsButtonRef: {
|
|
11040
|
+
el: HTMLElement | null;
|
|
11041
|
+
};
|
|
11042
|
+
spreadsheetRect: Rect;
|
|
11488
11043
|
setup(): void;
|
|
11044
|
+
setVisibilityToolsGroups(): void;
|
|
11489
11045
|
get topbarComponents(): TopbarComponent[];
|
|
11490
11046
|
get currentFontSize(): number;
|
|
11491
11047
|
onExternalClick(ev: MouseEvent): void;
|
|
11492
11048
|
onClick(): void;
|
|
11493
11049
|
onMenuMouseOver(menu: Action, ev: MouseEvent): void;
|
|
11494
|
-
toggleDropdownTool(tool: string, ev: MouseEvent): void;
|
|
11495
11050
|
toggleContextMenu(menu: Action, ev: MouseEvent): void;
|
|
11496
|
-
toggleToolbarContextMenu(menuSpec: ActionSpec, ev: MouseEvent): void;
|
|
11497
11051
|
private openMenu;
|
|
11498
11052
|
closeMenus(): void;
|
|
11499
11053
|
updateCellState(): void;
|
|
11500
11054
|
getMenuName(menu: Action): string;
|
|
11501
11055
|
setColor(target: string, color: Color): void;
|
|
11502
11056
|
setFontSize(fontSize: number): void;
|
|
11057
|
+
toggleMoreTools(): void;
|
|
11058
|
+
get toolsPopoverProps(): PopoverProps;
|
|
11059
|
+
showDivider(categoryIndex: number): boolean;
|
|
11503
11060
|
}
|
|
11504
11061
|
|
|
11505
11062
|
interface SpreadsheetProps extends Partial<NotificationStoreMethods> {
|
|
@@ -11608,7 +11165,7 @@ declare const registries: {
|
|
|
11608
11165
|
linkMenuRegistry: MenuItemRegistry;
|
|
11609
11166
|
functionRegistry: FunctionRegistry;
|
|
11610
11167
|
featurePluginRegistry: Registry<UIPluginConstructor>;
|
|
11611
|
-
iconsOnCellRegistry: Registry<(getters: Getters, position: CellPosition) =>
|
|
11168
|
+
iconsOnCellRegistry: Registry<(getters: Getters, position: CellPosition) => ImageSrc | undefined>;
|
|
11612
11169
|
statefulUIPluginRegistry: Registry<UIPluginConstructor>;
|
|
11613
11170
|
coreViewsPluginRegistry: Registry<CoreViewPluginConstructor>;
|
|
11614
11171
|
corePluginRegistry: Registry<CorePluginConstructor>;
|
|
@@ -11647,7 +11204,7 @@ declare const registries: {
|
|
|
11647
11204
|
clipboardHandlersRegistries: {
|
|
11648
11205
|
figureHandlers: Registry<{
|
|
11649
11206
|
new (getters: Getters, dispatch: {
|
|
11650
|
-
<T extends "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT", C extends Extract<UpdateCellCommand, {
|
|
11207
|
+
<T extends "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT", C extends Extract<UpdateCellCommand, {
|
|
11651
11208
|
type: T;
|
|
11652
11209
|
}> | Extract<UpdateCellPositionCommand, {
|
|
11653
11210
|
type: T;
|
|
@@ -11875,8 +11432,10 @@ declare const registries: {
|
|
|
11875
11432
|
type: T;
|
|
11876
11433
|
}> | Extract<PaintFormat, {
|
|
11877
11434
|
type: T;
|
|
11435
|
+
}> | Extract<DeleteUnfilteredContentCommand, {
|
|
11436
|
+
type: T;
|
|
11878
11437
|
}>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
|
|
11879
|
-
<T_1 extends "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT", C_1 extends Extract<UpdateCellCommand, {
|
|
11438
|
+
<T_1 extends "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT", C_1 extends Extract<UpdateCellCommand, {
|
|
11880
11439
|
type: T_1;
|
|
11881
11440
|
}> | Extract<UpdateCellPositionCommand, {
|
|
11882
11441
|
type: T_1;
|
|
@@ -12104,12 +11663,14 @@ declare const registries: {
|
|
|
12104
11663
|
type: T_1;
|
|
12105
11664
|
}> | Extract<PaintFormat, {
|
|
12106
11665
|
type: T_1;
|
|
11666
|
+
}> | Extract<DeleteUnfilteredContentCommand, {
|
|
11667
|
+
type: T_1;
|
|
12107
11668
|
}>>(type: T_1, r: Omit<C_1, "type">): DispatchResult;
|
|
12108
11669
|
}): AbstractFigureClipboardHandler<any>;
|
|
12109
11670
|
}>;
|
|
12110
11671
|
cellHandlers: Registry<{
|
|
12111
11672
|
new (getters: Getters, dispatch: {
|
|
12112
|
-
<T extends "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT", C extends Extract<UpdateCellCommand, {
|
|
11673
|
+
<T extends "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT", C extends Extract<UpdateCellCommand, {
|
|
12113
11674
|
type: T;
|
|
12114
11675
|
}> | Extract<UpdateCellPositionCommand, {
|
|
12115
11676
|
type: T;
|
|
@@ -12337,8 +11898,10 @@ declare const registries: {
|
|
|
12337
11898
|
type: T;
|
|
12338
11899
|
}> | Extract<PaintFormat, {
|
|
12339
11900
|
type: T;
|
|
11901
|
+
}> | Extract<DeleteUnfilteredContentCommand, {
|
|
11902
|
+
type: T;
|
|
12340
11903
|
}>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
|
|
12341
|
-
<T_1 extends "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT", C_1 extends Extract<UpdateCellCommand, {
|
|
11904
|
+
<T_1 extends "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT", C_1 extends Extract<UpdateCellCommand, {
|
|
12342
11905
|
type: T_1;
|
|
12343
11906
|
}> | Extract<UpdateCellPositionCommand, {
|
|
12344
11907
|
type: T_1;
|
|
@@ -12566,6 +12129,8 @@ declare const registries: {
|
|
|
12566
12129
|
type: T_1;
|
|
12567
12130
|
}> | Extract<PaintFormat, {
|
|
12568
12131
|
type: T_1;
|
|
12132
|
+
}> | Extract<DeleteUnfilteredContentCommand, {
|
|
12133
|
+
type: T_1;
|
|
12569
12134
|
}>>(type: T_1, r: Omit<C_1, "type">): DispatchResult;
|
|
12570
12135
|
}): AbstractCellClipboardHandler<any, any>;
|
|
12571
12136
|
}>;
|
|
@@ -12763,6 +12328,8 @@ declare const chartHelpers: {
|
|
|
12763
12328
|
getComboChartDatasets(definition: GenericDefinition<ComboChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"line" | "bar">[];
|
|
12764
12329
|
getRadarChartDatasets(definition: GenericDefinition<RadarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"radar">[];
|
|
12765
12330
|
getGeoChartDatasets(definition: GenericDefinition<GeoChartDefinition>, args: GeoChartRuntimeGenerationArgs): chart_js.ChartDataset[];
|
|
12331
|
+
getFunnelChartDatasets(definition: FunnelChartDefinition, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"bar">[];
|
|
12332
|
+
getFunnelLabelColors(labels: string[], colors?: FunnelChartColors | undefined): Color[];
|
|
12766
12333
|
getChartColorsGenerator(definition: GenericDefinition<ChartWithDataSetDefinition>, dataSetsSize: number): ColorGenerator;
|
|
12767
12334
|
getChartLayout(definition: GenericDefinition<ChartWithDataSetDefinition>): chart_js_dist_types_utils._DeepPartialObject<Partial<{
|
|
12768
12335
|
autoPadding: boolean;
|
|
@@ -13188,6 +12755,9 @@ declare const chartHelpers: {
|
|
|
13188
12755
|
getGeoChartScales(definition: GeoChartDefinition, args: GeoChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
|
|
13189
12756
|
[key: string]: chart_js.ScaleOptionsByType<"projection" | keyof chart_js.ColorScaleTypeRegistry>;
|
|
13190
12757
|
}>;
|
|
12758
|
+
getFunnelChartScales(definition: FunnelChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<{
|
|
12759
|
+
[key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
|
|
12760
|
+
}>;
|
|
13191
12761
|
getChartShowValues(definition: ChartWithDataSetDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
|
|
13192
12762
|
getChartTitle(definition: ChartWithDataSetDefinition): chart_js_dist_types_utils._DeepPartialObject<chart_js.TitleOptions>;
|
|
13193
12763
|
getBarChartTooltip(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
@@ -13197,6 +12767,7 @@ declare const chartHelpers: {
|
|
|
13197
12767
|
getPyramidChartTooltip(definition: PyramidChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
13198
12768
|
getRadarChartTooltip(definition: RadarChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
13199
12769
|
getGeoChartTooltip(definition: GeoChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
12770
|
+
getFunnelChartTooltip(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
|
|
13200
12771
|
AbstractChart: typeof AbstractChart;
|
|
13201
12772
|
createBarChartRuntime(chart: BarChart, getters: Getters): BarChartRuntime;
|
|
13202
12773
|
BarChart: typeof BarChart;
|
|
@@ -13236,7 +12807,8 @@ declare const chartHelpers: {
|
|
|
13236
12807
|
validateChartDefinition(validator: Validator, definition: ChartDefinition): CommandResult | CommandResult[];
|
|
13237
12808
|
transformDefinition(definition: ChartDefinition, executed: AddColumnsRowsCommand | RemoveColumnsRowsCommand): ChartDefinition;
|
|
13238
12809
|
getSmartChartDefinition(zone: Zone, getters: Getters): ChartDefinition;
|
|
13239
|
-
|
|
12810
|
+
chartToImageUrl(runtime: ChartRuntime, figure: Figure, type: "line" | "bar" | "scatter" | "pie" | "radar" | "funnel" | "scorecard" | "gauge" | "combo" | "waterfall" | "pyramid" | "geo"): string | undefined;
|
|
12811
|
+
chartToImageFile(runtime: ChartRuntime, figure: Figure, type: "line" | "bar" | "scatter" | "pie" | "radar" | "funnel" | "scorecard" | "gauge" | "combo" | "waterfall" | "pyramid" | "geo"): Promise<File | undefined>;
|
|
13240
12812
|
CHART_COMMON_OPTIONS: chart_js_dist_types_utils._DeepPartialObject<chart_js.CoreChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.ElementChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.PluginChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.DatasetChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.ScaleChartOptions<keyof chart_js.ChartTypeRegistry>>;
|
|
13241
12813
|
createGaugeChartRuntime(chart: GaugeChart, getters: Getters): GaugeChartRuntime;
|
|
13242
12814
|
GaugeChart: typeof GaugeChart;
|
|
@@ -13251,4 +12823,4 @@ declare const chartHelpers: {
|
|
|
13251
12823
|
WaterfallChart: typeof WaterfallChart;
|
|
13252
12824
|
};
|
|
13253
12825
|
|
|
13254
|
-
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartType, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|
|
12826
|
+
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartType, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|