@odoo/o-spreadsheet 16.5.0-alpha.9 → 17.1.0-alpha.0

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.
@@ -907,6 +907,15 @@ declare function colorToRGBA(color: Color): RGBA;
907
907
  * 27 => 'AB'
908
908
  */
909
909
  declare function numberToLetters(n: number): string;
910
+ /**
911
+ * Convert a string (describing a column) to its number value.
912
+ *
913
+ * Examples:
914
+ * 'A' => 0
915
+ * 'Z' => 25
916
+ * 'AA' => 26
917
+ */
918
+ declare function lettersToNumber(letters: string): number;
910
919
  /**
911
920
  * Convert a "XC" coordinate to cartesian coordinates.
912
921
  *
@@ -975,7 +984,7 @@ declare class RangeImpl implements Range {
975
984
  constructor(args: ConstructorArgs, getSheetSize: (sheetId: UID) => ZoneDimension);
976
985
  static fromRange(range: Range, getters: CoreGetters): RangeImpl;
977
986
  get unboundedZone(): UnboundedZone;
978
- get zone(): Zone;
987
+ get zone(): Readonly<Zone>;
979
988
  static getRangeParts(xc: string, zone: UnboundedZone): RangePart[];
980
989
  get isFullCol(): boolean;
981
990
  get isFullRow(): boolean;
@@ -1002,6 +1011,21 @@ declare class UuidGenerator {
1002
1011
  uuidv4(): string;
1003
1012
  }
1004
1013
 
1014
+ /**
1015
+ * Convert from a cartesian reference to a (possibly unbounded) Zone
1016
+ *
1017
+ * Examples:
1018
+ * "A1" ==> Top 0, Bottom 0, Left: 0, Right: 0
1019
+ * "B1:B3" ==> Top 0, Bottom 3, Left: 1, Right: 1
1020
+ * "B:B" ==> Top 0, Bottom undefined, Left: 1, Right: 1
1021
+ * "B2:B" ==> Top 1, Bottom undefined, Left: 1, Right: 1, hasHeader: 1
1022
+ * "Sheet1!A1" ==> Top 0, Bottom 0, Left: 0, Right: 0
1023
+ * "Sheet1!B1:B3" ==> Top 0, Bottom 3, Left: 1, Right: 1
1024
+ *
1025
+ * @param xc the string reference to convert
1026
+ *
1027
+ */
1028
+ declare function toUnboundedZone(xc: string): UnboundedZone;
1005
1029
  /**
1006
1030
  * Convert from a cartesian reference to a Zone.
1007
1031
  * Will return throw an error if given a unbounded zone (eg : A:A).
@@ -1070,6 +1094,7 @@ interface SelectionProcessor {
1070
1094
  selectAll(): DispatchResult;
1071
1095
  loopSelection(): DispatchResult;
1072
1096
  selectTableAroundSelection(): DispatchResult;
1097
+ isListening(owner: unknown): boolean;
1073
1098
  }
1074
1099
  type SelectionStreamProcessor = SelectionProcessor & StatefulStream<SelectionEvent, AnchorZone>;
1075
1100
 
@@ -1709,10 +1734,10 @@ interface ZoneDependentCommand {
1709
1734
  sheetId: UID;
1710
1735
  zone: Zone;
1711
1736
  }
1712
- declare const invalidateEvaluationCommands: 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_FILTER_TABLE" | "REMOVE_FILTER_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" | "UNDO" | "REDO" | "EVALUATE_CELLS">;
1713
- declare const invalidateDependenciesCommands: 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_FILTER_TABLE" | "REMOVE_FILTER_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" | "ACTIVATE_SHEET" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "ENABLE_NEW_SELECTION_INPUT" | "DISABLE_SELECTION_INPUT" | "UNFOCUS_SELECTION_INPUT" | "FOCUS_RANGE" | "ADD_EMPTY_RANGE" | "ADD_RANGE" | "REMOVE_RANGE" | "CHANGE_RANGE" | "COPY" | "CUT" | "PASTE" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "SET_HIGHLIGHT_COLOR" | "STOP_COMPOSER_RANGE_SELECTION" | "START_EDITION" | "STOP_EDITION" | "CANCEL_EDITION" | "SET_CURRENT_CONTENT" | "CHANGE_COMPOSER_CURSOR_SELECTION" | "REPLACE_COMPOSER_CURSOR_SELECTION" | "CYCLE_EDITION_REFERENCES" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "UPDATE_SEARCH" | "CLEAR_SEARCH" | "SELECT_SEARCH_PREVIOUS_MATCH" | "SELECT_SEARCH_NEXT_MATCH" | "REPLACE_SEARCH" | "REPLACE_ALL_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "OPEN_CELL_POPOVER" | "CLOSE_CELL_POPOVER" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE">;
1714
- declare const invalidateCFEvaluationCommands: 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_FILTER_TABLE" | "REMOVE_FILTER_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" | "UNDO" | "REDO" | "EVALUATE_CELLS">;
1715
- declare const readonlyAllowedCommands: 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_FILTER_TABLE" | "REMOVE_FILTER_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" | "ACTIVATE_SHEET" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "ENABLE_NEW_SELECTION_INPUT" | "DISABLE_SELECTION_INPUT" | "UNFOCUS_SELECTION_INPUT" | "FOCUS_RANGE" | "ADD_EMPTY_RANGE" | "ADD_RANGE" | "REMOVE_RANGE" | "CHANGE_RANGE" | "COPY" | "CUT" | "PASTE" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "SET_HIGHLIGHT_COLOR" | "STOP_COMPOSER_RANGE_SELECTION" | "START_EDITION" | "STOP_EDITION" | "CANCEL_EDITION" | "SET_CURRENT_CONTENT" | "CHANGE_COMPOSER_CURSOR_SELECTION" | "REPLACE_COMPOSER_CURSOR_SELECTION" | "CYCLE_EDITION_REFERENCES" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "UPDATE_SEARCH" | "CLEAR_SEARCH" | "SELECT_SEARCH_PREVIOUS_MATCH" | "SELECT_SEARCH_NEXT_MATCH" | "REPLACE_SEARCH" | "REPLACE_ALL_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "OPEN_CELL_POPOVER" | "CLOSE_CELL_POPOVER" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE">;
1737
+ declare const invalidateEvaluationCommands: Set<"SORT_CELLS" | "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_FILTER_TABLE" | "REMOVE_FILTER_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "ENABLE_NEW_SELECTION_INPUT" | "DISABLE_SELECTION_INPUT" | "UNFOCUS_SELECTION_INPUT" | "FOCUS_RANGE" | "ADD_EMPTY_RANGE" | "ADD_RANGE" | "REMOVE_RANGE" | "CHANGE_RANGE" | "COPY" | "CUT" | "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" | "SET_HIGHLIGHT_COLOR" | "STOP_COMPOSER_RANGE_SELECTION" | "START_EDITION" | "STOP_EDITION" | "CANCEL_EDITION" | "SET_CURRENT_CONTENT" | "CHANGE_COMPOSER_CURSOR_SELECTION" | "REPLACE_COMPOSER_CURSOR_SELECTION" | "CYCLE_EDITION_REFERENCES" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "UPDATE_SEARCH" | "CLEAR_SEARCH" | "SELECT_SEARCH_PREVIOUS_MATCH" | "SELECT_SEARCH_NEXT_MATCH" | "REPLACE_SEARCH" | "REPLACE_ALL_SEARCH" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "OPEN_CELL_POPOVER" | "CLOSE_CELL_POPOVER" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE">;
1738
+ declare const invalidateDependenciesCommands: Set<"SORT_CELLS" | "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_FILTER_TABLE" | "REMOVE_FILTER_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "ENABLE_NEW_SELECTION_INPUT" | "DISABLE_SELECTION_INPUT" | "UNFOCUS_SELECTION_INPUT" | "FOCUS_RANGE" | "ADD_EMPTY_RANGE" | "ADD_RANGE" | "REMOVE_RANGE" | "CHANGE_RANGE" | "COPY" | "CUT" | "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" | "SET_HIGHLIGHT_COLOR" | "STOP_COMPOSER_RANGE_SELECTION" | "START_EDITION" | "STOP_EDITION" | "CANCEL_EDITION" | "SET_CURRENT_CONTENT" | "CHANGE_COMPOSER_CURSOR_SELECTION" | "REPLACE_COMPOSER_CURSOR_SELECTION" | "CYCLE_EDITION_REFERENCES" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "UPDATE_SEARCH" | "CLEAR_SEARCH" | "SELECT_SEARCH_PREVIOUS_MATCH" | "SELECT_SEARCH_NEXT_MATCH" | "REPLACE_SEARCH" | "REPLACE_ALL_SEARCH" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "OPEN_CELL_POPOVER" | "CLOSE_CELL_POPOVER" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE">;
1739
+ declare const invalidateCFEvaluationCommands: Set<"SORT_CELLS" | "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_FILTER_TABLE" | "REMOVE_FILTER_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "ENABLE_NEW_SELECTION_INPUT" | "DISABLE_SELECTION_INPUT" | "UNFOCUS_SELECTION_INPUT" | "FOCUS_RANGE" | "ADD_EMPTY_RANGE" | "ADD_RANGE" | "REMOVE_RANGE" | "CHANGE_RANGE" | "COPY" | "CUT" | "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" | "SET_HIGHLIGHT_COLOR" | "STOP_COMPOSER_RANGE_SELECTION" | "START_EDITION" | "STOP_EDITION" | "CANCEL_EDITION" | "SET_CURRENT_CONTENT" | "CHANGE_COMPOSER_CURSOR_SELECTION" | "REPLACE_COMPOSER_CURSOR_SELECTION" | "CYCLE_EDITION_REFERENCES" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "UPDATE_SEARCH" | "CLEAR_SEARCH" | "SELECT_SEARCH_PREVIOUS_MATCH" | "SELECT_SEARCH_NEXT_MATCH" | "REPLACE_SEARCH" | "REPLACE_ALL_SEARCH" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "OPEN_CELL_POPOVER" | "CLOSE_CELL_POPOVER" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE">;
1740
+ declare const readonlyAllowedCommands: Set<"SORT_CELLS" | "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_FILTER_TABLE" | "REMOVE_FILTER_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "ENABLE_NEW_SELECTION_INPUT" | "DISABLE_SELECTION_INPUT" | "UNFOCUS_SELECTION_INPUT" | "FOCUS_RANGE" | "ADD_EMPTY_RANGE" | "ADD_RANGE" | "REMOVE_RANGE" | "CHANGE_RANGE" | "COPY" | "CUT" | "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" | "SET_HIGHLIGHT_COLOR" | "STOP_COMPOSER_RANGE_SELECTION" | "START_EDITION" | "STOP_EDITION" | "CANCEL_EDITION" | "SET_CURRENT_CONTENT" | "CHANGE_COMPOSER_CURSOR_SELECTION" | "REPLACE_COMPOSER_CURSOR_SELECTION" | "CYCLE_EDITION_REFERENCES" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "UPDATE_SEARCH" | "CLEAR_SEARCH" | "SELECT_SEARCH_PREVIOUS_MATCH" | "SELECT_SEARCH_NEXT_MATCH" | "REPLACE_SEARCH" | "REPLACE_ALL_SEARCH" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "OPEN_CELL_POPOVER" | "CLOSE_CELL_POPOVER" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE">;
1716
1741
  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_FILTER_TABLE" | "REMOVE_FILTER_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">;
1717
1742
  interface UpdateCellCommand extends PositionDependentCommand {
1718
1743
  type: "UPDATE_CELL";
@@ -1987,6 +2012,12 @@ interface PasteCommand {
1987
2012
  target: Zone[];
1988
2013
  pasteOption?: ClipboardPasteOptions;
1989
2014
  }
2015
+ interface CopyPasteCellsAboveCommand {
2016
+ type: "COPY_PASTE_CELLS_ABOVE";
2017
+ }
2018
+ interface CopyPasteCellsOnLeftCommand {
2019
+ type: "COPY_PASTE_CELLS_ON_LEFT";
2020
+ }
1990
2021
  interface RepeatPasteCommand {
1991
2022
  type: "REPEAT_PASTE";
1992
2023
  target: Zone[];
@@ -2334,7 +2365,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | DeleteContent
2334
2365
  | AddDataValidationCommand | RemoveDataValidationCommand
2335
2366
  /** MISC */
2336
2367
  | UpdateLocaleCommand;
2337
- type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | NewInputCommand | RemoveInputCommand | UnfocusInputCommand | FocusInputCommand | AddEmptyRangeCommand | AddRangeCommand | RemoveRangeCommand | ChangeRangeCommand | CopyCommand | CutCommand | PasteCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | ActivatePaintFormatCommand | CancelPaintFormatCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | StartChangeHighlightCommand | SetColorCommand | StopComposerSelectionCommand | StartEditionCommand | StopEditionCommand | CancelEditionCommand | SetCurrentContentCommand | ChangeComposerSelectionCommand | ReplaceComposerSelectionCommand | CycleEditionReferencesCommand | StartCommand | AutofillCommand | AutofillSelectCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | UpdateSearchCommand | ClearSearchCommand | SelectSearchPreviousCommand | SelectSearchNextCommand | ReplaceSearchCommand | ReplaceAllSearchCommand | SortCommand | SetDecimalCommand | ResizeViewportCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | OpenCellPopoverCommand | CloseCellPopoverCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand | RemoveDuplicatesCommand | TrimWhitespaceCommand;
2368
+ type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | NewInputCommand | RemoveInputCommand | UnfocusInputCommand | FocusInputCommand | AddEmptyRangeCommand | AddRangeCommand | RemoveRangeCommand | ChangeRangeCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | ActivatePaintFormatCommand | CancelPaintFormatCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | StartChangeHighlightCommand | SetColorCommand | StopComposerSelectionCommand | StartEditionCommand | StopEditionCommand | CancelEditionCommand | SetCurrentContentCommand | ChangeComposerSelectionCommand | ReplaceComposerSelectionCommand | CycleEditionReferencesCommand | StartCommand | AutofillCommand | AutofillSelectCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | UpdateSearchCommand | ClearSearchCommand | SelectSearchPreviousCommand | SelectSearchNextCommand | ReplaceSearchCommand | ReplaceAllSearchCommand | SortCommand | SetDecimalCommand | ResizeViewportCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | OpenCellPopoverCommand | CloseCellPopoverCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand | RemoveDuplicatesCommand | TrimWhitespaceCommand;
2338
2369
  type Command = CoreCommand | LocalCommand;
2339
2370
  /**
2340
2371
  * Holds the result of a command dispatch.
@@ -2464,7 +2495,8 @@ declare const enum CommandResult {
2464
2495
  UnknownDataValidationCriterionType = "UnknownDataValidationCriterionType",
2465
2496
  InvalidDataValidationCriterionValue = "InvalidDataValidationCriterionValue",
2466
2497
  InvalidNumberOfCriterionValues = "InvalidNumberOfCriterionValues",
2467
- BlockingValidationRule = "BlockingValidationRule"
2498
+ BlockingValidationRule = "BlockingValidationRule",
2499
+ InvalidCopyPasteSelection = "InvalidCopyPasteSelection"
2468
2500
  }
2469
2501
  interface CommandHandler<T> {
2470
2502
  allowDispatch(command: T): CommandResult | CommandResult[];
@@ -3470,7 +3502,6 @@ declare class ChartPlugin extends CorePlugin<ChartState> implements ChartState {
3470
3502
  getChartDefinition(figureId: UID): ChartDefinition;
3471
3503
  import(data: WorkbookData): void;
3472
3504
  export(data: WorkbookData): void;
3473
- exportForExcel(data: ExcelWorkbookData): void;
3474
3505
  /**
3475
3506
  * Add a figure with tag chart with the given id at the given position
3476
3507
  */
@@ -4051,7 +4082,7 @@ declare class SheetPlugin extends CorePlugin<SheetState> implements SheetState {
4051
4082
 
4052
4083
  declare class EvaluationPlugin extends UIPlugin {
4053
4084
  private config;
4054
- static getters: readonly ["evaluateFormula", "getRangeFormattedValues", "getRangeValues", "getRangeFormats", "getEvaluatedCell", "getEvaluatedCells", "getEvaluatedCellsInZone"];
4085
+ static getters: readonly ["evaluateFormula", "getCorrespondingFormulaCell", "getRangeFormattedValues", "getRangeValues", "getRangeFormats", "getEvaluatedCell", "getEvaluatedCells", "getEvaluatedCellsInZone"];
4055
4086
  private shouldRebuildDependenciesGraph;
4056
4087
  private evaluator;
4057
4088
  private compilationParams;
@@ -4060,7 +4091,7 @@ declare class EvaluationPlugin extends UIPlugin {
4060
4091
  beforeHandle(cmd: Command): void;
4061
4092
  handle(cmd: CoreViewCommand): void;
4062
4093
  finalize(): void;
4063
- evaluateFormula(sheetId: UID, formulaString: string): any;
4094
+ evaluateFormula(sheetId: UID, formulaString: string): CellValue | Matrix<CellValue>;
4064
4095
  /**
4065
4096
  * Return the value of each cell in the range as they are displayed in the grid.
4066
4097
  */
@@ -4082,7 +4113,7 @@ declare class EvaluationPlugin extends UIPlugin {
4082
4113
  * It could be the formula present in the cell itself or the
4083
4114
  * formula of the array formula that spreads to the cell
4084
4115
  */
4085
- private getCorrespondingFormulaCell;
4116
+ getCorrespondingFormulaCell(position: CellPosition): FormulaCell | undefined;
4086
4117
  private getCompilationParameters;
4087
4118
  }
4088
4119
 
@@ -4127,6 +4158,7 @@ declare class EvaluationChartPlugin extends UIPlugin<EvaluationChartState> {
4127
4158
  * - the default chart color if no other color is defined
4128
4159
  */
4129
4160
  getBackgroundOfSingleCellChart(chartBackground: Color | undefined, mainRange: Range | undefined): Color;
4161
+ exportForExcel(data: ExcelWorkbookData): void;
4130
4162
  }
4131
4163
 
4132
4164
  declare class EvaluationConditionalFormatPlugin extends UIPlugin {
@@ -4208,12 +4240,13 @@ interface CellWithSize {
4208
4240
  cell: CellPosition;
4209
4241
  size: Pixel;
4210
4242
  }
4211
- declare class UIRowSizePlugin extends UIPlugin<HeaderSizeState> implements HeaderSizeState {
4212
- static getters: readonly ["getRowSize"];
4243
+ declare class HeaderSizeUIPlugin extends UIPlugin<HeaderSizeState> implements HeaderSizeState {
4244
+ static getters: readonly ["getRowSize", "getHeaderSize"];
4213
4245
  readonly tallestCellInRow: Immutable<Record<UID, Array<CellWithSize | undefined>>>;
4214
4246
  private ctx;
4215
4247
  handle(cmd: Command): void;
4216
4248
  getRowSize(sheetId: UID, row: HeaderIndex): Pixel;
4249
+ getHeaderSize(sheetId: UID, dimension: Dimension, index: HeaderIndex): Pixel;
4217
4250
  private updateRowSizeForCellChange;
4218
4251
  private initializeSheet;
4219
4252
  /**
@@ -4725,7 +4758,7 @@ declare class UIOptionsPlugin extends UIPlugin {
4725
4758
  }
4726
4759
 
4727
4760
  declare class SheetUIPlugin extends UIPlugin {
4728
- static getters: readonly ["doesCellHaveGridIcon", "getCellWidth", "getTextWidth", "getCellText", "getCellMultiLineText", "getColDimensions", "getRowDimensions", "getColRowOffset"];
4761
+ static getters: readonly ["doesCellHaveGridIcon", "getCellWidth", "getTextWidth", "getCellText", "getCellMultiLineText"];
4729
4762
  private ctx;
4730
4763
  allowDispatch(cmd: LocalCommand): CommandResult | CommandResult[];
4731
4764
  handle(cmd: Command): void;
@@ -4737,22 +4770,6 @@ declare class SheetUIPlugin extends UIPlugin {
4737
4770
  * line if it contains NEWLINE characters, or if it's longer than the given width.
4738
4771
  */
4739
4772
  getCellMultiLineText(position: CellPosition, width: number | undefined): string[];
4740
- /**
4741
- * Returns the size, start and end coordinates of a column on an unfolded sheet
4742
- */
4743
- getColDimensions(sheetId: UID, col: HeaderIndex): HeaderDimensions;
4744
- /**
4745
- * Returns the size, start and end coordinates of a row an unfolded sheet
4746
- */
4747
- getRowDimensions(sheetId: UID, row: HeaderIndex): HeaderDimensions;
4748
- /**
4749
- * Returns the offset of a header (determined by the dimension) at the given index
4750
- * based on the referenceIndex given. If start === 0, this method will return
4751
- * the start attribute of the header.
4752
- *
4753
- * i.e. The size from A to B is the distance between A.start and B.end
4754
- */
4755
- getColRowOffset(dimension: Dimension, referenceIndex: HeaderIndex, index: HeaderIndex, sheetId?: UID): Pixel;
4756
4773
  doesCellHaveGridIcon(position: CellPosition): boolean;
4757
4774
  private getColMaxWidth;
4758
4775
  /**
@@ -4832,12 +4849,38 @@ declare class FilterEvaluationPlugin extends UIPlugin {
4832
4849
  private getUniqueColNameForExcel;
4833
4850
  }
4834
4851
 
4852
+ declare class HeaderPositionsUIPlugin extends UIPlugin {
4853
+ static getters: readonly ["getColDimensions", "getRowDimensions", "getColRowOffset"];
4854
+ private headerPositions;
4855
+ private isDirty;
4856
+ handle(cmd: Command): void;
4857
+ finalize(): void;
4858
+ /**
4859
+ * Returns the size, start and end coordinates of a column on an unfolded sheet
4860
+ */
4861
+ getColDimensions(sheetId: UID, col: HeaderIndex): HeaderDimensions;
4862
+ /**
4863
+ * Returns the size, start and end coordinates of a row an unfolded sheet
4864
+ */
4865
+ getRowDimensions(sheetId: UID, row: HeaderIndex): HeaderDimensions;
4866
+ /**
4867
+ * Returns the offset of a header (determined by the dimension) at the given index
4868
+ * based on the referenceIndex given. If start === 0, this method will return
4869
+ * the start attribute of the header.
4870
+ *
4871
+ * i.e. The size from A to B is the distance between A.start and B.end
4872
+ */
4873
+ getColRowOffset(dimension: Dimension, referenceIndex: HeaderIndex, index: HeaderIndex, sheetId?: UID): Pixel;
4874
+ private computeHeaderPositionsOfSheet;
4875
+ private computePositions;
4876
+ }
4877
+
4835
4878
  /**
4836
4879
  * SelectionPlugin
4837
4880
  */
4838
4881
  declare class GridSelectionPlugin extends UIPlugin {
4839
4882
  static layers: LAYERS[];
4840
- static getters: readonly ["getActiveSheet", "getActiveSheetId", "getActiveCell", "getActiveCols", "getActiveRows", "getCurrentStyle", "getSelectedZones", "getSelectedZone", "getSelectedCells", "getStatisticFnResults", "getAggregate", "getSelectedFigureId", "getSelection", "getActivePosition", "getSheetPosition", "isSelected", "isSingleColSelected", "getElementsFromSelection", "tryGetActiveSheetId"];
4883
+ static getters: readonly ["getActiveSheet", "getActiveSheetId", "getActiveCell", "getActiveCols", "getActiveRows", "getCurrentStyle", "getSelectedZones", "getSelectedZone", "getSelectedCells", "getStatisticFnResults", "getAggregate", "getSelectedFigureId", "getSelection", "getActivePosition", "getSheetPosition", "isSelected", "isSingleColSelected", "getElementsFromSelection", "tryGetActiveSheetId", "isGridSelectionActive"];
4841
4884
  private gridSelection;
4842
4885
  private selectedFigureId;
4843
4886
  private sheetsData;
@@ -4847,6 +4890,7 @@ declare class GridSelectionPlugin extends UIPlugin {
4847
4890
  allowDispatch(cmd: LocalCommand): CommandResult;
4848
4891
  private handleEvent;
4849
4892
  handle(cmd: Command): void;
4893
+ isGridSelectionActive(): boolean;
4850
4894
  getActiveSheet(): Readonly<Sheet>;
4851
4895
  getActiveSheetId(): UID;
4852
4896
  tryGetActiveSheetId(): UID | undefined;
@@ -4878,6 +4922,7 @@ declare class GridSelectionPlugin extends UIPlugin {
4878
4922
  * if dimension === "ROW" => [2,3,4,5]
4879
4923
  */
4880
4924
  getElementsFromSelection(dimension: Dimension): number[];
4925
+ private activateSheet;
4881
4926
  /**
4882
4927
  * Ensure selections are not outside sheet boundaries.
4883
4928
  * They are clipped to fit inside the sheet if needed.
@@ -4943,13 +4988,13 @@ declare class InternalViewport {
4943
4988
  * visible cell.
4944
4989
  * It returns -1 if no column is found.
4945
4990
  */
4946
- getColIndex(x: Pixel, absolute?: boolean): HeaderIndex;
4991
+ getColIndex(x: Pixel): HeaderIndex;
4947
4992
  /**
4948
4993
  * Return the index of a row given an offset y, based on the pane top
4949
4994
  * visible cell.
4950
4995
  * It returns -1 if no row is found.
4951
4996
  */
4952
- getRowIndex(y: Pixel, absolute?: boolean): HeaderIndex;
4997
+ getRowIndex(y: Pixel): HeaderIndex;
4953
4998
  /**
4954
4999
  * This function will make sure that the provided cell position (or current selected position) is part of
4955
5000
  * the pane that is actually displayed on the client. We therefore adjust the offset of the pane
@@ -5048,6 +5093,7 @@ declare class SheetViewPlugin extends UIPlugin {
5048
5093
  private gridOffsetX;
5049
5094
  private gridOffsetY;
5050
5095
  private sheetsWithDirtyViewports;
5096
+ private shouldAdjustViewports;
5051
5097
  allowDispatch(cmd: LocalCommand): CommandResult | CommandResult[];
5052
5098
  private handleEvent;
5053
5099
  handle(cmd: Command): void;
@@ -5112,7 +5158,6 @@ declare class SheetViewPlugin extends UIPlugin {
5112
5158
  private getMainInternalViewport;
5113
5159
  /** gets rid of deprecated sheetIds */
5114
5160
  private cleanViewports;
5115
- private resetSheetViews;
5116
5161
  private resizeSheetView;
5117
5162
  private recomputeViewports;
5118
5163
  private setSheetViewOffset;
@@ -5172,51 +5217,34 @@ declare class SheetViewPlugin extends UIPlugin {
5172
5217
  type GetterNames<Plugin extends {
5173
5218
  getters: readonly string[];
5174
5219
  }> = Plugin["getters"][number];
5175
- type SheetGetters = Pick<SheetPlugin, GetterNames<typeof SheetPlugin>>;
5176
- type HeaderSizeGetters = Pick<HeaderSizePlugin, GetterNames<typeof HeaderSizePlugin>>;
5177
- type HeaderVisibilityGetters = Pick<HeaderVisibilityPlugin, GetterNames<typeof HeaderVisibilityPlugin>>;
5178
- type CellGetters = Pick<CellPlugin, GetterNames<typeof CellPlugin>>;
5179
- type MergeGetters = Pick<MergePlugin, GetterNames<typeof MergePlugin>>;
5180
- type BordersGetters = Pick<BordersPlugin, GetterNames<typeof BordersPlugin>>;
5181
- type ChartGetters = Pick<ChartPlugin, GetterNames<typeof ChartPlugin>>;
5182
- type ImageGetters = Pick<ImagePlugin, GetterNames<typeof ImagePlugin>>;
5183
- type FigureGetters = Pick<FigurePlugin, GetterNames<typeof FigurePlugin>>;
5220
+ /**
5221
+ * Extract getter methods from a plugin, based on its `getters` static array.
5222
+ * @example
5223
+ * class MyPlugin {
5224
+ * static getters = [
5225
+ * "getCell",
5226
+ * "getCellValue",
5227
+ * ] as const;
5228
+ * getCell() { ... }
5229
+ * getCellValue() { ... }
5230
+ * }
5231
+ * type MyPluginGetters = PluginGetters<typeof MyPlugin>;
5232
+ * // MyPluginGetters is equivalent to:
5233
+ * // {
5234
+ * // getCell: () => ...,
5235
+ * // getCellValue: () => ...,
5236
+ * // }
5237
+ */
5238
+ type PluginGetters<Plugin extends {
5239
+ new (...args: unknown[]): any;
5240
+ getters: readonly string[];
5241
+ }> = Pick<InstanceType<Plugin>, GetterNames<Plugin>>;
5184
5242
  type RangeAdapterGetters = Pick<RangeAdapter, GetterNames<typeof RangeAdapter>>;
5185
- type ConditionalFormatGetters = Pick<ConditionalFormatPlugin, GetterNames<typeof ConditionalFormatPlugin>>;
5186
- type LocalHistoryGetters = Pick<HistoryPlugin, GetterNames<typeof HistoryPlugin>>;
5187
- type FiltersGetters = Pick<FiltersPlugin, GetterNames<typeof FiltersPlugin>>;
5188
- type SettingsGetters = Pick<SettingsPlugin, GetterNames<typeof SettingsPlugin>>;
5189
- type HeaderGroupingGetters = Pick<HeaderGroupingPlugin, GetterNames<typeof HeaderGroupingPlugin>>;
5190
- type DataValidationGetters = Pick<DataValidationPlugin, GetterNames<typeof DataValidationPlugin>>;
5191
- type CoreGetters = SheetGetters & HeaderSizeGetters & HeaderVisibilityGetters & CellGetters & MergeGetters & BordersGetters & ChartGetters & ImageGetters & ConditionalFormatGetters & FigureGetters & RangeAdapterGetters & FiltersGetters & SettingsGetters & HeaderGroupingGetters & DataValidationGetters;
5192
- type AutofillGetters = Pick<AutofillPlugin, GetterNames<typeof AutofillPlugin>>;
5193
- type AutomaticSumGetters = Pick<AutomaticSumPlugin, GetterNames<typeof AutomaticSumPlugin>>;
5194
- type ClipboardGetters = Pick<ClipboardPlugin, GetterNames<typeof ClipboardPlugin>>;
5195
- type EditionGetters = Pick<EditionPlugin, GetterNames<typeof EditionPlugin>>;
5196
- type EvaluationGetters = Pick<EvaluationPlugin, GetterNames<typeof EvaluationPlugin>>;
5197
- type EvaluationChartGetters = Pick<EvaluationChartPlugin, GetterNames<typeof EvaluationChartPlugin>>;
5198
- type EvaluationConditionalFormatGetters = Pick<EvaluationConditionalFormatPlugin, GetterNames<typeof EvaluationConditionalFormatPlugin>>;
5199
- type FindAndReplaceGetters = Pick<FindAndReplacePlugin, GetterNames<typeof FindAndReplacePlugin>>;
5200
- type HeaderVisibilityIUIGetters = Pick<HeaderVisibilityUIPlugin, GetterNames<typeof HeaderVisibilityUIPlugin>>;
5201
- type HighlightGetters = Pick<HighlightPlugin, GetterNames<typeof HighlightPlugin>>;
5202
- type CustomColorsGetters = Pick<CustomColorsPlugin, GetterNames<typeof CustomColorsPlugin>>;
5203
- type RendererGetters = Pick<RendererPlugin, GetterNames<typeof RendererPlugin>>;
5204
- type SelectionGetters = Pick<GridSelectionPlugin, GetterNames<typeof GridSelectionPlugin>>;
5205
- type SelectionInputGetters = Pick<SelectionInputsManagerPlugin, GetterNames<typeof SelectionInputsManagerPlugin>>;
5206
- type CollaborativeGetters = Pick<CollaborativePlugin, GetterNames<typeof CollaborativePlugin>>;
5207
- type SortGetters = Pick<SortPlugin, GetterNames<typeof SortPlugin>>;
5208
- type UIOptionsGetters = Pick<UIOptionsPlugin, GetterNames<typeof UIOptionsPlugin>>;
5209
- type SheetUIGetters = Pick<SheetUIPlugin, GetterNames<typeof SheetUIPlugin>>;
5210
- type ViewportGetters = Pick<SheetViewPlugin, GetterNames<typeof SheetViewPlugin>>;
5211
- type CellPopoverPluginGetters = Pick<CellPopoverPlugin, GetterNames<typeof CellPopoverPlugin>>;
5212
- type FilterEvaluationGetters = Pick<FilterEvaluationPlugin, GetterNames<typeof FilterEvaluationPlugin>>;
5213
- type SplitToColumnsGetters = Pick<SplitToColumnsPlugin, GetterNames<typeof SplitToColumnsPlugin>>;
5214
- type UIRowSizeGetters = Pick<UIRowSizePlugin, GetterNames<typeof UIRowSizePlugin>>;
5215
- type EvaluationDataValidationPluginGetters = Pick<EvaluationDataValidationPlugin, GetterNames<typeof EvaluationDataValidationPlugin>>;
5243
+ type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof HeaderSizePlugin> & PluginGetters<typeof HeaderVisibilityPlugin> & PluginGetters<typeof CellPlugin> & PluginGetters<typeof MergePlugin> & PluginGetters<typeof BordersPlugin> & PluginGetters<typeof ChartPlugin> & PluginGetters<typeof ImagePlugin> & PluginGetters<typeof FigurePlugin> & RangeAdapterGetters & PluginGetters<typeof ConditionalFormatPlugin> & PluginGetters<typeof FiltersPlugin> & PluginGetters<typeof SettingsPlugin> & PluginGetters<typeof HeaderGroupingPlugin> & PluginGetters<typeof DataValidationPlugin>;
5216
5244
  type Getters = {
5217
5245
  isReadonly: () => boolean;
5218
5246
  isDashboard: () => boolean;
5219
- } & LocalHistoryGetters & CoreGetters & AutofillGetters & AutomaticSumGetters & ClipboardGetters & EditionGetters & EvaluationGetters & EvaluationChartGetters & EvaluationConditionalFormatGetters & FindAndReplaceGetters & HighlightGetters & CustomColorsGetters & RendererGetters & SelectionGetters & SelectionInputGetters & CollaborativeGetters & SortGetters & UIOptionsGetters & SheetUIGetters & ViewportGetters & CellPopoverPluginGetters & FilterEvaluationGetters & HeaderVisibilityIUIGetters & SplitToColumnsGetters & UIRowSizeGetters & EvaluationDataValidationPluginGetters;
5247
+ } & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EditionPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof FindAndReplacePlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof HighlightPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof RendererPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof SelectionInputsManagerPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof CellPopoverPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin>;
5220
5248
 
5221
5249
  interface HistoryChange {
5222
5250
  root: any;
@@ -5870,6 +5898,8 @@ interface AutofillRule {
5870
5898
  sequence: number;
5871
5899
  }
5872
5900
 
5901
+ declare function transformRangeData(range: RangeData, executed: CoreCommand): RangeData | undefined;
5902
+
5873
5903
  interface Props$B {
5874
5904
  figure: Figure;
5875
5905
  }
@@ -5890,34 +5920,10 @@ interface Props$A {
5890
5920
  }
5891
5921
  declare class ScorecardChart extends Component<Props$A, SpreadsheetChildEnv> {
5892
5922
  static template: string;
5893
- private ctx;
5923
+ private canvas;
5894
5924
  get runtime(): ScorecardChartRuntime;
5895
- get title(): string;
5896
- get keyValue(): string;
5897
- get baseline(): string;
5898
- get baselineDescr(): string;
5899
- get baselineArrowDirection(): BaselineArrowDirection;
5900
- get backgroundColor(): Color;
5901
- get primaryFontColor(): Color;
5902
- get secondaryFontColor(): "#525252" | "#C8C8C8";
5903
- get figure(): Figure;
5904
- get chartStyle(): string;
5905
- get chartContentStyle(): string;
5906
- get chartPadding(): number;
5907
- translate(term: any): string;
5908
- getTextStyles(): {
5909
- titleStyle: string;
5910
- keyStyle: string;
5911
- baselineStyle: string;
5912
- baselineValueStyle: string;
5913
- baselineDescrStyle: string;
5914
- };
5915
- /** Return an CSS style string corresponding to the given arguments */
5916
- private getTextStyle;
5917
- /** Get the height of the chart minus all the vertical paddings */
5918
- private getDrawableHeight;
5919
- /** Return the element with he widest text in the chart */
5920
- private getWidestElement;
5925
+ setup(): void;
5926
+ private createChart;
5921
5927
  }
5922
5928
 
5923
5929
  type MenuItemOrSeparator = Action | "separator";
@@ -6754,6 +6760,14 @@ declare const formatNumberDate: ActionSpec;
6754
6760
  declare const formatNumberTime: ActionSpec;
6755
6761
  declare const formatNumberDateTime: ActionSpec;
6756
6762
  declare const formatNumberDuration: ActionSpec;
6763
+ declare const moreFormats: ActionSpec;
6764
+ declare const formatNumberFullDateTime: ActionSpec;
6765
+ declare const formatNumberFullWeekDayAndMonth: ActionSpec;
6766
+ declare const formatNumberDayAndFullMonth: ActionSpec;
6767
+ declare const formatNumberShortWeekDay: ActionSpec;
6768
+ declare const formatNumberDayAndShortMonth: ActionSpec;
6769
+ declare const formatNumberFullMonth: ActionSpec;
6770
+ declare const formatNumberShortMonth: ActionSpec;
6757
6771
  declare const incraseDecimalPlaces: ActionSpec;
6758
6772
  declare const decraseDecimalPlaces: ActionSpec;
6759
6773
  declare const formatBold: ActionSpec;
@@ -6802,9 +6816,16 @@ declare const ACTION_FORMAT_formatNumberCurrency: typeof formatNumberCurrency;
6802
6816
  declare const ACTION_FORMAT_formatNumberCurrencyRounded: typeof formatNumberCurrencyRounded;
6803
6817
  declare const ACTION_FORMAT_formatNumberDate: typeof formatNumberDate;
6804
6818
  declare const ACTION_FORMAT_formatNumberDateTime: typeof formatNumberDateTime;
6819
+ declare const ACTION_FORMAT_formatNumberDayAndFullMonth: typeof formatNumberDayAndFullMonth;
6820
+ declare const ACTION_FORMAT_formatNumberDayAndShortMonth: typeof formatNumberDayAndShortMonth;
6805
6821
  declare const ACTION_FORMAT_formatNumberDuration: typeof formatNumberDuration;
6822
+ declare const ACTION_FORMAT_formatNumberFullDateTime: typeof formatNumberFullDateTime;
6823
+ declare const ACTION_FORMAT_formatNumberFullMonth: typeof formatNumberFullMonth;
6824
+ declare const ACTION_FORMAT_formatNumberFullWeekDayAndMonth: typeof formatNumberFullWeekDayAndMonth;
6806
6825
  declare const ACTION_FORMAT_formatNumberNumber: typeof formatNumberNumber;
6807
6826
  declare const ACTION_FORMAT_formatNumberPercent: typeof formatNumberPercent;
6827
+ declare const ACTION_FORMAT_formatNumberShortMonth: typeof formatNumberShortMonth;
6828
+ declare const ACTION_FORMAT_formatNumberShortWeekDay: typeof formatNumberShortWeekDay;
6808
6829
  declare const ACTION_FORMAT_formatNumberTime: typeof formatNumberTime;
6809
6830
  declare const ACTION_FORMAT_formatPercent: typeof formatPercent;
6810
6831
  declare const ACTION_FORMAT_formatStrikethrough: typeof formatStrikethrough;
@@ -6815,6 +6836,7 @@ declare const ACTION_FORMAT_formatWrappingIcon: typeof formatWrappingIcon;
6815
6836
  declare const ACTION_FORMAT_formatWrappingOverflow: typeof formatWrappingOverflow;
6816
6837
  declare const ACTION_FORMAT_formatWrappingWrap: typeof formatWrappingWrap;
6817
6838
  declare const ACTION_FORMAT_incraseDecimalPlaces: typeof incraseDecimalPlaces;
6839
+ declare const ACTION_FORMAT_moreFormats: typeof moreFormats;
6818
6840
  declare const ACTION_FORMAT_textColor: typeof textColor;
6819
6841
  declare namespace ACTION_FORMAT {
6820
6842
  export {
@@ -6840,9 +6862,16 @@ declare namespace ACTION_FORMAT {
6840
6862
  ACTION_FORMAT_formatNumberCurrencyRounded as formatNumberCurrencyRounded,
6841
6863
  ACTION_FORMAT_formatNumberDate as formatNumberDate,
6842
6864
  ACTION_FORMAT_formatNumberDateTime as formatNumberDateTime,
6865
+ ACTION_FORMAT_formatNumberDayAndFullMonth as formatNumberDayAndFullMonth,
6866
+ ACTION_FORMAT_formatNumberDayAndShortMonth as formatNumberDayAndShortMonth,
6843
6867
  ACTION_FORMAT_formatNumberDuration as formatNumberDuration,
6868
+ ACTION_FORMAT_formatNumberFullDateTime as formatNumberFullDateTime,
6869
+ ACTION_FORMAT_formatNumberFullMonth as formatNumberFullMonth,
6870
+ ACTION_FORMAT_formatNumberFullWeekDayAndMonth as formatNumberFullWeekDayAndMonth,
6844
6871
  ACTION_FORMAT_formatNumberNumber as formatNumberNumber,
6845
6872
  ACTION_FORMAT_formatNumberPercent as formatNumberPercent,
6873
+ ACTION_FORMAT_formatNumberShortMonth as formatNumberShortMonth,
6874
+ ACTION_FORMAT_formatNumberShortWeekDay as formatNumberShortWeekDay,
6846
6875
  ACTION_FORMAT_formatNumberTime as formatNumberTime,
6847
6876
  ACTION_FORMAT_formatPercent as formatPercent,
6848
6877
  ACTION_FORMAT_formatStrikethrough as formatStrikethrough,
@@ -6853,6 +6882,7 @@ declare namespace ACTION_FORMAT {
6853
6882
  ACTION_FORMAT_formatWrappingOverflow as formatWrappingOverflow,
6854
6883
  ACTION_FORMAT_formatWrappingWrap as formatWrappingWrap,
6855
6884
  ACTION_FORMAT_incraseDecimalPlaces as incraseDecimalPlaces,
6885
+ ACTION_FORMAT_moreFormats as moreFormats,
6856
6886
  ACTION_FORMAT_textColor as textColor,
6857
6887
  };
6858
6888
  }
@@ -7023,7 +7053,9 @@ declare class BorderEditorWidget extends Component<Props$c, SpreadsheetChildEnv>
7023
7053
  interface Props$b {
7024
7054
  values: AutocompleteValue[];
7025
7055
  selectedIndex: number | undefined;
7056
+ getHtmlContent: (value: string) => string;
7026
7057
  onValueSelected: (value: string) => void;
7058
+ onValueHovered: (index: string) => void;
7027
7059
  }
7028
7060
  declare class TextValueProvider extends Component<Props$b> {
7029
7061
  static template: string;
@@ -7132,6 +7164,7 @@ interface AutoCompleteState {
7132
7164
  selectedIndex: number | undefined;
7133
7165
  values: AutocompleteValue[];
7134
7166
  type: "function" | "dataValidation";
7167
+ getHtmlContent: (text: string) => HtmlContent[];
7135
7168
  }
7136
7169
  interface FunctionDescriptionState {
7137
7170
  showDescription: boolean;
@@ -7171,6 +7204,7 @@ declare class Composer extends Component<ComposerProps, SpreadsheetChildEnv> {
7171
7204
  private processTabKey;
7172
7205
  processSpaceKey(ev: KeyboardEvent): void;
7173
7206
  private processEnterKey;
7207
+ private processNewLineEvent;
7174
7208
  private processEscapeKey;
7175
7209
  private processF4Key;
7176
7210
  private processNumpadDecimal;
@@ -7180,13 +7214,14 @@ declare class Composer extends Component<ComposerProps, SpreadsheetChildEnv> {
7180
7214
  onInput(ev: InputEvent): void;
7181
7215
  onKeyup(ev: KeyboardEvent): void;
7182
7216
  showFunctionAutocomplete(searchTerm: string): void;
7217
+ updateAutoCompleteIndex(index: number): void;
7183
7218
  /**
7184
7219
  * This is required to ensure the content helper selection is
7185
7220
  * properly updated on "onclick" events. Depending on the browser,
7186
7221
  * the callback onClick from the composer will be executed before
7187
7222
  * the selection was updated in the dom, which means we capture an
7188
7223
  * wrong selection which is then forced upon the content helper on
7189
- * patchContent.
7224
+ * processContent.
7190
7225
  */
7191
7226
  onMousedown(ev: MouseEvent): void;
7192
7227
  onClick(): void;
@@ -7810,8 +7845,10 @@ declare const helpers: {
7810
7845
  toString: typeof toString;
7811
7846
  toXC: typeof toXC;
7812
7847
  toZone: typeof toZone;
7848
+ toUnboundedZone: typeof toUnboundedZone;
7813
7849
  toCartesian: typeof toCartesian;
7814
7850
  numberToLetters: typeof numberToLetters;
7851
+ lettersToNumber: typeof lettersToNumber;
7815
7852
  UuidGenerator: typeof UuidGenerator;
7816
7853
  formatValue: typeof formatValue;
7817
7854
  createCurrencyFormat: typeof createCurrencyFormat;
@@ -7833,6 +7870,7 @@ declare const helpers: {
7833
7870
  genericRepeat: typeof genericRepeat;
7834
7871
  createAction: typeof createAction;
7835
7872
  createActions: typeof createActions;
7873
+ transformRangeData: typeof transformRangeData;
7836
7874
  };
7837
7875
  declare const links: {
7838
7876
  isMarkdownLink: typeof isMarkdownLink;
@@ -7858,6 +7896,7 @@ declare const components: {
7858
7896
  ScorecardChartDesignPanel: typeof ScorecardChartDesignPanel;
7859
7897
  FigureComponent: typeof FigureComponent;
7860
7898
  Menu: typeof Menu;
7899
+ SelectionInput: typeof SelectionInput;
7861
7900
  };
7862
7901
  declare const hooks: {
7863
7902
  useDragAndDropListItems: typeof useDragAndDropListItems;