@odoo/o-spreadsheet 18.1.0-alpha.0 → 18.1.0-alpha.2
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 +1455 -883
- package/dist/o-spreadsheet.d.ts +343 -255
- package/dist/o-spreadsheet.esm.js +1455 -883
- package/dist/o-spreadsheet.iife.js +1455 -883
- package/dist/o-spreadsheet.iife.min.js +586 -558
- package/dist/o_spreadsheet.xml +308 -240
- package/package.json +12 -12
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -218,8 +218,12 @@ type BarChartRuntime = {
|
|
|
218
218
|
};
|
|
219
219
|
|
|
220
220
|
interface ComboChartDefinition extends ComboBarChartDefinition {
|
|
221
|
+
readonly dataSets: ComboChartDataSet[];
|
|
221
222
|
readonly type: "combo";
|
|
222
223
|
}
|
|
224
|
+
type ComboChartDataSet = CustomizedDataSet & {
|
|
225
|
+
type?: "bar" | "line";
|
|
226
|
+
};
|
|
223
227
|
type ComboChartRuntime = {
|
|
224
228
|
chartJsConfig: ChartConfiguration;
|
|
225
229
|
background: Color;
|
|
@@ -313,6 +317,24 @@ type PyramidChartRuntime = {
|
|
|
313
317
|
background: Color;
|
|
314
318
|
};
|
|
315
319
|
|
|
320
|
+
interface RadarChartDefinition {
|
|
321
|
+
readonly dataSets: CustomizedDataSet[];
|
|
322
|
+
readonly dataSetsHaveTitle: boolean;
|
|
323
|
+
readonly labelRange?: string;
|
|
324
|
+
readonly title: TitleDesign;
|
|
325
|
+
readonly background?: Color;
|
|
326
|
+
readonly legendPosition: LegendPosition;
|
|
327
|
+
readonly aggregated?: boolean;
|
|
328
|
+
readonly type: "radar";
|
|
329
|
+
readonly stacked: boolean;
|
|
330
|
+
readonly axesDesign?: AxesDesign;
|
|
331
|
+
readonly fillArea?: boolean;
|
|
332
|
+
}
|
|
333
|
+
type RadarChartRuntime = {
|
|
334
|
+
chartJsConfig: ChartConfiguration;
|
|
335
|
+
background: Color;
|
|
336
|
+
};
|
|
337
|
+
|
|
316
338
|
interface ScatterChartDefinition extends Omit<LineChartDefinition, "type" | "stacked" | "cumulative"> {
|
|
317
339
|
readonly type: "scatter";
|
|
318
340
|
}
|
|
@@ -374,14 +396,14 @@ type WaterfallChartRuntime = {
|
|
|
374
396
|
background: Color;
|
|
375
397
|
};
|
|
376
398
|
|
|
377
|
-
declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall", "pyramid"];
|
|
399
|
+
declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall", "pyramid", "radar"];
|
|
378
400
|
type ChartType = (typeof CHART_TYPES)[number];
|
|
379
|
-
type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition | PyramidChartDefinition;
|
|
380
|
-
type
|
|
401
|
+
type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition | PyramidChartDefinition | RadarChartDefinition;
|
|
402
|
+
type ChartWithDataSetDefinition = Extract<ChartDefinition, {
|
|
381
403
|
dataSets: CustomizedDataSet[];
|
|
382
404
|
labelRange?: string;
|
|
383
405
|
}>;
|
|
384
|
-
type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime | PyramidChartRuntime;
|
|
406
|
+
type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime | PyramidChartRuntime | RadarChartRuntime;
|
|
385
407
|
type ChartRuntime = ChartJSRuntime | ScorecardChartRuntime | GaugeChartRuntime;
|
|
386
408
|
interface LabelValues {
|
|
387
409
|
readonly values: string[];
|
|
@@ -411,12 +433,13 @@ interface TitleDesign {
|
|
|
411
433
|
readonly align?: Align;
|
|
412
434
|
readonly color?: Color;
|
|
413
435
|
}
|
|
414
|
-
type TrendType = "polynomial" | "exponential" | "logarithmic";
|
|
436
|
+
type TrendType = "polynomial" | "exponential" | "logarithmic" | "trailingMovingAverage";
|
|
415
437
|
interface TrendConfiguration {
|
|
416
438
|
type?: TrendType;
|
|
417
439
|
order?: number;
|
|
418
440
|
color?: Color;
|
|
419
441
|
display?: boolean;
|
|
442
|
+
window?: number;
|
|
420
443
|
}
|
|
421
444
|
type CustomizedDataSet = {
|
|
422
445
|
readonly dataRange: string;
|
|
@@ -440,7 +463,7 @@ interface ExcelChartDataset {
|
|
|
440
463
|
readonly backgroundColor?: Color;
|
|
441
464
|
readonly rightYAxis?: boolean;
|
|
442
465
|
}
|
|
443
|
-
type ExcelChartType = "line" | "bar" | "pie" | "combo" | "scatter";
|
|
466
|
+
type ExcelChartType = "line" | "bar" | "pie" | "combo" | "scatter" | "radar";
|
|
444
467
|
interface ExcelChartDefinition {
|
|
445
468
|
readonly title?: TitleDesign;
|
|
446
469
|
readonly type: ExcelChartType;
|
|
@@ -475,6 +498,9 @@ interface ChartCreationContext {
|
|
|
475
498
|
readonly fillArea?: boolean;
|
|
476
499
|
readonly showValues?: boolean;
|
|
477
500
|
}
|
|
501
|
+
type ChartAxisFormats = {
|
|
502
|
+
[axisId: string]: Format | undefined;
|
|
503
|
+
} | undefined;
|
|
478
504
|
|
|
479
505
|
declare enum ClipboardMIMEType {
|
|
480
506
|
PlainText = "text/plain",
|
|
@@ -570,6 +596,7 @@ interface CommonPivotCoreDefinition {
|
|
|
570
596
|
rows: PivotCoreDimension[];
|
|
571
597
|
measures: PivotCoreMeasure[];
|
|
572
598
|
name: string;
|
|
599
|
+
deferUpdates?: boolean;
|
|
573
600
|
}
|
|
574
601
|
interface SpreadsheetPivotCoreDefinition extends CommonPivotCoreDefinition {
|
|
575
602
|
type: "SPREADSHEET";
|
|
@@ -787,12 +814,12 @@ interface ZoneDependentCommand {
|
|
|
787
814
|
}
|
|
788
815
|
declare function isZoneDependent(cmd: CoreCommand): boolean;
|
|
789
816
|
declare function isPositionDependent(cmd: CoreCommand): boolean;
|
|
790
|
-
declare const invalidateEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA">;
|
|
791
|
-
declare const invalidateChartEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA">;
|
|
792
|
-
declare const invalidateDependenciesCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA">;
|
|
793
|
-
declare const invalidateCFEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA">;
|
|
794
|
-
declare const invalidateBordersCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA">;
|
|
795
|
-
declare const readonlyAllowedCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA">;
|
|
817
|
+
declare const invalidateEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT">;
|
|
818
|
+
declare const invalidateChartEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT">;
|
|
819
|
+
declare const invalidateDependenciesCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT">;
|
|
820
|
+
declare const invalidateCFEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT">;
|
|
821
|
+
declare const invalidateBordersCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT">;
|
|
822
|
+
declare const readonlyAllowedCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT">;
|
|
796
823
|
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">;
|
|
797
824
|
declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
|
|
798
825
|
declare function canExecuteInReadonly(cmd: Command): boolean;
|
|
@@ -970,7 +997,7 @@ interface CreateImageOverCommand extends SheetDependentCommand {
|
|
|
970
997
|
interface CreateTableCommand extends RangesDependentCommand {
|
|
971
998
|
type: "CREATE_TABLE";
|
|
972
999
|
sheetId: UID;
|
|
973
|
-
config
|
|
1000
|
+
config: TableConfig;
|
|
974
1001
|
tableType: CoreTableType;
|
|
975
1002
|
}
|
|
976
1003
|
interface RemoveTableCommand extends TargetDependentCommand {
|
|
@@ -1069,6 +1096,7 @@ interface DuplicatePivotCommand {
|
|
|
1069
1096
|
type: "DUPLICATE_PIVOT";
|
|
1070
1097
|
pivotId: UID;
|
|
1071
1098
|
newPivotId: string;
|
|
1099
|
+
duplicatedPivotName?: string;
|
|
1072
1100
|
}
|
|
1073
1101
|
interface RemoveDuplicatesCommand {
|
|
1074
1102
|
type: "REMOVE_DUPLICATES";
|
|
@@ -1337,6 +1365,9 @@ interface SplitPivotFormulaCommand extends PositionDependentCommand {
|
|
|
1337
1365
|
type: "SPLIT_PIVOT_FORMULA";
|
|
1338
1366
|
pivotId: UID;
|
|
1339
1367
|
}
|
|
1368
|
+
interface PaintFormat extends TargetDependentCommand {
|
|
1369
|
+
type: "PAINT_FORMAT";
|
|
1370
|
+
}
|
|
1340
1371
|
type CoreCommand =
|
|
1341
1372
|
/** CELLS */
|
|
1342
1373
|
UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | ClearCellsCommand | DeleteContentCommand
|
|
@@ -1368,7 +1399,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | ClearCellsCom
|
|
|
1368
1399
|
| UpdateLocaleCommand
|
|
1369
1400
|
/** PIVOT */
|
|
1370
1401
|
| AddPivotCommand | UpdatePivotCommand | InsertPivotCommand | RenamePivotCommand | RemovePivotCommand | DuplicatePivotCommand;
|
|
1371
|
-
type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | StartChangeHighlightCommand | StartCommand | AutofillCommand | AutofillSelectCommand | AutofillTableCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | ReplaceSearchCommand | SortCommand | SetDecimalCommand | SetContextualFormatCommand | ResizeViewportCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | MoveViewportToCellCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand | RemoveDuplicatesCommand | TrimWhitespaceCommand | ResizeTableCommand | RefreshPivotCommand | InsertNewPivotCommand | DuplicatePivotInNewSheetCommand | InsertPivotWithTableCommand | SplitPivotFormulaCommand;
|
|
1402
|
+
type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | StartChangeHighlightCommand | StartCommand | AutofillCommand | AutofillSelectCommand | AutofillTableCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | ReplaceSearchCommand | SortCommand | SetDecimalCommand | SetContextualFormatCommand | ResizeViewportCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | MoveViewportToCellCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand | RemoveDuplicatesCommand | TrimWhitespaceCommand | ResizeTableCommand | RefreshPivotCommand | InsertNewPivotCommand | DuplicatePivotInNewSheetCommand | InsertPivotWithTableCommand | SplitPivotFormulaCommand | PaintFormat;
|
|
1372
1403
|
type Command = CoreCommand | LocalCommand;
|
|
1373
1404
|
/**
|
|
1374
1405
|
* Holds the result of a command dispatch.
|
|
@@ -2036,6 +2067,15 @@ interface AlphanumericIncrementModifier {
|
|
|
2036
2067
|
prefix: string;
|
|
2037
2068
|
numberPostfixLength: number;
|
|
2038
2069
|
}
|
|
2070
|
+
interface DateIncrementModifier {
|
|
2071
|
+
type: "DATE_INCREMENT_MODIFIER";
|
|
2072
|
+
current: number;
|
|
2073
|
+
increment: {
|
|
2074
|
+
years: number;
|
|
2075
|
+
months: number;
|
|
2076
|
+
days: number;
|
|
2077
|
+
};
|
|
2078
|
+
}
|
|
2039
2079
|
interface CopyModifier {
|
|
2040
2080
|
type: "COPY_MODIFIER";
|
|
2041
2081
|
}
|
|
@@ -2044,7 +2084,7 @@ interface FormulaModifier {
|
|
|
2044
2084
|
increment: number;
|
|
2045
2085
|
current: number;
|
|
2046
2086
|
}
|
|
2047
|
-
type AutofillModifier = IncrementModifier | AlphanumericIncrementModifier | CopyModifier | FormulaModifier;
|
|
2087
|
+
type AutofillModifier = IncrementModifier | AlphanumericIncrementModifier | CopyModifier | FormulaModifier | DateIncrementModifier;
|
|
2048
2088
|
interface Tooltip {
|
|
2049
2089
|
props: any;
|
|
2050
2090
|
component?: any;
|
|
@@ -2611,7 +2651,6 @@ interface CorePluginConfig {
|
|
|
2611
2651
|
readonly range: RangeAdapter;
|
|
2612
2652
|
readonly dispatch: CoreCommandDispatcher["dispatch"];
|
|
2613
2653
|
readonly canDispatch: CoreCommandDispatcher["dispatch"];
|
|
2614
|
-
readonly uuidGenerator: UuidGenerator;
|
|
2615
2654
|
readonly custom: ModelConfig["custom"];
|
|
2616
2655
|
readonly external: ModelConfig["external"];
|
|
2617
2656
|
}
|
|
@@ -2627,8 +2666,7 @@ interface CorePluginConstructor {
|
|
|
2627
2666
|
*/
|
|
2628
2667
|
declare class CorePlugin<State = any> extends BasePlugin<State, CoreCommand> implements RangeProvider {
|
|
2629
2668
|
protected getters: CoreGetters;
|
|
2630
|
-
|
|
2631
|
-
constructor({ getters, stateObserver, range, dispatch, canDispatch, uuidGenerator, }: CorePluginConfig);
|
|
2669
|
+
constructor({ getters, stateObserver, range, dispatch, canDispatch }: CorePluginConfig);
|
|
2632
2670
|
import(data: WorkbookData): void;
|
|
2633
2671
|
export(data: WorkbookData): void;
|
|
2634
2672
|
/**
|
|
@@ -5752,9 +5790,6 @@ declare function splitReference(ref: string): {
|
|
|
5752
5790
|
declare function computeTextWidth(context: CanvasRenderingContext2D, text: string, style: Style, fontUnit?: "px" | "pt"): number;
|
|
5753
5791
|
|
|
5754
5792
|
declare class UuidGenerator {
|
|
5755
|
-
private isFastIdStrategy;
|
|
5756
|
-
private fastIdStart;
|
|
5757
|
-
setIsFastStrategy(isFast: boolean): void;
|
|
5758
5793
|
uuidv4(): string;
|
|
5759
5794
|
}
|
|
5760
5795
|
|
|
@@ -5873,9 +5908,7 @@ interface ModelExternalConfig {
|
|
|
5873
5908
|
}
|
|
5874
5909
|
declare class Model extends EventBus<any> implements CommandDispatcher {
|
|
5875
5910
|
private corePlugins;
|
|
5876
|
-
private featurePlugins;
|
|
5877
5911
|
private statefulUIPlugins;
|
|
5878
|
-
private coreViewsPlugins;
|
|
5879
5912
|
private range;
|
|
5880
5913
|
private session;
|
|
5881
5914
|
/**
|
|
@@ -6481,7 +6514,7 @@ interface ChartSubtypeProperties {
|
|
|
6481
6514
|
preview: string;
|
|
6482
6515
|
}
|
|
6483
6516
|
|
|
6484
|
-
interface Props$
|
|
6517
|
+
interface Props$17 {
|
|
6485
6518
|
label?: string;
|
|
6486
6519
|
value: boolean;
|
|
6487
6520
|
className?: string;
|
|
@@ -6490,7 +6523,7 @@ interface Props$16 {
|
|
|
6490
6523
|
disabled?: boolean;
|
|
6491
6524
|
onChange: (value: boolean) => void;
|
|
6492
6525
|
}
|
|
6493
|
-
declare class Checkbox extends Component<Props$
|
|
6526
|
+
declare class Checkbox extends Component<Props$17, SpreadsheetChildEnv> {
|
|
6494
6527
|
static template: string;
|
|
6495
6528
|
static props: {
|
|
6496
6529
|
label: {
|
|
@@ -6525,16 +6558,20 @@ declare class Checkbox extends Component<Props$16, SpreadsheetChildEnv> {
|
|
|
6525
6558
|
onChange(ev: InputEvent): void;
|
|
6526
6559
|
}
|
|
6527
6560
|
|
|
6528
|
-
interface Props$
|
|
6561
|
+
interface Props$16 {
|
|
6529
6562
|
class?: string;
|
|
6530
6563
|
}
|
|
6531
|
-
declare class Section extends Component<Props$
|
|
6564
|
+
declare class Section extends Component<Props$16, SpreadsheetChildEnv> {
|
|
6532
6565
|
static template: string;
|
|
6533
6566
|
static props: {
|
|
6534
6567
|
class: {
|
|
6535
6568
|
type: StringConstructor;
|
|
6536
6569
|
optional: boolean;
|
|
6537
6570
|
};
|
|
6571
|
+
title: {
|
|
6572
|
+
type: StringConstructor;
|
|
6573
|
+
optional: boolean;
|
|
6574
|
+
};
|
|
6538
6575
|
slots: ObjectConstructor;
|
|
6539
6576
|
};
|
|
6540
6577
|
}
|
|
@@ -6657,7 +6694,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
6657
6694
|
getIndex(rangeId: number | null): number | null;
|
|
6658
6695
|
}
|
|
6659
6696
|
|
|
6660
|
-
interface Props$
|
|
6697
|
+
interface Props$15 {
|
|
6661
6698
|
ranges: string[];
|
|
6662
6699
|
hasSingleRange?: boolean;
|
|
6663
6700
|
required?: boolean;
|
|
@@ -6680,7 +6717,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
6680
6717
|
* onSelectionChanged is called every time the input value
|
|
6681
6718
|
* changes.
|
|
6682
6719
|
*/
|
|
6683
|
-
declare class SelectionInput extends Component<Props$
|
|
6720
|
+
declare class SelectionInput extends Component<Props$15, SpreadsheetChildEnv> {
|
|
6684
6721
|
static template: string;
|
|
6685
6722
|
static props: {
|
|
6686
6723
|
ranges: ArrayConstructor;
|
|
@@ -6735,13 +6772,13 @@ declare class SelectionInput extends Component<Props$14, SpreadsheetChildEnv> {
|
|
|
6735
6772
|
confirm(): void;
|
|
6736
6773
|
}
|
|
6737
6774
|
|
|
6738
|
-
interface Props$
|
|
6775
|
+
interface Props$14 {
|
|
6739
6776
|
ranges: CustomizedDataSet[];
|
|
6740
6777
|
hasSingleRange?: boolean;
|
|
6741
6778
|
onSelectionChanged: (ranges: string[]) => void;
|
|
6742
6779
|
onSelectionConfirmed: () => void;
|
|
6743
6780
|
}
|
|
6744
|
-
declare class ChartDataSeries extends Component<Props$
|
|
6781
|
+
declare class ChartDataSeries extends Component<Props$14, SpreadsheetChildEnv> {
|
|
6745
6782
|
static template: string;
|
|
6746
6783
|
static components: {
|
|
6747
6784
|
SelectionInput: typeof SelectionInput;
|
|
@@ -6761,12 +6798,12 @@ declare class ChartDataSeries extends Component<Props$13, SpreadsheetChildEnv> {
|
|
|
6761
6798
|
get title(): string;
|
|
6762
6799
|
}
|
|
6763
6800
|
|
|
6764
|
-
interface Props$
|
|
6801
|
+
interface Props$13 {
|
|
6765
6802
|
messages: string[];
|
|
6766
6803
|
msgType: "warning" | "error" | "info";
|
|
6767
6804
|
singleBox?: boolean;
|
|
6768
6805
|
}
|
|
6769
|
-
declare class ValidationMessages extends Component<Props$
|
|
6806
|
+
declare class ValidationMessages extends Component<Props$13, SpreadsheetChildEnv> {
|
|
6770
6807
|
static template: string;
|
|
6771
6808
|
static props: {
|
|
6772
6809
|
messages: ArrayConstructor;
|
|
@@ -6780,10 +6817,10 @@ declare class ValidationMessages extends Component<Props$12, SpreadsheetChildEnv
|
|
|
6780
6817
|
get alertBoxes(): string[][];
|
|
6781
6818
|
}
|
|
6782
6819
|
|
|
6783
|
-
interface Props$
|
|
6820
|
+
interface Props$12 {
|
|
6784
6821
|
messages: string[];
|
|
6785
6822
|
}
|
|
6786
|
-
declare class ChartErrorSection extends Component<Props$
|
|
6823
|
+
declare class ChartErrorSection extends Component<Props$12, SpreadsheetChildEnv> {
|
|
6787
6824
|
static template: string;
|
|
6788
6825
|
static components: {
|
|
6789
6826
|
Section: typeof Section;
|
|
@@ -6797,7 +6834,7 @@ declare class ChartErrorSection extends Component<Props$11, SpreadsheetChildEnv>
|
|
|
6797
6834
|
};
|
|
6798
6835
|
}
|
|
6799
6836
|
|
|
6800
|
-
interface Props$
|
|
6837
|
+
interface Props$11 {
|
|
6801
6838
|
title?: string;
|
|
6802
6839
|
range: string;
|
|
6803
6840
|
isInvalid: boolean;
|
|
@@ -6810,7 +6847,7 @@ interface Props$10 {
|
|
|
6810
6847
|
onChange: (value: boolean) => void;
|
|
6811
6848
|
}>;
|
|
6812
6849
|
}
|
|
6813
|
-
declare class ChartLabelRange extends Component<Props$
|
|
6850
|
+
declare class ChartLabelRange extends Component<Props$11, SpreadsheetChildEnv> {
|
|
6814
6851
|
static template: string;
|
|
6815
6852
|
static components: {
|
|
6816
6853
|
SelectionInput: typeof SelectionInput;
|
|
@@ -6831,16 +6868,16 @@ declare class ChartLabelRange extends Component<Props$10, SpreadsheetChildEnv> {
|
|
|
6831
6868
|
optional: boolean;
|
|
6832
6869
|
};
|
|
6833
6870
|
};
|
|
6834
|
-
static defaultProps: Partial<Props$
|
|
6871
|
+
static defaultProps: Partial<Props$11>;
|
|
6835
6872
|
}
|
|
6836
6873
|
|
|
6837
|
-
interface Props
|
|
6874
|
+
interface Props$10 {
|
|
6838
6875
|
figureId: UID;
|
|
6839
|
-
definition:
|
|
6840
|
-
canUpdateChart: (figureId: UID, definition: Partial<
|
|
6841
|
-
updateChart: (figureId: UID, definition: Partial<
|
|
6876
|
+
definition: ChartWithDataSetDefinition;
|
|
6877
|
+
canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
6878
|
+
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
6842
6879
|
}
|
|
6843
|
-
declare class GenericChartConfigPanel extends Component<Props
|
|
6880
|
+
declare class GenericChartConfigPanel extends Component<Props$10, SpreadsheetChildEnv> {
|
|
6844
6881
|
static template: string;
|
|
6845
6882
|
static components: {
|
|
6846
6883
|
ChartDataSeries: typeof ChartDataSeries;
|
|
@@ -6916,13 +6953,16 @@ declare class GenericChartConfigPanel extends Component<Props$$, SpreadsheetChil
|
|
|
6916
6953
|
declare class BarConfigPanel extends GenericChartConfigPanel {
|
|
6917
6954
|
static template: string;
|
|
6918
6955
|
onUpdateStacked(stacked: boolean): void;
|
|
6919
|
-
onUpdateAggregated(aggregated: boolean): void;
|
|
6920
6956
|
}
|
|
6921
6957
|
|
|
6922
6958
|
declare class SidePanelCollapsible extends Component {
|
|
6923
6959
|
static template: string;
|
|
6924
6960
|
static props: {
|
|
6925
6961
|
slots: ObjectConstructor;
|
|
6962
|
+
title: {
|
|
6963
|
+
type: StringConstructor;
|
|
6964
|
+
optional: boolean;
|
|
6965
|
+
};
|
|
6926
6966
|
collapsedAtInit: {
|
|
6927
6967
|
type: BooleanConstructor;
|
|
6928
6968
|
optional: boolean;
|
|
@@ -6936,32 +6976,20 @@ declare class SidePanelCollapsible extends Component {
|
|
|
6936
6976
|
}
|
|
6937
6977
|
|
|
6938
6978
|
interface Choice$1 {
|
|
6939
|
-
value:
|
|
6979
|
+
value: string;
|
|
6940
6980
|
label: string;
|
|
6941
6981
|
}
|
|
6942
|
-
interface Props
|
|
6982
|
+
interface Props$$ {
|
|
6943
6983
|
choices: Choice$1[];
|
|
6944
|
-
onChange: (value:
|
|
6984
|
+
onChange: (value: string) => void;
|
|
6945
6985
|
selectedValue: string;
|
|
6946
|
-
name: string;
|
|
6947
|
-
direction: "horizontal" | "vertical";
|
|
6948
6986
|
}
|
|
6949
|
-
declare class
|
|
6987
|
+
declare class BadgeSelection extends Component<Props$$, SpreadsheetChildEnv> {
|
|
6950
6988
|
static template: string;
|
|
6951
6989
|
static props: {
|
|
6952
6990
|
choices: ArrayConstructor;
|
|
6953
6991
|
onChange: FunctionConstructor;
|
|
6954
|
-
selectedValue:
|
|
6955
|
-
optional: boolean;
|
|
6956
|
-
};
|
|
6957
|
-
name: StringConstructor;
|
|
6958
|
-
direction: {
|
|
6959
|
-
type: StringConstructor;
|
|
6960
|
-
optional: boolean;
|
|
6961
|
-
};
|
|
6962
|
-
};
|
|
6963
|
-
static defaultProps: {
|
|
6964
|
-
direction: string;
|
|
6992
|
+
selectedValue: StringConstructor;
|
|
6965
6993
|
};
|
|
6966
6994
|
}
|
|
6967
6995
|
|
|
@@ -7108,7 +7136,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
7108
7136
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
7109
7137
|
}
|
|
7110
7138
|
|
|
7111
|
-
interface Props$
|
|
7139
|
+
interface Props$_ {
|
|
7112
7140
|
currentColor: string | undefined;
|
|
7113
7141
|
toggleColorPicker: () => void;
|
|
7114
7142
|
showColorPicker: boolean;
|
|
@@ -7119,7 +7147,7 @@ interface Props$Z {
|
|
|
7119
7147
|
dropdownMaxHeight?: Pixel;
|
|
7120
7148
|
class?: string;
|
|
7121
7149
|
}
|
|
7122
|
-
declare class ColorPickerWidget extends Component<Props$
|
|
7150
|
+
declare class ColorPickerWidget extends Component<Props$_, SpreadsheetChildEnv> {
|
|
7123
7151
|
static template: string;
|
|
7124
7152
|
static props: {
|
|
7125
7153
|
currentColor: {
|
|
@@ -7157,60 +7185,7 @@ declare class ColorPickerWidget extends Component<Props$Z, SpreadsheetChildEnv>
|
|
|
7157
7185
|
get colorPickerAnchorRect(): Rect;
|
|
7158
7186
|
}
|
|
7159
7187
|
|
|
7160
|
-
interface Props$
|
|
7161
|
-
currentColor?: string;
|
|
7162
|
-
onColorPicked: (color: string) => void;
|
|
7163
|
-
title?: string;
|
|
7164
|
-
}
|
|
7165
|
-
declare class RoundColorPicker extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
7166
|
-
static template: string;
|
|
7167
|
-
static components: {
|
|
7168
|
-
ColorPickerWidget: typeof ColorPickerWidget;
|
|
7169
|
-
Section: typeof Section;
|
|
7170
|
-
ColorPicker: typeof ColorPicker;
|
|
7171
|
-
};
|
|
7172
|
-
static props: {
|
|
7173
|
-
currentColor: {
|
|
7174
|
-
type: StringConstructor;
|
|
7175
|
-
optional: boolean;
|
|
7176
|
-
};
|
|
7177
|
-
title: {
|
|
7178
|
-
type: StringConstructor;
|
|
7179
|
-
optional: boolean;
|
|
7180
|
-
};
|
|
7181
|
-
onColorPicked: FunctionConstructor;
|
|
7182
|
-
};
|
|
7183
|
-
colorPickerButtonRef: {
|
|
7184
|
-
el: HTMLElement | null;
|
|
7185
|
-
};
|
|
7186
|
-
private state;
|
|
7187
|
-
setup(): void;
|
|
7188
|
-
closePicker(): void;
|
|
7189
|
-
togglePicker(): void;
|
|
7190
|
-
onColorPicked(color: string): void;
|
|
7191
|
-
get colorPickerAnchorRect(): Rect;
|
|
7192
|
-
get buttonStyle(): string;
|
|
7193
|
-
}
|
|
7194
|
-
|
|
7195
|
-
interface Choice {
|
|
7196
|
-
value: string;
|
|
7197
|
-
label: string;
|
|
7198
|
-
}
|
|
7199
|
-
interface Props$X {
|
|
7200
|
-
choices: Choice[];
|
|
7201
|
-
onChange: (value: string) => void;
|
|
7202
|
-
selectedValue: string;
|
|
7203
|
-
}
|
|
7204
|
-
declare class BadgeSelection extends Component<Props$X, SpreadsheetChildEnv> {
|
|
7205
|
-
static template: string;
|
|
7206
|
-
static props: {
|
|
7207
|
-
choices: ArrayConstructor;
|
|
7208
|
-
onChange: FunctionConstructor;
|
|
7209
|
-
selectedValue: StringConstructor;
|
|
7210
|
-
};
|
|
7211
|
-
}
|
|
7212
|
-
|
|
7213
|
-
interface Props$W {
|
|
7188
|
+
interface Props$Z {
|
|
7214
7189
|
title?: string;
|
|
7215
7190
|
updateTitle: (title: string) => void;
|
|
7216
7191
|
name?: string;
|
|
@@ -7220,7 +7195,7 @@ interface Props$W {
|
|
|
7220
7195
|
updateColor?: (Color: any) => void;
|
|
7221
7196
|
style: TitleDesign;
|
|
7222
7197
|
}
|
|
7223
|
-
declare class ChartTitle extends Component<Props$
|
|
7198
|
+
declare class ChartTitle extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
7224
7199
|
static template: string;
|
|
7225
7200
|
static components: {
|
|
7226
7201
|
Section: typeof Section;
|
|
@@ -7283,13 +7258,13 @@ interface AxisDefinition {
|
|
|
7283
7258
|
id: string;
|
|
7284
7259
|
name: string;
|
|
7285
7260
|
}
|
|
7286
|
-
interface Props$
|
|
7261
|
+
interface Props$Y {
|
|
7287
7262
|
figureId: UID;
|
|
7288
|
-
definition:
|
|
7289
|
-
updateChart: (figureId: UID, definition: Partial<
|
|
7263
|
+
definition: ChartWithDataSetDefinition | WaterfallChartDefinition;
|
|
7264
|
+
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition | WaterfallChartDefinition>) => DispatchResult;
|
|
7290
7265
|
axesList: AxisDefinition[];
|
|
7291
7266
|
}
|
|
7292
|
-
declare class AxisDesignEditor extends Component<Props$
|
|
7267
|
+
declare class AxisDesignEditor extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
7293
7268
|
static template: string;
|
|
7294
7269
|
static components: {
|
|
7295
7270
|
Section: typeof Section;
|
|
@@ -7319,12 +7294,46 @@ declare class AxisDesignEditor extends Component<Props$V, SpreadsheetChildEnv> {
|
|
|
7319
7294
|
updateAxisTitle(text: string): void;
|
|
7320
7295
|
}
|
|
7321
7296
|
|
|
7322
|
-
interface Props$
|
|
7297
|
+
interface Props$X {
|
|
7298
|
+
currentColor?: string;
|
|
7299
|
+
onColorPicked: (color: string) => void;
|
|
7300
|
+
title?: string;
|
|
7301
|
+
}
|
|
7302
|
+
declare class RoundColorPicker extends Component<Props$X, SpreadsheetChildEnv> {
|
|
7303
|
+
static template: string;
|
|
7304
|
+
static components: {
|
|
7305
|
+
Section: typeof Section;
|
|
7306
|
+
ColorPicker: typeof ColorPicker;
|
|
7307
|
+
};
|
|
7308
|
+
static props: {
|
|
7309
|
+
currentColor: {
|
|
7310
|
+
type: StringConstructor;
|
|
7311
|
+
optional: boolean;
|
|
7312
|
+
};
|
|
7313
|
+
title: {
|
|
7314
|
+
type: StringConstructor;
|
|
7315
|
+
optional: boolean;
|
|
7316
|
+
};
|
|
7317
|
+
onColorPicked: FunctionConstructor;
|
|
7318
|
+
};
|
|
7319
|
+
colorPickerButtonRef: {
|
|
7320
|
+
el: HTMLElement | null;
|
|
7321
|
+
};
|
|
7322
|
+
private state;
|
|
7323
|
+
setup(): void;
|
|
7324
|
+
closePicker(): void;
|
|
7325
|
+
togglePicker(): void;
|
|
7326
|
+
onColorPicked(color: string): void;
|
|
7327
|
+
get colorPickerAnchorRect(): Rect;
|
|
7328
|
+
get buttonStyle(): string;
|
|
7329
|
+
}
|
|
7330
|
+
|
|
7331
|
+
interface Props$W {
|
|
7323
7332
|
figureId: UID;
|
|
7324
7333
|
definition: ChartDefinition;
|
|
7325
7334
|
updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
7326
7335
|
}
|
|
7327
|
-
declare class GeneralDesignEditor extends Component<Props$
|
|
7336
|
+
declare class GeneralDesignEditor extends Component<Props$W, SpreadsheetChildEnv> {
|
|
7328
7337
|
static template: string;
|
|
7329
7338
|
static components: {
|
|
7330
7339
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -7354,63 +7363,148 @@ declare class GeneralDesignEditor extends Component<Props$U, SpreadsheetChildEnv
|
|
|
7354
7363
|
updateChartTitleAlignment(align: "left" | "center" | "right"): void;
|
|
7355
7364
|
}
|
|
7356
7365
|
|
|
7357
|
-
interface
|
|
7366
|
+
interface Choice {
|
|
7367
|
+
value: unknown;
|
|
7368
|
+
label: string;
|
|
7369
|
+
}
|
|
7370
|
+
interface Props$V {
|
|
7371
|
+
choices: Choice[];
|
|
7372
|
+
onChange: (value: unknown) => void;
|
|
7373
|
+
selectedValue: string;
|
|
7374
|
+
name: string;
|
|
7375
|
+
direction: "horizontal" | "vertical";
|
|
7376
|
+
}
|
|
7377
|
+
declare class RadioSelection extends Component<Props$V, SpreadsheetChildEnv> {
|
|
7378
|
+
static template: string;
|
|
7379
|
+
static props: {
|
|
7380
|
+
choices: ArrayConstructor;
|
|
7381
|
+
onChange: FunctionConstructor;
|
|
7382
|
+
selectedValue: {
|
|
7383
|
+
optional: boolean;
|
|
7384
|
+
};
|
|
7385
|
+
name: StringConstructor;
|
|
7386
|
+
direction: {
|
|
7387
|
+
type: StringConstructor;
|
|
7388
|
+
optional: boolean;
|
|
7389
|
+
};
|
|
7390
|
+
};
|
|
7391
|
+
static defaultProps: {
|
|
7392
|
+
direction: string;
|
|
7393
|
+
};
|
|
7394
|
+
}
|
|
7395
|
+
|
|
7396
|
+
interface Props$U {
|
|
7358
7397
|
figureId: UID;
|
|
7359
|
-
definition:
|
|
7360
|
-
canUpdateChart: (figureID: UID, definition: Partial<
|
|
7361
|
-
updateChart: (figureId: UID, definition: Partial<
|
|
7398
|
+
definition: ChartWithDataSetDefinition;
|
|
7399
|
+
canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7400
|
+
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7362
7401
|
}
|
|
7363
|
-
declare class
|
|
7402
|
+
declare class SeriesDesignEditor extends Component<Props$U, SpreadsheetChildEnv> {
|
|
7364
7403
|
static template: string;
|
|
7365
7404
|
static components: {
|
|
7366
|
-
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
7367
7405
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
7368
7406
|
Section: typeof Section;
|
|
7369
|
-
AxisDesignEditor: typeof AxisDesignEditor;
|
|
7370
7407
|
RoundColorPicker: typeof RoundColorPicker;
|
|
7408
|
+
};
|
|
7409
|
+
static props: {
|
|
7410
|
+
figureId: StringConstructor;
|
|
7411
|
+
definition: ObjectConstructor;
|
|
7412
|
+
updateChart: FunctionConstructor;
|
|
7413
|
+
canUpdateChart: FunctionConstructor;
|
|
7414
|
+
slots: {
|
|
7415
|
+
type: ObjectConstructor;
|
|
7416
|
+
optional: boolean;
|
|
7417
|
+
};
|
|
7418
|
+
};
|
|
7419
|
+
protected state: {
|
|
7420
|
+
index: number;
|
|
7421
|
+
};
|
|
7422
|
+
getDataSeries(): (string | undefined)[];
|
|
7423
|
+
updateSerieEditor(ev: any): void;
|
|
7424
|
+
updateDataSeriesColor(color: string): void;
|
|
7425
|
+
getDataSerieColor(): "" | Color;
|
|
7426
|
+
updateDataSeriesLabel(ev: any): void;
|
|
7427
|
+
getDataSerieLabel(): string | undefined;
|
|
7428
|
+
}
|
|
7429
|
+
|
|
7430
|
+
interface Props$T {
|
|
7431
|
+
figureId: UID;
|
|
7432
|
+
definition: ChartWithDataSetDefinition;
|
|
7433
|
+
canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7434
|
+
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7435
|
+
}
|
|
7436
|
+
declare class SeriesWithAxisDesignEditor extends Component<Props$T, SpreadsheetChildEnv> {
|
|
7437
|
+
static template: string;
|
|
7438
|
+
static components: {
|
|
7439
|
+
SeriesDesignEditor: typeof SeriesDesignEditor;
|
|
7371
7440
|
Checkbox: typeof Checkbox;
|
|
7372
7441
|
RadioSelection: typeof RadioSelection;
|
|
7442
|
+
Section: typeof Section;
|
|
7443
|
+
RoundColorPicker: typeof RoundColorPicker;
|
|
7373
7444
|
};
|
|
7374
7445
|
static props: {
|
|
7375
7446
|
figureId: StringConstructor;
|
|
7376
7447
|
definition: ObjectConstructor;
|
|
7377
7448
|
canUpdateChart: FunctionConstructor;
|
|
7378
7449
|
updateChart: FunctionConstructor;
|
|
7450
|
+
slots: {
|
|
7451
|
+
type: ObjectConstructor;
|
|
7452
|
+
optional: boolean;
|
|
7453
|
+
};
|
|
7379
7454
|
};
|
|
7380
7455
|
axisChoices: {
|
|
7381
7456
|
value: string;
|
|
7382
7457
|
label: string;
|
|
7383
7458
|
}[];
|
|
7384
|
-
|
|
7385
|
-
|
|
7386
|
-
updateLegendPosition(ev: any): void;
|
|
7387
|
-
getDataSeries(): string[];
|
|
7388
|
-
updateSerieEditor(ev: any): void;
|
|
7389
|
-
updateDataSeriesColor(color: string): void;
|
|
7390
|
-
getDataSerieColor(): "" | Color;
|
|
7391
|
-
updateDataSeriesAxis(axis: "left" | "right"): void;
|
|
7392
|
-
getDataSerieAxis(): "left" | "right";
|
|
7459
|
+
updateDataSeriesAxis(index: number, axis: "left" | "right"): void;
|
|
7460
|
+
getDataSerieAxis(index: number): "left" | "right";
|
|
7393
7461
|
get canHaveTwoVerticalAxis(): boolean;
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
updateShowValues(showValues: boolean): void;
|
|
7397
|
-
toggleDataTrend(display: boolean): void;
|
|
7398
|
-
getTrendLineConfiguration(): TrendConfiguration | undefined;
|
|
7462
|
+
toggleDataTrend(index: number, display: boolean): void;
|
|
7463
|
+
getTrendLineConfiguration(index: number): TrendConfiguration | undefined;
|
|
7399
7464
|
getTrendType(config: TrendConfiguration): "linear" | "" | TrendType | undefined;
|
|
7400
|
-
onChangeTrendType(ev: InputEvent): void;
|
|
7401
|
-
onChangePolynomialDegree(ev: InputEvent): void;
|
|
7402
|
-
|
|
7403
|
-
|
|
7404
|
-
|
|
7465
|
+
onChangeTrendType(index: any, ev: InputEvent): void;
|
|
7466
|
+
onChangePolynomialDegree(index: number, ev: InputEvent): void;
|
|
7467
|
+
get defaultWindowSize(): number;
|
|
7468
|
+
onChangeMovingAverageWindow(index: number, ev: InputEvent): void;
|
|
7469
|
+
getDataSerieColor(index: number): "" | Color;
|
|
7470
|
+
getTrendLineColor(index: number): string;
|
|
7471
|
+
updateTrendLineColor(index: number, color: Color): void;
|
|
7472
|
+
updateTrendLineValue(index: number, config: any): void;
|
|
7405
7473
|
}
|
|
7406
7474
|
|
|
7407
7475
|
interface Props$S {
|
|
7476
|
+
figureId: UID;
|
|
7477
|
+
definition: ChartWithDataSetDefinition;
|
|
7478
|
+
canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7479
|
+
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7480
|
+
}
|
|
7481
|
+
declare class ChartWithAxisDesignPanel<P extends Props$S = Props$S> extends Component<P, SpreadsheetChildEnv> {
|
|
7482
|
+
static template: string;
|
|
7483
|
+
static components: {
|
|
7484
|
+
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
7485
|
+
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
7486
|
+
Section: typeof Section;
|
|
7487
|
+
AxisDesignEditor: typeof AxisDesignEditor;
|
|
7488
|
+
Checkbox: typeof Checkbox;
|
|
7489
|
+
SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
|
|
7490
|
+
};
|
|
7491
|
+
static props: {
|
|
7492
|
+
figureId: StringConstructor;
|
|
7493
|
+
definition: ObjectConstructor;
|
|
7494
|
+
canUpdateChart: FunctionConstructor;
|
|
7495
|
+
updateChart: FunctionConstructor;
|
|
7496
|
+
};
|
|
7497
|
+
get axesList(): AxisDefinition[];
|
|
7498
|
+
updateLegendPosition(ev: any): void;
|
|
7499
|
+
}
|
|
7500
|
+
|
|
7501
|
+
interface Props$R {
|
|
7408
7502
|
figureId: UID;
|
|
7409
7503
|
definition: GaugeChartDefinition;
|
|
7410
7504
|
canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
7411
7505
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
7412
7506
|
}
|
|
7413
|
-
declare class GaugeChartConfigPanel extends Component<Props$
|
|
7507
|
+
declare class GaugeChartConfigPanel extends Component<Props$R, SpreadsheetChildEnv> {
|
|
7414
7508
|
static template: string;
|
|
7415
7509
|
static components: {
|
|
7416
7510
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -7435,13 +7529,13 @@ interface PanelState {
|
|
|
7435
7529
|
sectionRuleDispatchResult?: DispatchResult;
|
|
7436
7530
|
sectionRule: SectionRule;
|
|
7437
7531
|
}
|
|
7438
|
-
interface Props$
|
|
7532
|
+
interface Props$Q {
|
|
7439
7533
|
figureId: UID;
|
|
7440
7534
|
definition: GaugeChartDefinition;
|
|
7441
7535
|
canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
7442
7536
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
7443
7537
|
}
|
|
7444
|
-
declare class GaugeChartDesignPanel extends Component<Props$
|
|
7538
|
+
declare class GaugeChartDesignPanel extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
7445
7539
|
static template: string;
|
|
7446
7540
|
static components: {
|
|
7447
7541
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -7483,17 +7577,16 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
7483
7577
|
}[];
|
|
7484
7578
|
onUpdateLabelsAsText(labelsAsText: boolean): void;
|
|
7485
7579
|
onUpdateStacked(stacked: boolean): void;
|
|
7486
|
-
onUpdateAggregated(aggregated: boolean): void;
|
|
7487
7580
|
onUpdateCumulative(cumulative: boolean): void;
|
|
7488
7581
|
}
|
|
7489
7582
|
|
|
7490
|
-
interface Props$
|
|
7583
|
+
interface Props$P {
|
|
7491
7584
|
figureId: UID;
|
|
7492
7585
|
definition: ScorecardChartDefinition;
|
|
7493
7586
|
canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
7494
7587
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
7495
7588
|
}
|
|
7496
|
-
declare class ScorecardChartConfigPanel extends Component<Props$
|
|
7589
|
+
declare class ScorecardChartConfigPanel extends Component<Props$P, SpreadsheetChildEnv> {
|
|
7497
7590
|
static template: string;
|
|
7498
7591
|
static components: {
|
|
7499
7592
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7522,13 +7615,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$Q, SpreadsheetCh
|
|
|
7522
7615
|
}
|
|
7523
7616
|
|
|
7524
7617
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
7525
|
-
interface Props$
|
|
7618
|
+
interface Props$O {
|
|
7526
7619
|
figureId: UID;
|
|
7527
7620
|
definition: ScorecardChartDefinition;
|
|
7528
7621
|
canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
7529
7622
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
7530
7623
|
}
|
|
7531
|
-
declare class ScorecardChartDesignPanel extends Component<Props$
|
|
7624
|
+
declare class ScorecardChartDesignPanel extends Component<Props$O, SpreadsheetChildEnv> {
|
|
7532
7625
|
static template: string;
|
|
7533
7626
|
static components: {
|
|
7534
7627
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -7686,13 +7779,13 @@ interface EnrichedToken extends Token {
|
|
|
7686
7779
|
functionContext?: FunctionContext;
|
|
7687
7780
|
}
|
|
7688
7781
|
|
|
7689
|
-
interface Props$
|
|
7782
|
+
interface Props$N {
|
|
7690
7783
|
proposals: AutoCompleteProposal[];
|
|
7691
7784
|
selectedIndex: number | undefined;
|
|
7692
7785
|
onValueSelected: (value: string) => void;
|
|
7693
7786
|
onValueHovered: (index: string) => void;
|
|
7694
7787
|
}
|
|
7695
|
-
declare class TextValueProvider extends Component<Props$
|
|
7788
|
+
declare class TextValueProvider extends Component<Props$N> {
|
|
7696
7789
|
static template: string;
|
|
7697
7790
|
static props: {
|
|
7698
7791
|
proposals: ArrayConstructor;
|
|
@@ -7778,19 +7871,19 @@ declare class ContentEditableHelper {
|
|
|
7778
7871
|
getText(): string;
|
|
7779
7872
|
}
|
|
7780
7873
|
|
|
7781
|
-
interface Props$
|
|
7874
|
+
interface Props$M {
|
|
7782
7875
|
functionName: string;
|
|
7783
7876
|
functionDescription: FunctionDescription;
|
|
7784
7877
|
argToFocus: number;
|
|
7785
7878
|
}
|
|
7786
|
-
declare class FunctionDescriptionProvider extends Component<Props$
|
|
7879
|
+
declare class FunctionDescriptionProvider extends Component<Props$M, SpreadsheetChildEnv> {
|
|
7787
7880
|
static template: string;
|
|
7788
7881
|
static props: {
|
|
7789
7882
|
functionName: StringConstructor;
|
|
7790
7883
|
functionDescription: ObjectConstructor;
|
|
7791
7884
|
argToFocus: NumberConstructor;
|
|
7792
7885
|
};
|
|
7793
|
-
getContext(): Props$
|
|
7886
|
+
getContext(): Props$M;
|
|
7794
7887
|
get formulaArgSeparator(): string;
|
|
7795
7888
|
}
|
|
7796
7889
|
|
|
@@ -7799,7 +7892,7 @@ interface ComposerSelection {
|
|
|
7799
7892
|
end: number;
|
|
7800
7893
|
}
|
|
7801
7894
|
declare abstract class AbstractComposerStore extends SpreadsheetStore {
|
|
7802
|
-
mutators: readonly ["startEdition", "setCurrentContent", "stopEdition", "stopComposerRangeSelection", "cancelEdition", "cycleReferences", "changeComposerCursorSelection", "replaceComposerCursorSelection"];
|
|
7895
|
+
mutators: readonly ["startEdition", "setCurrentContent", "stopEdition", "stopComposerRangeSelection", "cancelEdition", "cycleReferences", "toggleEditionMode", "changeComposerCursorSelection", "replaceComposerCursorSelection"];
|
|
7803
7896
|
protected col: HeaderIndex;
|
|
7804
7897
|
protected row: HeaderIndex;
|
|
7805
7898
|
editionMode: EditionMode;
|
|
@@ -7839,6 +7932,8 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
|
|
|
7839
7932
|
*/
|
|
7840
7933
|
get tokenAtCursor(): EnrichedToken | undefined;
|
|
7841
7934
|
cycleReferences(): void;
|
|
7935
|
+
toggleEditionMode(): void;
|
|
7936
|
+
private captureSelection;
|
|
7842
7937
|
private isSelectionValid;
|
|
7843
7938
|
/**
|
|
7844
7939
|
* Enable the selecting mode
|
|
@@ -8033,6 +8128,7 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
|
|
|
8033
8128
|
private processNewLineEvent;
|
|
8034
8129
|
private processEscapeKey;
|
|
8035
8130
|
private processF4Key;
|
|
8131
|
+
private toggleEditionMode;
|
|
8036
8132
|
private processNumpadDecimal;
|
|
8037
8133
|
onCompositionStart(): void;
|
|
8038
8134
|
onCompositionEnd(): void;
|
|
@@ -8153,10 +8249,10 @@ declare class ComposerFocusStore extends SpreadsheetStore {
|
|
|
8153
8249
|
private setComposerContent;
|
|
8154
8250
|
}
|
|
8155
8251
|
|
|
8156
|
-
interface Props$
|
|
8252
|
+
interface Props$L {
|
|
8157
8253
|
figure: Figure;
|
|
8158
8254
|
}
|
|
8159
|
-
declare class ChartJsComponent extends Component<Props$
|
|
8255
|
+
declare class ChartJsComponent extends Component<Props$L, SpreadsheetChildEnv> {
|
|
8160
8256
|
static template: string;
|
|
8161
8257
|
static props: {
|
|
8162
8258
|
figure: ObjectConstructor;
|
|
@@ -8172,10 +8268,10 @@ declare class ChartJsComponent extends Component<Props$M, SpreadsheetChildEnv> {
|
|
|
8172
8268
|
private updateChartJs;
|
|
8173
8269
|
}
|
|
8174
8270
|
|
|
8175
|
-
interface Props$
|
|
8271
|
+
interface Props$K {
|
|
8176
8272
|
figure: Figure;
|
|
8177
8273
|
}
|
|
8178
|
-
declare class ScorecardChart extends Component<Props$
|
|
8274
|
+
declare class ScorecardChart extends Component<Props$K, SpreadsheetChildEnv> {
|
|
8179
8275
|
static template: string;
|
|
8180
8276
|
static props: {
|
|
8181
8277
|
figure: ObjectConstructor;
|
|
@@ -8188,7 +8284,7 @@ declare class ScorecardChart extends Component<Props$L, SpreadsheetChildEnv> {
|
|
|
8188
8284
|
}
|
|
8189
8285
|
|
|
8190
8286
|
type MenuItemOrSeparator = Action | "separator";
|
|
8191
|
-
interface Props$
|
|
8287
|
+
interface Props$J {
|
|
8192
8288
|
position: DOMCoordinates;
|
|
8193
8289
|
menuItems: Action[];
|
|
8194
8290
|
depth: number;
|
|
@@ -8207,7 +8303,7 @@ interface MenuState {
|
|
|
8207
8303
|
menuItems: Action[];
|
|
8208
8304
|
isHoveringChild?: boolean;
|
|
8209
8305
|
}
|
|
8210
|
-
declare class Menu extends Component<Props$
|
|
8306
|
+
declare class Menu extends Component<Props$J, SpreadsheetChildEnv> {
|
|
8211
8307
|
static template: string;
|
|
8212
8308
|
static props: {
|
|
8213
8309
|
position: ObjectConstructor;
|
|
@@ -8283,14 +8379,14 @@ declare class Menu extends Component<Props$K, SpreadsheetChildEnv> {
|
|
|
8283
8379
|
}
|
|
8284
8380
|
|
|
8285
8381
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
8286
|
-
interface Props$
|
|
8382
|
+
interface Props$I {
|
|
8287
8383
|
figure: Figure;
|
|
8288
8384
|
style: string;
|
|
8289
8385
|
onFigureDeleted: () => void;
|
|
8290
8386
|
onMouseDown: (ev: MouseEvent) => void;
|
|
8291
8387
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
8292
8388
|
}
|
|
8293
|
-
declare class FigureComponent extends Component<Props$
|
|
8389
|
+
declare class FigureComponent extends Component<Props$I, SpreadsheetChildEnv> {
|
|
8294
8390
|
static template: string;
|
|
8295
8391
|
static props: {
|
|
8296
8392
|
figure: ObjectConstructor;
|
|
@@ -8339,11 +8435,11 @@ declare class FigureComponent extends Component<Props$J, SpreadsheetChildEnv> {
|
|
|
8339
8435
|
private openContextMenu;
|
|
8340
8436
|
}
|
|
8341
8437
|
|
|
8342
|
-
interface Props$
|
|
8438
|
+
interface Props$H {
|
|
8343
8439
|
figure: Figure;
|
|
8344
8440
|
onFigureDeleted: () => void;
|
|
8345
8441
|
}
|
|
8346
|
-
declare class ChartFigure extends Component<Props$
|
|
8442
|
+
declare class ChartFigure extends Component<Props$H, SpreadsheetChildEnv> {
|
|
8347
8443
|
static template: string;
|
|
8348
8444
|
static props: {
|
|
8349
8445
|
figure: ObjectConstructor;
|
|
@@ -8355,7 +8451,7 @@ declare class ChartFigure extends Component<Props$I, SpreadsheetChildEnv> {
|
|
|
8355
8451
|
get chartComponent(): new (...args: any) => Component;
|
|
8356
8452
|
}
|
|
8357
8453
|
|
|
8358
|
-
interface Props$
|
|
8454
|
+
interface Props$G {
|
|
8359
8455
|
isVisible: boolean;
|
|
8360
8456
|
position: Position;
|
|
8361
8457
|
}
|
|
@@ -8367,7 +8463,7 @@ interface State$8 {
|
|
|
8367
8463
|
position: Position;
|
|
8368
8464
|
handler: boolean;
|
|
8369
8465
|
}
|
|
8370
|
-
declare class Autofill extends Component<Props$
|
|
8466
|
+
declare class Autofill extends Component<Props$G, SpreadsheetChildEnv> {
|
|
8371
8467
|
static template: string;
|
|
8372
8468
|
static props: {
|
|
8373
8469
|
position: ObjectConstructor;
|
|
@@ -8401,7 +8497,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
8401
8497
|
get tagStyle(): string;
|
|
8402
8498
|
}
|
|
8403
8499
|
|
|
8404
|
-
interface Props$
|
|
8500
|
+
interface Props$F {
|
|
8405
8501
|
gridDims: DOMDimension;
|
|
8406
8502
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
8407
8503
|
}
|
|
@@ -8409,7 +8505,7 @@ interface Props$G {
|
|
|
8409
8505
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
8410
8506
|
* It also applies the style of the cell to the composer input.
|
|
8411
8507
|
*/
|
|
8412
|
-
declare class GridComposer extends Component<Props$
|
|
8508
|
+
declare class GridComposer extends Component<Props$F, SpreadsheetChildEnv> {
|
|
8413
8509
|
static template: string;
|
|
8414
8510
|
static props: {
|
|
8415
8511
|
gridDims: ObjectConstructor;
|
|
@@ -8467,23 +8563,26 @@ declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChild
|
|
|
8467
8563
|
isPositionVisible(position: CellPosition): boolean;
|
|
8468
8564
|
}
|
|
8469
8565
|
|
|
8470
|
-
interface Props$
|
|
8566
|
+
interface Props$E {
|
|
8471
8567
|
cellPosition: CellPosition;
|
|
8472
8568
|
}
|
|
8473
|
-
declare class DataValidationCheckbox extends Component<Props$
|
|
8569
|
+
declare class DataValidationCheckbox extends Component<Props$E, SpreadsheetChildEnv> {
|
|
8474
8570
|
static template: string;
|
|
8571
|
+
static components: {
|
|
8572
|
+
Checkbox: typeof Checkbox;
|
|
8573
|
+
};
|
|
8475
8574
|
static props: {
|
|
8476
8575
|
cellPosition: ObjectConstructor;
|
|
8477
8576
|
};
|
|
8478
|
-
onCheckboxChange(
|
|
8577
|
+
onCheckboxChange(value: boolean): void;
|
|
8479
8578
|
get checkBoxValue(): boolean;
|
|
8480
8579
|
get isDisabled(): boolean;
|
|
8481
8580
|
}
|
|
8482
8581
|
|
|
8483
|
-
interface Props$
|
|
8582
|
+
interface Props$D {
|
|
8484
8583
|
cellPosition: CellPosition;
|
|
8485
8584
|
}
|
|
8486
|
-
declare class DataValidationListIcon extends Component<Props$
|
|
8585
|
+
declare class DataValidationListIcon extends Component<Props$D, SpreadsheetChildEnv> {
|
|
8487
8586
|
static template: string;
|
|
8488
8587
|
static props: {
|
|
8489
8588
|
cellPosition: ObjectConstructor;
|
|
@@ -8513,7 +8612,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
8513
8612
|
}
|
|
8514
8613
|
|
|
8515
8614
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
8516
|
-
interface Props$
|
|
8615
|
+
interface Props$C {
|
|
8517
8616
|
onFigureDeleted: () => void;
|
|
8518
8617
|
}
|
|
8519
8618
|
interface Container {
|
|
@@ -8592,7 +8691,7 @@ interface DndState {
|
|
|
8592
8691
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
8593
8692
|
*
|
|
8594
8693
|
*/
|
|
8595
|
-
declare class FiguresContainer extends Component<Props$
|
|
8694
|
+
declare class FiguresContainer extends Component<Props$C, SpreadsheetChildEnv> {
|
|
8596
8695
|
static template: string;
|
|
8597
8696
|
static props: {
|
|
8598
8697
|
onFigureDeleted: FunctionConstructor;
|
|
@@ -8647,10 +8746,10 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
8647
8746
|
private computePopoverAnchorRect;
|
|
8648
8747
|
}
|
|
8649
8748
|
|
|
8650
|
-
interface Props$
|
|
8749
|
+
interface Props$B {
|
|
8651
8750
|
cellPosition: CellPosition;
|
|
8652
8751
|
}
|
|
8653
|
-
declare class FilterIcon extends Component<Props$
|
|
8752
|
+
declare class FilterIcon extends Component<Props$B, SpreadsheetChildEnv> {
|
|
8654
8753
|
static template: string;
|
|
8655
8754
|
static props: {
|
|
8656
8755
|
cellPosition: ObjectConstructor;
|
|
@@ -8672,10 +8771,10 @@ declare class FilterIconsOverlay extends Component<{}, SpreadsheetChildEnv> {
|
|
|
8672
8771
|
getFilterHeadersPositions(): CellPosition[];
|
|
8673
8772
|
}
|
|
8674
8773
|
|
|
8675
|
-
interface Props$
|
|
8774
|
+
interface Props$A {
|
|
8676
8775
|
focusGrid: () => void;
|
|
8677
8776
|
}
|
|
8678
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
8777
|
+
declare class GridAddRowsFooter extends Component<Props$A, SpreadsheetChildEnv> {
|
|
8679
8778
|
static template: string;
|
|
8680
8779
|
static props: {
|
|
8681
8780
|
focusGrid: FunctionConstructor;
|
|
@@ -8699,7 +8798,7 @@ declare class GridAddRowsFooter extends Component<Props$B, SpreadsheetChildEnv>
|
|
|
8699
8798
|
private onExternalClick;
|
|
8700
8799
|
}
|
|
8701
8800
|
|
|
8702
|
-
interface Props$
|
|
8801
|
+
interface Props$z {
|
|
8703
8802
|
onCellHovered: (position: Partial<Position$1>) => void;
|
|
8704
8803
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
8705
8804
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers) => void;
|
|
@@ -8709,7 +8808,7 @@ interface Props$A {
|
|
|
8709
8808
|
gridOverlayDimensions: string;
|
|
8710
8809
|
onFigureDeleted: () => void;
|
|
8711
8810
|
}
|
|
8712
|
-
declare class GridOverlay extends Component<Props$
|
|
8811
|
+
declare class GridOverlay extends Component<Props$z, SpreadsheetChildEnv> {
|
|
8713
8812
|
static template: string;
|
|
8714
8813
|
static props: {
|
|
8715
8814
|
onCellHovered: {
|
|
@@ -8767,12 +8866,12 @@ declare class GridOverlay extends Component<Props$A, SpreadsheetChildEnv> {
|
|
|
8767
8866
|
private getCartesianCoordinates;
|
|
8768
8867
|
}
|
|
8769
8868
|
|
|
8770
|
-
interface Props$
|
|
8869
|
+
interface Props$y {
|
|
8771
8870
|
gridRect: Rect;
|
|
8772
8871
|
onClosePopover: () => void;
|
|
8773
8872
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
8774
8873
|
}
|
|
8775
|
-
declare class GridPopover extends Component<Props$
|
|
8874
|
+
declare class GridPopover extends Component<Props$y, SpreadsheetChildEnv> {
|
|
8776
8875
|
static template: string;
|
|
8777
8876
|
static props: {
|
|
8778
8877
|
onClosePopover: FunctionConstructor;
|
|
@@ -8915,13 +9014,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
8915
9014
|
}
|
|
8916
9015
|
|
|
8917
9016
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
8918
|
-
interface Props$
|
|
9017
|
+
interface Props$x {
|
|
8919
9018
|
zone: Zone;
|
|
8920
9019
|
orientation: Orientation$1;
|
|
8921
9020
|
isMoving: boolean;
|
|
8922
9021
|
onMoveHighlight: (x: Pixel, y: Pixel) => void;
|
|
8923
9022
|
}
|
|
8924
|
-
declare class Border extends Component<Props$
|
|
9023
|
+
declare class Border extends Component<Props$x, SpreadsheetChildEnv> {
|
|
8925
9024
|
static template: string;
|
|
8926
9025
|
static props: {
|
|
8927
9026
|
zone: ObjectConstructor;
|
|
@@ -8934,14 +9033,14 @@ declare class Border extends Component<Props$y, SpreadsheetChildEnv> {
|
|
|
8934
9033
|
}
|
|
8935
9034
|
|
|
8936
9035
|
type Orientation = "nw" | "ne" | "sw" | "se";
|
|
8937
|
-
interface Props$
|
|
9036
|
+
interface Props$w {
|
|
8938
9037
|
zone: Zone;
|
|
8939
9038
|
color: Color;
|
|
8940
9039
|
orientation: Orientation;
|
|
8941
9040
|
isResizing: boolean;
|
|
8942
9041
|
onResizeHighlight: (isLeft: boolean, isRight: boolean) => void;
|
|
8943
9042
|
}
|
|
8944
|
-
declare class Corner extends Component<Props$
|
|
9043
|
+
declare class Corner extends Component<Props$w, SpreadsheetChildEnv> {
|
|
8945
9044
|
static template: string;
|
|
8946
9045
|
static props: {
|
|
8947
9046
|
zone: ObjectConstructor;
|
|
@@ -8956,14 +9055,14 @@ declare class Corner extends Component<Props$x, SpreadsheetChildEnv> {
|
|
|
8956
9055
|
onMouseDown(ev: MouseEvent): void;
|
|
8957
9056
|
}
|
|
8958
9057
|
|
|
8959
|
-
interface Props$
|
|
9058
|
+
interface Props$v {
|
|
8960
9059
|
zone: Zone;
|
|
8961
9060
|
color: Color;
|
|
8962
9061
|
}
|
|
8963
9062
|
interface HighlightState {
|
|
8964
9063
|
shiftingMode: "isMoving" | "isResizing" | "none";
|
|
8965
9064
|
}
|
|
8966
|
-
declare class Highlight extends Component<Props$
|
|
9065
|
+
declare class Highlight extends Component<Props$v, SpreadsheetChildEnv> {
|
|
8967
9066
|
static template: string;
|
|
8968
9067
|
static props: {
|
|
8969
9068
|
zone: ObjectConstructor;
|
|
@@ -8980,7 +9079,7 @@ declare class Highlight extends Component<Props$w, SpreadsheetChildEnv> {
|
|
|
8980
9079
|
|
|
8981
9080
|
type ScrollDirection = "horizontal" | "vertical";
|
|
8982
9081
|
|
|
8983
|
-
interface Props$
|
|
9082
|
+
interface Props$u {
|
|
8984
9083
|
width: Pixel;
|
|
8985
9084
|
height: Pixel;
|
|
8986
9085
|
direction: ScrollDirection;
|
|
@@ -8988,7 +9087,7 @@ interface Props$v {
|
|
|
8988
9087
|
offset: Pixel;
|
|
8989
9088
|
onScroll: (offset: Pixel) => void;
|
|
8990
9089
|
}
|
|
8991
|
-
declare class ScrollBar extends Component<Props$
|
|
9090
|
+
declare class ScrollBar extends Component<Props$u> {
|
|
8992
9091
|
static props: {
|
|
8993
9092
|
width: {
|
|
8994
9093
|
type: NumberConstructor;
|
|
@@ -9016,10 +9115,10 @@ declare class ScrollBar extends Component<Props$v> {
|
|
|
9016
9115
|
onScroll(ev: any): void;
|
|
9017
9116
|
}
|
|
9018
9117
|
|
|
9019
|
-
interface Props$
|
|
9118
|
+
interface Props$t {
|
|
9020
9119
|
leftOffset: number;
|
|
9021
9120
|
}
|
|
9022
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
9121
|
+
declare class HorizontalScrollBar extends Component<Props$t, SpreadsheetChildEnv> {
|
|
9023
9122
|
static props: {
|
|
9024
9123
|
leftOffset: {
|
|
9025
9124
|
type: NumberConstructor;
|
|
@@ -9045,10 +9144,10 @@ declare class HorizontalScrollBar extends Component<Props$u, SpreadsheetChildEnv
|
|
|
9045
9144
|
onScroll(offset: any): void;
|
|
9046
9145
|
}
|
|
9047
9146
|
|
|
9048
|
-
interface Props$
|
|
9147
|
+
interface Props$s {
|
|
9049
9148
|
topOffset: number;
|
|
9050
9149
|
}
|
|
9051
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
9150
|
+
declare class VerticalScrollBar extends Component<Props$s, SpreadsheetChildEnv> {
|
|
9052
9151
|
static props: {
|
|
9053
9152
|
topOffset: {
|
|
9054
9153
|
type: NumberConstructor;
|
|
@@ -9074,13 +9173,13 @@ declare class VerticalScrollBar extends Component<Props$t, SpreadsheetChildEnv>
|
|
|
9074
9173
|
onScroll(offset: any): void;
|
|
9075
9174
|
}
|
|
9076
9175
|
|
|
9077
|
-
interface Props$
|
|
9176
|
+
interface Props$r {
|
|
9078
9177
|
table: Table;
|
|
9079
9178
|
}
|
|
9080
9179
|
interface State$7 {
|
|
9081
9180
|
highlightZone: Zone | undefined;
|
|
9082
9181
|
}
|
|
9083
|
-
declare class TableResizer extends Component<Props$
|
|
9182
|
+
declare class TableResizer extends Component<Props$r, SpreadsheetChildEnv> {
|
|
9084
9183
|
static template: string;
|
|
9085
9184
|
static props: {
|
|
9086
9185
|
table: ObjectConstructor;
|
|
@@ -9112,10 +9211,10 @@ declare class HoveredCellStore extends SpreadsheetStore {
|
|
|
9112
9211
|
* - a vertical resizer (same, for rows)
|
|
9113
9212
|
*/
|
|
9114
9213
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
9115
|
-
interface Props$
|
|
9214
|
+
interface Props$q {
|
|
9116
9215
|
exposeFocus: (focus: () => void) => void;
|
|
9117
9216
|
}
|
|
9118
|
-
declare class Grid extends Component<Props$
|
|
9217
|
+
declare class Grid extends Component<Props$q, SpreadsheetChildEnv> {
|
|
9119
9218
|
static template: string;
|
|
9120
9219
|
static props: {
|
|
9121
9220
|
exposeFocus: FunctionConstructor;
|
|
@@ -9224,7 +9323,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
9224
9323
|
private getChartDefinitionFromContextCreation;
|
|
9225
9324
|
}
|
|
9226
9325
|
|
|
9227
|
-
interface Props$
|
|
9326
|
+
interface Props$p {
|
|
9228
9327
|
figureId: UID;
|
|
9229
9328
|
chartPanelStore: MainChartPanelStore;
|
|
9230
9329
|
}
|
|
@@ -9232,7 +9331,7 @@ interface ChartTypePickerState {
|
|
|
9232
9331
|
popoverProps: PopoverProps | undefined;
|
|
9233
9332
|
popoverStyle: string;
|
|
9234
9333
|
}
|
|
9235
|
-
declare class ChartTypePicker extends Component<Props$
|
|
9334
|
+
declare class ChartTypePicker extends Component<Props$p, SpreadsheetChildEnv> {
|
|
9236
9335
|
static template: string;
|
|
9237
9336
|
static components: {
|
|
9238
9337
|
Section: typeof Section;
|
|
@@ -9267,11 +9366,11 @@ declare class ChartTypePicker extends Component<Props$q, SpreadsheetChildEnv> {
|
|
|
9267
9366
|
private closePopover;
|
|
9268
9367
|
}
|
|
9269
9368
|
|
|
9270
|
-
interface Props$
|
|
9369
|
+
interface Props$o {
|
|
9271
9370
|
onCloseSidePanel: () => void;
|
|
9272
9371
|
figureId: UID;
|
|
9273
9372
|
}
|
|
9274
|
-
declare class ChartPanel extends Component<Props$
|
|
9373
|
+
declare class ChartPanel extends Component<Props$o, SpreadsheetChildEnv> {
|
|
9275
9374
|
static template: string;
|
|
9276
9375
|
static components: {
|
|
9277
9376
|
Section: typeof Section;
|
|
@@ -9291,13 +9390,13 @@ declare class ChartPanel extends Component<Props$p, SpreadsheetChildEnv> {
|
|
|
9291
9390
|
private getChartDefinition;
|
|
9292
9391
|
}
|
|
9293
9392
|
|
|
9294
|
-
interface Props$
|
|
9393
|
+
interface Props$n {
|
|
9295
9394
|
figureId: UID;
|
|
9296
9395
|
definition: PieChartDefinition;
|
|
9297
9396
|
canUpdateChart: (figureID: UID, definition: Partial<PieChartDefinition>) => DispatchResult;
|
|
9298
9397
|
updateChart: (figureId: UID, definition: Partial<PieChartDefinition>) => DispatchResult;
|
|
9299
9398
|
}
|
|
9300
|
-
declare class PieChartDesignPanel extends Component<Props$
|
|
9399
|
+
declare class PieChartDesignPanel extends Component<Props$n, SpreadsheetChildEnv> {
|
|
9301
9400
|
static template: string;
|
|
9302
9401
|
static components: {
|
|
9303
9402
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -9316,10 +9415,10 @@ declare class PieChartDesignPanel extends Component<Props$o, SpreadsheetChildEnv
|
|
|
9316
9415
|
updateLegendPosition(ev: any): void;
|
|
9317
9416
|
}
|
|
9318
9417
|
|
|
9319
|
-
interface Props$
|
|
9418
|
+
interface Props$m {
|
|
9320
9419
|
items: ActionSpec[];
|
|
9321
9420
|
}
|
|
9322
|
-
declare class CogWheelMenu extends Component<Props$
|
|
9421
|
+
declare class CogWheelMenu extends Component<Props$m, SpreadsheetChildEnv> {
|
|
9323
9422
|
static template: string;
|
|
9324
9423
|
static components: {
|
|
9325
9424
|
Menu: typeof Menu;
|
|
@@ -9339,10 +9438,11 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
9339
9438
|
private activeSheetMatches;
|
|
9340
9439
|
private specificRangeMatches;
|
|
9341
9440
|
private currentSearchRegex;
|
|
9342
|
-
private isSearchDirty;
|
|
9343
9441
|
private initialShowFormulaState;
|
|
9344
9442
|
private preserveSelectedMatchIndex;
|
|
9345
9443
|
private irreplaceableMatchCount;
|
|
9444
|
+
private isSearchDirty;
|
|
9445
|
+
private shouldFinalizeUpdateSelection;
|
|
9346
9446
|
private notificationStore;
|
|
9347
9447
|
selectedMatchIndex: number | null;
|
|
9348
9448
|
toSearch: string;
|
|
@@ -9401,26 +9501,6 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
9401
9501
|
get highlights(): Highlight$1[];
|
|
9402
9502
|
}
|
|
9403
9503
|
|
|
9404
|
-
/** @odoo-module */
|
|
9405
|
-
|
|
9406
|
-
interface Props$m {
|
|
9407
|
-
name: string;
|
|
9408
|
-
displayName: string;
|
|
9409
|
-
onChanged: (name: string) => void;
|
|
9410
|
-
}
|
|
9411
|
-
declare class EditableName extends Component<Props$m, SpreadsheetChildEnv> {
|
|
9412
|
-
static template: string;
|
|
9413
|
-
static props: {
|
|
9414
|
-
name: StringConstructor;
|
|
9415
|
-
displayName: StringConstructor;
|
|
9416
|
-
onChanged: FunctionConstructor;
|
|
9417
|
-
};
|
|
9418
|
-
private state;
|
|
9419
|
-
setup(): void;
|
|
9420
|
-
rename(): void;
|
|
9421
|
-
save(): void;
|
|
9422
|
-
}
|
|
9423
|
-
|
|
9424
9504
|
interface Props$l {
|
|
9425
9505
|
deferUpdate: boolean;
|
|
9426
9506
|
isDirty: boolean;
|
|
@@ -9852,7 +9932,7 @@ declare function getTrendDatasetForBarChart(config: TrendConfiguration, dataset:
|
|
|
9852
9932
|
type: string;
|
|
9853
9933
|
xAxisID: string;
|
|
9854
9934
|
label: string;
|
|
9855
|
-
data: number[];
|
|
9935
|
+
data: (number | null)[];
|
|
9856
9936
|
order: number;
|
|
9857
9937
|
showLine: boolean;
|
|
9858
9938
|
pointRadius: number;
|
|
@@ -9893,7 +9973,7 @@ declare function getTrendDatasetForBarChart(config: TrendConfiguration, dataset:
|
|
|
9893
9973
|
type: string;
|
|
9894
9974
|
xAxisID: string;
|
|
9895
9975
|
label: string;
|
|
9896
|
-
data: number[];
|
|
9976
|
+
data: (number | null)[];
|
|
9897
9977
|
order: number;
|
|
9898
9978
|
showLine: boolean;
|
|
9899
9979
|
pointRadius: number;
|
|
@@ -9965,7 +10045,7 @@ declare function getTrendDatasetForBarChart(config: TrendConfiguration, dataset:
|
|
|
9965
10045
|
type: string;
|
|
9966
10046
|
xAxisID: string;
|
|
9967
10047
|
label: string;
|
|
9968
|
-
data: number[];
|
|
10048
|
+
data: (number | null)[];
|
|
9969
10049
|
order: number;
|
|
9970
10050
|
showLine: boolean;
|
|
9971
10051
|
pointRadius: number;
|
|
@@ -9995,7 +10075,7 @@ declare function getTrendDatasetForBarChart(config: TrendConfiguration, dataset:
|
|
|
9995
10075
|
type: string;
|
|
9996
10076
|
xAxisID: string;
|
|
9997
10077
|
label: string;
|
|
9998
|
-
data: number[];
|
|
10078
|
+
data: (number | null)[];
|
|
9999
10079
|
order: number;
|
|
10000
10080
|
showLine: boolean;
|
|
10001
10081
|
pointRadius: number;
|
|
@@ -10037,7 +10117,7 @@ declare function getTrendDatasetForBarChart(config: TrendConfiguration, dataset:
|
|
|
10037
10117
|
type: string;
|
|
10038
10118
|
xAxisID: string;
|
|
10039
10119
|
label: string;
|
|
10040
|
-
data: number[];
|
|
10120
|
+
data: (number | null)[];
|
|
10041
10121
|
order: number;
|
|
10042
10122
|
showLine: boolean;
|
|
10043
10123
|
pointRadius: number;
|
|
@@ -10145,13 +10225,16 @@ declare function getTrendDatasetForBarChart(config: TrendConfiguration, dataset:
|
|
|
10145
10225
|
} | undefined;
|
|
10146
10226
|
declare function formatTickValue(localeFormat: LocaleFormat): (value: any) => any;
|
|
10147
10227
|
|
|
10228
|
+
interface GetDefaultChartJsRuntimeOptions {
|
|
10229
|
+
axisFormats?: ChartAxisFormats;
|
|
10230
|
+
locale: Locale;
|
|
10231
|
+
truncateLabels?: boolean;
|
|
10232
|
+
horizontalChart?: boolean;
|
|
10233
|
+
}
|
|
10148
10234
|
/**
|
|
10149
10235
|
* Get a default chart js configuration
|
|
10150
10236
|
*/
|
|
10151
|
-
declare function getDefaultChartJsRuntime(chart: AbstractChart, labels: string[], fontColor: Color, {
|
|
10152
|
-
truncateLabels?: boolean;
|
|
10153
|
-
horizontalChart?: boolean;
|
|
10154
|
-
}): Required<ChartConfiguration>;
|
|
10237
|
+
declare function getDefaultChartJsRuntime(chart: AbstractChart, labels: string[], fontColor: Color, { axisFormats, locale, truncateLabels, horizontalChart }: GetDefaultChartJsRuntimeOptions): Required<ChartConfiguration>;
|
|
10155
10238
|
/**
|
|
10156
10239
|
* If the chart is a stacked area chart, we want to fill until the next dataset.
|
|
10157
10240
|
* If the chart is a simple area chart, we want to fill until the origin (bottom axis).
|
|
@@ -11219,7 +11302,6 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
|
|
|
11219
11302
|
};
|
|
11220
11303
|
spreadsheetRect: Rect;
|
|
11221
11304
|
private _focusGrid?;
|
|
11222
|
-
private keyDownMapping;
|
|
11223
11305
|
private isViewportTooSmall;
|
|
11224
11306
|
private notificationStore;
|
|
11225
11307
|
private composerFocusStore;
|
|
@@ -11230,7 +11312,6 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
|
|
|
11230
11312
|
private unbindModelEvents;
|
|
11231
11313
|
private checkViewportSize;
|
|
11232
11314
|
focusGrid(): void;
|
|
11233
|
-
onKeydown(ev: KeyboardEvent): void;
|
|
11234
11315
|
get gridHeight(): Pixel;
|
|
11235
11316
|
get gridContainerStyle(): string;
|
|
11236
11317
|
get rowLayers(): HeaderGroup[][];
|
|
@@ -11333,7 +11414,7 @@ declare const registries: {
|
|
|
11333
11414
|
clipboardHandlersRegistries: {
|
|
11334
11415
|
figureHandlers: Registry<{
|
|
11335
11416
|
new (getters: Getters, dispatch: {
|
|
11336
|
-
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA", C extends Extract<UpdateCellCommand, {
|
|
11417
|
+
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT", C extends Extract<UpdateCellCommand, {
|
|
11337
11418
|
type: T;
|
|
11338
11419
|
}> | Extract<UpdateCellPositionCommand, {
|
|
11339
11420
|
type: T;
|
|
@@ -11557,8 +11638,10 @@ declare const registries: {
|
|
|
11557
11638
|
type: T;
|
|
11558
11639
|
}> | Extract<SplitPivotFormulaCommand, {
|
|
11559
11640
|
type: T;
|
|
11641
|
+
}> | Extract<PaintFormat, {
|
|
11642
|
+
type: T;
|
|
11560
11643
|
}>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
|
|
11561
|
-
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA", C_1 extends Extract<UpdateCellCommand, {
|
|
11644
|
+
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT", C_1 extends Extract<UpdateCellCommand, {
|
|
11562
11645
|
type: T_1;
|
|
11563
11646
|
}> | Extract<UpdateCellPositionCommand, {
|
|
11564
11647
|
type: T_1;
|
|
@@ -11782,12 +11865,14 @@ declare const registries: {
|
|
|
11782
11865
|
type: T_1;
|
|
11783
11866
|
}> | Extract<SplitPivotFormulaCommand, {
|
|
11784
11867
|
type: T_1;
|
|
11868
|
+
}> | Extract<PaintFormat, {
|
|
11869
|
+
type: T_1;
|
|
11785
11870
|
}>>(type: T_1, r: Omit<C_1, "type">): DispatchResult;
|
|
11786
11871
|
}): AbstractFigureClipboardHandler<any>;
|
|
11787
11872
|
}>;
|
|
11788
11873
|
cellHandlers: Registry<{
|
|
11789
11874
|
new (getters: Getters, dispatch: {
|
|
11790
|
-
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA", C extends Extract<UpdateCellCommand, {
|
|
11875
|
+
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT", C extends Extract<UpdateCellCommand, {
|
|
11791
11876
|
type: T;
|
|
11792
11877
|
}> | Extract<UpdateCellPositionCommand, {
|
|
11793
11878
|
type: T;
|
|
@@ -12011,8 +12096,10 @@ declare const registries: {
|
|
|
12011
12096
|
type: T;
|
|
12012
12097
|
}> | Extract<SplitPivotFormulaCommand, {
|
|
12013
12098
|
type: T;
|
|
12099
|
+
}> | Extract<PaintFormat, {
|
|
12100
|
+
type: T;
|
|
12014
12101
|
}>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
|
|
12015
|
-
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA", C_1 extends Extract<UpdateCellCommand, {
|
|
12102
|
+
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT", C_1 extends Extract<UpdateCellCommand, {
|
|
12016
12103
|
type: T_1;
|
|
12017
12104
|
}> | Extract<UpdateCellPositionCommand, {
|
|
12018
12105
|
type: T_1;
|
|
@@ -12236,6 +12323,8 @@ declare const registries: {
|
|
|
12236
12323
|
type: T_1;
|
|
12237
12324
|
}> | Extract<SplitPivotFormulaCommand, {
|
|
12238
12325
|
type: T_1;
|
|
12326
|
+
}> | Extract<PaintFormat, {
|
|
12327
|
+
type: T_1;
|
|
12239
12328
|
}>>(type: T_1, r: Omit<C_1, "type">): DispatchResult;
|
|
12240
12329
|
}): AbstractCellClipboardHandler<any, any>;
|
|
12241
12330
|
}>;
|
|
@@ -12354,7 +12443,6 @@ declare const components: {
|
|
|
12354
12443
|
PivotDimensionOrder: typeof PivotDimensionOrder;
|
|
12355
12444
|
PivotDimension: typeof PivotDimension;
|
|
12356
12445
|
PivotLayoutConfigurator: typeof PivotLayoutConfigurator;
|
|
12357
|
-
EditableName: typeof EditableName;
|
|
12358
12446
|
PivotDeferUpdate: typeof PivotDeferUpdate;
|
|
12359
12447
|
PivotTitleSection: typeof PivotTitleSection;
|
|
12360
12448
|
CogWheelMenu: typeof CogWheelMenu;
|
|
@@ -12411,4 +12499,4 @@ declare const constants: {
|
|
|
12411
12499
|
}[];
|
|
12412
12500
|
};
|
|
12413
12501
|
|
|
12414
|
-
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescription, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellData, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartType,
|
|
12502
|
+
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescription, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellData, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartType, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardContent, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, ExcelCellData, 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, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, RevisionsDroppedEvent, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, 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 };
|