@odoo/o-spreadsheet 17.3.0-alpha.4 → 17.3.0-alpha.5
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 +15954 -13609
- package/dist/o-spreadsheet.d.ts +849 -159
- package/dist/o-spreadsheet.esm.js +15953 -13610
- package/dist/o-spreadsheet.iife.js +15701 -13356
- package/dist/o-spreadsheet.iife.min.js +416 -390
- package/dist/o_spreadsheet.xml +213 -4
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -448,6 +448,79 @@ interface SearchOptions {
|
|
|
448
448
|
specificRange?: Range;
|
|
449
449
|
}
|
|
450
450
|
|
|
451
|
+
type Aggregator = "array_agg" | "count" | "count_distinct" | "bool_and" | "bool_or" | "max" | "min" | "avg" | "sum";
|
|
452
|
+
type Granularity = "day" | "week" | "month" | "quarter" | "year";
|
|
453
|
+
interface PivotCoreDimension {
|
|
454
|
+
name: string;
|
|
455
|
+
order?: "asc" | "desc";
|
|
456
|
+
granularity?: Granularity | string;
|
|
457
|
+
}
|
|
458
|
+
interface PivotCoreMeasure {
|
|
459
|
+
name: string;
|
|
460
|
+
aggregator?: Aggregator | string;
|
|
461
|
+
}
|
|
462
|
+
interface CommonPivotCoreDefinition {
|
|
463
|
+
columns: PivotCoreDimension[];
|
|
464
|
+
rows: PivotCoreDimension[];
|
|
465
|
+
measures: PivotCoreMeasure[];
|
|
466
|
+
name: string;
|
|
467
|
+
}
|
|
468
|
+
interface SpreadsheetPivotCoreDefinition extends CommonPivotCoreDefinition {
|
|
469
|
+
type: "SPREADSHEET";
|
|
470
|
+
}
|
|
471
|
+
type PivotCoreDefinition = SpreadsheetPivotCoreDefinition;
|
|
472
|
+
interface PivotField {
|
|
473
|
+
name: string;
|
|
474
|
+
type: string;
|
|
475
|
+
string: string;
|
|
476
|
+
relation?: string;
|
|
477
|
+
searchable?: boolean;
|
|
478
|
+
aggregator?: string;
|
|
479
|
+
store?: boolean;
|
|
480
|
+
groupable?: boolean;
|
|
481
|
+
help?: string;
|
|
482
|
+
}
|
|
483
|
+
type PivotFields = Record<string, PivotField | undefined>;
|
|
484
|
+
interface PivotMeasure extends PivotCoreMeasure {
|
|
485
|
+
nameWithAggregator: string;
|
|
486
|
+
displayName: string;
|
|
487
|
+
type: string;
|
|
488
|
+
}
|
|
489
|
+
interface PivotDimension$1 extends PivotCoreDimension {
|
|
490
|
+
nameWithGranularity: string;
|
|
491
|
+
displayName: string;
|
|
492
|
+
type: string;
|
|
493
|
+
}
|
|
494
|
+
interface SPTableColumn {
|
|
495
|
+
fields: string[];
|
|
496
|
+
values: string[];
|
|
497
|
+
width: number;
|
|
498
|
+
offset: number;
|
|
499
|
+
}
|
|
500
|
+
interface SPTableRow {
|
|
501
|
+
fields: string[];
|
|
502
|
+
values: string[];
|
|
503
|
+
indent: number;
|
|
504
|
+
}
|
|
505
|
+
interface SPTableData {
|
|
506
|
+
cols: SPTableColumn[][];
|
|
507
|
+
rows: SPTableRow[];
|
|
508
|
+
measures: string[];
|
|
509
|
+
rowTitle?: string;
|
|
510
|
+
}
|
|
511
|
+
interface SPTableCell {
|
|
512
|
+
isHeader: boolean;
|
|
513
|
+
domain?: string[];
|
|
514
|
+
content?: string;
|
|
515
|
+
measure?: string;
|
|
516
|
+
}
|
|
517
|
+
interface PivotTimeAdapter<T> {
|
|
518
|
+
normalizeFunctionValue: (value: string) => T;
|
|
519
|
+
formatValue: (normalizedValue: T, locale?: Locale) => string;
|
|
520
|
+
getFormat: (locale?: Locale) => Format | undefined;
|
|
521
|
+
toCellValue: (normalizedValue: T) => CellValue;
|
|
522
|
+
}
|
|
523
|
+
|
|
451
524
|
interface Table {
|
|
452
525
|
readonly id: TableId;
|
|
453
526
|
readonly range: Range;
|
|
@@ -560,12 +633,12 @@ interface ZoneDependentCommand {
|
|
|
560
633
|
}
|
|
561
634
|
declare function isZoneDependent(cmd: CoreCommand): boolean;
|
|
562
635
|
declare function isPositionDependent(cmd: CoreCommand): boolean;
|
|
563
|
-
declare const invalidateEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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" | "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" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE">;
|
|
564
|
-
declare const invalidateDependenciesCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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" | "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" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE">;
|
|
565
|
-
declare const invalidateCFEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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" | "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" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE">;
|
|
566
|
-
declare const invalidateBordersCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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" | "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" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE">;
|
|
567
|
-
declare const readonlyAllowedCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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" | "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" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE">;
|
|
568
|
-
declare const coreTypes: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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">;
|
|
636
|
+
declare const invalidateEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT">;
|
|
637
|
+
declare const invalidateDependenciesCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT">;
|
|
638
|
+
declare const invalidateCFEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT">;
|
|
639
|
+
declare const invalidateBordersCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT">;
|
|
640
|
+
declare const readonlyAllowedCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT">;
|
|
641
|
+
declare const coreTypes: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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">;
|
|
569
642
|
declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
|
|
570
643
|
declare function canExecuteInReadonly(cmd: Command): boolean;
|
|
571
644
|
interface UpdateCellCommand extends PositionDependentCommand {
|
|
@@ -794,6 +867,35 @@ interface UpdateLocaleCommand {
|
|
|
794
867
|
type: "UPDATE_LOCALE";
|
|
795
868
|
locale: Locale;
|
|
796
869
|
}
|
|
870
|
+
interface AddPivotCommand {
|
|
871
|
+
type: "ADD_PIVOT";
|
|
872
|
+
pivotId: UID;
|
|
873
|
+
pivot: PivotCoreDefinition;
|
|
874
|
+
}
|
|
875
|
+
interface UpdatePivotCommand {
|
|
876
|
+
type: "UPDATE_PIVOT";
|
|
877
|
+
pivotId: UID;
|
|
878
|
+
pivot: PivotCoreDefinition;
|
|
879
|
+
}
|
|
880
|
+
interface InsertPivotCommand extends PositionDependentCommand {
|
|
881
|
+
type: "INSERT_PIVOT";
|
|
882
|
+
pivotId: UID;
|
|
883
|
+
table: SPTableData;
|
|
884
|
+
}
|
|
885
|
+
interface RenamePivotCommand {
|
|
886
|
+
type: "RENAME_PIVOT";
|
|
887
|
+
pivotId: UID;
|
|
888
|
+
name: string;
|
|
889
|
+
}
|
|
890
|
+
interface RemovePivotCommand {
|
|
891
|
+
type: "REMOVE_PIVOT";
|
|
892
|
+
pivotId: UID;
|
|
893
|
+
}
|
|
894
|
+
interface DuplicatePivotCommand {
|
|
895
|
+
type: "DUPLICATE_PIVOT";
|
|
896
|
+
pivotId: UID;
|
|
897
|
+
newPivotId: string;
|
|
898
|
+
}
|
|
797
899
|
interface RemoveDuplicatesCommand {
|
|
798
900
|
type: "REMOVE_DUPLICATES";
|
|
799
901
|
columns: HeaderIndex[];
|
|
@@ -1043,6 +1145,10 @@ interface SplitTextIntoColumnsCommand {
|
|
|
1043
1145
|
interface RenderCanvasCommand {
|
|
1044
1146
|
type: "RENDER_CANVAS";
|
|
1045
1147
|
}
|
|
1148
|
+
interface RefreshPivotCommand {
|
|
1149
|
+
type: "REFRESH_PIVOT";
|
|
1150
|
+
id: UID;
|
|
1151
|
+
}
|
|
1046
1152
|
type CoreCommand =
|
|
1047
1153
|
/** CELLS */
|
|
1048
1154
|
UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | DeleteContentCommand
|
|
@@ -1071,8 +1177,10 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | DeleteContent
|
|
|
1071
1177
|
/** DATA VALIDATION */
|
|
1072
1178
|
| AddDataValidationCommand | RemoveDataValidationCommand
|
|
1073
1179
|
/** MISC */
|
|
1074
|
-
| UpdateLocaleCommand
|
|
1075
|
-
|
|
1180
|
+
| UpdateLocaleCommand
|
|
1181
|
+
/** PIVOT */
|
|
1182
|
+
| AddPivotCommand | UpdatePivotCommand | InsertPivotCommand | RenamePivotCommand | RemovePivotCommand | DuplicatePivotCommand;
|
|
1183
|
+
type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | ActivatePaintFormatCommand | CancelPaintFormatCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | StartChangeHighlightCommand | StartCommand | AutofillCommand | AutofillSelectCommand | AutofillTableCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | ReplaceSearchCommand | SortCommand | SetDecimalCommand | ResizeViewportCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | MoveViewportToCellCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand | RemoveDuplicatesCommand | TrimWhitespaceCommand | RenderCanvasCommand | ResizeTableCommand | RefreshPivotCommand;
|
|
1076
1184
|
type Command = CoreCommand | LocalCommand;
|
|
1077
1185
|
/**
|
|
1078
1186
|
* Holds the result of a command dispatch.
|
|
@@ -1208,7 +1316,9 @@ declare const enum CommandResult {
|
|
|
1208
1316
|
NoChanges = "NoChanges",
|
|
1209
1317
|
InvalidInputId = "InvalidInputId",
|
|
1210
1318
|
SheetIsHidden = "SheetIsHidden",
|
|
1211
|
-
InvalidTableResize = "InvalidTableResize"
|
|
1319
|
+
InvalidTableResize = "InvalidTableResize",
|
|
1320
|
+
PivotIdNotFound = "PivotIdNotFound",
|
|
1321
|
+
EmptyName = "EmptyName"
|
|
1212
1322
|
}
|
|
1213
1323
|
interface CommandHandler<T> {
|
|
1214
1324
|
allowDispatch(command: T): CommandResult | CommandResult[];
|
|
@@ -1318,6 +1428,11 @@ declare function iterateAstNodes(ast: AST): AST[];
|
|
|
1318
1428
|
*/
|
|
1319
1429
|
declare function astToFormula(ast: AST): string;
|
|
1320
1430
|
|
|
1431
|
+
declare function getFunctionsFromTokens(tokens: Token[], functionNames: string[]): {
|
|
1432
|
+
functionName: string;
|
|
1433
|
+
args: AST[];
|
|
1434
|
+
}[];
|
|
1435
|
+
|
|
1321
1436
|
/**
|
|
1322
1437
|
* The following type is meant to be used in union with other aliases to prevent
|
|
1323
1438
|
* Intellisense from resolving it.
|
|
@@ -2197,7 +2312,7 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
|
|
|
2197
2312
|
private getters;
|
|
2198
2313
|
private providers;
|
|
2199
2314
|
constructor(getters: CoreGetters);
|
|
2200
|
-
static getters: readonly ["extendRange", "getRangeString", "getRangeFromSheetXC", "createAdaptedRanges", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone", "getRangesUnion", "isRangeValid"];
|
|
2315
|
+
static getters: readonly ["extendRange", "getRangeString", "getRangeFromSheetXC", "createAdaptedRanges", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone", "getRangesUnion", "recomputeRanges", "isRangeValid"];
|
|
2201
2316
|
allowDispatch(cmd: Command): CommandResult;
|
|
2202
2317
|
beforeHandle(command: Command): void;
|
|
2203
2318
|
handle(cmd: Command): void;
|
|
@@ -2244,6 +2359,10 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
|
|
|
2244
2359
|
getRangeDataFromXc(sheetId: UID, xc: string): RangeData;
|
|
2245
2360
|
getRangeDataFromZone(sheetId: UID, zone: Zone | UnboundedZone): RangeData;
|
|
2246
2361
|
getRangeFromZone(sheetId: UID, zone: Zone | UnboundedZone): Range;
|
|
2362
|
+
/**
|
|
2363
|
+
* Allows you to recompute ranges from the same sheet
|
|
2364
|
+
*/
|
|
2365
|
+
recomputeRanges(ranges: Range[], rangesToRemove: Range[]): Range[];
|
|
2247
2366
|
getRangeFromRangeData(data: RangeData): Range;
|
|
2248
2367
|
isRangeValid(rangeStr: string): boolean;
|
|
2249
2368
|
getRangesUnion(ranges: Range[]): Range;
|
|
@@ -2415,7 +2534,7 @@ declare class BordersPlugin extends CorePlugin<BordersPluginState> implements Bo
|
|
|
2415
2534
|
exportForExcel(data: ExcelWorkbookData): void;
|
|
2416
2535
|
}
|
|
2417
2536
|
|
|
2418
|
-
interface CoreState {
|
|
2537
|
+
interface CoreState$1 {
|
|
2419
2538
|
cells: Record<UID, Record<UID, Cell | undefined>>;
|
|
2420
2539
|
nextId: number;
|
|
2421
2540
|
}
|
|
@@ -2425,7 +2544,7 @@ interface CoreState {
|
|
|
2425
2544
|
* This is the most fundamental of all plugins. It defines how to interact with
|
|
2426
2545
|
* cell and sheet content.
|
|
2427
2546
|
*/
|
|
2428
|
-
declare class CellPlugin extends CorePlugin<CoreState> implements CoreState {
|
|
2547
|
+
declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1 {
|
|
2429
2548
|
static getters: readonly ["zoneToXC", "getCells", "getTranslatedCellFormula", "getCellStyle", "getCellById"];
|
|
2430
2549
|
readonly nextId = 1;
|
|
2431
2550
|
readonly cells: {
|
|
@@ -2631,7 +2750,7 @@ declare class ConditionalFormatPlugin extends CorePlugin<ConditionalFormatState>
|
|
|
2631
2750
|
/**
|
|
2632
2751
|
* Add or remove cells to a given conditional formatting rule and return the adapted CF's XCs.
|
|
2633
2752
|
*/
|
|
2634
|
-
getAdaptedCfRanges(sheetId: UID, cf: ConditionalFormat, toAdd:
|
|
2753
|
+
getAdaptedCfRanges(sheetId: UID, cf: ConditionalFormat, toAdd: Zone[], toRemove: Zone[]): RangeData[] | undefined;
|
|
2635
2754
|
private mapToConditionalFormat;
|
|
2636
2755
|
private mapToConditionalFormatInternal;
|
|
2637
2756
|
/**
|
|
@@ -2939,6 +3058,61 @@ declare class MergePlugin extends CorePlugin<MergeState> implements MergeState {
|
|
|
2939
3058
|
exportForExcel(data: ExcelWorkbookData): void;
|
|
2940
3059
|
}
|
|
2941
3060
|
|
|
3061
|
+
interface LocalPivot extends PivotCoreDefinition {
|
|
3062
|
+
/**
|
|
3063
|
+
* The formula id is the id that is used in the formula to identify the pivot.
|
|
3064
|
+
* It's different from the pivot id, which is the id of the pivot in the state.
|
|
3065
|
+
* The formula id is a readable id, auto-incremented. The pivotId is a UID.
|
|
3066
|
+
* We need this distinction to be assured that the pivotId is unique in a
|
|
3067
|
+
* context of collaboration.
|
|
3068
|
+
*/
|
|
3069
|
+
formulaId: string;
|
|
3070
|
+
}
|
|
3071
|
+
interface CoreState {
|
|
3072
|
+
nextFormulaId: number;
|
|
3073
|
+
pivots: Record<UID, LocalPivot | undefined>;
|
|
3074
|
+
formulaIds: Record<UID, string | undefined>;
|
|
3075
|
+
}
|
|
3076
|
+
declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState {
|
|
3077
|
+
static getters: readonly ["getPivotCoreDefinition", "getPivotDisplayName", "getPivotId", "getPivotFormulaId", "getPivotIds", "getPivotName", "isExistingPivot"];
|
|
3078
|
+
readonly nextFormulaId: number;
|
|
3079
|
+
readonly pivots: {
|
|
3080
|
+
[key: UID]: LocalPivot;
|
|
3081
|
+
};
|
|
3082
|
+
readonly formulaIds: {
|
|
3083
|
+
[key: UID]: string;
|
|
3084
|
+
};
|
|
3085
|
+
allowDispatch(cmd: CoreCommand): CommandResult.Success | CommandResult.NoChanges | CommandResult.PivotIdNotFound | CommandResult.EmptyName;
|
|
3086
|
+
handle(cmd: CoreCommand): void;
|
|
3087
|
+
getPivotDisplayName(pivotId: UID): string;
|
|
3088
|
+
getPivotName(pivotId: UID): string;
|
|
3089
|
+
/**
|
|
3090
|
+
* Returns the pivot core definition of the pivot with the given id.
|
|
3091
|
+
* Be careful, this is the core definition, this should be used only in a
|
|
3092
|
+
* context where the pivot is not loaded yet.
|
|
3093
|
+
*/
|
|
3094
|
+
getPivotCoreDefinition(pivotId: UID): PivotCoreDefinition;
|
|
3095
|
+
/**
|
|
3096
|
+
* Get the pivot ID (UID) from the formula ID (the one used in the formula)
|
|
3097
|
+
*/
|
|
3098
|
+
getPivotId(formulaId: string): string;
|
|
3099
|
+
getPivotFormulaId(pivotId: UID): string;
|
|
3100
|
+
getPivotIds(): UID[];
|
|
3101
|
+
isExistingPivot(pivotId: UID): boolean;
|
|
3102
|
+
private addPivot;
|
|
3103
|
+
private insertPivot;
|
|
3104
|
+
private resizeSheet;
|
|
3105
|
+
private addPivotFormula;
|
|
3106
|
+
/**
|
|
3107
|
+
* Import the pivots
|
|
3108
|
+
*/
|
|
3109
|
+
import(data: WorkbookData): void;
|
|
3110
|
+
/**
|
|
3111
|
+
* Export the pivots
|
|
3112
|
+
*/
|
|
3113
|
+
export(data: WorkbookData): void;
|
|
3114
|
+
}
|
|
3115
|
+
|
|
2942
3116
|
declare class SettingsPlugin extends CorePlugin {
|
|
2943
3117
|
static getters: readonly ["getLocale"];
|
|
2944
3118
|
private locale;
|
|
@@ -3279,6 +3453,9 @@ interface SheetData {
|
|
|
3279
3453
|
interface WorkbookSettings {
|
|
3280
3454
|
locale: Locale;
|
|
3281
3455
|
}
|
|
3456
|
+
interface PivotData extends PivotCoreDefinition {
|
|
3457
|
+
formulaId: string;
|
|
3458
|
+
}
|
|
3282
3459
|
interface WorkbookData {
|
|
3283
3460
|
version: number;
|
|
3284
3461
|
sheets: SheetData[];
|
|
@@ -3291,6 +3468,10 @@ interface WorkbookData {
|
|
|
3291
3468
|
borders: {
|
|
3292
3469
|
[key: number]: Border$1;
|
|
3293
3470
|
};
|
|
3471
|
+
pivots: {
|
|
3472
|
+
[key: string]: PivotData;
|
|
3473
|
+
};
|
|
3474
|
+
pivotNextId: number;
|
|
3294
3475
|
revisionId: UID;
|
|
3295
3476
|
uniqueFigureIds: boolean;
|
|
3296
3477
|
settings: WorkbookSettings;
|
|
@@ -3835,6 +4016,160 @@ declare class HeaderSizeUIPlugin extends UIPlugin<HeaderSizeState> implements He
|
|
|
3835
4016
|
private getRowTallestCell;
|
|
3836
4017
|
}
|
|
3837
4018
|
|
|
4019
|
+
/**
|
|
4020
|
+
* Represent a pivot runtime definition. A pivot runtime definition is a pivot
|
|
4021
|
+
* definition that has been enriched to include the display name of its attributes
|
|
4022
|
+
* (measures, columns, rows).
|
|
4023
|
+
*/
|
|
4024
|
+
declare class PivotRuntimeDefinition {
|
|
4025
|
+
readonly measures: PivotMeasure[];
|
|
4026
|
+
readonly columns: PivotDimension$1[];
|
|
4027
|
+
readonly rows: PivotDimension$1[];
|
|
4028
|
+
constructor(definition: CommonPivotCoreDefinition, fields: PivotFields);
|
|
4029
|
+
}
|
|
4030
|
+
|
|
4031
|
+
/**
|
|
4032
|
+
* Class used to ease the construction of a pivot table.
|
|
4033
|
+
* Let's consider the following example, with:
|
|
4034
|
+
* - columns groupBy: [sales_team, create_date]
|
|
4035
|
+
* - rows groupBy: [continent, city]
|
|
4036
|
+
* - measures: [revenues]
|
|
4037
|
+
* _____________________________________________________________________________________| ----|
|
|
4038
|
+
* | | Sale Team 1 | Sale Team 2 | | |
|
|
4039
|
+
* | |___________________________|_________________________|_____________| |
|
|
4040
|
+
* | | May 2020 | June 2020 | May 2020 | June 2020 | Total | |<---- `cols`
|
|
4041
|
+
* | |______________|____________|____________|____________|_____________| | ----|
|
|
4042
|
+
* | | Revenues | Revenues | Revenues | Revenues | Revenues | | |<--- `measureRow`
|
|
4043
|
+
* |________________|______________|____________|____________|____________|_____________| ----| ----|
|
|
4044
|
+
* |Europe | 25 | 35 | 40 | 30 | 65 | ----|
|
|
4045
|
+
* | Brussels | 0 | 15 | 30 | 30 | 30 | |
|
|
4046
|
+
* | Paris | 25 | 20 | 10 | 0 | 35 | |
|
|
4047
|
+
* |North America | 60 | 75 | | | 60 | |<---- `body`
|
|
4048
|
+
* | Washington | 60 | 75 | | | 60 | |
|
|
4049
|
+
* |Total | 85 | 110 | 40 | 30 | 125 | |
|
|
4050
|
+
* |________________|______________|____________|____________|____________|_____________| ----|
|
|
4051
|
+
*
|
|
4052
|
+
* | |
|
|
4053
|
+
* |----------------|
|
|
4054
|
+
* |
|
|
4055
|
+
* |
|
|
4056
|
+
* `rows`
|
|
4057
|
+
*
|
|
4058
|
+
* `rows` is an array of cells, each cells contains the indent level, the fields used for the group by and the values for theses fields.
|
|
4059
|
+
* For example:
|
|
4060
|
+
* `Europe`: { indent: 1, fields: ["continent"], values: ["id_of_Europe"]}
|
|
4061
|
+
* `Brussels`: { indent: 2, fields: ["continent", "city"], values: ["id_of_Europe", "id_of_Brussels"]}
|
|
4062
|
+
* `Total`: { indent: 0, fields: [], values: []}
|
|
4063
|
+
*
|
|
4064
|
+
* `columns` is an double array, first by row and then by cell. So, in this example, it looks like:
|
|
4065
|
+
* [[row1], [row2], [measureRow]]
|
|
4066
|
+
* Each cell of a column's row contains the width (span) of the cells, the fields used for the group by and the values for theses fields.
|
|
4067
|
+
* For example:
|
|
4068
|
+
* `Sale Team 1`: { width: 2, fields: ["sales_team"], values: ["id_of_SaleTeam1"]}
|
|
4069
|
+
* `May 2020` (the one under Sale Team 2): { width: 1, fields: ["sales_team", "create_date"], values: ["id_of_SaleTeam2", "May 2020"]}
|
|
4070
|
+
* `Revenues` (the one under Total): { width: 1, fields: ["measure"], values: ["revenues"]}
|
|
4071
|
+
*
|
|
4072
|
+
*/
|
|
4073
|
+
declare class SpreadsheetPivotTable {
|
|
4074
|
+
readonly columns: SPTableColumn[][];
|
|
4075
|
+
readonly rows: SPTableRow[];
|
|
4076
|
+
readonly measures: string[];
|
|
4077
|
+
readonly rowTitle?: string;
|
|
4078
|
+
readonly maxIndent: number;
|
|
4079
|
+
readonly pivotCells: {
|
|
4080
|
+
[key: string]: SPTableCell[][];
|
|
4081
|
+
};
|
|
4082
|
+
constructor(columns: SPTableColumn[][], rows: SPTableRow[], measures: string[], rowTitle?: string);
|
|
4083
|
+
/**
|
|
4084
|
+
* Get the number of columns leafs (i.e. the number of the last row of columns)
|
|
4085
|
+
*/
|
|
4086
|
+
getNumberOfDataColumns(): number;
|
|
4087
|
+
getPivotCells(includeTotal?: boolean, includeColumnHeaders?: boolean): SPTableCell[][];
|
|
4088
|
+
private isTotalRow;
|
|
4089
|
+
private getPivotCell;
|
|
4090
|
+
private getColHeaderDomain;
|
|
4091
|
+
private getColDomain;
|
|
4092
|
+
private getColMeasure;
|
|
4093
|
+
private getRowDomain;
|
|
4094
|
+
export(): {
|
|
4095
|
+
cols: SPTableColumn[][];
|
|
4096
|
+
rows: SPTableRow[];
|
|
4097
|
+
measures: string[];
|
|
4098
|
+
rowTitle: string | undefined;
|
|
4099
|
+
};
|
|
4100
|
+
}
|
|
4101
|
+
|
|
4102
|
+
interface Pivot<T = PivotRuntimeDefinition> {
|
|
4103
|
+
definition: T;
|
|
4104
|
+
getMeasure: (name: string) => PivotMeasure;
|
|
4105
|
+
computePivotHeaderValue(domain: Array<string | number>): string | boolean | number;
|
|
4106
|
+
getLastPivotGroupValue(domain: Array<string | number>): string | boolean | number;
|
|
4107
|
+
getTableStructure(): SpreadsheetPivotTable;
|
|
4108
|
+
getPivotCellValue(measure: string, domain: Array<string | number>): string | boolean | number;
|
|
4109
|
+
getPivotFieldFormat(name: string): string;
|
|
4110
|
+
getPivotMeasureFormat(name: string): string | undefined;
|
|
4111
|
+
assertIsValid({ throwOnError }: {
|
|
4112
|
+
throwOnError: boolean;
|
|
4113
|
+
}): FPayload | undefined;
|
|
4114
|
+
load(params: unknown): Promise<void>;
|
|
4115
|
+
getFields(): PivotFields | undefined;
|
|
4116
|
+
isLoadedAndValid(): boolean;
|
|
4117
|
+
getPossibleFieldValues(groupBy: string): {
|
|
4118
|
+
value: string | boolean | number;
|
|
4119
|
+
label: string;
|
|
4120
|
+
}[];
|
|
4121
|
+
}
|
|
4122
|
+
|
|
4123
|
+
declare class PivotUIPlugin extends UIPlugin {
|
|
4124
|
+
static getters: readonly ["getPivot", "getFirstPivotFunction", "getPivotIdFromPosition", "getPivotDomainArgsFromPosition", "isPivotUnused", "areDomainArgsFieldsValid"];
|
|
4125
|
+
private pivots;
|
|
4126
|
+
private unusedPivots?;
|
|
4127
|
+
private custom;
|
|
4128
|
+
constructor(config: UIPluginConfig);
|
|
4129
|
+
beforeHandle(cmd: Command): void;
|
|
4130
|
+
handle(cmd: Command): void;
|
|
4131
|
+
/**
|
|
4132
|
+
* Get the id of the pivot at the given position. Returns undefined if there
|
|
4133
|
+
* is no pivot at this position
|
|
4134
|
+
*/
|
|
4135
|
+
getPivotIdFromPosition(position: CellPosition): string | undefined;
|
|
4136
|
+
getFirstPivotFunction(tokens: Token[]): {
|
|
4137
|
+
functionName: string;
|
|
4138
|
+
args: (CellValue | Matrix<CellValue> | undefined)[];
|
|
4139
|
+
} | undefined;
|
|
4140
|
+
/**
|
|
4141
|
+
* Returns the domain args of a pivot formula from a position.
|
|
4142
|
+
* For all those formulas:
|
|
4143
|
+
*
|
|
4144
|
+
* =PIVOT.VALUE(1,"expected_revenue","stage_id",2,"city","Brussels")
|
|
4145
|
+
* =PIVOT.HEADER(1,"stage_id",2,"city","Brussels")
|
|
4146
|
+
* =PIVOT.HEADER(1,"stage_id",2,"city","Brussels","measure","expected_revenue")
|
|
4147
|
+
*
|
|
4148
|
+
* the result is the same: ["stage_id", 2, "city", "Brussels"]
|
|
4149
|
+
*
|
|
4150
|
+
* If the cell is the result of PIVOT, the result is the domain of the cell
|
|
4151
|
+
* as if it was the individual pivot formula
|
|
4152
|
+
*/
|
|
4153
|
+
getPivotDomainArgsFromPosition(position: CellPosition): (CellValue | Matrix<CellValue> | undefined)[] | undefined;
|
|
4154
|
+
getPivot(pivotId: UID): Pivot<PivotRuntimeDefinition>;
|
|
4155
|
+
getPivotDataSourceId(pivotId: UID): string;
|
|
4156
|
+
isPivotUnused(pivotId: UID): boolean;
|
|
4157
|
+
/**
|
|
4158
|
+
* Check if the fields in the domain part of
|
|
4159
|
+
* a pivot function are valid according to the pivot definition.
|
|
4160
|
+
* e.g. =PIVOT.VALUE(1,"revenue","country_id",...,"create_date:month",...,"source_id",...)
|
|
4161
|
+
*/
|
|
4162
|
+
areDomainArgsFieldsValid(pivotId: UID, domainArgs: string[]): boolean;
|
|
4163
|
+
/**
|
|
4164
|
+
* Refresh the cache of a pivot
|
|
4165
|
+
*/
|
|
4166
|
+
private refreshPivot;
|
|
4167
|
+
setupPivot(pivotId: UID, { recreate }?: {
|
|
4168
|
+
recreate: boolean;
|
|
4169
|
+
}): void;
|
|
4170
|
+
_getUnusedPivots(): UID[];
|
|
4171
|
+
}
|
|
4172
|
+
|
|
3838
4173
|
/**
|
|
3839
4174
|
* Autofill Plugin
|
|
3840
4175
|
*
|
|
@@ -4259,7 +4594,7 @@ declare class ClipboardPlugin extends UIPlugin {
|
|
|
4259
4594
|
declare class FilterEvaluationPlugin extends UIPlugin {
|
|
4260
4595
|
static getters: readonly ["getFilterHiddenValues", "getFirstTableInSelection", "isRowFiltered", "isFilterActive"];
|
|
4261
4596
|
private filterValues;
|
|
4262
|
-
hiddenRows: Set<number>;
|
|
4597
|
+
hiddenRows: Record<UID, Set<number> | undefined>;
|
|
4263
4598
|
isEvaluationDirty: boolean;
|
|
4264
4599
|
allowDispatch(cmd: LocalCommand): CommandResult;
|
|
4265
4600
|
handle(cmd: Command): void;
|
|
@@ -4672,11 +5007,11 @@ type PluginGetters<Plugin extends {
|
|
|
4672
5007
|
getters: readonly string[];
|
|
4673
5008
|
}> = Pick<InstanceType<Plugin>, GetterNames<Plugin>>;
|
|
4674
5009
|
type RangeAdapterGetters = Pick<RangeAdapter, GetterNames<typeof RangeAdapter>>;
|
|
4675
|
-
type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof HeaderSizePlugin> & PluginGetters<typeof HeaderVisibilityPlugin> & PluginGetters<typeof CellPlugin> & PluginGetters<typeof MergePlugin> & PluginGetters<typeof BordersPlugin> & PluginGetters<typeof ChartPlugin> & PluginGetters<typeof ImagePlugin> & PluginGetters<typeof FigurePlugin> & RangeAdapterGetters & PluginGetters<typeof ConditionalFormatPlugin> & PluginGetters<typeof TablePlugin> & PluginGetters<typeof SettingsPlugin> & PluginGetters<typeof HeaderGroupingPlugin> & PluginGetters<typeof DataValidationPlugin>;
|
|
5010
|
+
type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof HeaderSizePlugin> & PluginGetters<typeof HeaderVisibilityPlugin> & PluginGetters<typeof CellPlugin> & PluginGetters<typeof MergePlugin> & PluginGetters<typeof BordersPlugin> & PluginGetters<typeof ChartPlugin> & PluginGetters<typeof ImagePlugin> & PluginGetters<typeof FigurePlugin> & RangeAdapterGetters & PluginGetters<typeof ConditionalFormatPlugin> & PluginGetters<typeof TablePlugin> & PluginGetters<typeof SettingsPlugin> & PluginGetters<typeof HeaderGroupingPlugin> & PluginGetters<typeof DataValidationPlugin> & PluginGetters<typeof PivotCorePlugin>;
|
|
4676
5011
|
type Getters = {
|
|
4677
5012
|
isReadonly: () => boolean;
|
|
4678
5013
|
isDashboard: () => boolean;
|
|
4679
|
-
} & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof FindAndReplacePlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin> & PluginGetters<typeof TableStylePlugin> & PluginGetters<typeof CellComputedStylePlugin> & PluginGetters<typeof DynamicTablesPlugin>;
|
|
5014
|
+
} & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof FindAndReplacePlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin> & PluginGetters<typeof TableStylePlugin> & PluginGetters<typeof CellComputedStylePlugin> & PluginGetters<typeof DynamicTablesPlugin> & PluginGetters<typeof PivotUIPlugin>;
|
|
4680
5015
|
|
|
4681
5016
|
type ArgType = "ANY" | "BOOLEAN" | "NUMBER" | "STRING" | "DATE" | "RANGE" | "RANGE<BOOLEAN>" | "RANGE<NUMBER>" | "RANGE<DATE>" | "RANGE<STRING>" | "RANGE<ANY>" | "META";
|
|
4682
5017
|
interface ArgDefinition {
|
|
@@ -4994,6 +5329,7 @@ declare class DateTime {
|
|
|
4994
5329
|
getTime(): number;
|
|
4995
5330
|
getFullYear(): number;
|
|
4996
5331
|
getMonth(): number;
|
|
5332
|
+
getQuarter(): number;
|
|
4997
5333
|
getDate(): number;
|
|
4998
5334
|
getDay(): number;
|
|
4999
5335
|
getHours(): number;
|
|
@@ -5145,12 +5481,11 @@ declare function isInside(col: number, row: number, zone: Zone): boolean;
|
|
|
5145
5481
|
* a cell that is part of the new zone and not the previous one.
|
|
5146
5482
|
*/
|
|
5147
5483
|
declare function findCellInNewZone(oldZone: Zone, currentZone: Zone): Position$1;
|
|
5148
|
-
declare function positionToZone(position: Position$1):
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
};
|
|
5484
|
+
declare function positionToZone(position: Position$1): Zone;
|
|
5485
|
+
/**
|
|
5486
|
+
* Merge contiguous and overlapping zones that are in the array into bigger zones
|
|
5487
|
+
*/
|
|
5488
|
+
declare function mergeContiguousZones(zones: Zone[]): Zone[];
|
|
5154
5489
|
|
|
5155
5490
|
/**
|
|
5156
5491
|
* Model
|
|
@@ -5338,6 +5673,62 @@ declare class Model extends EventBus<any> implements CommandDispatcher {
|
|
|
5338
5673
|
garbageCollectExternalResources(): void;
|
|
5339
5674
|
}
|
|
5340
5675
|
|
|
5676
|
+
/**
|
|
5677
|
+
* Registry
|
|
5678
|
+
*
|
|
5679
|
+
* The Registry class is basically just a mapping from a string key to an object.
|
|
5680
|
+
* It is really not much more than an object. It is however useful for the
|
|
5681
|
+
* following reasons:
|
|
5682
|
+
*
|
|
5683
|
+
* 1. it let us react and execute code when someone add something to the registry
|
|
5684
|
+
* (for example, the FunctionRegistry subclass this for this purpose)
|
|
5685
|
+
* 2. it throws an error when the get operation fails
|
|
5686
|
+
* 3. it provides a chained API to add items to the registry.
|
|
5687
|
+
*/
|
|
5688
|
+
declare class Registry<T> {
|
|
5689
|
+
content: {
|
|
5690
|
+
[key: string]: T;
|
|
5691
|
+
};
|
|
5692
|
+
/**
|
|
5693
|
+
* Add an item to the registry
|
|
5694
|
+
*
|
|
5695
|
+
* Note that this also returns the registry, so another add method call can
|
|
5696
|
+
* be chained
|
|
5697
|
+
*/
|
|
5698
|
+
add(key: string, value: T): Registry<T>;
|
|
5699
|
+
/**
|
|
5700
|
+
* Get an item from the registry
|
|
5701
|
+
*/
|
|
5702
|
+
get(key: string): T;
|
|
5703
|
+
/**
|
|
5704
|
+
* Check if the key is already in the registry
|
|
5705
|
+
*/
|
|
5706
|
+
contains(key: string): boolean;
|
|
5707
|
+
/**
|
|
5708
|
+
* Get a list of all elements in the registry
|
|
5709
|
+
*/
|
|
5710
|
+
getAll(): T[];
|
|
5711
|
+
/**
|
|
5712
|
+
* Get a list of all keys in the registry
|
|
5713
|
+
*/
|
|
5714
|
+
getKeys(): string[];
|
|
5715
|
+
/**
|
|
5716
|
+
* Remove an item from the registry
|
|
5717
|
+
*/
|
|
5718
|
+
remove(key: string): void;
|
|
5719
|
+
}
|
|
5720
|
+
|
|
5721
|
+
interface PivotParams {
|
|
5722
|
+
definition: PivotCoreDefinition;
|
|
5723
|
+
getters: Getters;
|
|
5724
|
+
}
|
|
5725
|
+
type PivotConstructor = new (custom: ModelConfig["custom"], params: PivotParams) => Pivot;
|
|
5726
|
+
type PivotDefinitionConstructor = new (definition: PivotCoreDefinition, fields: PivotFields) => PivotRuntimeDefinition;
|
|
5727
|
+
interface PivotRegistryItem {
|
|
5728
|
+
cls: PivotConstructor;
|
|
5729
|
+
definition: PivotDefinitionConstructor;
|
|
5730
|
+
}
|
|
5731
|
+
|
|
5341
5732
|
declare class ClipboardHandler<T> {
|
|
5342
5733
|
protected getters: Getters;
|
|
5343
5734
|
protected dispatch: CommandDispatcher["dispatch"];
|
|
@@ -5406,51 +5797,6 @@ type PositionedCellPopoverComponent<C extends MaxSizedComponentConstructor = Max
|
|
|
5406
5797
|
cellCorner: PopoverPropsPosition;
|
|
5407
5798
|
};
|
|
5408
5799
|
|
|
5409
|
-
/**
|
|
5410
|
-
* Registry
|
|
5411
|
-
*
|
|
5412
|
-
* The Registry class is basically just a mapping from a string key to an object.
|
|
5413
|
-
* It is really not much more than an object. It is however useful for the
|
|
5414
|
-
* following reasons:
|
|
5415
|
-
*
|
|
5416
|
-
* 1. it let us react and execute code when someone add something to the registry
|
|
5417
|
-
* (for example, the FunctionRegistry subclass this for this purpose)
|
|
5418
|
-
* 2. it throws an error when the get operation fails
|
|
5419
|
-
* 3. it provides a chained API to add items to the registry.
|
|
5420
|
-
*/
|
|
5421
|
-
declare class Registry<T> {
|
|
5422
|
-
content: {
|
|
5423
|
-
[key: string]: T;
|
|
5424
|
-
};
|
|
5425
|
-
/**
|
|
5426
|
-
* Add an item to the registry
|
|
5427
|
-
*
|
|
5428
|
-
* Note that this also returns the registry, so another add method call can
|
|
5429
|
-
* be chained
|
|
5430
|
-
*/
|
|
5431
|
-
add(key: string, value: T): Registry<T>;
|
|
5432
|
-
/**
|
|
5433
|
-
* Get an item from the registry
|
|
5434
|
-
*/
|
|
5435
|
-
get(key: string): T;
|
|
5436
|
-
/**
|
|
5437
|
-
* Check if the key is already in the registry
|
|
5438
|
-
*/
|
|
5439
|
-
contains(key: string): boolean;
|
|
5440
|
-
/**
|
|
5441
|
-
* Get a list of all elements in the registry
|
|
5442
|
-
*/
|
|
5443
|
-
getAll(): T[];
|
|
5444
|
-
/**
|
|
5445
|
-
* Get a list of all keys in the registry
|
|
5446
|
-
*/
|
|
5447
|
-
getKeys(): string[];
|
|
5448
|
-
/**
|
|
5449
|
-
* Remove an item from the registry
|
|
5450
|
-
*/
|
|
5451
|
-
remove(key: string): void;
|
|
5452
|
-
}
|
|
5453
|
-
|
|
5454
5800
|
interface LinkSpec {
|
|
5455
5801
|
readonly match: (url: string) => boolean;
|
|
5456
5802
|
readonly createLink: (url: string, label: string) => Link;
|
|
@@ -5630,7 +5976,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
5630
5976
|
getIndex(rangeId: number | null): number | null;
|
|
5631
5977
|
}
|
|
5632
5978
|
|
|
5633
|
-
interface Props$
|
|
5979
|
+
interface Props$X {
|
|
5634
5980
|
ranges: string[];
|
|
5635
5981
|
hasSingleRange?: boolean;
|
|
5636
5982
|
required?: boolean;
|
|
@@ -5652,7 +5998,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
5652
5998
|
* onSelectionChanged is called every time the input value
|
|
5653
5999
|
* changes.
|
|
5654
6000
|
*/
|
|
5655
|
-
declare class SelectionInput extends Component<Props$
|
|
6001
|
+
declare class SelectionInput extends Component<Props$X, SpreadsheetChildEnv> {
|
|
5656
6002
|
static template: string;
|
|
5657
6003
|
static props: {
|
|
5658
6004
|
ranges: ArrayConstructor;
|
|
@@ -5702,11 +6048,11 @@ declare class SelectionInput extends Component<Props$R, SpreadsheetChildEnv> {
|
|
|
5702
6048
|
confirm(): void;
|
|
5703
6049
|
}
|
|
5704
6050
|
|
|
5705
|
-
interface Props$
|
|
6051
|
+
interface Props$W {
|
|
5706
6052
|
messages: string[];
|
|
5707
6053
|
msgType: "warning" | "error";
|
|
5708
6054
|
}
|
|
5709
|
-
declare class ValidationMessages extends Component<Props$
|
|
6055
|
+
declare class ValidationMessages extends Component<Props$W, SpreadsheetChildEnv> {
|
|
5710
6056
|
static template: string;
|
|
5711
6057
|
static props: {
|
|
5712
6058
|
messages: ArrayConstructor;
|
|
@@ -5715,7 +6061,7 @@ declare class ValidationMessages extends Component<Props$Q, SpreadsheetChildEnv>
|
|
|
5715
6061
|
get divClasses(): "o-validation-warning text-warning" | "o-validation-error text-danger";
|
|
5716
6062
|
}
|
|
5717
6063
|
|
|
5718
|
-
interface Props$
|
|
6064
|
+
interface Props$V {
|
|
5719
6065
|
label?: string;
|
|
5720
6066
|
value: boolean;
|
|
5721
6067
|
className?: string;
|
|
@@ -5724,7 +6070,7 @@ interface Props$P {
|
|
|
5724
6070
|
disabled?: boolean;
|
|
5725
6071
|
onChange: (value: boolean) => void;
|
|
5726
6072
|
}
|
|
5727
|
-
declare class Checkbox extends Component<Props$
|
|
6073
|
+
declare class Checkbox extends Component<Props$V, SpreadsheetChildEnv> {
|
|
5728
6074
|
static template: string;
|
|
5729
6075
|
static props: {
|
|
5730
6076
|
label: {
|
|
@@ -5759,10 +6105,10 @@ declare class Checkbox extends Component<Props$P, SpreadsheetChildEnv> {
|
|
|
5759
6105
|
onChange(ev: InputEvent): void;
|
|
5760
6106
|
}
|
|
5761
6107
|
|
|
5762
|
-
interface Props$
|
|
6108
|
+
interface Props$U {
|
|
5763
6109
|
class?: string;
|
|
5764
6110
|
}
|
|
5765
|
-
declare class Section extends Component<Props$
|
|
6111
|
+
declare class Section extends Component<Props$U, SpreadsheetChildEnv> {
|
|
5766
6112
|
static template: string;
|
|
5767
6113
|
static props: {
|
|
5768
6114
|
class: {
|
|
@@ -5773,13 +6119,13 @@ declare class Section extends Component<Props$O, SpreadsheetChildEnv> {
|
|
|
5773
6119
|
};
|
|
5774
6120
|
}
|
|
5775
6121
|
|
|
5776
|
-
interface Props$
|
|
6122
|
+
interface Props$T {
|
|
5777
6123
|
ranges: string[];
|
|
5778
6124
|
hasSingleRange?: boolean;
|
|
5779
6125
|
onSelectionChanged: (ranges: string[]) => void;
|
|
5780
6126
|
onSelectionConfirmed: () => void;
|
|
5781
6127
|
}
|
|
5782
|
-
declare class ChartDataSeries extends Component<Props$
|
|
6128
|
+
declare class ChartDataSeries extends Component<Props$T, SpreadsheetChildEnv> {
|
|
5783
6129
|
static template: string;
|
|
5784
6130
|
static components: {
|
|
5785
6131
|
SelectionInput: typeof SelectionInput;
|
|
@@ -5797,10 +6143,10 @@ declare class ChartDataSeries extends Component<Props$N, SpreadsheetChildEnv> {
|
|
|
5797
6143
|
get title(): string;
|
|
5798
6144
|
}
|
|
5799
6145
|
|
|
5800
|
-
interface Props$
|
|
6146
|
+
interface Props$S {
|
|
5801
6147
|
messages: string[];
|
|
5802
6148
|
}
|
|
5803
|
-
declare class ChartErrorSection extends Component<Props$
|
|
6149
|
+
declare class ChartErrorSection extends Component<Props$S, SpreadsheetChildEnv> {
|
|
5804
6150
|
static template: string;
|
|
5805
6151
|
static components: {
|
|
5806
6152
|
Section: typeof Section;
|
|
@@ -5814,7 +6160,7 @@ declare class ChartErrorSection extends Component<Props$M, SpreadsheetChildEnv>
|
|
|
5814
6160
|
};
|
|
5815
6161
|
}
|
|
5816
6162
|
|
|
5817
|
-
interface Props$
|
|
6163
|
+
interface Props$R {
|
|
5818
6164
|
title?: string;
|
|
5819
6165
|
range: string;
|
|
5820
6166
|
isInvalid: boolean;
|
|
@@ -5828,7 +6174,7 @@ interface Props$L {
|
|
|
5828
6174
|
onChange: (value: boolean) => void;
|
|
5829
6175
|
}>;
|
|
5830
6176
|
}
|
|
5831
|
-
declare class ChartLabelRange extends Component<Props$
|
|
6177
|
+
declare class ChartLabelRange extends Component<Props$R, SpreadsheetChildEnv> {
|
|
5832
6178
|
static template: string;
|
|
5833
6179
|
static components: {
|
|
5834
6180
|
SelectionInput: typeof SelectionInput;
|
|
@@ -5853,16 +6199,16 @@ declare class ChartLabelRange extends Component<Props$L, SpreadsheetChildEnv> {
|
|
|
5853
6199
|
optional: boolean;
|
|
5854
6200
|
};
|
|
5855
6201
|
};
|
|
5856
|
-
static defaultProps: Partial<Props$
|
|
6202
|
+
static defaultProps: Partial<Props$R>;
|
|
5857
6203
|
}
|
|
5858
6204
|
|
|
5859
|
-
interface Props$
|
|
6205
|
+
interface Props$Q {
|
|
5860
6206
|
figureId: UID;
|
|
5861
6207
|
definition: ChartWithAxisDefinition;
|
|
5862
6208
|
canUpdateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
5863
6209
|
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
5864
6210
|
}
|
|
5865
|
-
declare class GenericChartConfigPanel extends Component<Props$
|
|
6211
|
+
declare class GenericChartConfigPanel extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
5866
6212
|
static template: string;
|
|
5867
6213
|
static components: {
|
|
5868
6214
|
SelectionInput: typeof SelectionInput;
|
|
@@ -6062,7 +6408,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
6062
6408
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
6063
6409
|
}
|
|
6064
6410
|
|
|
6065
|
-
interface Props$
|
|
6411
|
+
interface Props$P {
|
|
6066
6412
|
currentColor: string | undefined;
|
|
6067
6413
|
toggleColorPicker: () => void;
|
|
6068
6414
|
showColorPicker: boolean;
|
|
@@ -6073,7 +6419,7 @@ interface Props$J {
|
|
|
6073
6419
|
dropdownMaxHeight?: Pixel;
|
|
6074
6420
|
class?: string;
|
|
6075
6421
|
}
|
|
6076
|
-
declare class ColorPickerWidget extends Component<Props$
|
|
6422
|
+
declare class ColorPickerWidget extends Component<Props$P, SpreadsheetChildEnv> {
|
|
6077
6423
|
static template: string;
|
|
6078
6424
|
static props: {
|
|
6079
6425
|
currentColor: {
|
|
@@ -6111,12 +6457,12 @@ declare class ColorPickerWidget extends Component<Props$J, SpreadsheetChildEnv>
|
|
|
6111
6457
|
get colorPickerAnchorRect(): Rect;
|
|
6112
6458
|
}
|
|
6113
6459
|
|
|
6114
|
-
interface Props$
|
|
6460
|
+
interface Props$O {
|
|
6115
6461
|
currentColor?: string;
|
|
6116
6462
|
onColorPicked: (color: string) => void;
|
|
6117
6463
|
title?: string;
|
|
6118
6464
|
}
|
|
6119
|
-
declare class RoundColorPicker extends Component<Props$
|
|
6465
|
+
declare class RoundColorPicker extends Component<Props$O, SpreadsheetChildEnv> {
|
|
6120
6466
|
static template: string;
|
|
6121
6467
|
static components: {
|
|
6122
6468
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
@@ -6146,11 +6492,11 @@ declare class RoundColorPicker extends Component<Props$I, SpreadsheetChildEnv> {
|
|
|
6146
6492
|
get buttonStyle(): string;
|
|
6147
6493
|
}
|
|
6148
6494
|
|
|
6149
|
-
interface Props$
|
|
6495
|
+
interface Props$N {
|
|
6150
6496
|
title: string;
|
|
6151
6497
|
update: (title: string) => void;
|
|
6152
6498
|
}
|
|
6153
|
-
declare class ChartTitle extends Component<Props$
|
|
6499
|
+
declare class ChartTitle extends Component<Props$N, SpreadsheetChildEnv> {
|
|
6154
6500
|
static template: string;
|
|
6155
6501
|
static components: {
|
|
6156
6502
|
Section: typeof Section;
|
|
@@ -6162,13 +6508,13 @@ declare class ChartTitle extends Component<Props$H, SpreadsheetChildEnv> {
|
|
|
6162
6508
|
updateTitle(ev: InputEvent): void;
|
|
6163
6509
|
}
|
|
6164
6510
|
|
|
6165
|
-
interface Props$
|
|
6511
|
+
interface Props$M {
|
|
6166
6512
|
figureId: UID;
|
|
6167
6513
|
definition: ChartWithAxisDefinition;
|
|
6168
6514
|
canUpdateChart: (definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
6169
6515
|
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
6170
6516
|
}
|
|
6171
|
-
declare class GenericChartDesignPanel extends Component<Props$
|
|
6517
|
+
declare class GenericChartDesignPanel extends Component<Props$M, SpreadsheetChildEnv> {
|
|
6172
6518
|
static template: string;
|
|
6173
6519
|
static components: {
|
|
6174
6520
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -6188,13 +6534,13 @@ declare class GenericChartDesignPanel extends Component<Props$G, SpreadsheetChil
|
|
|
6188
6534
|
get backgroundColorTitle(): string;
|
|
6189
6535
|
}
|
|
6190
6536
|
|
|
6191
|
-
interface Props$
|
|
6537
|
+
interface Props$L {
|
|
6192
6538
|
figureId: UID;
|
|
6193
6539
|
definition: GaugeChartDefinition;
|
|
6194
6540
|
canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
6195
6541
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
6196
6542
|
}
|
|
6197
|
-
declare class GaugeChartConfigPanel extends Component<Props$
|
|
6543
|
+
declare class GaugeChartConfigPanel extends Component<Props$L, SpreadsheetChildEnv> {
|
|
6198
6544
|
static template: string;
|
|
6199
6545
|
static components: {
|
|
6200
6546
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -6215,13 +6561,13 @@ declare class GaugeChartConfigPanel extends Component<Props$F, SpreadsheetChildE
|
|
|
6215
6561
|
getDataRange(): string;
|
|
6216
6562
|
}
|
|
6217
6563
|
|
|
6218
|
-
interface Props$
|
|
6564
|
+
interface Props$K {
|
|
6219
6565
|
figureId: UID;
|
|
6220
6566
|
definition: GaugeChartDefinition;
|
|
6221
6567
|
canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
6222
6568
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
6223
6569
|
}
|
|
6224
|
-
declare class GaugeChartDesignPanel extends Component<Props$
|
|
6570
|
+
declare class GaugeChartDesignPanel extends Component<Props$K, SpreadsheetChildEnv> {
|
|
6225
6571
|
static template: string;
|
|
6226
6572
|
static components: {
|
|
6227
6573
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -6267,13 +6613,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
6267
6613
|
onUpdateCumulative(cumulative: boolean): void;
|
|
6268
6614
|
}
|
|
6269
6615
|
|
|
6270
|
-
interface Props$
|
|
6616
|
+
interface Props$J {
|
|
6271
6617
|
figureId: UID;
|
|
6272
6618
|
definition: ScorecardChartDefinition;
|
|
6273
6619
|
canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
6274
6620
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
6275
6621
|
}
|
|
6276
|
-
declare class ScorecardChartConfigPanel extends Component<Props$
|
|
6622
|
+
declare class ScorecardChartConfigPanel extends Component<Props$J, SpreadsheetChildEnv> {
|
|
6277
6623
|
static template: string;
|
|
6278
6624
|
static components: {
|
|
6279
6625
|
SelectionInput: typeof SelectionInput;
|
|
@@ -6302,13 +6648,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$D, SpreadsheetCh
|
|
|
6302
6648
|
}
|
|
6303
6649
|
|
|
6304
6650
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
6305
|
-
interface Props$
|
|
6651
|
+
interface Props$I {
|
|
6306
6652
|
figureId: UID;
|
|
6307
6653
|
definition: ScorecardChartDefinition;
|
|
6308
6654
|
canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
6309
6655
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
6310
6656
|
}
|
|
6311
|
-
declare class ScorecardChartDesignPanel extends Component<Props$
|
|
6657
|
+
declare class ScorecardChartDesignPanel extends Component<Props$I, SpreadsheetChildEnv> {
|
|
6312
6658
|
static template: string;
|
|
6313
6659
|
static components: {
|
|
6314
6660
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -6540,13 +6886,13 @@ interface EnrichedToken extends Token {
|
|
|
6540
6886
|
functionContext?: FunctionContext;
|
|
6541
6887
|
}
|
|
6542
6888
|
|
|
6543
|
-
interface Props$
|
|
6889
|
+
interface Props$H {
|
|
6544
6890
|
proposals: AutoCompleteProposal[];
|
|
6545
6891
|
selectedIndex: number | undefined;
|
|
6546
6892
|
onValueSelected: (value: string) => void;
|
|
6547
6893
|
onValueHovered: (index: string) => void;
|
|
6548
6894
|
}
|
|
6549
|
-
declare class TextValueProvider extends Component<Props$
|
|
6895
|
+
declare class TextValueProvider extends Component<Props$H> {
|
|
6550
6896
|
static template: string;
|
|
6551
6897
|
static props: {
|
|
6552
6898
|
proposals: ArrayConstructor;
|
|
@@ -6747,7 +7093,7 @@ declare class ContentEditableHelper {
|
|
|
6747
7093
|
getText(): string;
|
|
6748
7094
|
}
|
|
6749
7095
|
|
|
6750
|
-
interface Props$
|
|
7096
|
+
interface Props$G {
|
|
6751
7097
|
functionName: string;
|
|
6752
7098
|
functionDescription: FunctionDescription;
|
|
6753
7099
|
argToFocus: number;
|
|
@@ -6755,7 +7101,7 @@ interface Props$A {
|
|
|
6755
7101
|
interface AssistantState {
|
|
6756
7102
|
allowCellSelectionBehind: boolean;
|
|
6757
7103
|
}
|
|
6758
|
-
declare class FunctionDescriptionProvider extends Component<Props$
|
|
7104
|
+
declare class FunctionDescriptionProvider extends Component<Props$G, SpreadsheetChildEnv> {
|
|
6759
7105
|
static template: string;
|
|
6760
7106
|
static props: {
|
|
6761
7107
|
functionName: StringConstructor;
|
|
@@ -6765,7 +7111,7 @@ declare class FunctionDescriptionProvider extends Component<Props$A, Spreadsheet
|
|
|
6765
7111
|
assistantState: AssistantState;
|
|
6766
7112
|
private timeOutId;
|
|
6767
7113
|
setup(): void;
|
|
6768
|
-
getContext(): Props$
|
|
7114
|
+
getContext(): Props$G;
|
|
6769
7115
|
onMouseMove(): void;
|
|
6770
7116
|
get formulaArgSeparator(): string;
|
|
6771
7117
|
}
|
|
@@ -6961,10 +7307,10 @@ interface AutoCompleteProviderDefinition {
|
|
|
6961
7307
|
|
|
6962
7308
|
declare function transformRangeData(range: RangeData, executed: CoreCommand): RangeData | undefined;
|
|
6963
7309
|
|
|
6964
|
-
interface Props$
|
|
7310
|
+
interface Props$F {
|
|
6965
7311
|
figure: Figure;
|
|
6966
7312
|
}
|
|
6967
|
-
declare class ChartJsComponent extends Component<Props$
|
|
7313
|
+
declare class ChartJsComponent extends Component<Props$F, SpreadsheetChildEnv> {
|
|
6968
7314
|
static template: string;
|
|
6969
7315
|
static props: {
|
|
6970
7316
|
figure: ObjectConstructor;
|
|
@@ -6979,10 +7325,10 @@ declare class ChartJsComponent extends Component<Props$z, SpreadsheetChildEnv> {
|
|
|
6979
7325
|
private updateChartJs;
|
|
6980
7326
|
}
|
|
6981
7327
|
|
|
6982
|
-
interface Props$
|
|
7328
|
+
interface Props$E {
|
|
6983
7329
|
figure: Figure;
|
|
6984
7330
|
}
|
|
6985
|
-
declare class ScorecardChart extends Component<Props$
|
|
7331
|
+
declare class ScorecardChart extends Component<Props$E, SpreadsheetChildEnv> {
|
|
6986
7332
|
static template: string;
|
|
6987
7333
|
static props: {
|
|
6988
7334
|
figure: ObjectConstructor;
|
|
@@ -6994,7 +7340,7 @@ declare class ScorecardChart extends Component<Props$y, SpreadsheetChildEnv> {
|
|
|
6994
7340
|
}
|
|
6995
7341
|
|
|
6996
7342
|
type MenuItemOrSeparator = Action | "separator";
|
|
6997
|
-
interface Props$
|
|
7343
|
+
interface Props$D {
|
|
6998
7344
|
position: DOMCoordinates;
|
|
6999
7345
|
menuItems: Action[];
|
|
7000
7346
|
depth: number;
|
|
@@ -7012,7 +7358,7 @@ interface MenuState {
|
|
|
7012
7358
|
menuItems: Action[];
|
|
7013
7359
|
isHoveringChild?: boolean;
|
|
7014
7360
|
}
|
|
7015
|
-
declare class Menu extends Component<Props$
|
|
7361
|
+
declare class Menu extends Component<Props$D, SpreadsheetChildEnv> {
|
|
7016
7362
|
static template: string;
|
|
7017
7363
|
static props: {
|
|
7018
7364
|
position: ObjectConstructor;
|
|
@@ -7082,14 +7428,14 @@ declare class Menu extends Component<Props$x, SpreadsheetChildEnv> {
|
|
|
7082
7428
|
}
|
|
7083
7429
|
|
|
7084
7430
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
7085
|
-
interface Props$
|
|
7431
|
+
interface Props$C {
|
|
7086
7432
|
figure: Figure;
|
|
7087
7433
|
style: string;
|
|
7088
7434
|
onFigureDeleted: () => void;
|
|
7089
7435
|
onMouseDown: (ev: MouseEvent) => void;
|
|
7090
7436
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
7091
7437
|
}
|
|
7092
|
-
declare class FigureComponent extends Component<Props$
|
|
7438
|
+
declare class FigureComponent extends Component<Props$C, SpreadsheetChildEnv> {
|
|
7093
7439
|
static template: string;
|
|
7094
7440
|
static props: {
|
|
7095
7441
|
figure: ObjectConstructor;
|
|
@@ -7138,11 +7484,11 @@ declare class FigureComponent extends Component<Props$w, SpreadsheetChildEnv> {
|
|
|
7138
7484
|
private openContextMenu;
|
|
7139
7485
|
}
|
|
7140
7486
|
|
|
7141
|
-
interface Props$
|
|
7487
|
+
interface Props$B {
|
|
7142
7488
|
figure: Figure;
|
|
7143
7489
|
onFigureDeleted: () => void;
|
|
7144
7490
|
}
|
|
7145
|
-
declare class ChartFigure extends Component<Props$
|
|
7491
|
+
declare class ChartFigure extends Component<Props$B, SpreadsheetChildEnv> {
|
|
7146
7492
|
static template: string;
|
|
7147
7493
|
static props: {
|
|
7148
7494
|
figure: ObjectConstructor;
|
|
@@ -7154,7 +7500,7 @@ declare class ChartFigure extends Component<Props$v, SpreadsheetChildEnv> {
|
|
|
7154
7500
|
get chartComponent(): new (...args: any) => Component;
|
|
7155
7501
|
}
|
|
7156
7502
|
|
|
7157
|
-
interface Props$
|
|
7503
|
+
interface Props$A {
|
|
7158
7504
|
isVisible: boolean;
|
|
7159
7505
|
position: Position;
|
|
7160
7506
|
}
|
|
@@ -7166,7 +7512,7 @@ interface State$7 {
|
|
|
7166
7512
|
position: Position;
|
|
7167
7513
|
handler: boolean;
|
|
7168
7514
|
}
|
|
7169
|
-
declare class Autofill extends Component<Props$
|
|
7515
|
+
declare class Autofill extends Component<Props$A, SpreadsheetChildEnv> {
|
|
7170
7516
|
static template: string;
|
|
7171
7517
|
static props: {
|
|
7172
7518
|
position: ObjectConstructor;
|
|
@@ -7200,7 +7546,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
7200
7546
|
get tagStyle(): string;
|
|
7201
7547
|
}
|
|
7202
7548
|
|
|
7203
|
-
interface Props$
|
|
7549
|
+
interface Props$z {
|
|
7204
7550
|
gridDims: DOMDimension;
|
|
7205
7551
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
7206
7552
|
}
|
|
@@ -7208,7 +7554,7 @@ interface Props$t {
|
|
|
7208
7554
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
7209
7555
|
* It also applies the style of the cell to the composer input.
|
|
7210
7556
|
*/
|
|
7211
|
-
declare class GridComposer extends Component<Props$
|
|
7557
|
+
declare class GridComposer extends Component<Props$z, SpreadsheetChildEnv> {
|
|
7212
7558
|
static template: string;
|
|
7213
7559
|
static props: {
|
|
7214
7560
|
gridDims: ObjectConstructor;
|
|
@@ -7265,10 +7611,10 @@ declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChild
|
|
|
7265
7611
|
isPositionVisible(position: CellPosition): boolean;
|
|
7266
7612
|
}
|
|
7267
7613
|
|
|
7268
|
-
interface Props$
|
|
7614
|
+
interface Props$y {
|
|
7269
7615
|
cellPosition: CellPosition;
|
|
7270
7616
|
}
|
|
7271
|
-
declare class DataValidationCheckbox extends Component<Props$
|
|
7617
|
+
declare class DataValidationCheckbox extends Component<Props$y, SpreadsheetChildEnv> {
|
|
7272
7618
|
static template: string;
|
|
7273
7619
|
static props: {
|
|
7274
7620
|
cellPosition: ObjectConstructor;
|
|
@@ -7278,10 +7624,10 @@ declare class DataValidationCheckbox extends Component<Props$s, SpreadsheetChild
|
|
|
7278
7624
|
get isDisabled(): boolean;
|
|
7279
7625
|
}
|
|
7280
7626
|
|
|
7281
|
-
interface Props$
|
|
7627
|
+
interface Props$x {
|
|
7282
7628
|
cellPosition: CellPosition;
|
|
7283
7629
|
}
|
|
7284
|
-
declare class DataValidationListIcon extends Component<Props$
|
|
7630
|
+
declare class DataValidationListIcon extends Component<Props$x, SpreadsheetChildEnv> {
|
|
7285
7631
|
static template: string;
|
|
7286
7632
|
static props: {
|
|
7287
7633
|
cellPosition: ObjectConstructor;
|
|
@@ -7311,7 +7657,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
7311
7657
|
}
|
|
7312
7658
|
|
|
7313
7659
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
7314
|
-
interface Props$
|
|
7660
|
+
interface Props$w {
|
|
7315
7661
|
onFigureDeleted: () => void;
|
|
7316
7662
|
}
|
|
7317
7663
|
interface Container {
|
|
@@ -7390,7 +7736,7 @@ interface DndState {
|
|
|
7390
7736
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
7391
7737
|
*
|
|
7392
7738
|
*/
|
|
7393
|
-
declare class FiguresContainer extends Component<Props$
|
|
7739
|
+
declare class FiguresContainer extends Component<Props$w, SpreadsheetChildEnv> {
|
|
7394
7740
|
static template: string;
|
|
7395
7741
|
static props: {
|
|
7396
7742
|
onFigureDeleted: FunctionConstructor;
|
|
@@ -7446,10 +7792,10 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
7446
7792
|
private computePopoverAnchorRect;
|
|
7447
7793
|
}
|
|
7448
7794
|
|
|
7449
|
-
interface Props$
|
|
7795
|
+
interface Props$v {
|
|
7450
7796
|
cellPosition: CellPosition;
|
|
7451
7797
|
}
|
|
7452
|
-
declare class FilterIcon extends Component<Props$
|
|
7798
|
+
declare class FilterIcon extends Component<Props$v, SpreadsheetChildEnv> {
|
|
7453
7799
|
static template: string;
|
|
7454
7800
|
static props: {
|
|
7455
7801
|
cellPosition: ObjectConstructor;
|
|
@@ -7461,10 +7807,10 @@ declare class FilterIcon extends Component<Props$p, SpreadsheetChildEnv> {
|
|
|
7461
7807
|
get iconClass(): string;
|
|
7462
7808
|
}
|
|
7463
7809
|
|
|
7464
|
-
interface Props$
|
|
7810
|
+
interface Props$u {
|
|
7465
7811
|
onMouseDown: (ev: MouseEvent) => void;
|
|
7466
7812
|
}
|
|
7467
|
-
declare class FilterIconsOverlay extends Component<Props$
|
|
7813
|
+
declare class FilterIconsOverlay extends Component<Props$u, SpreadsheetChildEnv> {
|
|
7468
7814
|
static template: string;
|
|
7469
7815
|
static props: {
|
|
7470
7816
|
onMouseDown: FunctionConstructor;
|
|
@@ -7476,10 +7822,10 @@ declare class FilterIconsOverlay extends Component<Props$o, SpreadsheetChildEnv>
|
|
|
7476
7822
|
getFilterHeadersPositions(): CellPosition[];
|
|
7477
7823
|
}
|
|
7478
7824
|
|
|
7479
|
-
interface Props$
|
|
7825
|
+
interface Props$t {
|
|
7480
7826
|
focusGrid: () => void;
|
|
7481
7827
|
}
|
|
7482
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
7828
|
+
declare class GridAddRowsFooter extends Component<Props$t, SpreadsheetChildEnv> {
|
|
7483
7829
|
static template: string;
|
|
7484
7830
|
static props: {
|
|
7485
7831
|
focusGrid: FunctionConstructor;
|
|
@@ -7503,7 +7849,7 @@ declare class GridAddRowsFooter extends Component<Props$n, SpreadsheetChildEnv>
|
|
|
7503
7849
|
private onExternalClick;
|
|
7504
7850
|
}
|
|
7505
7851
|
|
|
7506
|
-
interface Props$
|
|
7852
|
+
interface Props$s {
|
|
7507
7853
|
onCellHovered: (position: Partial<Position$1>) => void;
|
|
7508
7854
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
7509
7855
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers) => void;
|
|
@@ -7513,7 +7859,7 @@ interface Props$m {
|
|
|
7513
7859
|
gridOverlayDimensions: string;
|
|
7514
7860
|
onFigureDeleted: () => void;
|
|
7515
7861
|
}
|
|
7516
|
-
declare class GridOverlay extends Component<Props$
|
|
7862
|
+
declare class GridOverlay extends Component<Props$s, SpreadsheetChildEnv> {
|
|
7517
7863
|
static template: string;
|
|
7518
7864
|
static props: {
|
|
7519
7865
|
onCellHovered: {
|
|
@@ -7571,12 +7917,12 @@ declare class GridOverlay extends Component<Props$m, SpreadsheetChildEnv> {
|
|
|
7571
7917
|
private getCartesianCoordinates;
|
|
7572
7918
|
}
|
|
7573
7919
|
|
|
7574
|
-
interface Props$
|
|
7920
|
+
interface Props$r {
|
|
7575
7921
|
gridRect: Rect;
|
|
7576
7922
|
onClosePopover: () => void;
|
|
7577
7923
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
7578
7924
|
}
|
|
7579
|
-
declare class GridPopover extends Component<Props$
|
|
7925
|
+
declare class GridPopover extends Component<Props$r, SpreadsheetChildEnv> {
|
|
7580
7926
|
static template: string;
|
|
7581
7927
|
static props: {
|
|
7582
7928
|
onClosePopover: FunctionConstructor;
|
|
@@ -7719,13 +8065,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
7719
8065
|
}
|
|
7720
8066
|
|
|
7721
8067
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
7722
|
-
interface Props$
|
|
8068
|
+
interface Props$q {
|
|
7723
8069
|
zone: Zone;
|
|
7724
8070
|
orientation: Orientation$1;
|
|
7725
8071
|
isMoving: boolean;
|
|
7726
8072
|
onMoveHighlight: (x: Pixel, y: Pixel) => void;
|
|
7727
8073
|
}
|
|
7728
|
-
declare class Border extends Component<Props$
|
|
8074
|
+
declare class Border extends Component<Props$q, SpreadsheetChildEnv> {
|
|
7729
8075
|
static template: string;
|
|
7730
8076
|
static props: {
|
|
7731
8077
|
zone: ObjectConstructor;
|
|
@@ -7738,14 +8084,14 @@ declare class Border extends Component<Props$k, SpreadsheetChildEnv> {
|
|
|
7738
8084
|
}
|
|
7739
8085
|
|
|
7740
8086
|
type Orientation = "nw" | "ne" | "sw" | "se";
|
|
7741
|
-
interface Props$
|
|
8087
|
+
interface Props$p {
|
|
7742
8088
|
zone: Zone;
|
|
7743
8089
|
color: Color;
|
|
7744
8090
|
orientation: Orientation;
|
|
7745
8091
|
isResizing: boolean;
|
|
7746
8092
|
onResizeHighlight: (isLeft: boolean, isRight: boolean) => void;
|
|
7747
8093
|
}
|
|
7748
|
-
declare class Corner extends Component<Props$
|
|
8094
|
+
declare class Corner extends Component<Props$p, SpreadsheetChildEnv> {
|
|
7749
8095
|
static template: string;
|
|
7750
8096
|
static props: {
|
|
7751
8097
|
zone: ObjectConstructor;
|
|
@@ -7760,14 +8106,14 @@ declare class Corner extends Component<Props$j, SpreadsheetChildEnv> {
|
|
|
7760
8106
|
onMouseDown(ev: MouseEvent): void;
|
|
7761
8107
|
}
|
|
7762
8108
|
|
|
7763
|
-
interface Props$
|
|
8109
|
+
interface Props$o {
|
|
7764
8110
|
zone: Zone;
|
|
7765
8111
|
color: Color;
|
|
7766
8112
|
}
|
|
7767
8113
|
interface HighlightState {
|
|
7768
8114
|
shiftingMode: "isMoving" | "isResizing" | "none";
|
|
7769
8115
|
}
|
|
7770
|
-
declare class Highlight extends Component<Props$
|
|
8116
|
+
declare class Highlight extends Component<Props$o, SpreadsheetChildEnv> {
|
|
7771
8117
|
static template: string;
|
|
7772
8118
|
static props: {
|
|
7773
8119
|
zone: ObjectConstructor;
|
|
@@ -7784,7 +8130,7 @@ declare class Highlight extends Component<Props$i, SpreadsheetChildEnv> {
|
|
|
7784
8130
|
|
|
7785
8131
|
type ScrollDirection = "horizontal" | "vertical";
|
|
7786
8132
|
|
|
7787
|
-
interface Props$
|
|
8133
|
+
interface Props$n {
|
|
7788
8134
|
width: Pixel;
|
|
7789
8135
|
height: Pixel;
|
|
7790
8136
|
direction: ScrollDirection;
|
|
@@ -7792,7 +8138,7 @@ interface Props$h {
|
|
|
7792
8138
|
offset: Pixel;
|
|
7793
8139
|
onScroll: (offset: Pixel) => void;
|
|
7794
8140
|
}
|
|
7795
|
-
declare class ScrollBar extends Component<Props$
|
|
8141
|
+
declare class ScrollBar extends Component<Props$n> {
|
|
7796
8142
|
static props: {
|
|
7797
8143
|
width: {
|
|
7798
8144
|
type: NumberConstructor;
|
|
@@ -7820,10 +8166,10 @@ declare class ScrollBar extends Component<Props$h> {
|
|
|
7820
8166
|
onScroll(ev: any): void;
|
|
7821
8167
|
}
|
|
7822
8168
|
|
|
7823
|
-
interface Props$
|
|
8169
|
+
interface Props$m {
|
|
7824
8170
|
leftOffset: number;
|
|
7825
8171
|
}
|
|
7826
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
8172
|
+
declare class HorizontalScrollBar extends Component<Props$m, SpreadsheetChildEnv> {
|
|
7827
8173
|
static props: {
|
|
7828
8174
|
leftOffset: {
|
|
7829
8175
|
type: NumberConstructor;
|
|
@@ -7849,10 +8195,10 @@ declare class HorizontalScrollBar extends Component<Props$g, SpreadsheetChildEnv
|
|
|
7849
8195
|
onScroll(offset: any): void;
|
|
7850
8196
|
}
|
|
7851
8197
|
|
|
7852
|
-
interface Props$
|
|
8198
|
+
interface Props$l {
|
|
7853
8199
|
topOffset: number;
|
|
7854
8200
|
}
|
|
7855
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
8201
|
+
declare class VerticalScrollBar extends Component<Props$l, SpreadsheetChildEnv> {
|
|
7856
8202
|
static props: {
|
|
7857
8203
|
topOffset: {
|
|
7858
8204
|
type: NumberConstructor;
|
|
@@ -7878,13 +8224,13 @@ declare class VerticalScrollBar extends Component<Props$f, SpreadsheetChildEnv>
|
|
|
7878
8224
|
onScroll(offset: any): void;
|
|
7879
8225
|
}
|
|
7880
8226
|
|
|
7881
|
-
interface Props$
|
|
8227
|
+
interface Props$k {
|
|
7882
8228
|
table: Table;
|
|
7883
8229
|
}
|
|
7884
8230
|
interface State$6 {
|
|
7885
8231
|
highlightZone: Zone | undefined;
|
|
7886
8232
|
}
|
|
7887
|
-
declare class TableResizer extends Component<Props$
|
|
8233
|
+
declare class TableResizer extends Component<Props$k, SpreadsheetChildEnv> {
|
|
7888
8234
|
static template: string;
|
|
7889
8235
|
static props: {
|
|
7890
8236
|
table: ObjectConstructor;
|
|
@@ -7915,10 +8261,10 @@ declare class HoveredCellStore extends SpreadsheetStore {
|
|
|
7915
8261
|
* - a vertical resizer (same, for rows)
|
|
7916
8262
|
*/
|
|
7917
8263
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
7918
|
-
interface Props$
|
|
8264
|
+
interface Props$j {
|
|
7919
8265
|
exposeFocus: (focus: () => void) => void;
|
|
7920
8266
|
}
|
|
7921
|
-
declare class Grid extends Component<Props$
|
|
8267
|
+
declare class Grid extends Component<Props$j, SpreadsheetChildEnv> {
|
|
7922
8268
|
static template: string;
|
|
7923
8269
|
static props: {
|
|
7924
8270
|
exposeFocus: FunctionConstructor;
|
|
@@ -8024,11 +8370,11 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
8024
8370
|
activatePanel(panel: "configuration" | "design"): void;
|
|
8025
8371
|
}
|
|
8026
8372
|
|
|
8027
|
-
interface Props$
|
|
8373
|
+
interface Props$i {
|
|
8028
8374
|
onCloseSidePanel: () => void;
|
|
8029
8375
|
figureId: UID;
|
|
8030
8376
|
}
|
|
8031
|
-
declare class ChartPanel extends Component<Props$
|
|
8377
|
+
declare class ChartPanel extends Component<Props$i, SpreadsheetChildEnv> {
|
|
8032
8378
|
static template: string;
|
|
8033
8379
|
static components: {
|
|
8034
8380
|
Section: typeof Section;
|
|
@@ -8109,6 +8455,230 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
8109
8455
|
get highlights(): Highlight$1[];
|
|
8110
8456
|
}
|
|
8111
8457
|
|
|
8458
|
+
declare class PivotPreview extends Component {
|
|
8459
|
+
static template: string;
|
|
8460
|
+
static props: {
|
|
8461
|
+
pivotId: StringConstructor;
|
|
8462
|
+
};
|
|
8463
|
+
setup(): void;
|
|
8464
|
+
selectPivot(): void;
|
|
8465
|
+
get highlights(): Highlight$1[];
|
|
8466
|
+
}
|
|
8467
|
+
declare class AllPivotsSidePanel extends Component {
|
|
8468
|
+
static template: string;
|
|
8469
|
+
static components: {
|
|
8470
|
+
PivotPreview: typeof PivotPreview;
|
|
8471
|
+
};
|
|
8472
|
+
static props: {
|
|
8473
|
+
onCloseSidePanel: FunctionConstructor;
|
|
8474
|
+
};
|
|
8475
|
+
}
|
|
8476
|
+
|
|
8477
|
+
/** @odoo-module */
|
|
8478
|
+
|
|
8479
|
+
interface Props$h {
|
|
8480
|
+
name: string;
|
|
8481
|
+
displayName: string;
|
|
8482
|
+
onChanged: (name: string) => void;
|
|
8483
|
+
}
|
|
8484
|
+
declare class EditableName extends Component<Props$h, SpreadsheetChildEnv> {
|
|
8485
|
+
static template: string;
|
|
8486
|
+
static props: {
|
|
8487
|
+
name: StringConstructor;
|
|
8488
|
+
displayName: StringConstructor;
|
|
8489
|
+
onChanged: FunctionConstructor;
|
|
8490
|
+
};
|
|
8491
|
+
private state;
|
|
8492
|
+
setup(): void;
|
|
8493
|
+
rename(): void;
|
|
8494
|
+
save(): void;
|
|
8495
|
+
}
|
|
8496
|
+
|
|
8497
|
+
interface Props$g {
|
|
8498
|
+
onFieldPicked: (field: string) => void;
|
|
8499
|
+
fields: PivotField[];
|
|
8500
|
+
}
|
|
8501
|
+
declare class AddDimensionButton extends Component<Props$g, SpreadsheetChildEnv> {
|
|
8502
|
+
static template: string;
|
|
8503
|
+
static components: {
|
|
8504
|
+
Popover: typeof Popover;
|
|
8505
|
+
};
|
|
8506
|
+
static props: {
|
|
8507
|
+
onFieldPicked: FunctionConstructor;
|
|
8508
|
+
fields: ArrayConstructor;
|
|
8509
|
+
};
|
|
8510
|
+
private buttonRef;
|
|
8511
|
+
private popover;
|
|
8512
|
+
private search;
|
|
8513
|
+
setup(): void;
|
|
8514
|
+
get filteredFields(): PivotField[];
|
|
8515
|
+
get popoverProps(): {
|
|
8516
|
+
anchorRect: DOMRect;
|
|
8517
|
+
positioning: string;
|
|
8518
|
+
};
|
|
8519
|
+
pickField(field: PivotField): void;
|
|
8520
|
+
togglePopover(): void;
|
|
8521
|
+
onKeyDown(ev: KeyboardEvent): void;
|
|
8522
|
+
}
|
|
8523
|
+
|
|
8524
|
+
interface Props$f {
|
|
8525
|
+
dimension: PivotDimension;
|
|
8526
|
+
onRemoved: (dimension: PivotDimension) => void;
|
|
8527
|
+
}
|
|
8528
|
+
declare class PivotDimension extends Component<Props$f, SpreadsheetChildEnv> {
|
|
8529
|
+
static template: string;
|
|
8530
|
+
static props: {
|
|
8531
|
+
dimension: ObjectConstructor;
|
|
8532
|
+
onRemoved: {
|
|
8533
|
+
type: FunctionConstructor;
|
|
8534
|
+
optional: boolean;
|
|
8535
|
+
};
|
|
8536
|
+
slots: {
|
|
8537
|
+
type: ObjectConstructor;
|
|
8538
|
+
optional: boolean;
|
|
8539
|
+
};
|
|
8540
|
+
};
|
|
8541
|
+
}
|
|
8542
|
+
|
|
8543
|
+
interface Props$e {
|
|
8544
|
+
dimension: PivotDimension$1;
|
|
8545
|
+
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
8546
|
+
availableGranularities: Set<string>;
|
|
8547
|
+
}
|
|
8548
|
+
declare class PivotDimensionGranularity extends Component<Props$e, SpreadsheetChildEnv> {
|
|
8549
|
+
static template: string;
|
|
8550
|
+
static props: {
|
|
8551
|
+
dimension: ObjectConstructor;
|
|
8552
|
+
onUpdated: FunctionConstructor;
|
|
8553
|
+
availableGranularities: SetConstructor;
|
|
8554
|
+
};
|
|
8555
|
+
periods: {
|
|
8556
|
+
year: string;
|
|
8557
|
+
quarter: string;
|
|
8558
|
+
month: string;
|
|
8559
|
+
week: string;
|
|
8560
|
+
day: string;
|
|
8561
|
+
};
|
|
8562
|
+
allGranularities: string[];
|
|
8563
|
+
}
|
|
8564
|
+
|
|
8565
|
+
interface Props$d {
|
|
8566
|
+
dimension: PivotDimension$1;
|
|
8567
|
+
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
8568
|
+
}
|
|
8569
|
+
declare class PivotDimensionOrder extends Component<Props$d, SpreadsheetChildEnv> {
|
|
8570
|
+
static template: string;
|
|
8571
|
+
static props: {
|
|
8572
|
+
dimension: ObjectConstructor;
|
|
8573
|
+
onUpdated: FunctionConstructor;
|
|
8574
|
+
};
|
|
8575
|
+
}
|
|
8576
|
+
|
|
8577
|
+
/**
|
|
8578
|
+
* Build a pivot formula expression
|
|
8579
|
+
*/
|
|
8580
|
+
declare function makePivotFormula(formula: "PIVOT.VALUE" | "PIVOT.HEADER", args: (string | boolean | number)[]): string;
|
|
8581
|
+
/**
|
|
8582
|
+
* Given an object of form {"1": {...}, "2": {...}, ...} get the maximum ID used
|
|
8583
|
+
* in this object
|
|
8584
|
+
* If the object has no keys, return 0
|
|
8585
|
+
*
|
|
8586
|
+
*/
|
|
8587
|
+
declare function getMaxObjectId(o: object): number;
|
|
8588
|
+
/**
|
|
8589
|
+
* Get the first Pivot function description of the given formula.
|
|
8590
|
+
*/
|
|
8591
|
+
declare function getFirstPivotFunction(tokens: Token[]): {
|
|
8592
|
+
functionName: string;
|
|
8593
|
+
args: AST[];
|
|
8594
|
+
};
|
|
8595
|
+
/**
|
|
8596
|
+
* Parse a spreadsheet formula and detect the number of PIVOT functions that are
|
|
8597
|
+
* present in the given formula.
|
|
8598
|
+
*/
|
|
8599
|
+
declare function getNumberOfPivotFunctions(tokens: Token[]): number;
|
|
8600
|
+
/**
|
|
8601
|
+
* Parse a dimension string into a pivot dimension definition.
|
|
8602
|
+
* e.g "create_date:month" => { name: "create_date", granularity: "month" }
|
|
8603
|
+
*/
|
|
8604
|
+
declare function parseDimension(dimension: string): PivotCoreDimension;
|
|
8605
|
+
declare function isDateField(field: PivotField): boolean;
|
|
8606
|
+
/**
|
|
8607
|
+
* Create a proposal entry for the compose autocomplete
|
|
8608
|
+
* to insert a field name string in a formula.
|
|
8609
|
+
*/
|
|
8610
|
+
declare function makeFieldProposal(field: PivotField): {
|
|
8611
|
+
text: string;
|
|
8612
|
+
description: string;
|
|
8613
|
+
htmlContent: {
|
|
8614
|
+
value: string;
|
|
8615
|
+
color: "#00a82d";
|
|
8616
|
+
}[];
|
|
8617
|
+
fuzzySearchKey: string;
|
|
8618
|
+
};
|
|
8619
|
+
/**
|
|
8620
|
+
* Perform the autocomplete of the composer by inserting the value
|
|
8621
|
+
* at the cursor position, replacing the current token if necessary.
|
|
8622
|
+
* Must be bound to the autocomplete provider.
|
|
8623
|
+
*/
|
|
8624
|
+
declare function insertTokenAfterArgSeparator(this: {
|
|
8625
|
+
composer: ComposerStore;
|
|
8626
|
+
}, tokenAtCursor: EnrichedToken, value: string): void;
|
|
8627
|
+
/**
|
|
8628
|
+
* Perform the autocomplete of the composer by inserting the value
|
|
8629
|
+
* at the cursor position, replacing the current token if necessary.
|
|
8630
|
+
* Must be bound to the autocomplete provider.
|
|
8631
|
+
* @param {EnrichedToken} tokenAtCursor
|
|
8632
|
+
* @param {string} value
|
|
8633
|
+
*/
|
|
8634
|
+
declare function insertTokenAfterLeftParenthesis(this: {
|
|
8635
|
+
composer: ComposerStore;
|
|
8636
|
+
}, tokenAtCursor: EnrichedToken, value: string): void;
|
|
8637
|
+
|
|
8638
|
+
interface Props$c {
|
|
8639
|
+
definition: PivotRuntimeDefinition;
|
|
8640
|
+
onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
8641
|
+
unusedGroupableFields: PivotField[];
|
|
8642
|
+
unusedMeasureFields: PivotField[];
|
|
8643
|
+
unusedDateTimeGranularities: Record<string, Set<string>>;
|
|
8644
|
+
}
|
|
8645
|
+
declare class PivotDimensions extends Component<Props$c, SpreadsheetChildEnv> {
|
|
8646
|
+
static template: string;
|
|
8647
|
+
static components: {
|
|
8648
|
+
AddDimensionButton: typeof AddDimensionButton;
|
|
8649
|
+
PivotDimension: typeof PivotDimension;
|
|
8650
|
+
PivotDimensionOrder: typeof PivotDimensionOrder;
|
|
8651
|
+
PivotDimensionGranularity: typeof PivotDimensionGranularity;
|
|
8652
|
+
};
|
|
8653
|
+
static props: {
|
|
8654
|
+
definition: ObjectConstructor;
|
|
8655
|
+
onDimensionsUpdated: FunctionConstructor;
|
|
8656
|
+
unusedGroupableFields: ArrayConstructor;
|
|
8657
|
+
unusedMeasureFields: ArrayConstructor;
|
|
8658
|
+
unusedDateTimeGranularities: ObjectConstructor;
|
|
8659
|
+
};
|
|
8660
|
+
private dimensionsRef;
|
|
8661
|
+
private dragAndDrop;
|
|
8662
|
+
AGGREGATORS: {};
|
|
8663
|
+
isDateField: typeof isDateField;
|
|
8664
|
+
startDragAndDrop(dimension: PivotDimension$1, event: MouseEvent): void;
|
|
8665
|
+
startDragAndDropMeasures(measure: PivotMeasure, event: MouseEvent): void;
|
|
8666
|
+
getDimensionElementsRects(): {
|
|
8667
|
+
x: number;
|
|
8668
|
+
y: number;
|
|
8669
|
+
width: number;
|
|
8670
|
+
height: number;
|
|
8671
|
+
}[];
|
|
8672
|
+
removeDimension(dimension: PivotDimension$1): void;
|
|
8673
|
+
removeMeasureDimension(measure: PivotMeasure): void;
|
|
8674
|
+
addColumnDimension(fieldName: string): void;
|
|
8675
|
+
addRowDimension(fieldName: string): void;
|
|
8676
|
+
addMeasureDimension(fieldName: string): void;
|
|
8677
|
+
updateAggregator(updatedMeasure: PivotMeasure, aggregator: string): void;
|
|
8678
|
+
updateOrder(updateDimension: PivotDimension$1, order?: "asc" | "desc"): void;
|
|
8679
|
+
updateGranularity(dimension: PivotDimension$1, granularity: Granularity): void;
|
|
8680
|
+
}
|
|
8681
|
+
|
|
8112
8682
|
declare function isEvaluationError(error: Maybe<CellValue>): error is string;
|
|
8113
8683
|
declare function toNumber(data: FPayload | CellValue | undefined, locale: Locale): number;
|
|
8114
8684
|
declare function toString(data: FPayload | CellValue | undefined): string;
|
|
@@ -8147,6 +8717,10 @@ declare function getDefaultChartJsRuntime(chart: AbstractChart, labels: string[]
|
|
|
8147
8717
|
/** See https://www.chartjs.org/docs/latest/charts/area.html#filling-modes */
|
|
8148
8718
|
declare function getFillingMode(index: number): "origin" | number;
|
|
8149
8719
|
|
|
8720
|
+
declare function getPivotHighlights(getters: Getters, pivotId: UID): Highlight$1[];
|
|
8721
|
+
|
|
8722
|
+
declare function pivotTimeAdapter(granularity: Granularity): PivotTimeAdapter<string | number | false>;
|
|
8723
|
+
|
|
8150
8724
|
/**
|
|
8151
8725
|
* This function tries to load anything that could look like a valid
|
|
8152
8726
|
* workbookData object. It applies any migrations, if needed, and return a
|
|
@@ -8168,6 +8742,27 @@ interface NotificationStore {
|
|
|
8168
8742
|
}
|
|
8169
8743
|
declare const NotificationStore: StoreConstructor<NotificationStore, any[]>;
|
|
8170
8744
|
|
|
8745
|
+
declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
8746
|
+
private pivotId;
|
|
8747
|
+
private updatesAreDeferred;
|
|
8748
|
+
private draft;
|
|
8749
|
+
constructor(get: Get, pivotId: UID);
|
|
8750
|
+
get fields(): PivotFields;
|
|
8751
|
+
get pivot(): Pivot<PivotRuntimeDefinition>;
|
|
8752
|
+
get definition(): PivotRuntimeDefinition;
|
|
8753
|
+
get isDirty(): boolean;
|
|
8754
|
+
get unusedMeasureFields(): PivotField[];
|
|
8755
|
+
get unusedGroupableFields(): PivotField[];
|
|
8756
|
+
get unusedDateTimeGranularities(): {};
|
|
8757
|
+
reset(pivotId: UID): void;
|
|
8758
|
+
deferUpdates(shouldDefer: boolean): void;
|
|
8759
|
+
applyUpdate(): void;
|
|
8760
|
+
discardPendingUpdate(): void;
|
|
8761
|
+
update(definitionUpdate: Partial<PivotCoreDefinition>): void;
|
|
8762
|
+
private addDefaultDateTimeGranularity;
|
|
8763
|
+
private getUnusedDateTimeGranularities;
|
|
8764
|
+
}
|
|
8765
|
+
|
|
8171
8766
|
interface Renderer {
|
|
8172
8767
|
drawLayer(ctx: GridRenderingContext, layer: LayerName): void;
|
|
8173
8768
|
renderingLayers: Readonly<LayerName[]>;
|
|
@@ -8426,7 +9021,6 @@ interface ClickableCell {
|
|
|
8426
9021
|
coordinates: Rect;
|
|
8427
9022
|
position: Position$1;
|
|
8428
9023
|
action: (position: CellPosition, env: SpreadsheetChildEnv) => void;
|
|
8429
|
-
tKey: string;
|
|
8430
9024
|
}
|
|
8431
9025
|
declare class SpreadsheetDashboard extends Component<Props$8, SpreadsheetChildEnv> {
|
|
8432
9026
|
static template: string;
|
|
@@ -8661,6 +9255,8 @@ declare const formatNumberDate: ActionSpec;
|
|
|
8661
9255
|
declare const formatNumberTime: ActionSpec;
|
|
8662
9256
|
declare const formatNumberDateTime: ActionSpec;
|
|
8663
9257
|
declare const formatNumberDuration: ActionSpec;
|
|
9258
|
+
declare const formatNumberQuarter: ActionSpec;
|
|
9259
|
+
declare const formatNumberFullQuarter: ActionSpec;
|
|
8664
9260
|
declare const moreFormats: ActionSpec;
|
|
8665
9261
|
declare const formatNumberFullDateTime: ActionSpec;
|
|
8666
9262
|
declare const formatNumberFullWeekDayAndMonth: ActionSpec;
|
|
@@ -8722,10 +9318,12 @@ declare const ACTION_FORMAT_formatNumberDayAndShortMonth: typeof formatNumberDay
|
|
|
8722
9318
|
declare const ACTION_FORMAT_formatNumberDuration: typeof formatNumberDuration;
|
|
8723
9319
|
declare const ACTION_FORMAT_formatNumberFullDateTime: typeof formatNumberFullDateTime;
|
|
8724
9320
|
declare const ACTION_FORMAT_formatNumberFullMonth: typeof formatNumberFullMonth;
|
|
9321
|
+
declare const ACTION_FORMAT_formatNumberFullQuarter: typeof formatNumberFullQuarter;
|
|
8725
9322
|
declare const ACTION_FORMAT_formatNumberFullWeekDayAndMonth: typeof formatNumberFullWeekDayAndMonth;
|
|
8726
9323
|
declare const ACTION_FORMAT_formatNumberNumber: typeof formatNumberNumber;
|
|
8727
9324
|
declare const ACTION_FORMAT_formatNumberPercent: typeof formatNumberPercent;
|
|
8728
9325
|
declare const ACTION_FORMAT_formatNumberPlainText: typeof formatNumberPlainText;
|
|
9326
|
+
declare const ACTION_FORMAT_formatNumberQuarter: typeof formatNumberQuarter;
|
|
8729
9327
|
declare const ACTION_FORMAT_formatNumberShortMonth: typeof formatNumberShortMonth;
|
|
8730
9328
|
declare const ACTION_FORMAT_formatNumberShortWeekDay: typeof formatNumberShortWeekDay;
|
|
8731
9329
|
declare const ACTION_FORMAT_formatNumberTime: typeof formatNumberTime;
|
|
@@ -8769,10 +9367,12 @@ declare namespace ACTION_FORMAT {
|
|
|
8769
9367
|
ACTION_FORMAT_formatNumberDuration as formatNumberDuration,
|
|
8770
9368
|
ACTION_FORMAT_formatNumberFullDateTime as formatNumberFullDateTime,
|
|
8771
9369
|
ACTION_FORMAT_formatNumberFullMonth as formatNumberFullMonth,
|
|
9370
|
+
ACTION_FORMAT_formatNumberFullQuarter as formatNumberFullQuarter,
|
|
8772
9371
|
ACTION_FORMAT_formatNumberFullWeekDayAndMonth as formatNumberFullWeekDayAndMonth,
|
|
8773
9372
|
ACTION_FORMAT_formatNumberNumber as formatNumberNumber,
|
|
8774
9373
|
ACTION_FORMAT_formatNumberPercent as formatNumberPercent,
|
|
8775
9374
|
ACTION_FORMAT_formatNumberPlainText as formatNumberPlainText,
|
|
9375
|
+
ACTION_FORMAT_formatNumberQuarter as formatNumberQuarter,
|
|
8776
9376
|
ACTION_FORMAT_formatNumberShortMonth as formatNumberShortMonth,
|
|
8777
9377
|
ACTION_FORMAT_formatNumberShortWeekDay as formatNumberShortWeekDay,
|
|
8778
9378
|
ACTION_FORMAT_formatNumberTime as formatNumberTime,
|
|
@@ -9256,7 +9856,7 @@ declare const registries: {
|
|
|
9256
9856
|
clipboardHandlersRegistries: {
|
|
9257
9857
|
figureHandlers: Registry<{
|
|
9258
9858
|
new (getters: Getters, dispatch: {
|
|
9259
|
-
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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" | "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" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE", C extends Extract<UpdateCellCommand, {
|
|
9859
|
+
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT", C extends Extract<UpdateCellCommand, {
|
|
9260
9860
|
type: T;
|
|
9261
9861
|
}> | Extract<UpdateCellPositionCommand, {
|
|
9262
9862
|
type: T;
|
|
@@ -9360,6 +9960,18 @@ declare const registries: {
|
|
|
9360
9960
|
type: T;
|
|
9361
9961
|
}> | Extract<UpdateLocaleCommand, {
|
|
9362
9962
|
type: T;
|
|
9963
|
+
}> | Extract<AddPivotCommand, {
|
|
9964
|
+
type: T;
|
|
9965
|
+
}> | Extract<UpdatePivotCommand, {
|
|
9966
|
+
type: T;
|
|
9967
|
+
}> | Extract<InsertPivotCommand, {
|
|
9968
|
+
type: T;
|
|
9969
|
+
}> | Extract<RenamePivotCommand, {
|
|
9970
|
+
type: T;
|
|
9971
|
+
}> | Extract<RemovePivotCommand, {
|
|
9972
|
+
type: T;
|
|
9973
|
+
}> | Extract<DuplicatePivotCommand, {
|
|
9974
|
+
type: T;
|
|
9363
9975
|
}> | Extract<RequestUndoCommand, {
|
|
9364
9976
|
type: T;
|
|
9365
9977
|
}> | Extract<RequestRedoCommand, {
|
|
@@ -9454,8 +10066,10 @@ declare const registries: {
|
|
|
9454
10066
|
type: T;
|
|
9455
10067
|
}> | Extract<ResizeTableCommand, {
|
|
9456
10068
|
type: T;
|
|
10069
|
+
}> | Extract<RefreshPivotCommand, {
|
|
10070
|
+
type: T;
|
|
9457
10071
|
}>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
|
|
9458
|
-
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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" | "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" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE", C_1 extends Extract<UpdateCellCommand, {
|
|
10072
|
+
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT", C_1 extends Extract<UpdateCellCommand, {
|
|
9459
10073
|
type: T_1;
|
|
9460
10074
|
}> | Extract<UpdateCellPositionCommand, {
|
|
9461
10075
|
type: T_1;
|
|
@@ -9559,6 +10173,18 @@ declare const registries: {
|
|
|
9559
10173
|
type: T_1;
|
|
9560
10174
|
}> | Extract<UpdateLocaleCommand, {
|
|
9561
10175
|
type: T_1;
|
|
10176
|
+
}> | Extract<AddPivotCommand, {
|
|
10177
|
+
type: T_1;
|
|
10178
|
+
}> | Extract<UpdatePivotCommand, {
|
|
10179
|
+
type: T_1;
|
|
10180
|
+
}> | Extract<InsertPivotCommand, {
|
|
10181
|
+
type: T_1;
|
|
10182
|
+
}> | Extract<RenamePivotCommand, {
|
|
10183
|
+
type: T_1;
|
|
10184
|
+
}> | Extract<RemovePivotCommand, {
|
|
10185
|
+
type: T_1;
|
|
10186
|
+
}> | Extract<DuplicatePivotCommand, {
|
|
10187
|
+
type: T_1;
|
|
9562
10188
|
}> | Extract<RequestUndoCommand, {
|
|
9563
10189
|
type: T_1;
|
|
9564
10190
|
}> | Extract<RequestRedoCommand, {
|
|
@@ -9653,12 +10279,14 @@ declare const registries: {
|
|
|
9653
10279
|
type: T_1;
|
|
9654
10280
|
}> | Extract<ResizeTableCommand, {
|
|
9655
10281
|
type: T_1;
|
|
10282
|
+
}> | Extract<RefreshPivotCommand, {
|
|
10283
|
+
type: T_1;
|
|
9656
10284
|
}>>(type: T_1, r: Omit<C_1, "type">): DispatchResult;
|
|
9657
10285
|
}): AbstractFigureClipboardHandler<any>;
|
|
9658
10286
|
}>;
|
|
9659
10287
|
cellHandlers: Registry<{
|
|
9660
10288
|
new (getters: Getters, dispatch: {
|
|
9661
|
-
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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" | "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" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE", C extends Extract<UpdateCellCommand, {
|
|
10289
|
+
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT", C extends Extract<UpdateCellCommand, {
|
|
9662
10290
|
type: T;
|
|
9663
10291
|
}> | Extract<UpdateCellPositionCommand, {
|
|
9664
10292
|
type: T;
|
|
@@ -9762,6 +10390,18 @@ declare const registries: {
|
|
|
9762
10390
|
type: T;
|
|
9763
10391
|
}> | Extract<UpdateLocaleCommand, {
|
|
9764
10392
|
type: T;
|
|
10393
|
+
}> | Extract<AddPivotCommand, {
|
|
10394
|
+
type: T;
|
|
10395
|
+
}> | Extract<UpdatePivotCommand, {
|
|
10396
|
+
type: T;
|
|
10397
|
+
}> | Extract<InsertPivotCommand, {
|
|
10398
|
+
type: T;
|
|
10399
|
+
}> | Extract<RenamePivotCommand, {
|
|
10400
|
+
type: T;
|
|
10401
|
+
}> | Extract<RemovePivotCommand, {
|
|
10402
|
+
type: T;
|
|
10403
|
+
}> | Extract<DuplicatePivotCommand, {
|
|
10404
|
+
type: T;
|
|
9765
10405
|
}> | Extract<RequestUndoCommand, {
|
|
9766
10406
|
type: T;
|
|
9767
10407
|
}> | Extract<RequestRedoCommand, {
|
|
@@ -9856,8 +10496,10 @@ declare const registries: {
|
|
|
9856
10496
|
type: T;
|
|
9857
10497
|
}> | Extract<ResizeTableCommand, {
|
|
9858
10498
|
type: T;
|
|
10499
|
+
}> | Extract<RefreshPivotCommand, {
|
|
10500
|
+
type: T;
|
|
9859
10501
|
}>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
|
|
9860
|
-
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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" | "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" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE", C_1 extends Extract<UpdateCellCommand, {
|
|
10502
|
+
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "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" | "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" | "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" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "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" | "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" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT", C_1 extends Extract<UpdateCellCommand, {
|
|
9861
10503
|
type: T_1;
|
|
9862
10504
|
}> | Extract<UpdateCellPositionCommand, {
|
|
9863
10505
|
type: T_1;
|
|
@@ -9961,6 +10603,18 @@ declare const registries: {
|
|
|
9961
10603
|
type: T_1;
|
|
9962
10604
|
}> | Extract<UpdateLocaleCommand, {
|
|
9963
10605
|
type: T_1;
|
|
10606
|
+
}> | Extract<AddPivotCommand, {
|
|
10607
|
+
type: T_1;
|
|
10608
|
+
}> | Extract<UpdatePivotCommand, {
|
|
10609
|
+
type: T_1;
|
|
10610
|
+
}> | Extract<InsertPivotCommand, {
|
|
10611
|
+
type: T_1;
|
|
10612
|
+
}> | Extract<RenamePivotCommand, {
|
|
10613
|
+
type: T_1;
|
|
10614
|
+
}> | Extract<RemovePivotCommand, {
|
|
10615
|
+
type: T_1;
|
|
10616
|
+
}> | Extract<DuplicatePivotCommand, {
|
|
10617
|
+
type: T_1;
|
|
9964
10618
|
}> | Extract<RequestUndoCommand, {
|
|
9965
10619
|
type: T_1;
|
|
9966
10620
|
}> | Extract<RequestRedoCommand, {
|
|
@@ -10055,10 +10709,14 @@ declare const registries: {
|
|
|
10055
10709
|
type: T_1;
|
|
10056
10710
|
}> | Extract<ResizeTableCommand, {
|
|
10057
10711
|
type: T_1;
|
|
10712
|
+
}> | Extract<RefreshPivotCommand, {
|
|
10713
|
+
type: T_1;
|
|
10058
10714
|
}>>(type: T_1, r: Omit<C_1, "type">): DispatchResult;
|
|
10059
10715
|
}): AbstractCellClipboardHandler<any, any>;
|
|
10060
10716
|
}>;
|
|
10061
10717
|
};
|
|
10718
|
+
pivotRegistry: Registry<PivotRegistryItem>;
|
|
10719
|
+
pivotTimeAdapterRegistry: Registry<PivotTimeAdapter<string | number | false>>;
|
|
10062
10720
|
};
|
|
10063
10721
|
declare const helpers: {
|
|
10064
10722
|
arg: typeof arg;
|
|
@@ -10102,6 +10760,20 @@ declare const helpers: {
|
|
|
10102
10760
|
expandZoneOnInsertion: typeof expandZoneOnInsertion;
|
|
10103
10761
|
reduceZoneOnDeletion: typeof reduceZoneOnDeletion;
|
|
10104
10762
|
unquote: typeof unquote;
|
|
10763
|
+
makePivotFormula: typeof makePivotFormula;
|
|
10764
|
+
getMaxObjectId: typeof getMaxObjectId;
|
|
10765
|
+
getFunctionsFromTokens: typeof getFunctionsFromTokens;
|
|
10766
|
+
getFirstPivotFunction: typeof getFirstPivotFunction;
|
|
10767
|
+
getNumberOfPivotFunctions: typeof getNumberOfPivotFunctions;
|
|
10768
|
+
parseDimension: typeof parseDimension;
|
|
10769
|
+
isDateField: typeof isDateField;
|
|
10770
|
+
makeFieldProposal: typeof makeFieldProposal;
|
|
10771
|
+
insertTokenAfterArgSeparator: typeof insertTokenAfterArgSeparator;
|
|
10772
|
+
insertTokenAfterLeftParenthesis: typeof insertTokenAfterLeftParenthesis;
|
|
10773
|
+
mergeContiguousZones: typeof mergeContiguousZones;
|
|
10774
|
+
getPivotHighlights: typeof getPivotHighlights;
|
|
10775
|
+
pivotTimeAdapter: typeof pivotTimeAdapter;
|
|
10776
|
+
UNDO_REDO_PIVOT_COMMANDS: string[];
|
|
10105
10777
|
};
|
|
10106
10778
|
declare const links: {
|
|
10107
10779
|
isMarkdownLink: typeof isMarkdownLink;
|
|
@@ -10137,6 +10809,13 @@ declare const components: {
|
|
|
10137
10809
|
Popover: typeof Popover;
|
|
10138
10810
|
SelectionInput: typeof SelectionInput;
|
|
10139
10811
|
ValidationMessages: typeof ValidationMessages;
|
|
10812
|
+
AddDimensionButton: typeof AddDimensionButton;
|
|
10813
|
+
PivotDimensionGranularity: typeof PivotDimensionGranularity;
|
|
10814
|
+
PivotDimensionOrder: typeof PivotDimensionOrder;
|
|
10815
|
+
PivotDimension: typeof PivotDimension;
|
|
10816
|
+
PivotDimensions: typeof PivotDimensions;
|
|
10817
|
+
EditableName: typeof EditableName;
|
|
10818
|
+
AllPivotsSidePanel: typeof AllPivotsSidePanel;
|
|
10140
10819
|
};
|
|
10141
10820
|
declare const hooks: {
|
|
10142
10821
|
useDragAndDropListItems: typeof useDragAndDropListItems;
|
|
@@ -10160,6 +10839,7 @@ declare const stores: {
|
|
|
10160
10839
|
useStore: typeof useStore;
|
|
10161
10840
|
useLocalStore: typeof useLocalStore;
|
|
10162
10841
|
SidePanelStore: typeof SidePanelStore;
|
|
10842
|
+
PivotSidePanelStore: typeof PivotSidePanelStore;
|
|
10163
10843
|
};
|
|
10164
10844
|
|
|
10165
10845
|
declare function addFunction(functionName: string, functionDescription: AddFunctionDescription): {
|
|
@@ -10168,6 +10848,16 @@ declare function addFunction(functionName: string, functionDescription: AddFunct
|
|
|
10168
10848
|
declare const constants: {
|
|
10169
10849
|
DEFAULT_LOCALE: Locale;
|
|
10170
10850
|
HIGHLIGHT_COLOR: string;
|
|
10851
|
+
PIVOT_TABLE_CONFIG: {
|
|
10852
|
+
hasFilters: boolean;
|
|
10853
|
+
totalRow: boolean;
|
|
10854
|
+
firstColumn: boolean;
|
|
10855
|
+
lastColumn: boolean;
|
|
10856
|
+
numberOfHeaders: number;
|
|
10857
|
+
bandedRows: boolean;
|
|
10858
|
+
bandedColumns: boolean;
|
|
10859
|
+
styleId: string;
|
|
10860
|
+
};
|
|
10171
10861
|
};
|
|
10172
10862
|
|
|
10173
|
-
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePaintFormatCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescription, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelPaintFormatCommand, CancelledReason, Cell, CellData, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartType, ChartWithAxisDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, 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, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CompiledFormula, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, Currency, CustomFormulaCriterion, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetValues, DateCriterionValue, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, Direction$1 as Direction, DispatchResult, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, ExcelCellData, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, FPayload, FPayloadNumber, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, GeneratorCell, Getters, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InsertCellCommand, 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, PLAIN_TEXT_FORMAT, PaneDivision, PasteCommand, PasteFromOSClipboardCommand, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemoveTableCommand, RenameSheetCommand, RenderCanvasCommand, 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, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetEnv, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TargetDependentCommand, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, 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, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|
|
10863
|
+
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePaintFormatCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescription, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelPaintFormatCommand, CancelledReason, Cell, CellData, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartType, ChartWithAxisDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, 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, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CompiledFormula, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, Currency, CustomFormulaCriterion, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetValues, DateCriterionValue, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, ExcelCellData, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, FPayload, FPayloadNumber, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, GeneratorCell, Getters, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InsertCellCommand, InsertPivotCommand, 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, PLAIN_TEXT_FORMAT, PaneDivision, PasteCommand, PasteFromOSClipboardCommand, PivotRuntimeDefinition, 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, RenamePivotCommand, RenameSheetCommand, RenderCanvasCommand, 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, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetEnv, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TargetDependentCommand, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, 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, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|