@odoo/o-spreadsheet 17.3.0-alpha.5 → 17.3.0-alpha.7

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.
@@ -387,7 +387,15 @@ interface ChartCreationContext {
387
387
  readonly background?: string;
388
388
  readonly auxiliaryRange?: string;
389
389
  readonly aggregated?: boolean;
390
- readonly type?: string;
390
+ readonly stacked?: boolean;
391
+ readonly cumulative?: boolean;
392
+ readonly dataSetsHaveTitle?: boolean;
393
+ readonly labelsAsText?: boolean;
394
+ readonly showSubTotals?: boolean;
395
+ readonly showConnectorLines?: boolean;
396
+ readonly firstValueAsSubtotal?: boolean;
397
+ readonly verticalAxisPosition?: VerticalAxisPosition;
398
+ readonly legendPosition?: LegendPosition;
391
399
  }
392
400
 
393
401
  declare enum ClipboardMIMEType {
@@ -570,7 +578,9 @@ interface TableBorder extends Border$1 {
570
578
  }
571
579
  interface TableStyle {
572
580
  category: string;
573
- colorName: string;
581
+ displayName: string;
582
+ templateName: TableStyleTemplateName;
583
+ primaryColor: string;
574
584
  wholeTable?: TableElementStyle;
575
585
  firstColumnStripe?: TableElementStyle;
576
586
  secondColumnStripe?: TableElementStyle;
@@ -581,6 +591,7 @@ interface TableStyle {
581
591
  headerRow?: TableElementStyle;
582
592
  totalRow?: TableElementStyle;
583
593
  }
594
+ type TableStyleTemplateName = "none" | "lightColoredText" | "lightAllBorders" | "mediumAllBorders" | "lightWithHeader" | "mediumBandedBorders" | "mediumMinimalBorders" | "darkNoBorders" | "mediumWhiteBorders" | "dark";
584
595
 
585
596
  /**
586
597
  * There are two kinds of commands: CoreCommands and LocalCommands
@@ -633,12 +644,12 @@ interface ZoneDependentCommand {
633
644
  }
634
645
  declare function isZoneDependent(cmd: CoreCommand): boolean;
635
646
  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">;
647
+ 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">;
648
+ 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">;
649
+ 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">;
650
+ 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">;
651
+ 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">;
652
+ 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
653
  declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
643
654
  declare function canExecuteInReadonly(cmd: Command): boolean;
644
655
  interface UpdateCellCommand extends PositionDependentCommand {
@@ -839,6 +850,17 @@ interface AutofillTableCommand extends PositionDependentCommand {
839
850
  /** The row to end the autofill in. If undefined, it will autofill to the bottom of the table column */
840
851
  autofillRowEnd?: number;
841
852
  }
853
+ interface CreateTableStyleCommand {
854
+ type: "CREATE_TABLE_STYLE";
855
+ tableStyleId: string;
856
+ tableStyleName: string;
857
+ templateName: TableStyleTemplateName;
858
+ primaryColor: Color;
859
+ }
860
+ interface RemoveTableStyleCommand {
861
+ type: "REMOVE_TABLE_STYLE";
862
+ tableStyleId: string;
863
+ }
842
864
  interface UpdateFilterCommand extends PositionDependentCommand {
843
865
  type: "UPDATE_FILTER";
844
866
  hiddenValues: string[];
@@ -1171,7 +1193,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | DeleteContent
1171
1193
  /** IMAGE */
1172
1194
  | CreateImageOverCommand
1173
1195
  /** FILTERS */
1174
- | CreateTableCommand | RemoveTableCommand | UpdateTableCommand
1196
+ | CreateTableCommand | RemoveTableCommand | UpdateTableCommand | CreateTableStyleCommand | RemoveTableStyleCommand
1175
1197
  /** HEADER GROUP */
1176
1198
  | GroupHeadersCommand | UnGroupHeadersCommand | UnfoldHeaderGroupCommand | FoldHeaderGroupCommand | FoldAllHeaderGroupsCommand | UnfoldAllHeaderGroupsCommand | UnfoldHeaderGroupsInZoneCommand | FoldHeaderGroupsInZoneCommand
1177
1199
  /** DATA VALIDATION */
@@ -1285,6 +1307,7 @@ declare const enum CommandResult {
1285
1307
  TableNotFound = "TableNotFound",
1286
1308
  TableOverlap = "TableOverlap",
1287
1309
  InvalidTableConfig = "InvalidTableConfig",
1310
+ InvalidTableStyle = "InvalidTableStyle",
1288
1311
  FilterNotFound = "FilterNotFound",
1289
1312
  MergeInTable = "MergeInTable",
1290
1313
  NonContinuousTargets = "NonContinuousTargets",
@@ -1618,6 +1641,7 @@ interface Highlight$1 {
1618
1641
  /** transparency of the fill color (0-1) */
1619
1642
  fillAlpha?: number;
1620
1643
  noBorder?: boolean;
1644
+ dashed?: boolean;
1621
1645
  }
1622
1646
  interface PaneDivision {
1623
1647
  /** Represents the number of frozen columns */
@@ -2832,10 +2856,10 @@ declare class FigurePlugin extends CorePlugin<FigureState> implements FigureStat
2832
2856
  exportForExcel(data: ExcelWorkbookData): void;
2833
2857
  }
2834
2858
 
2835
- interface State$8 {
2859
+ interface State$9 {
2836
2860
  groups: Record<UID, Record<Dimension, HeaderGroup[]>>;
2837
2861
  }
2838
- declare class HeaderGroupingPlugin extends CorePlugin<State$8> {
2862
+ declare class HeaderGroupingPlugin extends CorePlugin<State$9> {
2839
2863
  static getters: readonly ["getHeaderGroups", "getGroupsLayers", "getVisibleGroupLayers", "getHeaderGroup", "getHeaderGroupsInZone", "isGroupFolded", "isRowFolded", "isColFolded"];
2840
2864
  private readonly groups;
2841
2865
  allowDispatch(cmd: CoreCommand): CommandResult;
@@ -3270,6 +3294,26 @@ declare class SheetPlugin extends CorePlugin<SheetState> implements SheetState {
3270
3294
  private checkZonesAreInSheet;
3271
3295
  }
3272
3296
 
3297
+ interface TableStylesState {
3298
+ readonly styles: {
3299
+ [styleId: string]: TableStyle;
3300
+ };
3301
+ }
3302
+ declare class TableStylePlugin extends CorePlugin<TableStylesState> implements TableStylesState {
3303
+ static getters: readonly ["getNewCustomTableStyleName", "getTableStyle", "getTableStyles", "isTableStyleEditable"];
3304
+ readonly styles: {
3305
+ [styleId: string]: TableStyle;
3306
+ };
3307
+ allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
3308
+ handle(cmd: CoreCommand): void;
3309
+ getTableStyle(styleId: string): TableStyle;
3310
+ getTableStyles(): Record<string, TableStyle>;
3311
+ getNewCustomTableStyleName(): string;
3312
+ isTableStyleEditable(styleId: string): boolean;
3313
+ import(data: WorkbookData): void;
3314
+ export(data: WorkbookData): void;
3315
+ }
3316
+
3273
3317
  interface TableState {
3274
3318
  tables: Record<UID, Record<TableId, CoreTable | undefined>>;
3275
3319
  }
@@ -3475,6 +3519,9 @@ interface WorkbookData {
3475
3519
  revisionId: UID;
3476
3520
  uniqueFigureIds: boolean;
3477
3521
  settings: WorkbookSettings;
3522
+ customTableStyles: {
3523
+ [key: string]: TableStyleData;
3524
+ };
3478
3525
  }
3479
3526
  interface ExcelWorkbookData extends WorkbookData {
3480
3527
  sheets: ExcelSheetData[];
@@ -3513,12 +3560,18 @@ interface DataValidationRuleData extends Omit<DataValidationRule, "ranges"> {
3513
3560
  interface ExcelTableData {
3514
3561
  range: string;
3515
3562
  filters: ExcelFilterData[];
3563
+ config: TableConfig;
3516
3564
  }
3517
3565
  interface ExcelFilterData {
3518
3566
  colId: number;
3519
3567
  displayedValues: string[];
3520
3568
  displayBlanks?: boolean;
3521
3569
  }
3570
+ interface TableStyleData {
3571
+ templateName: TableStyleTemplateName;
3572
+ primaryColor: string;
3573
+ displayName: string;
3574
+ }
3522
3575
 
3523
3576
  interface AbstractMessage {
3524
3577
  version: number;
@@ -3827,7 +3880,9 @@ declare class EvaluationPlugin extends UIPlugin {
3827
3880
  /**
3828
3881
  * Return the spread zone the position is part of, if any
3829
3882
  */
3830
- getSpreadZone(position: CellPosition): Zone | undefined;
3883
+ getSpreadZone(position: CellPosition, options?: {
3884
+ ignoreSpillError: boolean;
3885
+ }): Zone | undefined;
3831
3886
  getArrayFormulaSpreadingOn(position: CellPosition): CellPosition | undefined;
3832
3887
  /**
3833
3888
  * Check if a zone only contains empty cells
@@ -4477,7 +4532,7 @@ declare class SplitToColumnsPlugin extends UIPlugin {
4477
4532
  private checkSeparatorInSelection;
4478
4533
  }
4479
4534
 
4480
- declare class TableStylePlugin extends UIPlugin {
4535
+ declare class TableComputedStylePlugin extends UIPlugin {
4481
4536
  static getters: readonly ["getCellTableStyle", "getCellTableBorder"];
4482
4537
  private tableStyles;
4483
4538
  handle(cmd: Command): void;
@@ -4645,7 +4700,7 @@ declare class HeaderPositionsUIPlugin extends UIPlugin {
4645
4700
  */
4646
4701
  declare class GridSelectionPlugin extends UIPlugin {
4647
4702
  static layers: readonly ["Selection"];
4648
- static getters: readonly ["getActiveSheet", "getActiveSheetId", "getActiveCell", "getActiveCols", "getActiveRows", "getCurrentStyle", "getSelectedZones", "getSelectedZone", "getSelectedCells", "getSelectedFigureId", "getSelection", "getActivePosition", "getSheetPosition", "isSelected", "isSingleColSelected", "getElementsFromSelection", "tryGetActiveSheetId", "isGridSelectionActive"];
4703
+ static getters: readonly ["getActiveSheet", "getActiveSheetId", "getActiveCell", "getActiveCols", "getActiveRows", "getCurrentStyle", "getSelectedZones", "getSelectedZone", "getSelectedCells", "getSelectedFigureId", "getSelection", "getActivePosition", "getSheetPosition", "isSingleColSelected", "getElementsFromSelection", "tryGetActiveSheetId", "isGridSelectionActive"];
4649
4704
  private gridSelection;
4650
4705
  private selectedFigureId;
4651
4706
  private sheetsData;
@@ -4670,7 +4725,6 @@ declare class GridSelectionPlugin extends UIPlugin {
4670
4725
  getSelectedFigureId(): UID | null;
4671
4726
  getActivePosition(): CellPosition;
4672
4727
  getSheetPosition(sheetId: UID): CellPosition;
4673
- isSelected(zone: Zone): boolean;
4674
4728
  isSingleColSelected(): boolean;
4675
4729
  /**
4676
4730
  * Returns a sorted array of indexes of all columns (respectively rows depending
@@ -5011,7 +5065,7 @@ type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof Head
5011
5065
  type Getters = {
5012
5066
  isReadonly: () => boolean;
5013
5067
  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>;
5068
+ } & 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
5069
 
5016
5070
  type ArgType = "ANY" | "BOOLEAN" | "NUMBER" | "STRING" | "DATE" | "RANGE" | "RANGE<BOOLEAN>" | "RANGE<NUMBER>" | "RANGE<DATE>" | "RANGE<STRING>" | "RANGE<ANY>" | "META";
5017
5071
  interface ArgDefinition {
@@ -5377,7 +5431,7 @@ declare function lazy<T>(fn: (() => T) | T): Lazy<T>;
5377
5431
  /**
5378
5432
  * Compares two objects.
5379
5433
  */
5380
- declare function deepEquals(o1: any, o2: any): boolean;
5434
+ declare function deepEquals(o1: any, o2: any, ignoreFunctions?: "ignoreFunctions"): boolean;
5381
5435
 
5382
5436
  interface ConstructorArgs {
5383
5437
  readonly zone: Readonly<Zone | UnboundedZone>;
@@ -5751,6 +5805,253 @@ declare class AbstractFigureClipboardHandler<T> extends ClipboardHandler<T> {
5751
5805
  copy(data: ClipboardFigureData): T | undefined;
5752
5806
  }
5753
5807
 
5808
+ interface ActionSpec {
5809
+ /**
5810
+ * String or a function to compute the name
5811
+ */
5812
+ name: string | ((env: SpreadsheetChildEnv) => string);
5813
+ description?: string | ((env: SpreadsheetChildEnv) => string);
5814
+ /**
5815
+ * which represents its position inside the
5816
+ * menus (the lower sequence it has, the upper it is in the menu)
5817
+ */
5818
+ sequence?: number;
5819
+ /**
5820
+ * used for example to add child
5821
+ */
5822
+ id?: string;
5823
+ /**
5824
+ * Can be defined to compute the visibility of the item
5825
+ */
5826
+ isVisible?: (env: SpreadsheetChildEnv) => boolean;
5827
+ /**
5828
+ * Can be defined to compute if the user can click on the action
5829
+ */
5830
+ isEnabled?: (env: SpreadsheetChildEnv) => boolean;
5831
+ /**
5832
+ * Can be defined to compute if the action is active
5833
+ */
5834
+ isActive?: (env: SpreadsheetChildEnv) => boolean;
5835
+ /**
5836
+ * Can be defined to display an icon
5837
+ */
5838
+ icon?: string | ((env: SpreadsheetChildEnv) => string);
5839
+ /**
5840
+ * Can be defined to display another icon on the right of the item.
5841
+ */
5842
+ secondaryIcon?: string | ((env: SpreadsheetChildEnv) => string);
5843
+ /**
5844
+ * is the action allowed when running spreadsheet in readonly mode
5845
+ */
5846
+ isReadonlyAllowed?: boolean;
5847
+ /**
5848
+ * Execute the action. The action can return a result.
5849
+ * The result will be carried by a `menu-clicked` event to the menu parent component.
5850
+ */
5851
+ execute?: (env: SpreadsheetChildEnv) => unknown;
5852
+ /**
5853
+ * subitems associated to this item
5854
+ * NB: an action without an execute function or children is not displayed !
5855
+ */
5856
+ children?: ActionChildren;
5857
+ /**
5858
+ * whether it should add a separator below the item in menus
5859
+ * NB: a separator defined on the last item is not displayed !
5860
+ */
5861
+ separator?: boolean;
5862
+ textColor?: Color;
5863
+ onStartHover?: (env: SpreadsheetChildEnv) => void;
5864
+ onStopHover?: (env: SpreadsheetChildEnv) => void;
5865
+ }
5866
+ interface Action {
5867
+ name: (env: SpreadsheetChildEnv) => string;
5868
+ description: (env: SpreadsheetChildEnv) => string;
5869
+ sequence: number;
5870
+ id: string;
5871
+ isVisible: (env: SpreadsheetChildEnv) => boolean;
5872
+ isEnabled: (env: SpreadsheetChildEnv) => boolean;
5873
+ isActive?: (env: SpreadsheetChildEnv) => boolean;
5874
+ icon: (env: SpreadsheetChildEnv) => string;
5875
+ secondaryIcon: (env: SpreadsheetChildEnv) => string;
5876
+ isReadonlyAllowed: boolean;
5877
+ execute?: (env: SpreadsheetChildEnv) => unknown;
5878
+ children: (env: SpreadsheetChildEnv) => Action[];
5879
+ separator: boolean;
5880
+ textColor?: Color;
5881
+ onStartHover?: (env: SpreadsheetChildEnv) => void;
5882
+ onStopHover?: (env: SpreadsheetChildEnv) => void;
5883
+ }
5884
+ type ActionBuilder = (env: SpreadsheetChildEnv) => ActionSpec[];
5885
+ type ActionChildren = (ActionSpec | ActionBuilder)[];
5886
+ declare function createActions(menuItems: ActionSpec[]): Action[];
5887
+ declare function createAction(item: ActionSpec): Action;
5888
+
5889
+ interface NumberFormatActionSpec extends ActionSpec {
5890
+ format?: Format | ((env: SpreadsheetChildEnv) => Format);
5891
+ }
5892
+ /**
5893
+ * Create a format action specification for a given format.
5894
+ * The format can be dynamically computed from the environment.
5895
+ */
5896
+ declare function createFormatActionSpec({ name, format, descriptionValue, }: {
5897
+ name: string;
5898
+ descriptionValue: CellValue;
5899
+ format: Format | ((env: SpreadsheetChildEnv) => Format);
5900
+ }): NumberFormatActionSpec;
5901
+ declare const formatNumberAutomatic: NumberFormatActionSpec;
5902
+ declare const formatNumberPlainText: NumberFormatActionSpec;
5903
+ declare const formatNumberNumber: NumberFormatActionSpec;
5904
+ declare const formatPercent: ActionSpec;
5905
+ declare const formatNumberPercent: NumberFormatActionSpec;
5906
+ declare const formatNumberCurrency: NumberFormatActionSpec;
5907
+ declare const formatNumberCurrencyRounded: NumberFormatActionSpec;
5908
+ declare const EXAMPLE_DATE: CellValue;
5909
+ declare const formatCustomCurrency: ActionSpec;
5910
+ declare const formatNumberDate: NumberFormatActionSpec;
5911
+ declare const formatNumberTime: NumberFormatActionSpec;
5912
+ declare const formatNumberDateTime: NumberFormatActionSpec;
5913
+ declare const formatNumberDuration: NumberFormatActionSpec;
5914
+ declare const formatNumberQuarter: NumberFormatActionSpec;
5915
+ declare const formatNumberFullQuarter: NumberFormatActionSpec;
5916
+ declare const moreFormats: ActionSpec;
5917
+ declare const formatNumberFullDateTime: NumberFormatActionSpec;
5918
+ declare const formatNumberFullWeekDayAndMonth: NumberFormatActionSpec;
5919
+ declare const formatNumberDayAndFullMonth: NumberFormatActionSpec;
5920
+ declare const formatNumberShortWeekDay: NumberFormatActionSpec;
5921
+ declare const formatNumberDayAndShortMonth: NumberFormatActionSpec;
5922
+ declare const formatNumberFullMonth: NumberFormatActionSpec;
5923
+ declare const formatNumberShortMonth: NumberFormatActionSpec;
5924
+ declare const incraseDecimalPlaces: ActionSpec;
5925
+ declare const decraseDecimalPlaces: ActionSpec;
5926
+ declare const formatBold: ActionSpec;
5927
+ declare const formatItalic: ActionSpec;
5928
+ declare const formatUnderline: ActionSpec;
5929
+ declare const formatStrikethrough: ActionSpec;
5930
+ declare const formatFontSize: ActionSpec;
5931
+ declare const formatAlignment: ActionSpec;
5932
+ declare const formatAlignmentHorizontal: ActionSpec;
5933
+ declare const formatAlignmentLeft: ActionSpec;
5934
+ declare const formatAlignmentCenter: ActionSpec;
5935
+ declare const formatAlignmentRight: ActionSpec;
5936
+ declare const formatAlignmentVertical: ActionSpec;
5937
+ declare const formatAlignmentTop: ActionSpec;
5938
+ declare const formatAlignmentMiddle: ActionSpec;
5939
+ declare const formatAlignmentBottom: ActionSpec;
5940
+ declare const formatWrappingIcon: ActionSpec;
5941
+ declare const formatWrapping: ActionSpec;
5942
+ declare const formatWrappingOverflow: ActionSpec;
5943
+ declare const formatWrappingWrap: ActionSpec;
5944
+ declare const formatWrappingClip: ActionSpec;
5945
+ declare const textColor: ActionSpec;
5946
+ declare const fillColor: ActionSpec;
5947
+ declare const formatCF: ActionSpec;
5948
+ declare const clearFormat: ActionSpec;
5949
+
5950
+ declare const ACTION_FORMAT_EXAMPLE_DATE: typeof EXAMPLE_DATE;
5951
+ type ACTION_FORMAT_NumberFormatActionSpec = NumberFormatActionSpec;
5952
+ declare const ACTION_FORMAT_clearFormat: typeof clearFormat;
5953
+ declare const ACTION_FORMAT_createFormatActionSpec: typeof createFormatActionSpec;
5954
+ declare const ACTION_FORMAT_decraseDecimalPlaces: typeof decraseDecimalPlaces;
5955
+ declare const ACTION_FORMAT_fillColor: typeof fillColor;
5956
+ declare const ACTION_FORMAT_formatAlignment: typeof formatAlignment;
5957
+ declare const ACTION_FORMAT_formatAlignmentBottom: typeof formatAlignmentBottom;
5958
+ declare const ACTION_FORMAT_formatAlignmentCenter: typeof formatAlignmentCenter;
5959
+ declare const ACTION_FORMAT_formatAlignmentHorizontal: typeof formatAlignmentHorizontal;
5960
+ declare const ACTION_FORMAT_formatAlignmentLeft: typeof formatAlignmentLeft;
5961
+ declare const ACTION_FORMAT_formatAlignmentMiddle: typeof formatAlignmentMiddle;
5962
+ declare const ACTION_FORMAT_formatAlignmentRight: typeof formatAlignmentRight;
5963
+ declare const ACTION_FORMAT_formatAlignmentTop: typeof formatAlignmentTop;
5964
+ declare const ACTION_FORMAT_formatAlignmentVertical: typeof formatAlignmentVertical;
5965
+ declare const ACTION_FORMAT_formatBold: typeof formatBold;
5966
+ declare const ACTION_FORMAT_formatCF: typeof formatCF;
5967
+ declare const ACTION_FORMAT_formatCustomCurrency: typeof formatCustomCurrency;
5968
+ declare const ACTION_FORMAT_formatFontSize: typeof formatFontSize;
5969
+ declare const ACTION_FORMAT_formatItalic: typeof formatItalic;
5970
+ declare const ACTION_FORMAT_formatNumberAutomatic: typeof formatNumberAutomatic;
5971
+ declare const ACTION_FORMAT_formatNumberCurrency: typeof formatNumberCurrency;
5972
+ declare const ACTION_FORMAT_formatNumberCurrencyRounded: typeof formatNumberCurrencyRounded;
5973
+ declare const ACTION_FORMAT_formatNumberDate: typeof formatNumberDate;
5974
+ declare const ACTION_FORMAT_formatNumberDateTime: typeof formatNumberDateTime;
5975
+ declare const ACTION_FORMAT_formatNumberDayAndFullMonth: typeof formatNumberDayAndFullMonth;
5976
+ declare const ACTION_FORMAT_formatNumberDayAndShortMonth: typeof formatNumberDayAndShortMonth;
5977
+ declare const ACTION_FORMAT_formatNumberDuration: typeof formatNumberDuration;
5978
+ declare const ACTION_FORMAT_formatNumberFullDateTime: typeof formatNumberFullDateTime;
5979
+ declare const ACTION_FORMAT_formatNumberFullMonth: typeof formatNumberFullMonth;
5980
+ declare const ACTION_FORMAT_formatNumberFullQuarter: typeof formatNumberFullQuarter;
5981
+ declare const ACTION_FORMAT_formatNumberFullWeekDayAndMonth: typeof formatNumberFullWeekDayAndMonth;
5982
+ declare const ACTION_FORMAT_formatNumberNumber: typeof formatNumberNumber;
5983
+ declare const ACTION_FORMAT_formatNumberPercent: typeof formatNumberPercent;
5984
+ declare const ACTION_FORMAT_formatNumberPlainText: typeof formatNumberPlainText;
5985
+ declare const ACTION_FORMAT_formatNumberQuarter: typeof formatNumberQuarter;
5986
+ declare const ACTION_FORMAT_formatNumberShortMonth: typeof formatNumberShortMonth;
5987
+ declare const ACTION_FORMAT_formatNumberShortWeekDay: typeof formatNumberShortWeekDay;
5988
+ declare const ACTION_FORMAT_formatNumberTime: typeof formatNumberTime;
5989
+ declare const ACTION_FORMAT_formatPercent: typeof formatPercent;
5990
+ declare const ACTION_FORMAT_formatStrikethrough: typeof formatStrikethrough;
5991
+ declare const ACTION_FORMAT_formatUnderline: typeof formatUnderline;
5992
+ declare const ACTION_FORMAT_formatWrapping: typeof formatWrapping;
5993
+ declare const ACTION_FORMAT_formatWrappingClip: typeof formatWrappingClip;
5994
+ declare const ACTION_FORMAT_formatWrappingIcon: typeof formatWrappingIcon;
5995
+ declare const ACTION_FORMAT_formatWrappingOverflow: typeof formatWrappingOverflow;
5996
+ declare const ACTION_FORMAT_formatWrappingWrap: typeof formatWrappingWrap;
5997
+ declare const ACTION_FORMAT_incraseDecimalPlaces: typeof incraseDecimalPlaces;
5998
+ declare const ACTION_FORMAT_moreFormats: typeof moreFormats;
5999
+ declare const ACTION_FORMAT_textColor: typeof textColor;
6000
+ declare namespace ACTION_FORMAT {
6001
+ export {
6002
+ ACTION_FORMAT_EXAMPLE_DATE as EXAMPLE_DATE,
6003
+ ACTION_FORMAT_NumberFormatActionSpec as NumberFormatActionSpec,
6004
+ ACTION_FORMAT_clearFormat as clearFormat,
6005
+ ACTION_FORMAT_createFormatActionSpec as createFormatActionSpec,
6006
+ ACTION_FORMAT_decraseDecimalPlaces as decraseDecimalPlaces,
6007
+ ACTION_FORMAT_fillColor as fillColor,
6008
+ ACTION_FORMAT_formatAlignment as formatAlignment,
6009
+ ACTION_FORMAT_formatAlignmentBottom as formatAlignmentBottom,
6010
+ ACTION_FORMAT_formatAlignmentCenter as formatAlignmentCenter,
6011
+ ACTION_FORMAT_formatAlignmentHorizontal as formatAlignmentHorizontal,
6012
+ ACTION_FORMAT_formatAlignmentLeft as formatAlignmentLeft,
6013
+ ACTION_FORMAT_formatAlignmentMiddle as formatAlignmentMiddle,
6014
+ ACTION_FORMAT_formatAlignmentRight as formatAlignmentRight,
6015
+ ACTION_FORMAT_formatAlignmentTop as formatAlignmentTop,
6016
+ ACTION_FORMAT_formatAlignmentVertical as formatAlignmentVertical,
6017
+ ACTION_FORMAT_formatBold as formatBold,
6018
+ ACTION_FORMAT_formatCF as formatCF,
6019
+ ACTION_FORMAT_formatCustomCurrency as formatCustomCurrency,
6020
+ ACTION_FORMAT_formatFontSize as formatFontSize,
6021
+ ACTION_FORMAT_formatItalic as formatItalic,
6022
+ ACTION_FORMAT_formatNumberAutomatic as formatNumberAutomatic,
6023
+ ACTION_FORMAT_formatNumberCurrency as formatNumberCurrency,
6024
+ ACTION_FORMAT_formatNumberCurrencyRounded as formatNumberCurrencyRounded,
6025
+ ACTION_FORMAT_formatNumberDate as formatNumberDate,
6026
+ ACTION_FORMAT_formatNumberDateTime as formatNumberDateTime,
6027
+ ACTION_FORMAT_formatNumberDayAndFullMonth as formatNumberDayAndFullMonth,
6028
+ ACTION_FORMAT_formatNumberDayAndShortMonth as formatNumberDayAndShortMonth,
6029
+ ACTION_FORMAT_formatNumberDuration as formatNumberDuration,
6030
+ ACTION_FORMAT_formatNumberFullDateTime as formatNumberFullDateTime,
6031
+ ACTION_FORMAT_formatNumberFullMonth as formatNumberFullMonth,
6032
+ ACTION_FORMAT_formatNumberFullQuarter as formatNumberFullQuarter,
6033
+ ACTION_FORMAT_formatNumberFullWeekDayAndMonth as formatNumberFullWeekDayAndMonth,
6034
+ ACTION_FORMAT_formatNumberNumber as formatNumberNumber,
6035
+ ACTION_FORMAT_formatNumberPercent as formatNumberPercent,
6036
+ ACTION_FORMAT_formatNumberPlainText as formatNumberPlainText,
6037
+ ACTION_FORMAT_formatNumberQuarter as formatNumberQuarter,
6038
+ ACTION_FORMAT_formatNumberShortMonth as formatNumberShortMonth,
6039
+ ACTION_FORMAT_formatNumberShortWeekDay as formatNumberShortWeekDay,
6040
+ ACTION_FORMAT_formatNumberTime as formatNumberTime,
6041
+ ACTION_FORMAT_formatPercent as formatPercent,
6042
+ ACTION_FORMAT_formatStrikethrough as formatStrikethrough,
6043
+ ACTION_FORMAT_formatUnderline as formatUnderline,
6044
+ ACTION_FORMAT_formatWrapping as formatWrapping,
6045
+ ACTION_FORMAT_formatWrappingClip as formatWrappingClip,
6046
+ ACTION_FORMAT_formatWrappingIcon as formatWrappingIcon,
6047
+ ACTION_FORMAT_formatWrappingOverflow as formatWrappingOverflow,
6048
+ ACTION_FORMAT_formatWrappingWrap as formatWrappingWrap,
6049
+ ACTION_FORMAT_incraseDecimalPlaces as incraseDecimalPlaces,
6050
+ ACTION_FORMAT_moreFormats as moreFormats,
6051
+ ACTION_FORMAT_textColor as textColor,
6052
+ };
6053
+ }
6054
+
5754
6055
  type CellPopoverType = "ErrorToolTip" | "LinkDisplay" | "FilterMenu" | "LinkEditor";
5755
6056
  type PopoverPropsPosition = "TopRight" | "BottomLeft";
5756
6057
  type MaxSizedComponentConstructor = ComponentConstructor & {
@@ -6684,87 +6985,6 @@ interface ChartSidePanel {
6684
6985
  design: new (...args: any) => Component;
6685
6986
  }
6686
6987
 
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
6988
  /**
6769
6989
  * This registry is intended to map a type of figure (tag) to a class of
6770
6990
  * component, that will be used in the UI to represent the figure.
@@ -7317,6 +7537,7 @@ declare class ChartJsComponent extends Component<Props$F, SpreadsheetChildEnv> {
7317
7537
  };
7318
7538
  private canvas;
7319
7539
  private chart?;
7540
+ private currentRuntime;
7320
7541
  get background(): string;
7321
7542
  get canvasStyle(): string;
7322
7543
  get chartRuntime(): ChartJSRuntime;
@@ -7508,7 +7729,7 @@ interface Position {
7508
7729
  top: HeaderIndex;
7509
7730
  left: HeaderIndex;
7510
7731
  }
7511
- interface State$7 {
7732
+ interface State$8 {
7512
7733
  position: Position;
7513
7734
  handler: boolean;
7514
7735
  }
@@ -7518,7 +7739,7 @@ declare class Autofill extends Component<Props$A, SpreadsheetChildEnv> {
7518
7739
  position: ObjectConstructor;
7519
7740
  isVisible: BooleanConstructor;
7520
7741
  };
7521
- state: State$7;
7742
+ state: State$8;
7522
7743
  get style(): string;
7523
7744
  get handlerStyle(): string;
7524
7745
  get styleNextValue(): string;
@@ -8227,7 +8448,7 @@ declare class VerticalScrollBar extends Component<Props$l, SpreadsheetChildEnv>
8227
8448
  interface Props$k {
8228
8449
  table: Table;
8229
8450
  }
8230
- interface State$6 {
8451
+ interface State$7 {
8231
8452
  highlightZone: Zone | undefined;
8232
8453
  }
8233
8454
  declare class TableResizer extends Component<Props$k, SpreadsheetChildEnv> {
@@ -8235,7 +8456,7 @@ declare class TableResizer extends Component<Props$k, SpreadsheetChildEnv> {
8235
8456
  static props: {
8236
8457
  table: ObjectConstructor;
8237
8458
  };
8238
- state: State$6;
8459
+ state: State$7;
8239
8460
  setup(): void;
8240
8461
  get containerStyle(): string;
8241
8462
  onMouseDown(ev: MouseEvent): void;
@@ -8354,20 +8575,22 @@ interface DndPartialArgs {
8354
8575
  onCancel?: () => void;
8355
8576
  onDragEnd?: (itemId: UID, indexAtEnd: Pixel) => void;
8356
8577
  }
8357
- interface State$5 {
8578
+ interface State$6 {
8358
8579
  itemsStyle: Record<UID, string>;
8359
8580
  draggedItemId: UID | undefined;
8360
8581
  start: (direction: Direction, args: DndPartialArgs) => void;
8361
8582
  cancel: () => void;
8362
8583
  }
8363
- declare function useDragAndDropListItems(): State$5;
8584
+ declare function useDragAndDropListItems(): State$6;
8364
8585
 
8365
8586
  declare function useHighlightsOnHover(ref: Ref<HTMLElement>, highlightProvider: HighlightProvider): void;
8366
8587
  declare function useHighlights(highlightProvider: HighlightProvider): void;
8367
8588
 
8368
8589
  declare class MainChartPanelStore extends SpreadsheetStore {
8369
8590
  panel: "configuration" | "design";
8591
+ private creationContext;
8370
8592
  activatePanel(panel: "configuration" | "design"): void;
8593
+ changeChartType(figureId: UID, type: ChartType): void;
8371
8594
  }
8372
8595
 
8373
8596
  interface Props$i {
@@ -8713,7 +8936,9 @@ declare function chartFontColor(backgroundColor: Color | undefined): Color;
8713
8936
  /**
8714
8937
  * Get a default chart js configuration
8715
8938
  */
8716
- declare function getDefaultChartJsRuntime(chart: AbstractChart, labels: string[], fontColor: Color, { format, locale }: LocaleFormat): Required<ChartConfiguration>;
8939
+ declare function getDefaultChartJsRuntime(chart: AbstractChart, labels: string[], fontColor: Color, { format, locale, truncateLabels }: LocaleFormat & {
8940
+ truncateLabels?: boolean;
8941
+ }): Required<ChartConfiguration>;
8717
8942
  /** See https://www.chartjs.org/docs/latest/charts/area.html#filling-modes */
8718
8943
  declare function getFillingMode(index: number): "origin" | number;
8719
8944
 
@@ -9243,153 +9468,6 @@ declare namespace ACTION_EDIT {
9243
9468
  };
9244
9469
  }
9245
9470
 
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
9471
  interface Props$5 {
9394
9472
  action: ActionSpec;
9395
9473
  hasTriangleDownIcon?: boolean;
@@ -9430,7 +9508,7 @@ declare class ActionButton extends Component<Props$5, SpreadsheetChildEnv> {
9430
9508
  }
9431
9509
 
9432
9510
  type Tool = "borderColorTool" | "borderTypeTool";
9433
- interface State$4 {
9511
+ interface State$5 {
9434
9512
  activeTool: Tool | undefined;
9435
9513
  }
9436
9514
  interface BorderEditorProps {
@@ -9481,7 +9559,7 @@ declare class BorderEditor extends Component<BorderEditorProps, SpreadsheetChild
9481
9559
  el: HTMLElement | null;
9482
9560
  };
9483
9561
  borderStyles: readonly ["thin", "medium", "thick", "dashed", "dotted"];
9484
- state: State$4;
9562
+ state: State$5;
9485
9563
  toggleDropdownTool(tool: Tool): void;
9486
9564
  closeDropdown(): void;
9487
9565
  setBorderPosition(position: BorderPosition): void;
@@ -9499,7 +9577,7 @@ interface Props$4 {
9499
9577
  dropdownMaxHeight?: Pixel;
9500
9578
  class?: string;
9501
9579
  }
9502
- interface State$3 {
9580
+ interface State$4 {
9503
9581
  currentColor: Color;
9504
9582
  currentStyle: BorderStyle;
9505
9583
  currentPosition: BorderPosition | undefined;
@@ -9528,7 +9606,7 @@ declare class BorderEditorWidget extends Component<Props$4, SpreadsheetChildEnv>
9528
9606
  borderEditorButtonRef: {
9529
9607
  el: HTMLElement | null;
9530
9608
  };
9531
- state: State$3;
9609
+ state: State$4;
9532
9610
  get borderEditorAnchorRect(): Rect;
9533
9611
  onBorderPositionPicked(position: BorderPosition): void;
9534
9612
  onBorderColorPicked(color: Color): void;
@@ -9551,7 +9629,7 @@ declare class TopBarComposer extends Component<any, SpreadsheetChildEnv> {
9551
9629
  onFocus(selection: ComposerSelection): void;
9552
9630
  }
9553
9631
 
9554
- interface State$2 {
9632
+ interface State$3 {
9555
9633
  isOpen: boolean;
9556
9634
  }
9557
9635
  interface Props$3 {
@@ -9568,7 +9646,7 @@ declare class FontSizeEditor extends Component<Props$3, SpreadsheetChildEnv> {
9568
9646
  };
9569
9647
  static components: {};
9570
9648
  fontSizes: number[];
9571
- dropdown: State$2;
9649
+ dropdown: State$3;
9572
9650
  private inputRef;
9573
9651
  private rootEditorRef;
9574
9652
  setup(): void;
@@ -9585,15 +9663,43 @@ declare class FontSizeEditor extends Component<Props$3, SpreadsheetChildEnv> {
9585
9663
 
9586
9664
  interface Props$2 {
9587
9665
  tableConfig: TableConfig;
9666
+ tableStyle: TableStyle;
9667
+ class: string;
9668
+ styleId?: string;
9669
+ selected?: boolean;
9670
+ onClick?: () => void;
9588
9671
  }
9589
9672
  declare class TableStylePreview extends Component<Props$2, SpreadsheetChildEnv> {
9590
9673
  static template: string;
9674
+ static components: {
9675
+ Menu: typeof Menu;
9676
+ };
9591
9677
  static props: {
9592
9678
  tableConfig: ObjectConstructor;
9679
+ tableStyle: ObjectConstructor;
9680
+ class: StringConstructor;
9681
+ styleId: {
9682
+ type: StringConstructor;
9683
+ optional: boolean;
9684
+ };
9685
+ selected: {
9686
+ type: BooleanConstructor;
9687
+ optional: boolean;
9688
+ };
9689
+ onClick: {
9690
+ type: FunctionConstructor;
9691
+ optional: boolean;
9692
+ };
9593
9693
  };
9594
9694
  private canvasRef;
9695
+ menu: MenuState;
9595
9696
  setup(): void;
9596
9697
  private drawTable;
9698
+ onContextMenu(event: MouseEvent): void;
9699
+ closeMenu(): void;
9700
+ get styleName(): string;
9701
+ get isStyleEditable(): boolean;
9702
+ editTableStyle(): void;
9597
9703
  }
9598
9704
 
9599
9705
  interface TableStylesPopoverProps {
@@ -9606,6 +9712,9 @@ interface TableStylesPopoverProps {
9606
9712
  type CustomTablePopoverMouseEvent = MouseEvent & {
9607
9713
  hasClosedTableStylesPopover?: boolean;
9608
9714
  };
9715
+ interface State$2 {
9716
+ selectedCategory: string;
9717
+ }
9609
9718
  declare class TableStylesPopover extends Component<TableStylesPopoverProps, SpreadsheetChildEnv> {
9610
9719
  static template: string;
9611
9720
  static components: {
@@ -9625,19 +9734,20 @@ declare class TableStylesPopover extends Component<TableStylesPopoverProps, Spre
9625
9734
  optional: boolean;
9626
9735
  };
9627
9736
  };
9628
- stylePresets: Record<string, TableStyle>;
9629
9737
  categories: {
9630
- none: string;
9631
9738
  light: string;
9632
9739
  medium: string;
9633
9740
  dark: string;
9741
+ custom: string;
9634
9742
  };
9635
9743
  private tableStyleListRef;
9744
+ state: State$2;
9745
+ menu: MenuState;
9636
9746
  setup(): void;
9637
9747
  onExternalClick(ev: CustomTablePopoverMouseEvent): void;
9638
- getPresetsByCategory(category: string): string[];
9639
- getTableConfig(styleId: string): TableConfig;
9640
- getStyleName(styleId: string): string;
9748
+ get displayedStyles(): string[];
9749
+ get initialSelectedCategory(): string;
9750
+ newTableStyle(): void;
9641
9751
  }
9642
9752
 
9643
9753
  interface State$1 {
@@ -9784,6 +9894,7 @@ declare const CellErrorType: {
9784
9894
  readonly CircularDependency: "#CYCLE";
9785
9895
  readonly UnknownFunction: "#NAME?";
9786
9896
  readonly DivisionByZero: "#DIV/0!";
9897
+ readonly SpilledBlocked: "#SPILL!";
9787
9898
  readonly GenericError: "#ERROR";
9788
9899
  };
9789
9900
  declare class EvaluationError extends Error {
@@ -9850,13 +9961,13 @@ declare const registries: {
9850
9961
  inverseCommandRegistry: Registry<(cmd: CoreCommand) => CoreCommand[]>;
9851
9962
  urlRegistry: Registry<LinkSpec>;
9852
9963
  cellPopoverRegistry: Registry<PopoverBuilders>;
9853
- numberFormatMenuRegistry: MenuItemRegistry;
9964
+ numberFormatMenuRegistry: Registry<NumberFormatActionSpec>;
9854
9965
  repeatLocalCommandTransformRegistry: Registry<(getters: Getters, cmd: LocalCommand, childCommands: readonly CoreCommand[]) => LocalCommand | CoreCommand[] | undefined>;
9855
9966
  repeatCommandTransformRegistry: Registry<(getters: Getters, cmd: CoreCommand) => CoreCommand | undefined>;
9856
9967
  clipboardHandlersRegistries: {
9857
9968
  figureHandlers: Registry<{
9858
9969
  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, {
9970
+ <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
9971
  type: T;
9861
9972
  }> | Extract<UpdateCellPositionCommand, {
9862
9973
  type: T;
@@ -9938,6 +10049,10 @@ declare const registries: {
9938
10049
  type: T;
9939
10050
  }> | Extract<UpdateTableCommand, {
9940
10051
  type: T;
10052
+ }> | Extract<CreateTableStyleCommand, {
10053
+ type: T;
10054
+ }> | Extract<RemoveTableStyleCommand, {
10055
+ type: T;
9941
10056
  }> | Extract<GroupHeadersCommand, {
9942
10057
  type: T;
9943
10058
  }> | Extract<UnGroupHeadersCommand, {
@@ -10069,7 +10184,7 @@ declare const registries: {
10069
10184
  }> | Extract<RefreshPivotCommand, {
10070
10185
  type: T;
10071
10186
  }>>(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, {
10187
+ <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
10188
  type: T_1;
10074
10189
  }> | Extract<UpdateCellPositionCommand, {
10075
10190
  type: T_1;
@@ -10151,6 +10266,10 @@ declare const registries: {
10151
10266
  type: T_1;
10152
10267
  }> | Extract<UpdateTableCommand, {
10153
10268
  type: T_1;
10269
+ }> | Extract<CreateTableStyleCommand, {
10270
+ type: T_1;
10271
+ }> | Extract<RemoveTableStyleCommand, {
10272
+ type: T_1;
10154
10273
  }> | Extract<GroupHeadersCommand, {
10155
10274
  type: T_1;
10156
10275
  }> | Extract<UnGroupHeadersCommand, {
@@ -10286,7 +10405,7 @@ declare const registries: {
10286
10405
  }>;
10287
10406
  cellHandlers: Registry<{
10288
10407
  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, {
10408
+ <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
10409
  type: T;
10291
10410
  }> | Extract<UpdateCellPositionCommand, {
10292
10411
  type: T;
@@ -10368,6 +10487,10 @@ declare const registries: {
10368
10487
  type: T;
10369
10488
  }> | Extract<UpdateTableCommand, {
10370
10489
  type: T;
10490
+ }> | Extract<CreateTableStyleCommand, {
10491
+ type: T;
10492
+ }> | Extract<RemoveTableStyleCommand, {
10493
+ type: T;
10371
10494
  }> | Extract<GroupHeadersCommand, {
10372
10495
  type: T;
10373
10496
  }> | Extract<UnGroupHeadersCommand, {
@@ -10499,7 +10622,7 @@ declare const registries: {
10499
10622
  }> | Extract<RefreshPivotCommand, {
10500
10623
  type: T;
10501
10624
  }>>(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, {
10625
+ <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
10626
  type: T_1;
10504
10627
  }> | Extract<UpdateCellPositionCommand, {
10505
10628
  type: T_1;
@@ -10581,6 +10704,10 @@ declare const registries: {
10581
10704
  type: T_1;
10582
10705
  }> | Extract<UpdateTableCommand, {
10583
10706
  type: T_1;
10707
+ }> | Extract<CreateTableStyleCommand, {
10708
+ type: T_1;
10709
+ }> | Extract<RemoveTableStyleCommand, {
10710
+ type: T_1;
10584
10711
  }> | Extract<GroupHeadersCommand, {
10585
10712
  type: T_1;
10586
10713
  }> | Extract<UnGroupHeadersCommand, {
@@ -10860,4 +10987,4 @@ declare const constants: {
10860
10987
  };
10861
10988
  };
10862
10989
 
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 };
10990
+ 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 };