@odoo/o-spreadsheet 17.3.0-alpha.5 → 17.3.0-alpha.6
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 +783 -382
- package/dist/o-spreadsheet.d.ts +355 -264
- package/dist/o-spreadsheet.esm.js +783 -382
- package/dist/o-spreadsheet.iife.js +783 -382
- package/dist/o-spreadsheet.iife.min.js +354 -309
- package/dist/o_spreadsheet.xml +208 -204
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -570,7 +570,9 @@ interface TableBorder extends Border$1 {
|
|
|
570
570
|
}
|
|
571
571
|
interface TableStyle {
|
|
572
572
|
category: string;
|
|
573
|
-
|
|
573
|
+
displayName: string;
|
|
574
|
+
templateName: TableStyleTemplateName;
|
|
575
|
+
primaryColor: string;
|
|
574
576
|
wholeTable?: TableElementStyle;
|
|
575
577
|
firstColumnStripe?: TableElementStyle;
|
|
576
578
|
secondColumnStripe?: TableElementStyle;
|
|
@@ -581,6 +583,7 @@ interface TableStyle {
|
|
|
581
583
|
headerRow?: TableElementStyle;
|
|
582
584
|
totalRow?: TableElementStyle;
|
|
583
585
|
}
|
|
586
|
+
type TableStyleTemplateName = "none" | "lightColoredText" | "lightAllBorders" | "mediumAllBorders" | "lightWithHeader" | "mediumBandedBorders" | "mediumMinimalBorders" | "darkNoBorders" | "mediumWhiteBorders" | "dark";
|
|
584
587
|
|
|
585
588
|
/**
|
|
586
589
|
* There are two kinds of commands: CoreCommands and LocalCommands
|
|
@@ -633,12 +636,12 @@ interface ZoneDependentCommand {
|
|
|
633
636
|
}
|
|
634
637
|
declare function isZoneDependent(cmd: CoreCommand): boolean;
|
|
635
638
|
declare function isPositionDependent(cmd: CoreCommand): boolean;
|
|
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">;
|
|
639
|
+
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" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "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 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" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "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 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" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "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">;
|
|
642
|
+
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" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "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">;
|
|
643
|
+
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" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "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">;
|
|
644
|
+
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" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT">;
|
|
642
645
|
declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
|
|
643
646
|
declare function canExecuteInReadonly(cmd: Command): boolean;
|
|
644
647
|
interface UpdateCellCommand extends PositionDependentCommand {
|
|
@@ -839,6 +842,17 @@ interface AutofillTableCommand extends PositionDependentCommand {
|
|
|
839
842
|
/** The row to end the autofill in. If undefined, it will autofill to the bottom of the table column */
|
|
840
843
|
autofillRowEnd?: number;
|
|
841
844
|
}
|
|
845
|
+
interface CreateTableStyleCommand {
|
|
846
|
+
type: "CREATE_TABLE_STYLE";
|
|
847
|
+
tableStyleId: string;
|
|
848
|
+
tableStyleName: string;
|
|
849
|
+
templateName: TableStyleTemplateName;
|
|
850
|
+
primaryColor: Color;
|
|
851
|
+
}
|
|
852
|
+
interface RemoveTableStyleCommand {
|
|
853
|
+
type: "REMOVE_TABLE_STYLE";
|
|
854
|
+
tableStyleId: string;
|
|
855
|
+
}
|
|
842
856
|
interface UpdateFilterCommand extends PositionDependentCommand {
|
|
843
857
|
type: "UPDATE_FILTER";
|
|
844
858
|
hiddenValues: string[];
|
|
@@ -1171,7 +1185,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | DeleteContent
|
|
|
1171
1185
|
/** IMAGE */
|
|
1172
1186
|
| CreateImageOverCommand
|
|
1173
1187
|
/** FILTERS */
|
|
1174
|
-
| CreateTableCommand | RemoveTableCommand | UpdateTableCommand
|
|
1188
|
+
| CreateTableCommand | RemoveTableCommand | UpdateTableCommand | CreateTableStyleCommand | RemoveTableStyleCommand
|
|
1175
1189
|
/** HEADER GROUP */
|
|
1176
1190
|
| GroupHeadersCommand | UnGroupHeadersCommand | UnfoldHeaderGroupCommand | FoldHeaderGroupCommand | FoldAllHeaderGroupsCommand | UnfoldAllHeaderGroupsCommand | UnfoldHeaderGroupsInZoneCommand | FoldHeaderGroupsInZoneCommand
|
|
1177
1191
|
/** DATA VALIDATION */
|
|
@@ -1285,6 +1299,7 @@ declare const enum CommandResult {
|
|
|
1285
1299
|
TableNotFound = "TableNotFound",
|
|
1286
1300
|
TableOverlap = "TableOverlap",
|
|
1287
1301
|
InvalidTableConfig = "InvalidTableConfig",
|
|
1302
|
+
InvalidTableStyle = "InvalidTableStyle",
|
|
1288
1303
|
FilterNotFound = "FilterNotFound",
|
|
1289
1304
|
MergeInTable = "MergeInTable",
|
|
1290
1305
|
NonContinuousTargets = "NonContinuousTargets",
|
|
@@ -2832,10 +2847,10 @@ declare class FigurePlugin extends CorePlugin<FigureState> implements FigureStat
|
|
|
2832
2847
|
exportForExcel(data: ExcelWorkbookData): void;
|
|
2833
2848
|
}
|
|
2834
2849
|
|
|
2835
|
-
interface State$
|
|
2850
|
+
interface State$9 {
|
|
2836
2851
|
groups: Record<UID, Record<Dimension, HeaderGroup[]>>;
|
|
2837
2852
|
}
|
|
2838
|
-
declare class HeaderGroupingPlugin extends CorePlugin<State$
|
|
2853
|
+
declare class HeaderGroupingPlugin extends CorePlugin<State$9> {
|
|
2839
2854
|
static getters: readonly ["getHeaderGroups", "getGroupsLayers", "getVisibleGroupLayers", "getHeaderGroup", "getHeaderGroupsInZone", "isGroupFolded", "isRowFolded", "isColFolded"];
|
|
2840
2855
|
private readonly groups;
|
|
2841
2856
|
allowDispatch(cmd: CoreCommand): CommandResult;
|
|
@@ -3270,6 +3285,26 @@ declare class SheetPlugin extends CorePlugin<SheetState> implements SheetState {
|
|
|
3270
3285
|
private checkZonesAreInSheet;
|
|
3271
3286
|
}
|
|
3272
3287
|
|
|
3288
|
+
interface TableStylesState {
|
|
3289
|
+
readonly styles: {
|
|
3290
|
+
[styleId: string]: TableStyle;
|
|
3291
|
+
};
|
|
3292
|
+
}
|
|
3293
|
+
declare class TableStylePlugin extends CorePlugin<TableStylesState> implements TableStylesState {
|
|
3294
|
+
static getters: readonly ["getNewCustomTableStyleName", "getTableStyle", "getTableStyles", "isTableStyleEditable"];
|
|
3295
|
+
readonly styles: {
|
|
3296
|
+
[styleId: string]: TableStyle;
|
|
3297
|
+
};
|
|
3298
|
+
allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
|
|
3299
|
+
handle(cmd: CoreCommand): void;
|
|
3300
|
+
getTableStyle(styleId: string): TableStyle;
|
|
3301
|
+
getTableStyles(): Record<string, TableStyle>;
|
|
3302
|
+
getNewCustomTableStyleName(): string;
|
|
3303
|
+
isTableStyleEditable(styleId: string): boolean;
|
|
3304
|
+
import(data: WorkbookData): void;
|
|
3305
|
+
export(data: WorkbookData): void;
|
|
3306
|
+
}
|
|
3307
|
+
|
|
3273
3308
|
interface TableState {
|
|
3274
3309
|
tables: Record<UID, Record<TableId, CoreTable | undefined>>;
|
|
3275
3310
|
}
|
|
@@ -3475,6 +3510,9 @@ interface WorkbookData {
|
|
|
3475
3510
|
revisionId: UID;
|
|
3476
3511
|
uniqueFigureIds: boolean;
|
|
3477
3512
|
settings: WorkbookSettings;
|
|
3513
|
+
customTableStyles: {
|
|
3514
|
+
[key: string]: TableStyleData;
|
|
3515
|
+
};
|
|
3478
3516
|
}
|
|
3479
3517
|
interface ExcelWorkbookData extends WorkbookData {
|
|
3480
3518
|
sheets: ExcelSheetData[];
|
|
@@ -3513,12 +3551,18 @@ interface DataValidationRuleData extends Omit<DataValidationRule, "ranges"> {
|
|
|
3513
3551
|
interface ExcelTableData {
|
|
3514
3552
|
range: string;
|
|
3515
3553
|
filters: ExcelFilterData[];
|
|
3554
|
+
config: TableConfig;
|
|
3516
3555
|
}
|
|
3517
3556
|
interface ExcelFilterData {
|
|
3518
3557
|
colId: number;
|
|
3519
3558
|
displayedValues: string[];
|
|
3520
3559
|
displayBlanks?: boolean;
|
|
3521
3560
|
}
|
|
3561
|
+
interface TableStyleData {
|
|
3562
|
+
templateName: TableStyleTemplateName;
|
|
3563
|
+
primaryColor: string;
|
|
3564
|
+
displayName: string;
|
|
3565
|
+
}
|
|
3522
3566
|
|
|
3523
3567
|
interface AbstractMessage {
|
|
3524
3568
|
version: number;
|
|
@@ -4477,7 +4521,7 @@ declare class SplitToColumnsPlugin extends UIPlugin {
|
|
|
4477
4521
|
private checkSeparatorInSelection;
|
|
4478
4522
|
}
|
|
4479
4523
|
|
|
4480
|
-
declare class
|
|
4524
|
+
declare class TableComputedStylePlugin extends UIPlugin {
|
|
4481
4525
|
static getters: readonly ["getCellTableStyle", "getCellTableBorder"];
|
|
4482
4526
|
private tableStyles;
|
|
4483
4527
|
handle(cmd: Command): void;
|
|
@@ -4645,7 +4689,7 @@ declare class HeaderPositionsUIPlugin extends UIPlugin {
|
|
|
4645
4689
|
*/
|
|
4646
4690
|
declare class GridSelectionPlugin extends UIPlugin {
|
|
4647
4691
|
static layers: readonly ["Selection"];
|
|
4648
|
-
static getters: readonly ["getActiveSheet", "getActiveSheetId", "getActiveCell", "getActiveCols", "getActiveRows", "getCurrentStyle", "getSelectedZones", "getSelectedZone", "getSelectedCells", "getSelectedFigureId", "getSelection", "getActivePosition", "getSheetPosition", "
|
|
4692
|
+
static getters: readonly ["getActiveSheet", "getActiveSheetId", "getActiveCell", "getActiveCols", "getActiveRows", "getCurrentStyle", "getSelectedZones", "getSelectedZone", "getSelectedCells", "getSelectedFigureId", "getSelection", "getActivePosition", "getSheetPosition", "isSingleColSelected", "getElementsFromSelection", "tryGetActiveSheetId", "isGridSelectionActive"];
|
|
4649
4693
|
private gridSelection;
|
|
4650
4694
|
private selectedFigureId;
|
|
4651
4695
|
private sheetsData;
|
|
@@ -4670,7 +4714,6 @@ declare class GridSelectionPlugin extends UIPlugin {
|
|
|
4670
4714
|
getSelectedFigureId(): UID | null;
|
|
4671
4715
|
getActivePosition(): CellPosition;
|
|
4672
4716
|
getSheetPosition(sheetId: UID): CellPosition;
|
|
4673
|
-
isSelected(zone: Zone): boolean;
|
|
4674
4717
|
isSingleColSelected(): boolean;
|
|
4675
4718
|
/**
|
|
4676
4719
|
* Returns a sorted array of indexes of all columns (respectively rows depending
|
|
@@ -5011,7 +5054,7 @@ type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof Head
|
|
|
5011
5054
|
type Getters = {
|
|
5012
5055
|
isReadonly: () => boolean;
|
|
5013
5056
|
isDashboard: () => boolean;
|
|
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>;
|
|
5057
|
+
} & 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> & PluginGetters<typeof TableComputedStylePlugin>;
|
|
5015
5058
|
|
|
5016
5059
|
type ArgType = "ANY" | "BOOLEAN" | "NUMBER" | "STRING" | "DATE" | "RANGE" | "RANGE<BOOLEAN>" | "RANGE<NUMBER>" | "RANGE<DATE>" | "RANGE<STRING>" | "RANGE<ANY>" | "META";
|
|
5017
5060
|
interface ArgDefinition {
|
|
@@ -5751,6 +5794,253 @@ declare class AbstractFigureClipboardHandler<T> extends ClipboardHandler<T> {
|
|
|
5751
5794
|
copy(data: ClipboardFigureData): T | undefined;
|
|
5752
5795
|
}
|
|
5753
5796
|
|
|
5797
|
+
interface ActionSpec {
|
|
5798
|
+
/**
|
|
5799
|
+
* String or a function to compute the name
|
|
5800
|
+
*/
|
|
5801
|
+
name: string | ((env: SpreadsheetChildEnv) => string);
|
|
5802
|
+
description?: string | ((env: SpreadsheetChildEnv) => string);
|
|
5803
|
+
/**
|
|
5804
|
+
* which represents its position inside the
|
|
5805
|
+
* menus (the lower sequence it has, the upper it is in the menu)
|
|
5806
|
+
*/
|
|
5807
|
+
sequence?: number;
|
|
5808
|
+
/**
|
|
5809
|
+
* used for example to add child
|
|
5810
|
+
*/
|
|
5811
|
+
id?: string;
|
|
5812
|
+
/**
|
|
5813
|
+
* Can be defined to compute the visibility of the item
|
|
5814
|
+
*/
|
|
5815
|
+
isVisible?: (env: SpreadsheetChildEnv) => boolean;
|
|
5816
|
+
/**
|
|
5817
|
+
* Can be defined to compute if the user can click on the action
|
|
5818
|
+
*/
|
|
5819
|
+
isEnabled?: (env: SpreadsheetChildEnv) => boolean;
|
|
5820
|
+
/**
|
|
5821
|
+
* Can be defined to compute if the action is active
|
|
5822
|
+
*/
|
|
5823
|
+
isActive?: (env: SpreadsheetChildEnv) => boolean;
|
|
5824
|
+
/**
|
|
5825
|
+
* Can be defined to display an icon
|
|
5826
|
+
*/
|
|
5827
|
+
icon?: string | ((env: SpreadsheetChildEnv) => string);
|
|
5828
|
+
/**
|
|
5829
|
+
* Can be defined to display another icon on the right of the item.
|
|
5830
|
+
*/
|
|
5831
|
+
secondaryIcon?: string | ((env: SpreadsheetChildEnv) => string);
|
|
5832
|
+
/**
|
|
5833
|
+
* is the action allowed when running spreadsheet in readonly mode
|
|
5834
|
+
*/
|
|
5835
|
+
isReadonlyAllowed?: boolean;
|
|
5836
|
+
/**
|
|
5837
|
+
* Execute the action. The action can return a result.
|
|
5838
|
+
* The result will be carried by a `menu-clicked` event to the menu parent component.
|
|
5839
|
+
*/
|
|
5840
|
+
execute?: (env: SpreadsheetChildEnv) => unknown;
|
|
5841
|
+
/**
|
|
5842
|
+
* subitems associated to this item
|
|
5843
|
+
* NB: an action without an execute function or children is not displayed !
|
|
5844
|
+
*/
|
|
5845
|
+
children?: ActionChildren;
|
|
5846
|
+
/**
|
|
5847
|
+
* whether it should add a separator below the item in menus
|
|
5848
|
+
* NB: a separator defined on the last item is not displayed !
|
|
5849
|
+
*/
|
|
5850
|
+
separator?: boolean;
|
|
5851
|
+
textColor?: Color;
|
|
5852
|
+
onStartHover?: (env: SpreadsheetChildEnv) => void;
|
|
5853
|
+
onStopHover?: (env: SpreadsheetChildEnv) => void;
|
|
5854
|
+
}
|
|
5855
|
+
interface Action {
|
|
5856
|
+
name: (env: SpreadsheetChildEnv) => string;
|
|
5857
|
+
description: (env: SpreadsheetChildEnv) => string;
|
|
5858
|
+
sequence: number;
|
|
5859
|
+
id: string;
|
|
5860
|
+
isVisible: (env: SpreadsheetChildEnv) => boolean;
|
|
5861
|
+
isEnabled: (env: SpreadsheetChildEnv) => boolean;
|
|
5862
|
+
isActive?: (env: SpreadsheetChildEnv) => boolean;
|
|
5863
|
+
icon: (env: SpreadsheetChildEnv) => string;
|
|
5864
|
+
secondaryIcon: (env: SpreadsheetChildEnv) => string;
|
|
5865
|
+
isReadonlyAllowed: boolean;
|
|
5866
|
+
execute?: (env: SpreadsheetChildEnv) => unknown;
|
|
5867
|
+
children: (env: SpreadsheetChildEnv) => Action[];
|
|
5868
|
+
separator: boolean;
|
|
5869
|
+
textColor?: Color;
|
|
5870
|
+
onStartHover?: (env: SpreadsheetChildEnv) => void;
|
|
5871
|
+
onStopHover?: (env: SpreadsheetChildEnv) => void;
|
|
5872
|
+
}
|
|
5873
|
+
type ActionBuilder = (env: SpreadsheetChildEnv) => ActionSpec[];
|
|
5874
|
+
type ActionChildren = (ActionSpec | ActionBuilder)[];
|
|
5875
|
+
declare function createActions(menuItems: ActionSpec[]): Action[];
|
|
5876
|
+
declare function createAction(item: ActionSpec): Action;
|
|
5877
|
+
|
|
5878
|
+
interface NumberFormatActionSpec extends ActionSpec {
|
|
5879
|
+
format?: Format | ((env: SpreadsheetChildEnv) => Format);
|
|
5880
|
+
}
|
|
5881
|
+
/**
|
|
5882
|
+
* Create a format action specification for a given format.
|
|
5883
|
+
* The format can be dynamically computed from the environment.
|
|
5884
|
+
*/
|
|
5885
|
+
declare function createFormatActionSpec({ name, format, descriptionValue, }: {
|
|
5886
|
+
name: string;
|
|
5887
|
+
descriptionValue: CellValue;
|
|
5888
|
+
format: Format | ((env: SpreadsheetChildEnv) => Format);
|
|
5889
|
+
}): NumberFormatActionSpec;
|
|
5890
|
+
declare const formatNumberAutomatic: NumberFormatActionSpec;
|
|
5891
|
+
declare const formatNumberPlainText: NumberFormatActionSpec;
|
|
5892
|
+
declare const formatNumberNumber: NumberFormatActionSpec;
|
|
5893
|
+
declare const formatPercent: ActionSpec;
|
|
5894
|
+
declare const formatNumberPercent: NumberFormatActionSpec;
|
|
5895
|
+
declare const formatNumberCurrency: NumberFormatActionSpec;
|
|
5896
|
+
declare const formatNumberCurrencyRounded: NumberFormatActionSpec;
|
|
5897
|
+
declare const EXAMPLE_DATE: CellValue;
|
|
5898
|
+
declare const formatCustomCurrency: ActionSpec;
|
|
5899
|
+
declare const formatNumberDate: NumberFormatActionSpec;
|
|
5900
|
+
declare const formatNumberTime: NumberFormatActionSpec;
|
|
5901
|
+
declare const formatNumberDateTime: NumberFormatActionSpec;
|
|
5902
|
+
declare const formatNumberDuration: NumberFormatActionSpec;
|
|
5903
|
+
declare const formatNumberQuarter: NumberFormatActionSpec;
|
|
5904
|
+
declare const formatNumberFullQuarter: NumberFormatActionSpec;
|
|
5905
|
+
declare const moreFormats: ActionSpec;
|
|
5906
|
+
declare const formatNumberFullDateTime: NumberFormatActionSpec;
|
|
5907
|
+
declare const formatNumberFullWeekDayAndMonth: NumberFormatActionSpec;
|
|
5908
|
+
declare const formatNumberDayAndFullMonth: NumberFormatActionSpec;
|
|
5909
|
+
declare const formatNumberShortWeekDay: NumberFormatActionSpec;
|
|
5910
|
+
declare const formatNumberDayAndShortMonth: NumberFormatActionSpec;
|
|
5911
|
+
declare const formatNumberFullMonth: NumberFormatActionSpec;
|
|
5912
|
+
declare const formatNumberShortMonth: NumberFormatActionSpec;
|
|
5913
|
+
declare const incraseDecimalPlaces: ActionSpec;
|
|
5914
|
+
declare const decraseDecimalPlaces: ActionSpec;
|
|
5915
|
+
declare const formatBold: ActionSpec;
|
|
5916
|
+
declare const formatItalic: ActionSpec;
|
|
5917
|
+
declare const formatUnderline: ActionSpec;
|
|
5918
|
+
declare const formatStrikethrough: ActionSpec;
|
|
5919
|
+
declare const formatFontSize: ActionSpec;
|
|
5920
|
+
declare const formatAlignment: ActionSpec;
|
|
5921
|
+
declare const formatAlignmentHorizontal: ActionSpec;
|
|
5922
|
+
declare const formatAlignmentLeft: ActionSpec;
|
|
5923
|
+
declare const formatAlignmentCenter: ActionSpec;
|
|
5924
|
+
declare const formatAlignmentRight: ActionSpec;
|
|
5925
|
+
declare const formatAlignmentVertical: ActionSpec;
|
|
5926
|
+
declare const formatAlignmentTop: ActionSpec;
|
|
5927
|
+
declare const formatAlignmentMiddle: ActionSpec;
|
|
5928
|
+
declare const formatAlignmentBottom: ActionSpec;
|
|
5929
|
+
declare const formatWrappingIcon: ActionSpec;
|
|
5930
|
+
declare const formatWrapping: ActionSpec;
|
|
5931
|
+
declare const formatWrappingOverflow: ActionSpec;
|
|
5932
|
+
declare const formatWrappingWrap: ActionSpec;
|
|
5933
|
+
declare const formatWrappingClip: ActionSpec;
|
|
5934
|
+
declare const textColor: ActionSpec;
|
|
5935
|
+
declare const fillColor: ActionSpec;
|
|
5936
|
+
declare const formatCF: ActionSpec;
|
|
5937
|
+
declare const clearFormat: ActionSpec;
|
|
5938
|
+
|
|
5939
|
+
declare const ACTION_FORMAT_EXAMPLE_DATE: typeof EXAMPLE_DATE;
|
|
5940
|
+
type ACTION_FORMAT_NumberFormatActionSpec = NumberFormatActionSpec;
|
|
5941
|
+
declare const ACTION_FORMAT_clearFormat: typeof clearFormat;
|
|
5942
|
+
declare const ACTION_FORMAT_createFormatActionSpec: typeof createFormatActionSpec;
|
|
5943
|
+
declare const ACTION_FORMAT_decraseDecimalPlaces: typeof decraseDecimalPlaces;
|
|
5944
|
+
declare const ACTION_FORMAT_fillColor: typeof fillColor;
|
|
5945
|
+
declare const ACTION_FORMAT_formatAlignment: typeof formatAlignment;
|
|
5946
|
+
declare const ACTION_FORMAT_formatAlignmentBottom: typeof formatAlignmentBottom;
|
|
5947
|
+
declare const ACTION_FORMAT_formatAlignmentCenter: typeof formatAlignmentCenter;
|
|
5948
|
+
declare const ACTION_FORMAT_formatAlignmentHorizontal: typeof formatAlignmentHorizontal;
|
|
5949
|
+
declare const ACTION_FORMAT_formatAlignmentLeft: typeof formatAlignmentLeft;
|
|
5950
|
+
declare const ACTION_FORMAT_formatAlignmentMiddle: typeof formatAlignmentMiddle;
|
|
5951
|
+
declare const ACTION_FORMAT_formatAlignmentRight: typeof formatAlignmentRight;
|
|
5952
|
+
declare const ACTION_FORMAT_formatAlignmentTop: typeof formatAlignmentTop;
|
|
5953
|
+
declare const ACTION_FORMAT_formatAlignmentVertical: typeof formatAlignmentVertical;
|
|
5954
|
+
declare const ACTION_FORMAT_formatBold: typeof formatBold;
|
|
5955
|
+
declare const ACTION_FORMAT_formatCF: typeof formatCF;
|
|
5956
|
+
declare const ACTION_FORMAT_formatCustomCurrency: typeof formatCustomCurrency;
|
|
5957
|
+
declare const ACTION_FORMAT_formatFontSize: typeof formatFontSize;
|
|
5958
|
+
declare const ACTION_FORMAT_formatItalic: typeof formatItalic;
|
|
5959
|
+
declare const ACTION_FORMAT_formatNumberAutomatic: typeof formatNumberAutomatic;
|
|
5960
|
+
declare const ACTION_FORMAT_formatNumberCurrency: typeof formatNumberCurrency;
|
|
5961
|
+
declare const ACTION_FORMAT_formatNumberCurrencyRounded: typeof formatNumberCurrencyRounded;
|
|
5962
|
+
declare const ACTION_FORMAT_formatNumberDate: typeof formatNumberDate;
|
|
5963
|
+
declare const ACTION_FORMAT_formatNumberDateTime: typeof formatNumberDateTime;
|
|
5964
|
+
declare const ACTION_FORMAT_formatNumberDayAndFullMonth: typeof formatNumberDayAndFullMonth;
|
|
5965
|
+
declare const ACTION_FORMAT_formatNumberDayAndShortMonth: typeof formatNumberDayAndShortMonth;
|
|
5966
|
+
declare const ACTION_FORMAT_formatNumberDuration: typeof formatNumberDuration;
|
|
5967
|
+
declare const ACTION_FORMAT_formatNumberFullDateTime: typeof formatNumberFullDateTime;
|
|
5968
|
+
declare const ACTION_FORMAT_formatNumberFullMonth: typeof formatNumberFullMonth;
|
|
5969
|
+
declare const ACTION_FORMAT_formatNumberFullQuarter: typeof formatNumberFullQuarter;
|
|
5970
|
+
declare const ACTION_FORMAT_formatNumberFullWeekDayAndMonth: typeof formatNumberFullWeekDayAndMonth;
|
|
5971
|
+
declare const ACTION_FORMAT_formatNumberNumber: typeof formatNumberNumber;
|
|
5972
|
+
declare const ACTION_FORMAT_formatNumberPercent: typeof formatNumberPercent;
|
|
5973
|
+
declare const ACTION_FORMAT_formatNumberPlainText: typeof formatNumberPlainText;
|
|
5974
|
+
declare const ACTION_FORMAT_formatNumberQuarter: typeof formatNumberQuarter;
|
|
5975
|
+
declare const ACTION_FORMAT_formatNumberShortMonth: typeof formatNumberShortMonth;
|
|
5976
|
+
declare const ACTION_FORMAT_formatNumberShortWeekDay: typeof formatNumberShortWeekDay;
|
|
5977
|
+
declare const ACTION_FORMAT_formatNumberTime: typeof formatNumberTime;
|
|
5978
|
+
declare const ACTION_FORMAT_formatPercent: typeof formatPercent;
|
|
5979
|
+
declare const ACTION_FORMAT_formatStrikethrough: typeof formatStrikethrough;
|
|
5980
|
+
declare const ACTION_FORMAT_formatUnderline: typeof formatUnderline;
|
|
5981
|
+
declare const ACTION_FORMAT_formatWrapping: typeof formatWrapping;
|
|
5982
|
+
declare const ACTION_FORMAT_formatWrappingClip: typeof formatWrappingClip;
|
|
5983
|
+
declare const ACTION_FORMAT_formatWrappingIcon: typeof formatWrappingIcon;
|
|
5984
|
+
declare const ACTION_FORMAT_formatWrappingOverflow: typeof formatWrappingOverflow;
|
|
5985
|
+
declare const ACTION_FORMAT_formatWrappingWrap: typeof formatWrappingWrap;
|
|
5986
|
+
declare const ACTION_FORMAT_incraseDecimalPlaces: typeof incraseDecimalPlaces;
|
|
5987
|
+
declare const ACTION_FORMAT_moreFormats: typeof moreFormats;
|
|
5988
|
+
declare const ACTION_FORMAT_textColor: typeof textColor;
|
|
5989
|
+
declare namespace ACTION_FORMAT {
|
|
5990
|
+
export {
|
|
5991
|
+
ACTION_FORMAT_EXAMPLE_DATE as EXAMPLE_DATE,
|
|
5992
|
+
ACTION_FORMAT_NumberFormatActionSpec as NumberFormatActionSpec,
|
|
5993
|
+
ACTION_FORMAT_clearFormat as clearFormat,
|
|
5994
|
+
ACTION_FORMAT_createFormatActionSpec as createFormatActionSpec,
|
|
5995
|
+
ACTION_FORMAT_decraseDecimalPlaces as decraseDecimalPlaces,
|
|
5996
|
+
ACTION_FORMAT_fillColor as fillColor,
|
|
5997
|
+
ACTION_FORMAT_formatAlignment as formatAlignment,
|
|
5998
|
+
ACTION_FORMAT_formatAlignmentBottom as formatAlignmentBottom,
|
|
5999
|
+
ACTION_FORMAT_formatAlignmentCenter as formatAlignmentCenter,
|
|
6000
|
+
ACTION_FORMAT_formatAlignmentHorizontal as formatAlignmentHorizontal,
|
|
6001
|
+
ACTION_FORMAT_formatAlignmentLeft as formatAlignmentLeft,
|
|
6002
|
+
ACTION_FORMAT_formatAlignmentMiddle as formatAlignmentMiddle,
|
|
6003
|
+
ACTION_FORMAT_formatAlignmentRight as formatAlignmentRight,
|
|
6004
|
+
ACTION_FORMAT_formatAlignmentTop as formatAlignmentTop,
|
|
6005
|
+
ACTION_FORMAT_formatAlignmentVertical as formatAlignmentVertical,
|
|
6006
|
+
ACTION_FORMAT_formatBold as formatBold,
|
|
6007
|
+
ACTION_FORMAT_formatCF as formatCF,
|
|
6008
|
+
ACTION_FORMAT_formatCustomCurrency as formatCustomCurrency,
|
|
6009
|
+
ACTION_FORMAT_formatFontSize as formatFontSize,
|
|
6010
|
+
ACTION_FORMAT_formatItalic as formatItalic,
|
|
6011
|
+
ACTION_FORMAT_formatNumberAutomatic as formatNumberAutomatic,
|
|
6012
|
+
ACTION_FORMAT_formatNumberCurrency as formatNumberCurrency,
|
|
6013
|
+
ACTION_FORMAT_formatNumberCurrencyRounded as formatNumberCurrencyRounded,
|
|
6014
|
+
ACTION_FORMAT_formatNumberDate as formatNumberDate,
|
|
6015
|
+
ACTION_FORMAT_formatNumberDateTime as formatNumberDateTime,
|
|
6016
|
+
ACTION_FORMAT_formatNumberDayAndFullMonth as formatNumberDayAndFullMonth,
|
|
6017
|
+
ACTION_FORMAT_formatNumberDayAndShortMonth as formatNumberDayAndShortMonth,
|
|
6018
|
+
ACTION_FORMAT_formatNumberDuration as formatNumberDuration,
|
|
6019
|
+
ACTION_FORMAT_formatNumberFullDateTime as formatNumberFullDateTime,
|
|
6020
|
+
ACTION_FORMAT_formatNumberFullMonth as formatNumberFullMonth,
|
|
6021
|
+
ACTION_FORMAT_formatNumberFullQuarter as formatNumberFullQuarter,
|
|
6022
|
+
ACTION_FORMAT_formatNumberFullWeekDayAndMonth as formatNumberFullWeekDayAndMonth,
|
|
6023
|
+
ACTION_FORMAT_formatNumberNumber as formatNumberNumber,
|
|
6024
|
+
ACTION_FORMAT_formatNumberPercent as formatNumberPercent,
|
|
6025
|
+
ACTION_FORMAT_formatNumberPlainText as formatNumberPlainText,
|
|
6026
|
+
ACTION_FORMAT_formatNumberQuarter as formatNumberQuarter,
|
|
6027
|
+
ACTION_FORMAT_formatNumberShortMonth as formatNumberShortMonth,
|
|
6028
|
+
ACTION_FORMAT_formatNumberShortWeekDay as formatNumberShortWeekDay,
|
|
6029
|
+
ACTION_FORMAT_formatNumberTime as formatNumberTime,
|
|
6030
|
+
ACTION_FORMAT_formatPercent as formatPercent,
|
|
6031
|
+
ACTION_FORMAT_formatStrikethrough as formatStrikethrough,
|
|
6032
|
+
ACTION_FORMAT_formatUnderline as formatUnderline,
|
|
6033
|
+
ACTION_FORMAT_formatWrapping as formatWrapping,
|
|
6034
|
+
ACTION_FORMAT_formatWrappingClip as formatWrappingClip,
|
|
6035
|
+
ACTION_FORMAT_formatWrappingIcon as formatWrappingIcon,
|
|
6036
|
+
ACTION_FORMAT_formatWrappingOverflow as formatWrappingOverflow,
|
|
6037
|
+
ACTION_FORMAT_formatWrappingWrap as formatWrappingWrap,
|
|
6038
|
+
ACTION_FORMAT_incraseDecimalPlaces as incraseDecimalPlaces,
|
|
6039
|
+
ACTION_FORMAT_moreFormats as moreFormats,
|
|
6040
|
+
ACTION_FORMAT_textColor as textColor,
|
|
6041
|
+
};
|
|
6042
|
+
}
|
|
6043
|
+
|
|
5754
6044
|
type CellPopoverType = "ErrorToolTip" | "LinkDisplay" | "FilterMenu" | "LinkEditor";
|
|
5755
6045
|
type PopoverPropsPosition = "TopRight" | "BottomLeft";
|
|
5756
6046
|
type MaxSizedComponentConstructor = ComponentConstructor & {
|
|
@@ -6684,87 +6974,6 @@ interface ChartSidePanel {
|
|
|
6684
6974
|
design: new (...args: any) => Component;
|
|
6685
6975
|
}
|
|
6686
6976
|
|
|
6687
|
-
interface ActionSpec {
|
|
6688
|
-
/**
|
|
6689
|
-
* String or a function to compute the name
|
|
6690
|
-
*/
|
|
6691
|
-
name: string | ((env: SpreadsheetChildEnv) => string);
|
|
6692
|
-
description?: string | ((env: SpreadsheetChildEnv) => string);
|
|
6693
|
-
/**
|
|
6694
|
-
* which represents its position inside the
|
|
6695
|
-
* menus (the lower sequence it has, the upper it is in the menu)
|
|
6696
|
-
*/
|
|
6697
|
-
sequence?: number;
|
|
6698
|
-
/**
|
|
6699
|
-
* used for example to add child
|
|
6700
|
-
*/
|
|
6701
|
-
id?: string;
|
|
6702
|
-
/**
|
|
6703
|
-
* Can be defined to compute the visibility of the item
|
|
6704
|
-
*/
|
|
6705
|
-
isVisible?: (env: SpreadsheetChildEnv) => boolean;
|
|
6706
|
-
/**
|
|
6707
|
-
* Can be defined to compute if the user can click on the action
|
|
6708
|
-
*/
|
|
6709
|
-
isEnabled?: (env: SpreadsheetChildEnv) => boolean;
|
|
6710
|
-
/**
|
|
6711
|
-
* Can be defined to compute if the action is active
|
|
6712
|
-
*/
|
|
6713
|
-
isActive?: (env: SpreadsheetChildEnv) => boolean;
|
|
6714
|
-
/**
|
|
6715
|
-
* Can be defined to display an icon
|
|
6716
|
-
*/
|
|
6717
|
-
icon?: string | ((env: SpreadsheetChildEnv) => string);
|
|
6718
|
-
/**
|
|
6719
|
-
* Can be defined to display another icon on the right of the item.
|
|
6720
|
-
*/
|
|
6721
|
-
secondaryIcon?: string | ((env: SpreadsheetChildEnv) => string);
|
|
6722
|
-
/**
|
|
6723
|
-
* is the action allowed when running spreadsheet in readonly mode
|
|
6724
|
-
*/
|
|
6725
|
-
isReadonlyAllowed?: boolean;
|
|
6726
|
-
/**
|
|
6727
|
-
* Execute the action. The action can return a result.
|
|
6728
|
-
* The result will be carried by a `menu-clicked` event to the menu parent component.
|
|
6729
|
-
*/
|
|
6730
|
-
execute?: (env: SpreadsheetChildEnv) => unknown;
|
|
6731
|
-
/**
|
|
6732
|
-
* subitems associated to this item
|
|
6733
|
-
* NB: an action without an execute function or children is not displayed !
|
|
6734
|
-
*/
|
|
6735
|
-
children?: ActionChildren;
|
|
6736
|
-
/**
|
|
6737
|
-
* whether it should add a separator below the item in menus
|
|
6738
|
-
* NB: a separator defined on the last item is not displayed !
|
|
6739
|
-
*/
|
|
6740
|
-
separator?: boolean;
|
|
6741
|
-
textColor?: Color;
|
|
6742
|
-
onStartHover?: (env: SpreadsheetChildEnv) => void;
|
|
6743
|
-
onStopHover?: (env: SpreadsheetChildEnv) => void;
|
|
6744
|
-
}
|
|
6745
|
-
interface Action {
|
|
6746
|
-
name: (env: SpreadsheetChildEnv) => string;
|
|
6747
|
-
description: (env: SpreadsheetChildEnv) => string;
|
|
6748
|
-
sequence: number;
|
|
6749
|
-
id: string;
|
|
6750
|
-
isVisible: (env: SpreadsheetChildEnv) => boolean;
|
|
6751
|
-
isEnabled: (env: SpreadsheetChildEnv) => boolean;
|
|
6752
|
-
isActive?: (env: SpreadsheetChildEnv) => boolean;
|
|
6753
|
-
icon: (env: SpreadsheetChildEnv) => string;
|
|
6754
|
-
secondaryIcon: (env: SpreadsheetChildEnv) => string;
|
|
6755
|
-
isReadonlyAllowed: boolean;
|
|
6756
|
-
execute?: (env: SpreadsheetChildEnv) => unknown;
|
|
6757
|
-
children: (env: SpreadsheetChildEnv) => Action[];
|
|
6758
|
-
separator: boolean;
|
|
6759
|
-
textColor?: Color;
|
|
6760
|
-
onStartHover?: (env: SpreadsheetChildEnv) => void;
|
|
6761
|
-
onStopHover?: (env: SpreadsheetChildEnv) => void;
|
|
6762
|
-
}
|
|
6763
|
-
type ActionBuilder = (env: SpreadsheetChildEnv) => ActionSpec[];
|
|
6764
|
-
type ActionChildren = (ActionSpec | ActionBuilder)[];
|
|
6765
|
-
declare function createActions(menuItems: ActionSpec[]): Action[];
|
|
6766
|
-
declare function createAction(item: ActionSpec): Action;
|
|
6767
|
-
|
|
6768
6977
|
/**
|
|
6769
6978
|
* This registry is intended to map a type of figure (tag) to a class of
|
|
6770
6979
|
* component, that will be used in the UI to represent the figure.
|
|
@@ -7508,7 +7717,7 @@ interface Position {
|
|
|
7508
7717
|
top: HeaderIndex;
|
|
7509
7718
|
left: HeaderIndex;
|
|
7510
7719
|
}
|
|
7511
|
-
interface State$
|
|
7720
|
+
interface State$8 {
|
|
7512
7721
|
position: Position;
|
|
7513
7722
|
handler: boolean;
|
|
7514
7723
|
}
|
|
@@ -7518,7 +7727,7 @@ declare class Autofill extends Component<Props$A, SpreadsheetChildEnv> {
|
|
|
7518
7727
|
position: ObjectConstructor;
|
|
7519
7728
|
isVisible: BooleanConstructor;
|
|
7520
7729
|
};
|
|
7521
|
-
state: State$
|
|
7730
|
+
state: State$8;
|
|
7522
7731
|
get style(): string;
|
|
7523
7732
|
get handlerStyle(): string;
|
|
7524
7733
|
get styleNextValue(): string;
|
|
@@ -8227,7 +8436,7 @@ declare class VerticalScrollBar extends Component<Props$l, SpreadsheetChildEnv>
|
|
|
8227
8436
|
interface Props$k {
|
|
8228
8437
|
table: Table;
|
|
8229
8438
|
}
|
|
8230
|
-
interface State$
|
|
8439
|
+
interface State$7 {
|
|
8231
8440
|
highlightZone: Zone | undefined;
|
|
8232
8441
|
}
|
|
8233
8442
|
declare class TableResizer extends Component<Props$k, SpreadsheetChildEnv> {
|
|
@@ -8235,7 +8444,7 @@ declare class TableResizer extends Component<Props$k, SpreadsheetChildEnv> {
|
|
|
8235
8444
|
static props: {
|
|
8236
8445
|
table: ObjectConstructor;
|
|
8237
8446
|
};
|
|
8238
|
-
state: State$
|
|
8447
|
+
state: State$7;
|
|
8239
8448
|
setup(): void;
|
|
8240
8449
|
get containerStyle(): string;
|
|
8241
8450
|
onMouseDown(ev: MouseEvent): void;
|
|
@@ -8354,13 +8563,13 @@ interface DndPartialArgs {
|
|
|
8354
8563
|
onCancel?: () => void;
|
|
8355
8564
|
onDragEnd?: (itemId: UID, indexAtEnd: Pixel) => void;
|
|
8356
8565
|
}
|
|
8357
|
-
interface State$
|
|
8566
|
+
interface State$6 {
|
|
8358
8567
|
itemsStyle: Record<UID, string>;
|
|
8359
8568
|
draggedItemId: UID | undefined;
|
|
8360
8569
|
start: (direction: Direction, args: DndPartialArgs) => void;
|
|
8361
8570
|
cancel: () => void;
|
|
8362
8571
|
}
|
|
8363
|
-
declare function useDragAndDropListItems(): State$
|
|
8572
|
+
declare function useDragAndDropListItems(): State$6;
|
|
8364
8573
|
|
|
8365
8574
|
declare function useHighlightsOnHover(ref: Ref<HTMLElement>, highlightProvider: HighlightProvider): void;
|
|
8366
8575
|
declare function useHighlights(highlightProvider: HighlightProvider): void;
|
|
@@ -9243,153 +9452,6 @@ declare namespace ACTION_EDIT {
|
|
|
9243
9452
|
};
|
|
9244
9453
|
}
|
|
9245
9454
|
|
|
9246
|
-
declare const formatNumberAutomatic: ActionSpec;
|
|
9247
|
-
declare const formatNumberPlainText: ActionSpec;
|
|
9248
|
-
declare const formatNumberNumber: ActionSpec;
|
|
9249
|
-
declare const formatPercent: ActionSpec;
|
|
9250
|
-
declare const formatNumberPercent: ActionSpec;
|
|
9251
|
-
declare const formatNumberCurrency: ActionSpec;
|
|
9252
|
-
declare const formatNumberCurrencyRounded: ActionSpec;
|
|
9253
|
-
declare const formatCustomCurrency: ActionSpec;
|
|
9254
|
-
declare const formatNumberDate: ActionSpec;
|
|
9255
|
-
declare const formatNumberTime: ActionSpec;
|
|
9256
|
-
declare const formatNumberDateTime: ActionSpec;
|
|
9257
|
-
declare const formatNumberDuration: ActionSpec;
|
|
9258
|
-
declare const formatNumberQuarter: ActionSpec;
|
|
9259
|
-
declare const formatNumberFullQuarter: ActionSpec;
|
|
9260
|
-
declare const moreFormats: ActionSpec;
|
|
9261
|
-
declare const formatNumberFullDateTime: ActionSpec;
|
|
9262
|
-
declare const formatNumberFullWeekDayAndMonth: ActionSpec;
|
|
9263
|
-
declare const formatNumberDayAndFullMonth: ActionSpec;
|
|
9264
|
-
declare const formatNumberShortWeekDay: ActionSpec;
|
|
9265
|
-
declare const formatNumberDayAndShortMonth: ActionSpec;
|
|
9266
|
-
declare const formatNumberFullMonth: ActionSpec;
|
|
9267
|
-
declare const formatNumberShortMonth: ActionSpec;
|
|
9268
|
-
declare const incraseDecimalPlaces: ActionSpec;
|
|
9269
|
-
declare const decraseDecimalPlaces: ActionSpec;
|
|
9270
|
-
declare const formatBold: ActionSpec;
|
|
9271
|
-
declare const formatItalic: ActionSpec;
|
|
9272
|
-
declare const formatUnderline: ActionSpec;
|
|
9273
|
-
declare const formatStrikethrough: ActionSpec;
|
|
9274
|
-
declare const formatFontSize: ActionSpec;
|
|
9275
|
-
declare const formatAlignment: ActionSpec;
|
|
9276
|
-
declare const formatAlignmentHorizontal: ActionSpec;
|
|
9277
|
-
declare const formatAlignmentLeft: ActionSpec;
|
|
9278
|
-
declare const formatAlignmentCenter: ActionSpec;
|
|
9279
|
-
declare const formatAlignmentRight: ActionSpec;
|
|
9280
|
-
declare const formatAlignmentVertical: ActionSpec;
|
|
9281
|
-
declare const formatAlignmentTop: ActionSpec;
|
|
9282
|
-
declare const formatAlignmentMiddle: ActionSpec;
|
|
9283
|
-
declare const formatAlignmentBottom: ActionSpec;
|
|
9284
|
-
declare const formatWrappingIcon: ActionSpec;
|
|
9285
|
-
declare const formatWrapping: ActionSpec;
|
|
9286
|
-
declare const formatWrappingOverflow: ActionSpec;
|
|
9287
|
-
declare const formatWrappingWrap: ActionSpec;
|
|
9288
|
-
declare const formatWrappingClip: ActionSpec;
|
|
9289
|
-
declare const textColor: ActionSpec;
|
|
9290
|
-
declare const fillColor: ActionSpec;
|
|
9291
|
-
declare const formatCF: ActionSpec;
|
|
9292
|
-
declare const clearFormat: ActionSpec;
|
|
9293
|
-
|
|
9294
|
-
declare const ACTION_FORMAT_clearFormat: typeof clearFormat;
|
|
9295
|
-
declare const ACTION_FORMAT_decraseDecimalPlaces: typeof decraseDecimalPlaces;
|
|
9296
|
-
declare const ACTION_FORMAT_fillColor: typeof fillColor;
|
|
9297
|
-
declare const ACTION_FORMAT_formatAlignment: typeof formatAlignment;
|
|
9298
|
-
declare const ACTION_FORMAT_formatAlignmentBottom: typeof formatAlignmentBottom;
|
|
9299
|
-
declare const ACTION_FORMAT_formatAlignmentCenter: typeof formatAlignmentCenter;
|
|
9300
|
-
declare const ACTION_FORMAT_formatAlignmentHorizontal: typeof formatAlignmentHorizontal;
|
|
9301
|
-
declare const ACTION_FORMAT_formatAlignmentLeft: typeof formatAlignmentLeft;
|
|
9302
|
-
declare const ACTION_FORMAT_formatAlignmentMiddle: typeof formatAlignmentMiddle;
|
|
9303
|
-
declare const ACTION_FORMAT_formatAlignmentRight: typeof formatAlignmentRight;
|
|
9304
|
-
declare const ACTION_FORMAT_formatAlignmentTop: typeof formatAlignmentTop;
|
|
9305
|
-
declare const ACTION_FORMAT_formatAlignmentVertical: typeof formatAlignmentVertical;
|
|
9306
|
-
declare const ACTION_FORMAT_formatBold: typeof formatBold;
|
|
9307
|
-
declare const ACTION_FORMAT_formatCF: typeof formatCF;
|
|
9308
|
-
declare const ACTION_FORMAT_formatCustomCurrency: typeof formatCustomCurrency;
|
|
9309
|
-
declare const ACTION_FORMAT_formatFontSize: typeof formatFontSize;
|
|
9310
|
-
declare const ACTION_FORMAT_formatItalic: typeof formatItalic;
|
|
9311
|
-
declare const ACTION_FORMAT_formatNumberAutomatic: typeof formatNumberAutomatic;
|
|
9312
|
-
declare const ACTION_FORMAT_formatNumberCurrency: typeof formatNumberCurrency;
|
|
9313
|
-
declare const ACTION_FORMAT_formatNumberCurrencyRounded: typeof formatNumberCurrencyRounded;
|
|
9314
|
-
declare const ACTION_FORMAT_formatNumberDate: typeof formatNumberDate;
|
|
9315
|
-
declare const ACTION_FORMAT_formatNumberDateTime: typeof formatNumberDateTime;
|
|
9316
|
-
declare const ACTION_FORMAT_formatNumberDayAndFullMonth: typeof formatNumberDayAndFullMonth;
|
|
9317
|
-
declare const ACTION_FORMAT_formatNumberDayAndShortMonth: typeof formatNumberDayAndShortMonth;
|
|
9318
|
-
declare const ACTION_FORMAT_formatNumberDuration: typeof formatNumberDuration;
|
|
9319
|
-
declare const ACTION_FORMAT_formatNumberFullDateTime: typeof formatNumberFullDateTime;
|
|
9320
|
-
declare const ACTION_FORMAT_formatNumberFullMonth: typeof formatNumberFullMonth;
|
|
9321
|
-
declare const ACTION_FORMAT_formatNumberFullQuarter: typeof formatNumberFullQuarter;
|
|
9322
|
-
declare const ACTION_FORMAT_formatNumberFullWeekDayAndMonth: typeof formatNumberFullWeekDayAndMonth;
|
|
9323
|
-
declare const ACTION_FORMAT_formatNumberNumber: typeof formatNumberNumber;
|
|
9324
|
-
declare const ACTION_FORMAT_formatNumberPercent: typeof formatNumberPercent;
|
|
9325
|
-
declare const ACTION_FORMAT_formatNumberPlainText: typeof formatNumberPlainText;
|
|
9326
|
-
declare const ACTION_FORMAT_formatNumberQuarter: typeof formatNumberQuarter;
|
|
9327
|
-
declare const ACTION_FORMAT_formatNumberShortMonth: typeof formatNumberShortMonth;
|
|
9328
|
-
declare const ACTION_FORMAT_formatNumberShortWeekDay: typeof formatNumberShortWeekDay;
|
|
9329
|
-
declare const ACTION_FORMAT_formatNumberTime: typeof formatNumberTime;
|
|
9330
|
-
declare const ACTION_FORMAT_formatPercent: typeof formatPercent;
|
|
9331
|
-
declare const ACTION_FORMAT_formatStrikethrough: typeof formatStrikethrough;
|
|
9332
|
-
declare const ACTION_FORMAT_formatUnderline: typeof formatUnderline;
|
|
9333
|
-
declare const ACTION_FORMAT_formatWrapping: typeof formatWrapping;
|
|
9334
|
-
declare const ACTION_FORMAT_formatWrappingClip: typeof formatWrappingClip;
|
|
9335
|
-
declare const ACTION_FORMAT_formatWrappingIcon: typeof formatWrappingIcon;
|
|
9336
|
-
declare const ACTION_FORMAT_formatWrappingOverflow: typeof formatWrappingOverflow;
|
|
9337
|
-
declare const ACTION_FORMAT_formatWrappingWrap: typeof formatWrappingWrap;
|
|
9338
|
-
declare const ACTION_FORMAT_incraseDecimalPlaces: typeof incraseDecimalPlaces;
|
|
9339
|
-
declare const ACTION_FORMAT_moreFormats: typeof moreFormats;
|
|
9340
|
-
declare const ACTION_FORMAT_textColor: typeof textColor;
|
|
9341
|
-
declare namespace ACTION_FORMAT {
|
|
9342
|
-
export {
|
|
9343
|
-
ACTION_FORMAT_clearFormat as clearFormat,
|
|
9344
|
-
ACTION_FORMAT_decraseDecimalPlaces as decraseDecimalPlaces,
|
|
9345
|
-
ACTION_FORMAT_fillColor as fillColor,
|
|
9346
|
-
ACTION_FORMAT_formatAlignment as formatAlignment,
|
|
9347
|
-
ACTION_FORMAT_formatAlignmentBottom as formatAlignmentBottom,
|
|
9348
|
-
ACTION_FORMAT_formatAlignmentCenter as formatAlignmentCenter,
|
|
9349
|
-
ACTION_FORMAT_formatAlignmentHorizontal as formatAlignmentHorizontal,
|
|
9350
|
-
ACTION_FORMAT_formatAlignmentLeft as formatAlignmentLeft,
|
|
9351
|
-
ACTION_FORMAT_formatAlignmentMiddle as formatAlignmentMiddle,
|
|
9352
|
-
ACTION_FORMAT_formatAlignmentRight as formatAlignmentRight,
|
|
9353
|
-
ACTION_FORMAT_formatAlignmentTop as formatAlignmentTop,
|
|
9354
|
-
ACTION_FORMAT_formatAlignmentVertical as formatAlignmentVertical,
|
|
9355
|
-
ACTION_FORMAT_formatBold as formatBold,
|
|
9356
|
-
ACTION_FORMAT_formatCF as formatCF,
|
|
9357
|
-
ACTION_FORMAT_formatCustomCurrency as formatCustomCurrency,
|
|
9358
|
-
ACTION_FORMAT_formatFontSize as formatFontSize,
|
|
9359
|
-
ACTION_FORMAT_formatItalic as formatItalic,
|
|
9360
|
-
ACTION_FORMAT_formatNumberAutomatic as formatNumberAutomatic,
|
|
9361
|
-
ACTION_FORMAT_formatNumberCurrency as formatNumberCurrency,
|
|
9362
|
-
ACTION_FORMAT_formatNumberCurrencyRounded as formatNumberCurrencyRounded,
|
|
9363
|
-
ACTION_FORMAT_formatNumberDate as formatNumberDate,
|
|
9364
|
-
ACTION_FORMAT_formatNumberDateTime as formatNumberDateTime,
|
|
9365
|
-
ACTION_FORMAT_formatNumberDayAndFullMonth as formatNumberDayAndFullMonth,
|
|
9366
|
-
ACTION_FORMAT_formatNumberDayAndShortMonth as formatNumberDayAndShortMonth,
|
|
9367
|
-
ACTION_FORMAT_formatNumberDuration as formatNumberDuration,
|
|
9368
|
-
ACTION_FORMAT_formatNumberFullDateTime as formatNumberFullDateTime,
|
|
9369
|
-
ACTION_FORMAT_formatNumberFullMonth as formatNumberFullMonth,
|
|
9370
|
-
ACTION_FORMAT_formatNumberFullQuarter as formatNumberFullQuarter,
|
|
9371
|
-
ACTION_FORMAT_formatNumberFullWeekDayAndMonth as formatNumberFullWeekDayAndMonth,
|
|
9372
|
-
ACTION_FORMAT_formatNumberNumber as formatNumberNumber,
|
|
9373
|
-
ACTION_FORMAT_formatNumberPercent as formatNumberPercent,
|
|
9374
|
-
ACTION_FORMAT_formatNumberPlainText as formatNumberPlainText,
|
|
9375
|
-
ACTION_FORMAT_formatNumberQuarter as formatNumberQuarter,
|
|
9376
|
-
ACTION_FORMAT_formatNumberShortMonth as formatNumberShortMonth,
|
|
9377
|
-
ACTION_FORMAT_formatNumberShortWeekDay as formatNumberShortWeekDay,
|
|
9378
|
-
ACTION_FORMAT_formatNumberTime as formatNumberTime,
|
|
9379
|
-
ACTION_FORMAT_formatPercent as formatPercent,
|
|
9380
|
-
ACTION_FORMAT_formatStrikethrough as formatStrikethrough,
|
|
9381
|
-
ACTION_FORMAT_formatUnderline as formatUnderline,
|
|
9382
|
-
ACTION_FORMAT_formatWrapping as formatWrapping,
|
|
9383
|
-
ACTION_FORMAT_formatWrappingClip as formatWrappingClip,
|
|
9384
|
-
ACTION_FORMAT_formatWrappingIcon as formatWrappingIcon,
|
|
9385
|
-
ACTION_FORMAT_formatWrappingOverflow as formatWrappingOverflow,
|
|
9386
|
-
ACTION_FORMAT_formatWrappingWrap as formatWrappingWrap,
|
|
9387
|
-
ACTION_FORMAT_incraseDecimalPlaces as incraseDecimalPlaces,
|
|
9388
|
-
ACTION_FORMAT_moreFormats as moreFormats,
|
|
9389
|
-
ACTION_FORMAT_textColor as textColor,
|
|
9390
|
-
};
|
|
9391
|
-
}
|
|
9392
|
-
|
|
9393
9455
|
interface Props$5 {
|
|
9394
9456
|
action: ActionSpec;
|
|
9395
9457
|
hasTriangleDownIcon?: boolean;
|
|
@@ -9430,7 +9492,7 @@ declare class ActionButton extends Component<Props$5, SpreadsheetChildEnv> {
|
|
|
9430
9492
|
}
|
|
9431
9493
|
|
|
9432
9494
|
type Tool = "borderColorTool" | "borderTypeTool";
|
|
9433
|
-
interface State$
|
|
9495
|
+
interface State$5 {
|
|
9434
9496
|
activeTool: Tool | undefined;
|
|
9435
9497
|
}
|
|
9436
9498
|
interface BorderEditorProps {
|
|
@@ -9481,7 +9543,7 @@ declare class BorderEditor extends Component<BorderEditorProps, SpreadsheetChild
|
|
|
9481
9543
|
el: HTMLElement | null;
|
|
9482
9544
|
};
|
|
9483
9545
|
borderStyles: readonly ["thin", "medium", "thick", "dashed", "dotted"];
|
|
9484
|
-
state: State$
|
|
9546
|
+
state: State$5;
|
|
9485
9547
|
toggleDropdownTool(tool: Tool): void;
|
|
9486
9548
|
closeDropdown(): void;
|
|
9487
9549
|
setBorderPosition(position: BorderPosition): void;
|
|
@@ -9499,7 +9561,7 @@ interface Props$4 {
|
|
|
9499
9561
|
dropdownMaxHeight?: Pixel;
|
|
9500
9562
|
class?: string;
|
|
9501
9563
|
}
|
|
9502
|
-
interface State$
|
|
9564
|
+
interface State$4 {
|
|
9503
9565
|
currentColor: Color;
|
|
9504
9566
|
currentStyle: BorderStyle;
|
|
9505
9567
|
currentPosition: BorderPosition | undefined;
|
|
@@ -9528,7 +9590,7 @@ declare class BorderEditorWidget extends Component<Props$4, SpreadsheetChildEnv>
|
|
|
9528
9590
|
borderEditorButtonRef: {
|
|
9529
9591
|
el: HTMLElement | null;
|
|
9530
9592
|
};
|
|
9531
|
-
state: State$
|
|
9593
|
+
state: State$4;
|
|
9532
9594
|
get borderEditorAnchorRect(): Rect;
|
|
9533
9595
|
onBorderPositionPicked(position: BorderPosition): void;
|
|
9534
9596
|
onBorderColorPicked(color: Color): void;
|
|
@@ -9551,7 +9613,7 @@ declare class TopBarComposer extends Component<any, SpreadsheetChildEnv> {
|
|
|
9551
9613
|
onFocus(selection: ComposerSelection): void;
|
|
9552
9614
|
}
|
|
9553
9615
|
|
|
9554
|
-
interface State$
|
|
9616
|
+
interface State$3 {
|
|
9555
9617
|
isOpen: boolean;
|
|
9556
9618
|
}
|
|
9557
9619
|
interface Props$3 {
|
|
@@ -9568,7 +9630,7 @@ declare class FontSizeEditor extends Component<Props$3, SpreadsheetChildEnv> {
|
|
|
9568
9630
|
};
|
|
9569
9631
|
static components: {};
|
|
9570
9632
|
fontSizes: number[];
|
|
9571
|
-
dropdown: State$
|
|
9633
|
+
dropdown: State$3;
|
|
9572
9634
|
private inputRef;
|
|
9573
9635
|
private rootEditorRef;
|
|
9574
9636
|
setup(): void;
|
|
@@ -9585,11 +9647,16 @@ declare class FontSizeEditor extends Component<Props$3, SpreadsheetChildEnv> {
|
|
|
9585
9647
|
|
|
9586
9648
|
interface Props$2 {
|
|
9587
9649
|
tableConfig: TableConfig;
|
|
9650
|
+
tableStyle: TableStyle;
|
|
9588
9651
|
}
|
|
9589
9652
|
declare class TableStylePreview extends Component<Props$2, SpreadsheetChildEnv> {
|
|
9590
9653
|
static template: string;
|
|
9591
9654
|
static props: {
|
|
9592
9655
|
tableConfig: ObjectConstructor;
|
|
9656
|
+
tableStyle: {
|
|
9657
|
+
type: ObjectConstructor;
|
|
9658
|
+
optional: boolean;
|
|
9659
|
+
};
|
|
9593
9660
|
};
|
|
9594
9661
|
private canvasRef;
|
|
9595
9662
|
setup(): void;
|
|
@@ -9606,11 +9673,15 @@ interface TableStylesPopoverProps {
|
|
|
9606
9673
|
type CustomTablePopoverMouseEvent = MouseEvent & {
|
|
9607
9674
|
hasClosedTableStylesPopover?: boolean;
|
|
9608
9675
|
};
|
|
9676
|
+
interface State$2 {
|
|
9677
|
+
selectedCategory: string;
|
|
9678
|
+
}
|
|
9609
9679
|
declare class TableStylesPopover extends Component<TableStylesPopoverProps, SpreadsheetChildEnv> {
|
|
9610
9680
|
static template: string;
|
|
9611
9681
|
static components: {
|
|
9612
9682
|
Popover: typeof Popover;
|
|
9613
9683
|
TableStylePreview: typeof TableStylePreview;
|
|
9684
|
+
Menu: typeof Menu;
|
|
9614
9685
|
};
|
|
9615
9686
|
static props: {
|
|
9616
9687
|
tableConfig: ObjectConstructor;
|
|
@@ -9625,19 +9696,23 @@ declare class TableStylesPopover extends Component<TableStylesPopoverProps, Spre
|
|
|
9625
9696
|
optional: boolean;
|
|
9626
9697
|
};
|
|
9627
9698
|
};
|
|
9628
|
-
stylePresets: Record<string, TableStyle>;
|
|
9629
9699
|
categories: {
|
|
9630
|
-
none: string;
|
|
9631
9700
|
light: string;
|
|
9632
9701
|
medium: string;
|
|
9633
9702
|
dark: string;
|
|
9703
|
+
custom: string;
|
|
9634
9704
|
};
|
|
9635
9705
|
private tableStyleListRef;
|
|
9706
|
+
state: State$2;
|
|
9707
|
+
menu: MenuState;
|
|
9636
9708
|
setup(): void;
|
|
9637
9709
|
onExternalClick(ev: CustomTablePopoverMouseEvent): void;
|
|
9638
|
-
|
|
9639
|
-
|
|
9710
|
+
get displayedStyles(): string[];
|
|
9711
|
+
get initialSelectedCategory(): string;
|
|
9640
9712
|
getStyleName(styleId: string): string;
|
|
9713
|
+
newTableStyle(): void;
|
|
9714
|
+
onContextMenu(event: MouseEvent, styleId: string): void;
|
|
9715
|
+
closeMenu(): void;
|
|
9641
9716
|
}
|
|
9642
9717
|
|
|
9643
9718
|
interface State$1 {
|
|
@@ -9850,13 +9925,13 @@ declare const registries: {
|
|
|
9850
9925
|
inverseCommandRegistry: Registry<(cmd: CoreCommand) => CoreCommand[]>;
|
|
9851
9926
|
urlRegistry: Registry<LinkSpec>;
|
|
9852
9927
|
cellPopoverRegistry: Registry<PopoverBuilders>;
|
|
9853
|
-
numberFormatMenuRegistry:
|
|
9928
|
+
numberFormatMenuRegistry: Registry<NumberFormatActionSpec>;
|
|
9854
9929
|
repeatLocalCommandTransformRegistry: Registry<(getters: Getters, cmd: LocalCommand, childCommands: readonly CoreCommand[]) => LocalCommand | CoreCommand[] | undefined>;
|
|
9855
9930
|
repeatCommandTransformRegistry: Registry<(getters: Getters, cmd: CoreCommand) => CoreCommand | undefined>;
|
|
9856
9931
|
clipboardHandlersRegistries: {
|
|
9857
9932
|
figureHandlers: Registry<{
|
|
9858
9933
|
new (getters: Getters, dispatch: {
|
|
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, {
|
|
9934
|
+
<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" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "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, {
|
|
9860
9935
|
type: T;
|
|
9861
9936
|
}> | Extract<UpdateCellPositionCommand, {
|
|
9862
9937
|
type: T;
|
|
@@ -9938,6 +10013,10 @@ declare const registries: {
|
|
|
9938
10013
|
type: T;
|
|
9939
10014
|
}> | Extract<UpdateTableCommand, {
|
|
9940
10015
|
type: T;
|
|
10016
|
+
}> | Extract<CreateTableStyleCommand, {
|
|
10017
|
+
type: T;
|
|
10018
|
+
}> | Extract<RemoveTableStyleCommand, {
|
|
10019
|
+
type: T;
|
|
9941
10020
|
}> | Extract<GroupHeadersCommand, {
|
|
9942
10021
|
type: T;
|
|
9943
10022
|
}> | Extract<UnGroupHeadersCommand, {
|
|
@@ -10069,7 +10148,7 @@ declare const registries: {
|
|
|
10069
10148
|
}> | Extract<RefreshPivotCommand, {
|
|
10070
10149
|
type: T;
|
|
10071
10150
|
}>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
|
|
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, {
|
|
10151
|
+
<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" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "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, {
|
|
10073
10152
|
type: T_1;
|
|
10074
10153
|
}> | Extract<UpdateCellPositionCommand, {
|
|
10075
10154
|
type: T_1;
|
|
@@ -10151,6 +10230,10 @@ declare const registries: {
|
|
|
10151
10230
|
type: T_1;
|
|
10152
10231
|
}> | Extract<UpdateTableCommand, {
|
|
10153
10232
|
type: T_1;
|
|
10233
|
+
}> | Extract<CreateTableStyleCommand, {
|
|
10234
|
+
type: T_1;
|
|
10235
|
+
}> | Extract<RemoveTableStyleCommand, {
|
|
10236
|
+
type: T_1;
|
|
10154
10237
|
}> | Extract<GroupHeadersCommand, {
|
|
10155
10238
|
type: T_1;
|
|
10156
10239
|
}> | Extract<UnGroupHeadersCommand, {
|
|
@@ -10286,7 +10369,7 @@ declare const registries: {
|
|
|
10286
10369
|
}>;
|
|
10287
10370
|
cellHandlers: Registry<{
|
|
10288
10371
|
new (getters: Getters, dispatch: {
|
|
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, {
|
|
10372
|
+
<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" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "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, {
|
|
10290
10373
|
type: T;
|
|
10291
10374
|
}> | Extract<UpdateCellPositionCommand, {
|
|
10292
10375
|
type: T;
|
|
@@ -10368,6 +10451,10 @@ declare const registries: {
|
|
|
10368
10451
|
type: T;
|
|
10369
10452
|
}> | Extract<UpdateTableCommand, {
|
|
10370
10453
|
type: T;
|
|
10454
|
+
}> | Extract<CreateTableStyleCommand, {
|
|
10455
|
+
type: T;
|
|
10456
|
+
}> | Extract<RemoveTableStyleCommand, {
|
|
10457
|
+
type: T;
|
|
10371
10458
|
}> | Extract<GroupHeadersCommand, {
|
|
10372
10459
|
type: T;
|
|
10373
10460
|
}> | Extract<UnGroupHeadersCommand, {
|
|
@@ -10499,7 +10586,7 @@ declare const registries: {
|
|
|
10499
10586
|
}> | Extract<RefreshPivotCommand, {
|
|
10500
10587
|
type: T;
|
|
10501
10588
|
}>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
|
|
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, {
|
|
10589
|
+
<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" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "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, {
|
|
10503
10590
|
type: T_1;
|
|
10504
10591
|
}> | Extract<UpdateCellPositionCommand, {
|
|
10505
10592
|
type: T_1;
|
|
@@ -10581,6 +10668,10 @@ declare const registries: {
|
|
|
10581
10668
|
type: T_1;
|
|
10582
10669
|
}> | Extract<UpdateTableCommand, {
|
|
10583
10670
|
type: T_1;
|
|
10671
|
+
}> | Extract<CreateTableStyleCommand, {
|
|
10672
|
+
type: T_1;
|
|
10673
|
+
}> | Extract<RemoveTableStyleCommand, {
|
|
10674
|
+
type: T_1;
|
|
10584
10675
|
}> | Extract<GroupHeadersCommand, {
|
|
10585
10676
|
type: T_1;
|
|
10586
10677
|
}> | Extract<UnGroupHeadersCommand, {
|
|
@@ -10860,4 +10951,4 @@ declare const constants: {
|
|
|
10860
10951
|
};
|
|
10861
10952
|
};
|
|
10862
10953
|
|
|
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 };
|
|
10954
|
+
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, CreateTableStyleCommand, 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, RemoveTableStyleCommand, 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, TableStyleData, TableStyleTemplateName, 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 };
|