@odoo/o-spreadsheet 16.4.0-alpha.1 → 16.4.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/o-spreadsheet.cjs.js +638 -466
- package/dist/o-spreadsheet.d.ts +57 -35
- package/dist/o-spreadsheet.esm.js +637 -467
- package/dist/o-spreadsheet.iife.js +638 -466
- package/dist/o-spreadsheet.iife.min.js +249 -245
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -297,7 +297,7 @@ interface XLSXExportXMLFile {
|
|
|
297
297
|
}
|
|
298
298
|
interface XLSXExportImageFile {
|
|
299
299
|
path: string;
|
|
300
|
-
|
|
300
|
+
imageSrc: string;
|
|
301
301
|
}
|
|
302
302
|
interface XLSXExport {
|
|
303
303
|
name: string;
|
|
@@ -493,6 +493,7 @@ interface Range extends Cloneable<Range> {
|
|
|
493
493
|
readonly invalidSheetName?: string;
|
|
494
494
|
/** the sheet on which the range is defined */
|
|
495
495
|
readonly sheetId: UID;
|
|
496
|
+
readonly rangeData: RangeData;
|
|
496
497
|
}
|
|
497
498
|
interface RangeData {
|
|
498
499
|
_zone: Zone | UnboundedZone;
|
|
@@ -574,6 +575,7 @@ declare type ResizeDirection = -1 | 0 | 1;
|
|
|
574
575
|
interface Image {
|
|
575
576
|
path: string;
|
|
576
577
|
size: FigureSize;
|
|
578
|
+
mimetype?: string;
|
|
577
579
|
}
|
|
578
580
|
|
|
579
581
|
interface CellData {
|
|
@@ -1669,8 +1671,10 @@ interface PositionDependentCommand {
|
|
|
1669
1671
|
col: number;
|
|
1670
1672
|
row: number;
|
|
1671
1673
|
}
|
|
1672
|
-
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" | "MOVE_CONDITIONAL_FORMAT" | "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" | "SORT_CELLS" | "SET_DECIMAL" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "ENABLE_NEW_SELECTION_INPUT" | "DISABLE_SELECTION_INPUT" | "UNFOCUS_SELECTION_INPUT" | "FOCUS_RANGE" | "ADD_EMPTY_RANGE" | "REMOVE_RANGE" | "CHANGE_RANGE" | "COPY" | "CUT" | "PASTE" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "PASTE_CONDITIONAL_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "PREPARE_SELECTION_INPUT_EXPANSION" | "STOP_SELECTION_INPUT" | "EVALUATE_CELLS" | "CHANGE_HIGHLIGHT" | "START_CHANGE_HIGHLIGHT" | "SET_HIGHLIGHT_COLOR" | "STOP_COMPOSER_RANGE_SELECTION" | "START_EDITION" | "STOP_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" | "REFRESH_SEARCH" | "CLEAR_SEARCH" | "SELECT_SEARCH_PREVIOUS_MATCH" | "SELECT_SEARCH_NEXT_MATCH" | "REPLACE_SEARCH" | "REPLACE_ALL_SEARCH" | "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">;
|
|
1673
|
-
declare const
|
|
1674
|
+
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" | "MOVE_CONDITIONAL_FORMAT" | "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" | "SORT_CELLS" | "SET_DECIMAL" | "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" | "PASTE_CONDITIONAL_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "PREPARE_SELECTION_INPUT_EXPANSION" | "STOP_SELECTION_INPUT" | "EVALUATE_CELLS" | "CHANGE_HIGHLIGHT" | "START_CHANGE_HIGHLIGHT" | "SET_HIGHLIGHT_COLOR" | "STOP_COMPOSER_RANGE_SELECTION" | "START_EDITION" | "STOP_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" | "REFRESH_SEARCH" | "CLEAR_SEARCH" | "SELECT_SEARCH_PREVIOUS_MATCH" | "SELECT_SEARCH_NEXT_MATCH" | "REPLACE_SEARCH" | "REPLACE_ALL_SEARCH" | "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">;
|
|
1675
|
+
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" | "MOVE_CONDITIONAL_FORMAT" | "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" | "SORT_CELLS" | "SET_DECIMAL" | "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" | "PASTE_CONDITIONAL_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "PREPARE_SELECTION_INPUT_EXPANSION" | "STOP_SELECTION_INPUT" | "EVALUATE_CELLS" | "CHANGE_HIGHLIGHT" | "START_CHANGE_HIGHLIGHT" | "SET_HIGHLIGHT_COLOR" | "STOP_COMPOSER_RANGE_SELECTION" | "START_EDITION" | "STOP_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" | "REFRESH_SEARCH" | "CLEAR_SEARCH" | "SELECT_SEARCH_PREVIOUS_MATCH" | "SELECT_SEARCH_NEXT_MATCH" | "REPLACE_SEARCH" | "REPLACE_ALL_SEARCH" | "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">;
|
|
1676
|
+
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" | "MOVE_CONDITIONAL_FORMAT" | "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" | "SORT_CELLS" | "SET_DECIMAL" | "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" | "PASTE_CONDITIONAL_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "PREPARE_SELECTION_INPUT_EXPANSION" | "STOP_SELECTION_INPUT" | "EVALUATE_CELLS" | "CHANGE_HIGHLIGHT" | "START_CHANGE_HIGHLIGHT" | "SET_HIGHLIGHT_COLOR" | "STOP_COMPOSER_RANGE_SELECTION" | "START_EDITION" | "STOP_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" | "REFRESH_SEARCH" | "CLEAR_SEARCH" | "SELECT_SEARCH_PREVIOUS_MATCH" | "SELECT_SEARCH_NEXT_MATCH" | "REPLACE_SEARCH" | "REPLACE_ALL_SEARCH" | "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">;
|
|
1677
|
+
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" | "MOVE_CONDITIONAL_FORMAT" | "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" | "SORT_CELLS" | "SET_DECIMAL" | "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" | "PASTE_CONDITIONAL_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "PREPARE_SELECTION_INPUT_EXPANSION" | "STOP_SELECTION_INPUT" | "EVALUATE_CELLS" | "CHANGE_HIGHLIGHT" | "START_CHANGE_HIGHLIGHT" | "SET_HIGHLIGHT_COLOR" | "STOP_COMPOSER_RANGE_SELECTION" | "START_EDITION" | "STOP_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" | "REFRESH_SEARCH" | "CLEAR_SEARCH" | "SELECT_SEARCH_PREVIOUS_MATCH" | "SELECT_SEARCH_NEXT_MATCH" | "REPLACE_SEARCH" | "REPLACE_ALL_SEARCH" | "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">;
|
|
1674
1678
|
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" | "MOVE_CONDITIONAL_FORMAT" | "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">;
|
|
1675
1679
|
interface UpdateCellCommand extends PositionDependentCommand {
|
|
1676
1680
|
type: "UPDATE_CELL";
|
|
@@ -2083,6 +2087,17 @@ interface AddEmptyRangeCommand {
|
|
|
2083
2087
|
/** SelectionComponent id */
|
|
2084
2088
|
id: string;
|
|
2085
2089
|
}
|
|
2090
|
+
/**
|
|
2091
|
+
* Add an range at the end of a SelectionComponent state
|
|
2092
|
+
* and focus it.
|
|
2093
|
+
*/
|
|
2094
|
+
interface AddRangeCommand {
|
|
2095
|
+
type: "ADD_RANGE";
|
|
2096
|
+
/** SelectionComponent id */
|
|
2097
|
+
id: string;
|
|
2098
|
+
/** The range to be added */
|
|
2099
|
+
value: string;
|
|
2100
|
+
}
|
|
2086
2101
|
/**
|
|
2087
2102
|
* Remove a given range in a SelectionComponent state
|
|
2088
2103
|
*/
|
|
@@ -2238,7 +2253,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | DeleteContent
|
|
|
2238
2253
|
| CreateImageOverCommand
|
|
2239
2254
|
/** FILTERS */
|
|
2240
2255
|
| CreateFilterTableCommand | RemoveFilterTableCommand;
|
|
2241
|
-
declare type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | NewInputCommand | RemoveInputCommand | UnfocusInputCommand | FocusInputCommand | AddEmptyRangeCommand | RemoveRangeCommand | ChangeRangeCommand | CopyCommand | CutCommand | PasteCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | ActivatePaintFormatCommand | PasteCFCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | PrepareExpansionCommand | StopSelectionCommand | EvaluateCellsCommand | ChangeHighlightCommand | StartChangeHighlightCommand | SetColorCommand | StopComposerSelectionCommand | StartEditionCommand | StopEditionCommand | SetCurrentContentCommand | ChangeComposerSelectionCommand | ReplaceComposerSelectionCommand | CycleEditionReferencesCommand | StartCommand | AutofillCommand | AutofillSelectCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | UpdateSearchCommand | RefreshSearchCommand | ClearSearchCommand | SelectSearchPreviousCommand | SelectSearchNextCommand | ReplaceSearchCommand | ReplaceAllSearchCommand | SortCommand | SetDecimalCommand | ResizeViewportCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | OpenCellPopoverCommand | CloseCellPopoverCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand;
|
|
2256
|
+
declare type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | NewInputCommand | RemoveInputCommand | UnfocusInputCommand | FocusInputCommand | AddEmptyRangeCommand | AddRangeCommand | RemoveRangeCommand | ChangeRangeCommand | CopyCommand | CutCommand | PasteCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | ActivatePaintFormatCommand | PasteCFCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | PrepareExpansionCommand | StopSelectionCommand | EvaluateCellsCommand | ChangeHighlightCommand | StartChangeHighlightCommand | SetColorCommand | StopComposerSelectionCommand | StartEditionCommand | StopEditionCommand | SetCurrentContentCommand | ChangeComposerSelectionCommand | ReplaceComposerSelectionCommand | CycleEditionReferencesCommand | StartCommand | AutofillCommand | AutofillSelectCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | UpdateSearchCommand | RefreshSearchCommand | ClearSearchCommand | SelectSearchPreviousCommand | SelectSearchNextCommand | ReplaceSearchCommand | ReplaceAllSearchCommand | SortCommand | SetDecimalCommand | ResizeViewportCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | OpenCellPopoverCommand | CloseCellPopoverCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand;
|
|
2242
2257
|
declare type Command = CoreCommand | LocalCommand;
|
|
2243
2258
|
/**
|
|
2244
2259
|
* Holds the result of a command dispatch.
|
|
@@ -2856,7 +2871,7 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
|
|
|
2856
2871
|
private getters;
|
|
2857
2872
|
private providers;
|
|
2858
2873
|
constructor(getters: CoreGetters);
|
|
2859
|
-
static getters: readonly ["getRangeString", "
|
|
2874
|
+
static getters: readonly ["getRangeString", "getRangeFromSheetXC", "createAdaptedRanges", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone"];
|
|
2860
2875
|
allowDispatch(cmd: Command): CommandResult;
|
|
2861
2876
|
beforeHandle(command: Command): void;
|
|
2862
2877
|
handle(cmd: Command): void;
|
|
@@ -2886,10 +2901,6 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
|
|
|
2886
2901
|
* @param sheetXC the string description of a range, in the form SheetName!XC:XC
|
|
2887
2902
|
*/
|
|
2888
2903
|
getRangeFromSheetXC(defaultSheetId: UID, sheetXC: string): RangeImpl;
|
|
2889
|
-
/**
|
|
2890
|
-
* Same as `getRangeString` but add all necessary merge to the range to make it a valid selection
|
|
2891
|
-
*/
|
|
2892
|
-
getSelectionRangeString(range: Range, forSheetId: UID): string;
|
|
2893
2904
|
/**
|
|
2894
2905
|
* Gets the string that represents the range as it is at the moment of the call.
|
|
2895
2906
|
* The string will be prefixed with the sheet name if the call specified a sheet id in `forSheetId`
|
|
@@ -2900,7 +2911,8 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
|
|
|
2900
2911
|
*/
|
|
2901
2912
|
getRangeString(range: Range, forSheetId: UID): string;
|
|
2902
2913
|
getRangeDataFromXc(sheetId: UID, xc: string): RangeData;
|
|
2903
|
-
getRangeDataFromZone(sheetId: UID, zone: Zone): RangeData;
|
|
2914
|
+
getRangeDataFromZone(sheetId: UID, zone: Zone | UnboundedZone): RangeData;
|
|
2915
|
+
getRangeFromZone(sheetId: UID, zone: Zone | UnboundedZone): Range;
|
|
2904
2916
|
getRangeFromRangeData(data: RangeData): Range;
|
|
2905
2917
|
/**
|
|
2906
2918
|
* Get a Xc string that represent a part of a range
|
|
@@ -2930,7 +2942,6 @@ interface CorePluginConstructor {
|
|
|
2930
2942
|
*/
|
|
2931
2943
|
declare class CorePlugin<State = any, C = CoreCommand> extends BasePlugin<State, C> implements RangeProvider {
|
|
2932
2944
|
protected getters: CoreGetters;
|
|
2933
|
-
protected range: RangeAdapter;
|
|
2934
2945
|
protected uuidGenerator: UuidGenerator;
|
|
2935
2946
|
constructor({ getters, stateObserver, range, dispatch, uuidGenerator }: CorePluginConfig);
|
|
2936
2947
|
import(data: WorkbookData): void;
|
|
@@ -3476,7 +3487,7 @@ interface MergeState {
|
|
|
3476
3487
|
readonly mergeCellMap: Record<UID, SheetMergeCellMap | undefined>;
|
|
3477
3488
|
}
|
|
3478
3489
|
declare class MergePlugin extends CorePlugin<MergeState> implements MergeState {
|
|
3479
|
-
static getters: readonly ["isInMerge", "isInSameMerge", "isMergeHidden", "getMainCellPosition", "getBottomLeftCell", "expandZone", "doesIntersectMerge", "doesColumnsHaveCommonMerges", "doesRowsHaveCommonMerges", "getMerges", "getMerge", "getMergesInZone", "isSingleCellOrMerge"];
|
|
3490
|
+
static getters: readonly ["isInMerge", "isInSameMerge", "isMergeHidden", "getMainCellPosition", "getBottomLeftCell", "expandZone", "doesIntersectMerge", "doesColumnsHaveCommonMerges", "doesRowsHaveCommonMerges", "getMerges", "getMerge", "getMergesInZone", "isSingleCellOrMerge", "getSelectionRangeString"];
|
|
3480
3491
|
private nextId;
|
|
3481
3492
|
readonly merges: Record<UID, Record<number, Range | undefined> | undefined>;
|
|
3482
3493
|
readonly mergeCellMap: Record<UID, SheetMergeCellMap | undefined>;
|
|
@@ -3486,6 +3497,10 @@ declare class MergePlugin extends CorePlugin<MergeState> implements MergeState {
|
|
|
3486
3497
|
getMerges(sheetId: UID): Merge[];
|
|
3487
3498
|
getMerge({ sheetId, col, row }: CellPosition): Merge | undefined;
|
|
3488
3499
|
getMergesInZone(sheetId: UID, zone: Zone): Merge[];
|
|
3500
|
+
/**
|
|
3501
|
+
* Same as `getRangeString` but add all necessary merge to the range to make it a valid selection
|
|
3502
|
+
*/
|
|
3503
|
+
getSelectionRangeString(range: Range, forSheetId: UID): string;
|
|
3489
3504
|
/**
|
|
3490
3505
|
* Return true if the zone intersects an existing merge:
|
|
3491
3506
|
* if they have at least a common cell
|
|
@@ -3553,7 +3568,7 @@ interface SheetState$1 {
|
|
|
3553
3568
|
readonly cellPosition: Record<UID, CellPosition | undefined>;
|
|
3554
3569
|
}
|
|
3555
3570
|
declare class SheetPlugin extends CorePlugin<SheetState$1> implements SheetState$1 {
|
|
3556
|
-
static getters: readonly ["getSheetName", "tryGetSheetName", "getSheet", "tryGetSheet", "getSheetIdByName", "getSheetIds", "getVisibleSheetIds", "isSheetVisible", "getEvaluationSheets", "doesHeaderExist", "getCell", "getCellPosition", "getColsZone", "getRowCells", "getRowsZone", "getNumberCols", "getNumberRows", "getNumberHeaders", "getGridLinesVisibility", "getNextSheetName", "isEmpty", "getSheetSize", "getSheetZone", "getPaneDivisions", "checkZonesExistInSheet", "getCommandZones"];
|
|
3571
|
+
static getters: readonly ["getSheetName", "tryGetSheetName", "getSheet", "tryGetSheet", "getSheetIdByName", "getSheetIds", "getVisibleSheetIds", "isSheetVisible", "getEvaluationSheets", "doesHeaderExist", "getCell", "getCellPosition", "getColsZone", "getRowCells", "getRowsZone", "getNumberCols", "getNumberRows", "getNumberHeaders", "getGridLinesVisibility", "getNextSheetName", "isEmpty", "getSheetSize", "getSheetZone", "getPaneDivisions", "checkZonesExistInSheet", "getCommandZones", "getUnboundedZone"];
|
|
3557
3572
|
readonly sheetIdsMapName: Record<string, UID | undefined>;
|
|
3558
3573
|
readonly orderedSheetIds: UID[];
|
|
3559
3574
|
readonly sheets: Record<UID, Sheet | undefined>;
|
|
@@ -3593,6 +3608,7 @@ declare class SheetPlugin extends CorePlugin<SheetState$1> implements SheetState
|
|
|
3593
3608
|
getNextSheetName(baseName?: string): string;
|
|
3594
3609
|
getSheetSize(sheetId: UID): ZoneDimension;
|
|
3595
3610
|
getSheetZone(sheetId: UID): Zone;
|
|
3611
|
+
getUnboundedZone(sheetId: UID, zone: Zone): UnboundedZone;
|
|
3596
3612
|
getPaneDivisions(sheetId: UID): Readonly<PaneDivision>;
|
|
3597
3613
|
private setPaneDivisions;
|
|
3598
3614
|
/**
|
|
@@ -4976,7 +4992,7 @@ interface ChartBuilder {
|
|
|
4976
4992
|
}
|
|
4977
4993
|
|
|
4978
4994
|
interface Props$D {
|
|
4979
|
-
ranges: string[];
|
|
4995
|
+
ranges: () => string[];
|
|
4980
4996
|
hasSingleRange?: boolean;
|
|
4981
4997
|
required?: boolean;
|
|
4982
4998
|
isInvalid?: boolean;
|
|
@@ -5008,6 +5024,8 @@ declare class SelectionInput extends Component<Props$D, SpreadsheetChildEnv> {
|
|
|
5008
5024
|
get hasFocus(): boolean;
|
|
5009
5025
|
get canAddRange(): boolean;
|
|
5010
5026
|
get isInvalid(): boolean;
|
|
5027
|
+
get isConfirmable(): boolean;
|
|
5028
|
+
get isResettable(): boolean;
|
|
5011
5029
|
setup(): void;
|
|
5012
5030
|
enableNewSelectionInput(): void;
|
|
5013
5031
|
disableNewSelectionInput(): void;
|
|
@@ -5020,13 +5038,14 @@ declare class SelectionInput extends Component<Props$D, SpreadsheetChildEnv> {
|
|
|
5020
5038
|
addEmptyInput(): void;
|
|
5021
5039
|
removeInput(rangeId: number): void;
|
|
5022
5040
|
onInputChanged(rangeId: number, ev: InputEvent): void;
|
|
5041
|
+
reset(): void;
|
|
5023
5042
|
confirm(): void;
|
|
5024
5043
|
}
|
|
5025
5044
|
|
|
5026
5045
|
interface Props$C {
|
|
5027
5046
|
figureId: UID;
|
|
5028
5047
|
definition: LineChartDefinition | BarChartDefinition | PieChartDefinition;
|
|
5029
|
-
updateChart: (definition: Partial<LineChartDefinition | BarChartDefinition | PieChartDefinition>) => DispatchResult;
|
|
5048
|
+
updateChart: (figureId: UID, definition: Partial<LineChartDefinition | BarChartDefinition | PieChartDefinition>) => DispatchResult;
|
|
5030
5049
|
}
|
|
5031
5050
|
declare class LineBarPieConfigPanel extends Component<Props$C, SpreadsheetChildEnv> {
|
|
5032
5051
|
static template: string;
|
|
@@ -5047,12 +5066,14 @@ declare class LineBarPieConfigPanel extends Component<Props$C, SpreadsheetChildE
|
|
|
5047
5066
|
*/
|
|
5048
5067
|
onDataSeriesRangesChanged(ranges: string[]): void;
|
|
5049
5068
|
onDataSeriesConfirmed(): void;
|
|
5069
|
+
getDataSeriesRanges(): string[];
|
|
5050
5070
|
/**
|
|
5051
5071
|
* Change the local labelRange. The model should be updated when the
|
|
5052
5072
|
* button "confirm" is clicked
|
|
5053
5073
|
*/
|
|
5054
5074
|
onLabelRangeChanged(ranges: string[]): void;
|
|
5055
5075
|
onLabelRangeConfirmed(): void;
|
|
5076
|
+
getLabelRange(): string;
|
|
5056
5077
|
onUpdateAggregated(ev: any): void;
|
|
5057
5078
|
calculateHeaderPosition(): number | undefined;
|
|
5058
5079
|
}
|
|
@@ -5173,7 +5194,7 @@ declare class ColorPickerWidget extends Component<Props$B, SpreadsheetChildEnv>
|
|
|
5173
5194
|
interface Props$A {
|
|
5174
5195
|
figureId: UID;
|
|
5175
5196
|
definition: LineChartDefinition | BarChartDefinition | PieChartDefinition;
|
|
5176
|
-
updateChart: (definition: Partial<LineChartDefinition | BarChartDefinition | PieChartDefinition>) => CommandResult | CommandResult[];
|
|
5197
|
+
updateChart: (figureId: UID, definition: Partial<LineChartDefinition | BarChartDefinition | PieChartDefinition>) => CommandResult | CommandResult[];
|
|
5177
5198
|
}
|
|
5178
5199
|
declare class LineBarPieDesignPanel extends Component<Props$A, SpreadsheetChildEnv> {
|
|
5179
5200
|
static template: string;
|
|
@@ -5192,7 +5213,7 @@ declare class LineBarPieDesignPanel extends Component<Props$A, SpreadsheetChildE
|
|
|
5192
5213
|
interface Props$z {
|
|
5193
5214
|
figureId: UID;
|
|
5194
5215
|
definition: GaugeChartDefinition;
|
|
5195
|
-
updateChart: (definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
5216
|
+
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
5196
5217
|
}
|
|
5197
5218
|
declare class GaugeChartConfigPanel extends Component<Props$z, SpreadsheetChildEnv> {
|
|
5198
5219
|
static template: string;
|
|
@@ -5205,13 +5226,14 @@ declare class GaugeChartConfigPanel extends Component<Props$z, SpreadsheetChildE
|
|
|
5205
5226
|
get isDataRangeInvalid(): boolean;
|
|
5206
5227
|
onDataRangeChanged(ranges: string[]): void;
|
|
5207
5228
|
updateDataRange(): void;
|
|
5229
|
+
getDataRange(): string;
|
|
5208
5230
|
}
|
|
5209
5231
|
|
|
5210
5232
|
declare type GaugeMenu = "backgroundColor" | "sectionColor-lowerColor" | "sectionColor-middleColor" | "sectionColor-upperColor";
|
|
5211
5233
|
interface Props$y {
|
|
5212
5234
|
figureId: UID;
|
|
5213
5235
|
definition: GaugeChartDefinition;
|
|
5214
|
-
updateChart: (definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
5236
|
+
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
5215
5237
|
}
|
|
5216
5238
|
declare class GaugeChartDesignPanel extends Component<Props$y, SpreadsheetChildEnv> {
|
|
5217
5239
|
static template: string;
|
|
@@ -5248,7 +5270,7 @@ declare class LineConfigPanel extends LineBarPieConfigPanel {
|
|
|
5248
5270
|
interface Props$x {
|
|
5249
5271
|
figureId: UID;
|
|
5250
5272
|
definition: ScorecardChartDefinition;
|
|
5251
|
-
updateChart: (definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
5273
|
+
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
5252
5274
|
}
|
|
5253
5275
|
declare class ScorecardChartConfigPanel extends Component<Props$x, SpreadsheetChildEnv> {
|
|
5254
5276
|
static template: string;
|
|
@@ -5263,8 +5285,10 @@ declare class ScorecardChartConfigPanel extends Component<Props$x, SpreadsheetCh
|
|
|
5263
5285
|
get isBaselineInvalid(): boolean;
|
|
5264
5286
|
onKeyValueRangeChanged(ranges: string[]): void;
|
|
5265
5287
|
updateKeyValueRange(): void;
|
|
5288
|
+
getKeyValueRange(): string;
|
|
5266
5289
|
onBaselineRangeChanged(ranges: string[]): void;
|
|
5267
5290
|
updateBaselineRange(): void;
|
|
5291
|
+
getBaselineRange(): string;
|
|
5268
5292
|
updateBaselineMode(ev: any): void;
|
|
5269
5293
|
}
|
|
5270
5294
|
|
|
@@ -5272,7 +5296,7 @@ declare type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" |
|
|
|
5272
5296
|
interface Props$w {
|
|
5273
5297
|
figureId: UID;
|
|
5274
5298
|
definition: ScorecardChartDefinition;
|
|
5275
|
-
updateChart: (definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
5299
|
+
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
5276
5300
|
}
|
|
5277
5301
|
declare class ScorecardChartDesignPanel extends Component<Props$w, SpreadsheetChildEnv> {
|
|
5278
5302
|
static template: string;
|
|
@@ -6453,18 +6477,20 @@ declare class ContentEditableHelper {
|
|
|
6453
6477
|
*/
|
|
6454
6478
|
private findChildAtCharacterIndex;
|
|
6455
6479
|
/**
|
|
6456
|
-
* Sets (or Replaces all) the text inside the root element in the form of distinctive
|
|
6480
|
+
* Sets (or Replaces all) the text inside the root element in the form of distinctive paragraphs and
|
|
6457
6481
|
* span for each element provided in `contents`.
|
|
6458
6482
|
*
|
|
6483
|
+
* The function will apply the diff between the current content and the new content to avoid the systematic
|
|
6484
|
+
* destruction of DOM elements which interferes with IME[1]
|
|
6485
|
+
*
|
|
6486
|
+
* Each line of text will be encapsulated in a paragraph element.
|
|
6459
6487
|
* Each span will have its own fontcolor and specific class if provided in the HtmlContent object.
|
|
6488
|
+
*
|
|
6489
|
+
* [1] https://developer.mozilla.org/en-US/docs/Glossary/Input_method_editor
|
|
6460
6490
|
*/
|
|
6461
6491
|
setText(contents: HtmlContent[][]): void;
|
|
6462
6492
|
scrollSelectionIntoView(): void;
|
|
6463
|
-
|
|
6464
|
-
* remove the current selection of the user
|
|
6465
|
-
* */
|
|
6466
|
-
removeSelection(): void;
|
|
6467
|
-
removeAll(): void;
|
|
6493
|
+
private removeAll;
|
|
6468
6494
|
/**
|
|
6469
6495
|
* finds the indexes of the current selection.
|
|
6470
6496
|
* */
|
|
@@ -6559,7 +6585,6 @@ declare class Composer extends Component<ComposerProps, SpreadsheetChildEnv> {
|
|
|
6559
6585
|
composerState: ComposerState$1;
|
|
6560
6586
|
autoCompleteState: AutoCompleteState;
|
|
6561
6587
|
functionDescriptionState: FunctionDescriptionState;
|
|
6562
|
-
private isKeyStillDown;
|
|
6563
6588
|
private compositionActive;
|
|
6564
6589
|
get assistantStyle(): string;
|
|
6565
6590
|
shouldProcessInputEvents: boolean;
|
|
@@ -6571,18 +6596,17 @@ declare class Composer extends Component<ComposerProps, SpreadsheetChildEnv> {
|
|
|
6571
6596
|
private processArrowKeys;
|
|
6572
6597
|
private handleArrowKeysForAutocomplete;
|
|
6573
6598
|
private processTabKey;
|
|
6599
|
+
processSpaceKey(ev: KeyboardEvent): void;
|
|
6574
6600
|
private processEnterKey;
|
|
6575
6601
|
private processEscapeKey;
|
|
6576
6602
|
private processF4Key;
|
|
6577
6603
|
onCompositionStart(): void;
|
|
6578
6604
|
onCompositionEnd(): void;
|
|
6579
6605
|
onKeydown(ev: KeyboardEvent): void;
|
|
6580
|
-
onInput(): void;
|
|
6581
|
-
onKeyup(
|
|
6606
|
+
onInput(ev: InputEvent): void;
|
|
6607
|
+
onKeyup(): void;
|
|
6582
6608
|
showAutocomplete(searchTerm: string): void;
|
|
6583
|
-
onMousedown(ev: MouseEvent): void;
|
|
6584
6609
|
onClick(): void;
|
|
6585
|
-
onBlur(): void;
|
|
6586
6610
|
private processContent;
|
|
6587
6611
|
/**
|
|
6588
6612
|
* Get the HTML content corresponding to the current composer token, divided by lines.
|
|
@@ -7018,11 +7042,9 @@ interface Props {
|
|
|
7018
7042
|
declare class ChartPanel extends Component<Props, SpreadsheetChildEnv> {
|
|
7019
7043
|
static template: string;
|
|
7020
7044
|
private state;
|
|
7021
|
-
private shouldUpdateChart;
|
|
7022
7045
|
get figureId(): UID;
|
|
7023
|
-
get sheetId(): UID;
|
|
7024
7046
|
setup(): void;
|
|
7025
|
-
updateChart<T extends ChartDefinition>(updateDefinition: Partial<T>): DispatchResult | undefined;
|
|
7047
|
+
updateChart<T extends ChartDefinition>(figureId: UID, updateDefinition: Partial<T>): DispatchResult | undefined;
|
|
7026
7048
|
onTypeChange(type: ChartType): void;
|
|
7027
7049
|
get chartPanel(): ChartSidePanel;
|
|
7028
7050
|
private getChartDefinition;
|
|
@@ -7197,4 +7219,4 @@ declare const components: {
|
|
|
7197
7219
|
};
|
|
7198
7220
|
declare function addFunction(functionName: string, functionDescription: FunctionDescription): void;
|
|
7199
7221
|
|
|
7200
|
-
export { AbstractChart, CancelledReason, Client, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, CollaborationMessage, CommandResult, CorePlugin, DispatchResult, EvaluationError, Model, Registry, RemoteRevisionMessage, Revision, RevisionRedoneMessage, RevisionUndoneMessage, SPREADSHEET_DIMENSIONS, Spreadsheet, TransportService, UIPlugin, __info__, addFunction, astToFormula, compile, components, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, invalidateEvaluationCommands, links, load, parse, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, tokenize };
|
|
7222
|
+
export { AbstractChart, CancelledReason, Client, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, CollaborationMessage, CommandResult, CorePlugin, DispatchResult, EvaluationError, Model, Registry, RemoteRevisionMessage, Revision, RevisionRedoneMessage, RevisionUndoneMessage, SPREADSHEET_DIMENSIONS, Spreadsheet, TransportService, UIPlugin, __info__, addFunction, astToFormula, compile, components, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, invalidateCFEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, links, load, parse, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, tokenize };
|