@odoo/o-spreadsheet 17.3.0-alpha.2 → 17.3.0-alpha.4
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 +1267 -456
- package/dist/o-spreadsheet.d.ts +285 -215
- package/dist/o-spreadsheet.esm.js +1267 -456
- package/dist/o-spreadsheet.iife.js +1267 -456
- package/dist/o-spreadsheet.iife.min.js +404 -344
- package/dist/o_spreadsheet.xml +240 -92
- package/package.json +2 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -297,9 +297,14 @@ interface ScorecardChartDefinition {
|
|
|
297
297
|
readonly background?: Color;
|
|
298
298
|
readonly baselineColorUp: Color;
|
|
299
299
|
readonly baselineColorDown: Color;
|
|
300
|
+
readonly humanize?: boolean;
|
|
300
301
|
}
|
|
301
|
-
type BaselineMode = "text" | "difference" | "percentage";
|
|
302
|
+
type BaselineMode = "text" | "difference" | "percentage" | "progress";
|
|
302
303
|
type BaselineArrowDirection = "neutral" | "up" | "down";
|
|
304
|
+
interface ProgressBar {
|
|
305
|
+
readonly value: number;
|
|
306
|
+
readonly color: Color;
|
|
307
|
+
}
|
|
303
308
|
interface ScorecardChartRuntime {
|
|
304
309
|
readonly title: string;
|
|
305
310
|
readonly keyValue: string;
|
|
@@ -311,12 +316,39 @@ interface ScorecardChartRuntime {
|
|
|
311
316
|
readonly fontColor: Color;
|
|
312
317
|
readonly keyValueStyle?: Style;
|
|
313
318
|
readonly baselineStyle?: Style;
|
|
319
|
+
readonly progressBar?: ProgressBar;
|
|
314
320
|
}
|
|
315
321
|
|
|
316
|
-
|
|
322
|
+
interface WaterfallChartDefinition {
|
|
323
|
+
readonly type: "waterfall";
|
|
324
|
+
readonly dataSets: string[];
|
|
325
|
+
readonly dataSetsHaveTitle: boolean;
|
|
326
|
+
readonly labelRange?: string;
|
|
327
|
+
readonly title: string;
|
|
328
|
+
readonly background?: Color;
|
|
329
|
+
readonly verticalAxisPosition: VerticalAxisPosition;
|
|
330
|
+
readonly legendPosition: LegendPosition;
|
|
331
|
+
readonly aggregated?: boolean;
|
|
332
|
+
readonly showSubTotals: boolean;
|
|
333
|
+
readonly showConnectorLines: boolean;
|
|
334
|
+
readonly firstValueAsSubtotal?: boolean;
|
|
335
|
+
readonly positiveValuesColor?: Color;
|
|
336
|
+
readonly negativeValuesColor?: Color;
|
|
337
|
+
readonly subTotalValuesColor?: Color;
|
|
338
|
+
}
|
|
339
|
+
type WaterfallChartRuntime = {
|
|
340
|
+
chartJsConfig: ChartConfiguration;
|
|
341
|
+
background: Color;
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall"];
|
|
317
345
|
type ChartType = (typeof CHART_TYPES)[number];
|
|
318
|
-
type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition;
|
|
319
|
-
type
|
|
346
|
+
type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition;
|
|
347
|
+
type ChartWithAxisDefinition = Extract<ChartDefinition, {
|
|
348
|
+
dataSets: string[];
|
|
349
|
+
labelRange?: string;
|
|
350
|
+
}>;
|
|
351
|
+
type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime;
|
|
320
352
|
type ChartRuntime = ChartJSRuntime | ScorecardChartRuntime | GaugeChartRuntime;
|
|
321
353
|
interface LabelValues {
|
|
322
354
|
readonly values: string[];
|
|
@@ -336,7 +368,7 @@ interface ExcelChartDataset {
|
|
|
336
368
|
readonly label?: string;
|
|
337
369
|
readonly range: string;
|
|
338
370
|
}
|
|
339
|
-
type ExcelChartType = "line" | "bar" | "pie" | "combo";
|
|
371
|
+
type ExcelChartType = "line" | "bar" | "pie" | "combo" | "scatter";
|
|
340
372
|
interface ExcelChartDefinition {
|
|
341
373
|
readonly title?: string;
|
|
342
374
|
readonly type: ExcelChartType;
|
|
@@ -528,10 +560,11 @@ interface ZoneDependentCommand {
|
|
|
528
560
|
}
|
|
529
561
|
declare function isZoneDependent(cmd: CoreCommand): boolean;
|
|
530
562
|
declare function isPositionDependent(cmd: CoreCommand): boolean;
|
|
531
|
-
declare const invalidateEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS">;
|
|
532
|
-
declare const invalidateDependenciesCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS">;
|
|
533
|
-
declare const invalidateCFEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS">;
|
|
534
|
-
declare const
|
|
563
|
+
declare const invalidateEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS" | "RESIZE_TABLE">;
|
|
564
|
+
declare const invalidateDependenciesCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS" | "RESIZE_TABLE">;
|
|
565
|
+
declare const invalidateCFEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS" | "RESIZE_TABLE">;
|
|
566
|
+
declare const invalidateBordersCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS" | "RESIZE_TABLE">;
|
|
567
|
+
declare const readonlyAllowedCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS" | "RESIZE_TABLE">;
|
|
535
568
|
declare const coreTypes: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE">;
|
|
536
569
|
declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
|
|
537
570
|
declare function canExecuteInReadonly(cmd: Command): boolean;
|
|
@@ -719,8 +752,19 @@ interface UpdateTableCommand {
|
|
|
719
752
|
tableType?: CoreTableType;
|
|
720
753
|
config?: Partial<TableConfig>;
|
|
721
754
|
}
|
|
755
|
+
interface ResizeTableCommand {
|
|
756
|
+
type: "RESIZE_TABLE";
|
|
757
|
+
zone: Zone;
|
|
758
|
+
sheetId: UID;
|
|
759
|
+
newTableRange: RangeData;
|
|
760
|
+
tableType?: CoreTableType;
|
|
761
|
+
}
|
|
722
762
|
interface AutofillTableCommand extends PositionDependentCommand {
|
|
723
763
|
type: "AUTOFILL_TABLE_COLUMN";
|
|
764
|
+
/** The row to start the autofill in. If undefined, it will autofill from the top of the table column */
|
|
765
|
+
autofillRowStart?: number;
|
|
766
|
+
/** The row to end the autofill in. If undefined, it will autofill to the bottom of the table column */
|
|
767
|
+
autofillRowEnd?: number;
|
|
724
768
|
}
|
|
725
769
|
interface UpdateFilterCommand extends PositionDependentCommand {
|
|
726
770
|
type: "UPDATE_FILTER";
|
|
@@ -1028,7 +1072,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | DeleteContent
|
|
|
1028
1072
|
| AddDataValidationCommand | RemoveDataValidationCommand
|
|
1029
1073
|
/** MISC */
|
|
1030
1074
|
| UpdateLocaleCommand;
|
|
1031
|
-
type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | ActivatePaintFormatCommand | CancelPaintFormatCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | StartChangeHighlightCommand | StartCommand | AutofillCommand | AutofillSelectCommand | AutofillTableCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | ReplaceSearchCommand | SortCommand | SetDecimalCommand | ResizeViewportCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | MoveViewportToCellCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand | RemoveDuplicatesCommand | TrimWhitespaceCommand | RenderCanvasCommand;
|
|
1075
|
+
type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | ActivatePaintFormatCommand | CancelPaintFormatCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | StartChangeHighlightCommand | StartCommand | AutofillCommand | AutofillSelectCommand | AutofillTableCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | ReplaceSearchCommand | SortCommand | SetDecimalCommand | ResizeViewportCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | MoveViewportToCellCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand | RemoveDuplicatesCommand | TrimWhitespaceCommand | RenderCanvasCommand | ResizeTableCommand;
|
|
1032
1076
|
type Command = CoreCommand | LocalCommand;
|
|
1033
1077
|
/**
|
|
1034
1078
|
* Holds the result of a command dispatch.
|
|
@@ -1163,7 +1207,8 @@ declare const enum CommandResult {
|
|
|
1163
1207
|
InvalidCopyPasteSelection = "InvalidCopyPasteSelection",
|
|
1164
1208
|
NoChanges = "NoChanges",
|
|
1165
1209
|
InvalidInputId = "InvalidInputId",
|
|
1166
|
-
SheetIsHidden = "SheetIsHidden"
|
|
1210
|
+
SheetIsHidden = "SheetIsHidden",
|
|
1211
|
+
InvalidTableResize = "InvalidTableResize"
|
|
1167
1212
|
}
|
|
1168
1213
|
interface CommandHandler<T> {
|
|
1169
1214
|
allowDispatch(command: T): CommandResult | CommandResult[];
|
|
@@ -1178,9 +1223,6 @@ interface CommandDispatcher {
|
|
|
1178
1223
|
dispatch<T extends CommandTypes, C extends Extract<Command, {
|
|
1179
1224
|
type: T;
|
|
1180
1225
|
}>>(type: T, r: Omit<C, "type">): DispatchResult;
|
|
1181
|
-
canDispatch<T extends CommandTypes, C extends Extract<Command, {
|
|
1182
|
-
type: T;
|
|
1183
|
-
}>>(type: T, r: Omit<C, "type">): DispatchResult;
|
|
1184
1226
|
}
|
|
1185
1227
|
interface CoreCommandDispatcher {
|
|
1186
1228
|
dispatch<T extends CoreCommandTypes, C extends Extract<CoreCommand, {
|
|
@@ -1189,9 +1231,6 @@ interface CoreCommandDispatcher {
|
|
|
1189
1231
|
dispatch<T extends CoreCommandTypes, C extends Extract<CoreCommand, {
|
|
1190
1232
|
type: T;
|
|
1191
1233
|
}>>(type: T, r: Omit<C, "type">): DispatchResult;
|
|
1192
|
-
canDispatch<T extends CoreCommandTypes, C extends Extract<CoreCommand, {
|
|
1193
|
-
type: T;
|
|
1194
|
-
}>>(type: T, r: Omit<C, "type">): DispatchResult;
|
|
1195
1234
|
}
|
|
1196
1235
|
type CommandTypes = Command["type"];
|
|
1197
1236
|
type CoreCommandTypes = CoreCommand["type"];
|
|
@@ -1563,6 +1602,11 @@ type DebouncedFunction<T> = T & {
|
|
|
1563
1602
|
stopDebounce: () => void;
|
|
1564
1603
|
isDebouncePending: () => boolean;
|
|
1565
1604
|
};
|
|
1605
|
+
interface GridClickModifiers {
|
|
1606
|
+
addZone: boolean;
|
|
1607
|
+
expandZone: boolean;
|
|
1608
|
+
closePopover: boolean;
|
|
1609
|
+
}
|
|
1566
1610
|
|
|
1567
1611
|
type LocaleCode = string & Alias;
|
|
1568
1612
|
interface Locale {
|
|
@@ -2102,7 +2146,8 @@ declare class BasePlugin<State = any, C = any> implements CommandHandler<C>, Val
|
|
|
2102
2146
|
static getters: readonly string[];
|
|
2103
2147
|
protected history: WorkbookHistory<State>;
|
|
2104
2148
|
protected dispatch: CommandDispatcher["dispatch"];
|
|
2105
|
-
|
|
2149
|
+
protected canDispatch: CommandDispatcher["dispatch"];
|
|
2150
|
+
constructor(stateObserver: StateObserver, dispatch: CommandDispatcher["dispatch"], canDispatch: CommandDispatcher["dispatch"]);
|
|
2106
2151
|
/**
|
|
2107
2152
|
* Export for excel should be available for all plugins, even for the UI.
|
|
2108
2153
|
* In some case, we need to export evaluated value, which is available from
|
|
@@ -2214,6 +2259,7 @@ interface CorePluginConfig {
|
|
|
2214
2259
|
readonly stateObserver: StateObserver;
|
|
2215
2260
|
readonly range: RangeAdapter;
|
|
2216
2261
|
readonly dispatch: CoreCommandDispatcher["dispatch"];
|
|
2262
|
+
readonly canDispatch: CoreCommandDispatcher["dispatch"];
|
|
2217
2263
|
readonly uuidGenerator: UuidGenerator;
|
|
2218
2264
|
readonly custom: ModelConfig["custom"];
|
|
2219
2265
|
readonly external: ModelConfig["external"];
|
|
@@ -2231,7 +2277,7 @@ interface CorePluginConstructor {
|
|
|
2231
2277
|
declare class CorePlugin<State = any> extends BasePlugin<State, CoreCommand> implements RangeProvider {
|
|
2232
2278
|
protected getters: CoreGetters;
|
|
2233
2279
|
protected uuidGenerator: UuidGenerator;
|
|
2234
|
-
constructor({ getters, stateObserver, range, dispatch, uuidGenerator }: CorePluginConfig);
|
|
2280
|
+
constructor({ getters, stateObserver, range, dispatch, canDispatch, uuidGenerator, }: CorePluginConfig);
|
|
2235
2281
|
import(data: WorkbookData): void;
|
|
2236
2282
|
export(data: WorkbookData): void;
|
|
2237
2283
|
/**
|
|
@@ -2667,10 +2713,10 @@ declare class FigurePlugin extends CorePlugin<FigureState> implements FigureStat
|
|
|
2667
2713
|
exportForExcel(data: ExcelWorkbookData): void;
|
|
2668
2714
|
}
|
|
2669
2715
|
|
|
2670
|
-
interface State$
|
|
2716
|
+
interface State$8 {
|
|
2671
2717
|
groups: Record<UID, Record<Dimension, HeaderGroup[]>>;
|
|
2672
2718
|
}
|
|
2673
|
-
declare class HeaderGroupingPlugin extends CorePlugin<State$
|
|
2719
|
+
declare class HeaderGroupingPlugin extends CorePlugin<State$8> {
|
|
2674
2720
|
static getters: readonly ["getHeaderGroups", "getGroupsLayers", "getVisibleGroupLayers", "getHeaderGroup", "getHeaderGroupsInZone", "isGroupFolded", "isRowFolded", "isColFolded"];
|
|
2675
2721
|
private readonly groups;
|
|
2676
2722
|
allowDispatch(cmd: CoreCommand): CommandResult;
|
|
@@ -3054,7 +3100,7 @@ interface TableState {
|
|
|
3054
3100
|
tables: Record<UID, Record<TableId, CoreTable | undefined>>;
|
|
3055
3101
|
}
|
|
3056
3102
|
declare class TablePlugin extends CorePlugin<TableState> implements TableState {
|
|
3057
|
-
static getters: readonly ["getCoreTable", "getCoreTables"];
|
|
3103
|
+
static getters: readonly ["getCoreTable", "getCoreTables", "getCoreTableMatchingTopLeft"];
|
|
3058
3104
|
readonly tables: Record<UID, Record<TableId, CoreTable | undefined>>;
|
|
3059
3105
|
adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
|
|
3060
3106
|
allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
|
|
@@ -3078,7 +3124,7 @@ declare class TablePlugin extends CorePlugin<TableState> implements TableState {
|
|
|
3078
3124
|
*
|
|
3079
3125
|
*/
|
|
3080
3126
|
private canUpdateCellCmdExtendTable;
|
|
3081
|
-
|
|
3127
|
+
getCoreTableMatchingTopLeft(sheetId: UID, zone: Zone): CoreTable | undefined;
|
|
3082
3128
|
private checkUpdatedTableZoneIsValid;
|
|
3083
3129
|
private checkTableConfigUpdateIsValid;
|
|
3084
3130
|
private createStaticTable;
|
|
@@ -3545,6 +3591,7 @@ interface UIPluginConfig {
|
|
|
3545
3591
|
readonly getters: Getters;
|
|
3546
3592
|
readonly stateObserver: StateObserver;
|
|
3547
3593
|
readonly dispatch: CommandDispatcher["dispatch"];
|
|
3594
|
+
readonly canDispatch: CommandDispatcher["dispatch"];
|
|
3548
3595
|
readonly selection: SelectionStreamProcessor;
|
|
3549
3596
|
readonly moveClient: (position: ClientPosition) => void;
|
|
3550
3597
|
readonly uiActions: UIActions;
|
|
@@ -3567,7 +3614,7 @@ declare class UIPlugin<State = any> extends BasePlugin<State, Command> {
|
|
|
3567
3614
|
protected getters: Getters;
|
|
3568
3615
|
protected ui: UIActions;
|
|
3569
3616
|
protected selection: SelectionStreamProcessor;
|
|
3570
|
-
constructor({ getters, stateObserver, dispatch, uiActions, selection }: UIPluginConfig);
|
|
3617
|
+
constructor({ getters, stateObserver, dispatch, canDispatch, uiActions, selection, }: UIPluginConfig);
|
|
3571
3618
|
drawLayer(ctx: GridRenderingContext, layer: LayerName): void;
|
|
3572
3619
|
}
|
|
3573
3620
|
|
|
@@ -4345,8 +4392,8 @@ declare class InternalViewport {
|
|
|
4345
4392
|
canScrollHorizontally: boolean;
|
|
4346
4393
|
viewportWidth: Pixel;
|
|
4347
4394
|
viewportHeight: Pixel;
|
|
4348
|
-
|
|
4349
|
-
|
|
4395
|
+
offsetCorrectionX: Pixel;
|
|
4396
|
+
offsetCorrectionY: Pixel;
|
|
4350
4397
|
constructor(getters: Getters, sheetId: UID, boundaries: Zone, sizeInGrid: DOMDimension, options: {
|
|
4351
4398
|
canScrollVertically: boolean;
|
|
4352
4399
|
canScrollHorizontally: boolean;
|
|
@@ -4551,11 +4598,6 @@ declare class SheetViewPlugin extends UIPlugin {
|
|
|
4551
4598
|
private resizeSheetView;
|
|
4552
4599
|
private recomputeViewports;
|
|
4553
4600
|
private setSheetViewOffset;
|
|
4554
|
-
/**
|
|
4555
|
-
* Clip the vertical offset within the allowed range.
|
|
4556
|
-
* Not above the sheet, nor below the sheet.
|
|
4557
|
-
*/
|
|
4558
|
-
private clipOffsetY;
|
|
4559
4601
|
private getViewportOffset;
|
|
4560
4602
|
private resetViewports;
|
|
4561
4603
|
/**
|
|
@@ -5240,7 +5282,7 @@ declare class Model extends EventBus<any> implements CommandDispatcher {
|
|
|
5240
5282
|
* Check if a command can be dispatched, and returns a DispatchResult object with the possible
|
|
5241
5283
|
* reasons the dispatch failed.
|
|
5242
5284
|
*/
|
|
5243
|
-
canDispatch: CommandDispatcher["
|
|
5285
|
+
canDispatch: CommandDispatcher["dispatch"];
|
|
5244
5286
|
/**
|
|
5245
5287
|
* The dispatch method is the only entry point to manipulate data in the model.
|
|
5246
5288
|
* This is through this method that commands are dispatched most of the time
|
|
@@ -5588,7 +5630,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
5588
5630
|
getIndex(rangeId: number | null): number | null;
|
|
5589
5631
|
}
|
|
5590
5632
|
|
|
5591
|
-
interface Props$
|
|
5633
|
+
interface Props$R {
|
|
5592
5634
|
ranges: string[];
|
|
5593
5635
|
hasSingleRange?: boolean;
|
|
5594
5636
|
required?: boolean;
|
|
@@ -5610,7 +5652,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
5610
5652
|
* onSelectionChanged is called every time the input value
|
|
5611
5653
|
* changes.
|
|
5612
5654
|
*/
|
|
5613
|
-
declare class SelectionInput extends Component<Props$
|
|
5655
|
+
declare class SelectionInput extends Component<Props$R, SpreadsheetChildEnv> {
|
|
5614
5656
|
static template: string;
|
|
5615
5657
|
static props: {
|
|
5616
5658
|
ranges: ArrayConstructor;
|
|
@@ -5660,11 +5702,11 @@ declare class SelectionInput extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
|
5660
5702
|
confirm(): void;
|
|
5661
5703
|
}
|
|
5662
5704
|
|
|
5663
|
-
interface Props$
|
|
5705
|
+
interface Props$Q {
|
|
5664
5706
|
messages: string[];
|
|
5665
5707
|
msgType: "warning" | "error";
|
|
5666
5708
|
}
|
|
5667
|
-
declare class ValidationMessages extends Component<Props$
|
|
5709
|
+
declare class ValidationMessages extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
5668
5710
|
static template: string;
|
|
5669
5711
|
static props: {
|
|
5670
5712
|
messages: ArrayConstructor;
|
|
@@ -5673,7 +5715,7 @@ declare class ValidationMessages extends Component<Props$P, SpreadsheetChildEnv>
|
|
|
5673
5715
|
get divClasses(): "o-validation-warning text-warning" | "o-validation-error text-danger";
|
|
5674
5716
|
}
|
|
5675
5717
|
|
|
5676
|
-
interface Props$
|
|
5718
|
+
interface Props$P {
|
|
5677
5719
|
label?: string;
|
|
5678
5720
|
value: boolean;
|
|
5679
5721
|
className?: string;
|
|
@@ -5682,7 +5724,7 @@ interface Props$O {
|
|
|
5682
5724
|
disabled?: boolean;
|
|
5683
5725
|
onChange: (value: boolean) => void;
|
|
5684
5726
|
}
|
|
5685
|
-
declare class Checkbox extends Component<Props$
|
|
5727
|
+
declare class Checkbox extends Component<Props$P, SpreadsheetChildEnv> {
|
|
5686
5728
|
static template: string;
|
|
5687
5729
|
static props: {
|
|
5688
5730
|
label: {
|
|
@@ -5717,10 +5759,10 @@ declare class Checkbox extends Component<Props$O, SpreadsheetChildEnv> {
|
|
|
5717
5759
|
onChange(ev: InputEvent): void;
|
|
5718
5760
|
}
|
|
5719
5761
|
|
|
5720
|
-
interface Props$
|
|
5762
|
+
interface Props$O {
|
|
5721
5763
|
class?: string;
|
|
5722
5764
|
}
|
|
5723
|
-
declare class Section extends Component<Props$
|
|
5765
|
+
declare class Section extends Component<Props$O, SpreadsheetChildEnv> {
|
|
5724
5766
|
static template: string;
|
|
5725
5767
|
static props: {
|
|
5726
5768
|
class: {
|
|
@@ -5731,13 +5773,13 @@ declare class Section extends Component<Props$N, SpreadsheetChildEnv> {
|
|
|
5731
5773
|
};
|
|
5732
5774
|
}
|
|
5733
5775
|
|
|
5734
|
-
interface Props$
|
|
5776
|
+
interface Props$N {
|
|
5735
5777
|
ranges: string[];
|
|
5736
5778
|
hasSingleRange?: boolean;
|
|
5737
5779
|
onSelectionChanged: (ranges: string[]) => void;
|
|
5738
5780
|
onSelectionConfirmed: () => void;
|
|
5739
5781
|
}
|
|
5740
|
-
declare class ChartDataSeries extends Component<Props$
|
|
5782
|
+
declare class ChartDataSeries extends Component<Props$N, SpreadsheetChildEnv> {
|
|
5741
5783
|
static template: string;
|
|
5742
5784
|
static components: {
|
|
5743
5785
|
SelectionInput: typeof SelectionInput;
|
|
@@ -5755,10 +5797,10 @@ declare class ChartDataSeries extends Component<Props$M, SpreadsheetChildEnv> {
|
|
|
5755
5797
|
get title(): string;
|
|
5756
5798
|
}
|
|
5757
5799
|
|
|
5758
|
-
interface Props$
|
|
5800
|
+
interface Props$M {
|
|
5759
5801
|
messages: string[];
|
|
5760
5802
|
}
|
|
5761
|
-
declare class ChartErrorSection extends Component<Props$
|
|
5803
|
+
declare class ChartErrorSection extends Component<Props$M, SpreadsheetChildEnv> {
|
|
5762
5804
|
static template: string;
|
|
5763
5805
|
static components: {
|
|
5764
5806
|
Section: typeof Section;
|
|
@@ -5772,7 +5814,7 @@ declare class ChartErrorSection extends Component<Props$L, SpreadsheetChildEnv>
|
|
|
5772
5814
|
};
|
|
5773
5815
|
}
|
|
5774
5816
|
|
|
5775
|
-
interface Props$
|
|
5817
|
+
interface Props$L {
|
|
5776
5818
|
title?: string;
|
|
5777
5819
|
range: string;
|
|
5778
5820
|
isInvalid: boolean;
|
|
@@ -5786,7 +5828,7 @@ interface Props$K {
|
|
|
5786
5828
|
onChange: (value: boolean) => void;
|
|
5787
5829
|
}>;
|
|
5788
5830
|
}
|
|
5789
|
-
declare class ChartLabelRange extends Component<Props$
|
|
5831
|
+
declare class ChartLabelRange extends Component<Props$L, SpreadsheetChildEnv> {
|
|
5790
5832
|
static template: string;
|
|
5791
5833
|
static components: {
|
|
5792
5834
|
SelectionInput: typeof SelectionInput;
|
|
@@ -5811,16 +5853,16 @@ declare class ChartLabelRange extends Component<Props$K, SpreadsheetChildEnv> {
|
|
|
5811
5853
|
optional: boolean;
|
|
5812
5854
|
};
|
|
5813
5855
|
};
|
|
5814
|
-
static defaultProps: Partial<Props$
|
|
5856
|
+
static defaultProps: Partial<Props$L>;
|
|
5815
5857
|
}
|
|
5816
5858
|
|
|
5817
|
-
interface Props$
|
|
5859
|
+
interface Props$K {
|
|
5818
5860
|
figureId: UID;
|
|
5819
|
-
definition:
|
|
5820
|
-
canUpdateChart: (figureId: UID, definition: Partial<
|
|
5821
|
-
updateChart: (figureId: UID, definition: Partial<
|
|
5861
|
+
definition: ChartWithAxisDefinition;
|
|
5862
|
+
canUpdateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
5863
|
+
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
5822
5864
|
}
|
|
5823
|
-
declare class
|
|
5865
|
+
declare class GenericChartConfigPanel extends Component<Props$K, SpreadsheetChildEnv> {
|
|
5824
5866
|
static template: string;
|
|
5825
5867
|
static components: {
|
|
5826
5868
|
SelectionInput: typeof SelectionInput;
|
|
@@ -5870,7 +5912,7 @@ declare class LineBarPieConfigPanel extends Component<Props$J, SpreadsheetChildE
|
|
|
5870
5912
|
calculateHeaderPosition(): number | undefined;
|
|
5871
5913
|
}
|
|
5872
5914
|
|
|
5873
|
-
declare class BarConfigPanel extends
|
|
5915
|
+
declare class BarConfigPanel extends GenericChartConfigPanel {
|
|
5874
5916
|
static template: string;
|
|
5875
5917
|
get stackedLabel(): string;
|
|
5876
5918
|
onUpdateStacked(stacked: boolean): void;
|
|
@@ -6020,7 +6062,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
6020
6062
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
6021
6063
|
}
|
|
6022
6064
|
|
|
6023
|
-
interface Props$
|
|
6065
|
+
interface Props$J {
|
|
6024
6066
|
currentColor: string | undefined;
|
|
6025
6067
|
toggleColorPicker: () => void;
|
|
6026
6068
|
showColorPicker: boolean;
|
|
@@ -6031,7 +6073,7 @@ interface Props$I {
|
|
|
6031
6073
|
dropdownMaxHeight?: Pixel;
|
|
6032
6074
|
class?: string;
|
|
6033
6075
|
}
|
|
6034
|
-
declare class ColorPickerWidget extends Component<Props$
|
|
6076
|
+
declare class ColorPickerWidget extends Component<Props$J, SpreadsheetChildEnv> {
|
|
6035
6077
|
static template: string;
|
|
6036
6078
|
static props: {
|
|
6037
6079
|
currentColor: {
|
|
@@ -6069,34 +6111,46 @@ declare class ColorPickerWidget extends Component<Props$I, SpreadsheetChildEnv>
|
|
|
6069
6111
|
get colorPickerAnchorRect(): Rect;
|
|
6070
6112
|
}
|
|
6071
6113
|
|
|
6072
|
-
interface Props$
|
|
6114
|
+
interface Props$I {
|
|
6073
6115
|
currentColor?: string;
|
|
6074
6116
|
onColorPicked: (color: string) => void;
|
|
6117
|
+
title?: string;
|
|
6075
6118
|
}
|
|
6076
|
-
declare class
|
|
6119
|
+
declare class RoundColorPicker extends Component<Props$I, SpreadsheetChildEnv> {
|
|
6077
6120
|
static template: string;
|
|
6078
6121
|
static components: {
|
|
6079
6122
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
6080
6123
|
Section: typeof Section;
|
|
6124
|
+
ColorPicker: typeof ColorPicker;
|
|
6081
6125
|
};
|
|
6082
6126
|
static props: {
|
|
6083
6127
|
currentColor: {
|
|
6084
6128
|
type: StringConstructor;
|
|
6085
6129
|
optional: boolean;
|
|
6086
6130
|
};
|
|
6131
|
+
title: {
|
|
6132
|
+
type: StringConstructor;
|
|
6133
|
+
optional: boolean;
|
|
6134
|
+
};
|
|
6087
6135
|
onColorPicked: FunctionConstructor;
|
|
6088
6136
|
};
|
|
6137
|
+
colorPickerButtonRef: {
|
|
6138
|
+
el: HTMLElement | null;
|
|
6139
|
+
};
|
|
6089
6140
|
private state;
|
|
6090
6141
|
setup(): void;
|
|
6091
6142
|
closePicker(): void;
|
|
6092
6143
|
togglePicker(): void;
|
|
6144
|
+
onColorPicked(color: string): void;
|
|
6145
|
+
get colorPickerAnchorRect(): Rect;
|
|
6146
|
+
get buttonStyle(): string;
|
|
6093
6147
|
}
|
|
6094
6148
|
|
|
6095
|
-
interface Props$
|
|
6149
|
+
interface Props$H {
|
|
6096
6150
|
title: string;
|
|
6097
6151
|
update: (title: string) => void;
|
|
6098
6152
|
}
|
|
6099
|
-
declare class ChartTitle extends Component<Props$
|
|
6153
|
+
declare class ChartTitle extends Component<Props$H, SpreadsheetChildEnv> {
|
|
6100
6154
|
static template: string;
|
|
6101
6155
|
static components: {
|
|
6102
6156
|
Section: typeof Section;
|
|
@@ -6108,16 +6162,16 @@ declare class ChartTitle extends Component<Props$G, SpreadsheetChildEnv> {
|
|
|
6108
6162
|
updateTitle(ev: InputEvent): void;
|
|
6109
6163
|
}
|
|
6110
6164
|
|
|
6111
|
-
interface Props$
|
|
6165
|
+
interface Props$G {
|
|
6112
6166
|
figureId: UID;
|
|
6113
|
-
definition:
|
|
6114
|
-
canUpdateChart: (definition: Partial<
|
|
6115
|
-
updateChart: (figureId: UID, definition: Partial<
|
|
6167
|
+
definition: ChartWithAxisDefinition;
|
|
6168
|
+
canUpdateChart: (definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
6169
|
+
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
6116
6170
|
}
|
|
6117
|
-
declare class
|
|
6171
|
+
declare class GenericChartDesignPanel extends Component<Props$G, SpreadsheetChildEnv> {
|
|
6118
6172
|
static template: string;
|
|
6119
6173
|
static components: {
|
|
6120
|
-
|
|
6174
|
+
RoundColorPicker: typeof RoundColorPicker;
|
|
6121
6175
|
ChartTitle: typeof ChartTitle;
|
|
6122
6176
|
Section: typeof Section;
|
|
6123
6177
|
};
|
|
@@ -6131,15 +6185,16 @@ declare class LineBarPieDesignPanel extends Component<Props$F, SpreadsheetChildE
|
|
|
6131
6185
|
updateBackgroundColor(color: Color): void;
|
|
6132
6186
|
updateTitle(title: string): void;
|
|
6133
6187
|
updateSelect(attr: string, ev: any): void;
|
|
6188
|
+
get backgroundColorTitle(): string;
|
|
6134
6189
|
}
|
|
6135
6190
|
|
|
6136
|
-
interface Props$
|
|
6191
|
+
interface Props$F {
|
|
6137
6192
|
figureId: UID;
|
|
6138
6193
|
definition: GaugeChartDefinition;
|
|
6139
6194
|
canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
6140
6195
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
6141
6196
|
}
|
|
6142
|
-
declare class GaugeChartConfigPanel extends Component<Props$
|
|
6197
|
+
declare class GaugeChartConfigPanel extends Component<Props$F, SpreadsheetChildEnv> {
|
|
6143
6198
|
static template: string;
|
|
6144
6199
|
static components: {
|
|
6145
6200
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -6160,19 +6215,17 @@ declare class GaugeChartConfigPanel extends Component<Props$E, SpreadsheetChildE
|
|
|
6160
6215
|
getDataRange(): string;
|
|
6161
6216
|
}
|
|
6162
6217
|
|
|
6163
|
-
|
|
6164
|
-
interface Props$D {
|
|
6218
|
+
interface Props$E {
|
|
6165
6219
|
figureId: UID;
|
|
6166
6220
|
definition: GaugeChartDefinition;
|
|
6167
6221
|
canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
6168
6222
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
6169
6223
|
}
|
|
6170
|
-
declare class GaugeChartDesignPanel extends Component<Props$
|
|
6224
|
+
declare class GaugeChartDesignPanel extends Component<Props$E, SpreadsheetChildEnv> {
|
|
6171
6225
|
static template: string;
|
|
6172
6226
|
static components: {
|
|
6173
|
-
ColorPickerWidget: typeof ColorPickerWidget;
|
|
6174
6227
|
ChartErrorSection: typeof ChartErrorSection;
|
|
6175
|
-
|
|
6228
|
+
RoundColorPicker: typeof RoundColorPicker;
|
|
6176
6229
|
ChartTitle: typeof ChartTitle;
|
|
6177
6230
|
Section: typeof Section;
|
|
6178
6231
|
};
|
|
@@ -6183,7 +6236,6 @@ declare class GaugeChartDesignPanel extends Component<Props$D, SpreadsheetChildE
|
|
|
6183
6236
|
canUpdateChart: FunctionConstructor;
|
|
6184
6237
|
};
|
|
6185
6238
|
private state;
|
|
6186
|
-
setup(): void;
|
|
6187
6239
|
get title(): string;
|
|
6188
6240
|
get designErrorMessages(): string[];
|
|
6189
6241
|
updateBackgroundColor(color: Color): void;
|
|
@@ -6193,13 +6245,12 @@ declare class GaugeChartDesignPanel extends Component<Props$D, SpreadsheetChildE
|
|
|
6193
6245
|
get isLowerInflectionPointInvalid(): boolean;
|
|
6194
6246
|
get isUpperInflectionPointInvalid(): boolean;
|
|
6195
6247
|
updateSectionColor(target: string, color: Color): void;
|
|
6196
|
-
toggleMenu(menu: GaugeMenu): void;
|
|
6197
6248
|
updateSectionRule(sectionRule: SectionRule): void;
|
|
6198
6249
|
canUpdateSectionRule(sectionRule: SectionRule): void;
|
|
6199
|
-
|
|
6250
|
+
get backgroundColorTitle(): string;
|
|
6200
6251
|
}
|
|
6201
6252
|
|
|
6202
|
-
declare class LineConfigPanel extends
|
|
6253
|
+
declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
6203
6254
|
static template: string;
|
|
6204
6255
|
get canTreatLabelsAsText(): boolean;
|
|
6205
6256
|
get stackedLabel(): string;
|
|
@@ -6216,13 +6267,13 @@ declare class LineConfigPanel extends LineBarPieConfigPanel {
|
|
|
6216
6267
|
onUpdateCumulative(cumulative: boolean): void;
|
|
6217
6268
|
}
|
|
6218
6269
|
|
|
6219
|
-
interface Props$
|
|
6270
|
+
interface Props$D {
|
|
6220
6271
|
figureId: UID;
|
|
6221
6272
|
definition: ScorecardChartDefinition;
|
|
6222
6273
|
canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
6223
6274
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
6224
6275
|
}
|
|
6225
|
-
declare class ScorecardChartConfigPanel extends Component<Props$
|
|
6276
|
+
declare class ScorecardChartConfigPanel extends Component<Props$D, SpreadsheetChildEnv> {
|
|
6226
6277
|
static template: string;
|
|
6227
6278
|
static components: {
|
|
6228
6279
|
SelectionInput: typeof SelectionInput;
|
|
@@ -6251,19 +6302,19 @@ declare class ScorecardChartConfigPanel extends Component<Props$C, SpreadsheetCh
|
|
|
6251
6302
|
}
|
|
6252
6303
|
|
|
6253
6304
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
6254
|
-
interface Props$
|
|
6305
|
+
interface Props$C {
|
|
6255
6306
|
figureId: UID;
|
|
6256
6307
|
definition: ScorecardChartDefinition;
|
|
6257
6308
|
canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
6258
6309
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
6259
6310
|
}
|
|
6260
|
-
declare class ScorecardChartDesignPanel extends Component<Props$
|
|
6311
|
+
declare class ScorecardChartDesignPanel extends Component<Props$C, SpreadsheetChildEnv> {
|
|
6261
6312
|
static template: string;
|
|
6262
6313
|
static components: {
|
|
6263
|
-
|
|
6264
|
-
ChartColor: typeof ChartColor;
|
|
6314
|
+
RoundColorPicker: typeof RoundColorPicker;
|
|
6265
6315
|
ChartTitle: typeof ChartTitle;
|
|
6266
6316
|
Section: typeof Section;
|
|
6317
|
+
Checkbox: typeof Checkbox;
|
|
6267
6318
|
};
|
|
6268
6319
|
static props: {
|
|
6269
6320
|
figureId: StringConstructor;
|
|
@@ -6271,15 +6322,15 @@ declare class ScorecardChartDesignPanel extends Component<Props$B, SpreadsheetCh
|
|
|
6271
6322
|
updateChart: FunctionConstructor;
|
|
6272
6323
|
canUpdateChart: FunctionConstructor;
|
|
6273
6324
|
};
|
|
6274
|
-
private state;
|
|
6275
|
-
setup(): void;
|
|
6276
6325
|
get title(): string;
|
|
6326
|
+
get colorsSectionTitle(): string;
|
|
6327
|
+
get humanizeNumbersLabel(): string;
|
|
6277
6328
|
updateTitle(title: string): void;
|
|
6329
|
+
updateHumanizeNumbers(humanize: boolean): void;
|
|
6278
6330
|
translate(term: any): string;
|
|
6279
6331
|
updateBaselineDescr(ev: any): void;
|
|
6280
|
-
toggleColorPicker(colorPickerId: ColorPickerId): void;
|
|
6281
6332
|
setColor(color: Color, colorPickerId: ColorPickerId): void;
|
|
6282
|
-
|
|
6333
|
+
get backgroundColorTitle(): string;
|
|
6283
6334
|
}
|
|
6284
6335
|
|
|
6285
6336
|
interface ChartSidePanel {
|
|
@@ -6489,13 +6540,13 @@ interface EnrichedToken extends Token {
|
|
|
6489
6540
|
functionContext?: FunctionContext;
|
|
6490
6541
|
}
|
|
6491
6542
|
|
|
6492
|
-
interface Props$
|
|
6543
|
+
interface Props$B {
|
|
6493
6544
|
proposals: AutoCompleteProposal[];
|
|
6494
6545
|
selectedIndex: number | undefined;
|
|
6495
6546
|
onValueSelected: (value: string) => void;
|
|
6496
6547
|
onValueHovered: (index: string) => void;
|
|
6497
6548
|
}
|
|
6498
|
-
declare class TextValueProvider extends Component<Props$
|
|
6549
|
+
declare class TextValueProvider extends Component<Props$B> {
|
|
6499
6550
|
static template: string;
|
|
6500
6551
|
static props: {
|
|
6501
6552
|
proposals: ArrayConstructor;
|
|
@@ -6696,7 +6747,7 @@ declare class ContentEditableHelper {
|
|
|
6696
6747
|
getText(): string;
|
|
6697
6748
|
}
|
|
6698
6749
|
|
|
6699
|
-
interface Props$
|
|
6750
|
+
interface Props$A {
|
|
6700
6751
|
functionName: string;
|
|
6701
6752
|
functionDescription: FunctionDescription;
|
|
6702
6753
|
argToFocus: number;
|
|
@@ -6704,7 +6755,7 @@ interface Props$z {
|
|
|
6704
6755
|
interface AssistantState {
|
|
6705
6756
|
allowCellSelectionBehind: boolean;
|
|
6706
6757
|
}
|
|
6707
|
-
declare class FunctionDescriptionProvider extends Component<Props$
|
|
6758
|
+
declare class FunctionDescriptionProvider extends Component<Props$A, SpreadsheetChildEnv> {
|
|
6708
6759
|
static template: string;
|
|
6709
6760
|
static props: {
|
|
6710
6761
|
functionName: StringConstructor;
|
|
@@ -6714,7 +6765,7 @@ declare class FunctionDescriptionProvider extends Component<Props$z, Spreadsheet
|
|
|
6714
6765
|
assistantState: AssistantState;
|
|
6715
6766
|
private timeOutId;
|
|
6716
6767
|
setup(): void;
|
|
6717
|
-
getContext(): Props$
|
|
6768
|
+
getContext(): Props$A;
|
|
6718
6769
|
onMouseMove(): void;
|
|
6719
6770
|
get formulaArgSeparator(): string;
|
|
6720
6771
|
}
|
|
@@ -6742,6 +6793,7 @@ interface ComposerProps {
|
|
|
6742
6793
|
delimitation?: DOMDimension;
|
|
6743
6794
|
onComposerContentFocused: () => void;
|
|
6744
6795
|
onComposerCellFocused?: (content: String) => void;
|
|
6796
|
+
onInputContextMenu?: (event: MouseEvent) => void;
|
|
6745
6797
|
isDefaultFocus?: boolean;
|
|
6746
6798
|
}
|
|
6747
6799
|
interface ComposerState {
|
|
@@ -6785,6 +6837,10 @@ declare class Composer extends Component<ComposerProps, SpreadsheetChildEnv> {
|
|
|
6785
6837
|
type: BooleanConstructor;
|
|
6786
6838
|
optional: boolean;
|
|
6787
6839
|
};
|
|
6840
|
+
onInputContextMenu: {
|
|
6841
|
+
type: FunctionConstructor;
|
|
6842
|
+
optional: boolean;
|
|
6843
|
+
};
|
|
6788
6844
|
};
|
|
6789
6845
|
static components: {
|
|
6790
6846
|
TextValueProvider: typeof TextValueProvider;
|
|
@@ -6841,6 +6897,7 @@ declare class Composer extends Component<ComposerProps, SpreadsheetChildEnv> {
|
|
|
6841
6897
|
onMousedown(ev: MouseEvent): void;
|
|
6842
6898
|
onClick(): void;
|
|
6843
6899
|
onDblClick(): void;
|
|
6900
|
+
onContextMenu(ev: MouseEvent): void;
|
|
6844
6901
|
private processContent;
|
|
6845
6902
|
/**
|
|
6846
6903
|
* Get the HTML content corresponding to the current composer token, divided by lines.
|
|
@@ -6904,10 +6961,10 @@ interface AutoCompleteProviderDefinition {
|
|
|
6904
6961
|
|
|
6905
6962
|
declare function transformRangeData(range: RangeData, executed: CoreCommand): RangeData | undefined;
|
|
6906
6963
|
|
|
6907
|
-
interface Props$
|
|
6964
|
+
interface Props$z {
|
|
6908
6965
|
figure: Figure;
|
|
6909
6966
|
}
|
|
6910
|
-
declare class ChartJsComponent extends Component<Props$
|
|
6967
|
+
declare class ChartJsComponent extends Component<Props$z, SpreadsheetChildEnv> {
|
|
6911
6968
|
static template: string;
|
|
6912
6969
|
static props: {
|
|
6913
6970
|
figure: ObjectConstructor;
|
|
@@ -6922,10 +6979,10 @@ declare class ChartJsComponent extends Component<Props$y, SpreadsheetChildEnv> {
|
|
|
6922
6979
|
private updateChartJs;
|
|
6923
6980
|
}
|
|
6924
6981
|
|
|
6925
|
-
interface Props$
|
|
6982
|
+
interface Props$y {
|
|
6926
6983
|
figure: Figure;
|
|
6927
6984
|
}
|
|
6928
|
-
declare class ScorecardChart extends Component<Props$
|
|
6985
|
+
declare class ScorecardChart extends Component<Props$y, SpreadsheetChildEnv> {
|
|
6929
6986
|
static template: string;
|
|
6930
6987
|
static props: {
|
|
6931
6988
|
figure: ObjectConstructor;
|
|
@@ -6937,7 +6994,7 @@ declare class ScorecardChart extends Component<Props$x, SpreadsheetChildEnv> {
|
|
|
6937
6994
|
}
|
|
6938
6995
|
|
|
6939
6996
|
type MenuItemOrSeparator = Action | "separator";
|
|
6940
|
-
interface Props$
|
|
6997
|
+
interface Props$x {
|
|
6941
6998
|
position: DOMCoordinates;
|
|
6942
6999
|
menuItems: Action[];
|
|
6943
7000
|
depth: number;
|
|
@@ -6955,7 +7012,7 @@ interface MenuState {
|
|
|
6955
7012
|
menuItems: Action[];
|
|
6956
7013
|
isHoveringChild?: boolean;
|
|
6957
7014
|
}
|
|
6958
|
-
declare class Menu extends Component<Props$
|
|
7015
|
+
declare class Menu extends Component<Props$x, SpreadsheetChildEnv> {
|
|
6959
7016
|
static template: string;
|
|
6960
7017
|
static props: {
|
|
6961
7018
|
position: ObjectConstructor;
|
|
@@ -7025,14 +7082,14 @@ declare class Menu extends Component<Props$w, SpreadsheetChildEnv> {
|
|
|
7025
7082
|
}
|
|
7026
7083
|
|
|
7027
7084
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
7028
|
-
interface Props$
|
|
7085
|
+
interface Props$w {
|
|
7029
7086
|
figure: Figure;
|
|
7030
7087
|
style: string;
|
|
7031
7088
|
onFigureDeleted: () => void;
|
|
7032
7089
|
onMouseDown: (ev: MouseEvent) => void;
|
|
7033
7090
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
7034
7091
|
}
|
|
7035
|
-
declare class FigureComponent extends Component<Props$
|
|
7092
|
+
declare class FigureComponent extends Component<Props$w, SpreadsheetChildEnv> {
|
|
7036
7093
|
static template: string;
|
|
7037
7094
|
static props: {
|
|
7038
7095
|
figure: ObjectConstructor;
|
|
@@ -7081,11 +7138,11 @@ declare class FigureComponent extends Component<Props$v, SpreadsheetChildEnv> {
|
|
|
7081
7138
|
private openContextMenu;
|
|
7082
7139
|
}
|
|
7083
7140
|
|
|
7084
|
-
interface Props$
|
|
7141
|
+
interface Props$v {
|
|
7085
7142
|
figure: Figure;
|
|
7086
7143
|
onFigureDeleted: () => void;
|
|
7087
7144
|
}
|
|
7088
|
-
declare class ChartFigure extends Component<Props$
|
|
7145
|
+
declare class ChartFigure extends Component<Props$v, SpreadsheetChildEnv> {
|
|
7089
7146
|
static template: string;
|
|
7090
7147
|
static props: {
|
|
7091
7148
|
figure: ObjectConstructor;
|
|
@@ -7097,7 +7154,7 @@ declare class ChartFigure extends Component<Props$u, SpreadsheetChildEnv> {
|
|
|
7097
7154
|
get chartComponent(): new (...args: any) => Component;
|
|
7098
7155
|
}
|
|
7099
7156
|
|
|
7100
|
-
interface Props$
|
|
7157
|
+
interface Props$u {
|
|
7101
7158
|
isVisible: boolean;
|
|
7102
7159
|
position: Position;
|
|
7103
7160
|
}
|
|
@@ -7105,17 +7162,17 @@ interface Position {
|
|
|
7105
7162
|
top: HeaderIndex;
|
|
7106
7163
|
left: HeaderIndex;
|
|
7107
7164
|
}
|
|
7108
|
-
interface State$
|
|
7165
|
+
interface State$7 {
|
|
7109
7166
|
position: Position;
|
|
7110
7167
|
handler: boolean;
|
|
7111
7168
|
}
|
|
7112
|
-
declare class Autofill extends Component<Props$
|
|
7169
|
+
declare class Autofill extends Component<Props$u, SpreadsheetChildEnv> {
|
|
7113
7170
|
static template: string;
|
|
7114
7171
|
static props: {
|
|
7115
7172
|
position: ObjectConstructor;
|
|
7116
7173
|
isVisible: BooleanConstructor;
|
|
7117
7174
|
};
|
|
7118
|
-
state: State$
|
|
7175
|
+
state: State$7;
|
|
7119
7176
|
get style(): string;
|
|
7120
7177
|
get handlerStyle(): string;
|
|
7121
7178
|
get styleNextValue(): string;
|
|
@@ -7143,17 +7200,19 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
7143
7200
|
get tagStyle(): string;
|
|
7144
7201
|
}
|
|
7145
7202
|
|
|
7146
|
-
interface Props$
|
|
7203
|
+
interface Props$t {
|
|
7147
7204
|
gridDims: DOMDimension;
|
|
7205
|
+
onInputContextMenu: (event: MouseEvent) => void;
|
|
7148
7206
|
}
|
|
7149
7207
|
/**
|
|
7150
7208
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
7151
7209
|
* It also applies the style of the cell to the composer input.
|
|
7152
7210
|
*/
|
|
7153
|
-
declare class GridComposer extends Component<Props$
|
|
7211
|
+
declare class GridComposer extends Component<Props$t, SpreadsheetChildEnv> {
|
|
7154
7212
|
static template: string;
|
|
7155
7213
|
static props: {
|
|
7156
7214
|
gridDims: ObjectConstructor;
|
|
7215
|
+
onInputContextMenu: FunctionConstructor;
|
|
7157
7216
|
};
|
|
7158
7217
|
static components: {
|
|
7159
7218
|
Composer: typeof Composer;
|
|
@@ -7185,7 +7244,6 @@ interface GridCellIconProps {
|
|
|
7185
7244
|
cellPosition: CellPosition;
|
|
7186
7245
|
horizontalAlign?: Align;
|
|
7187
7246
|
verticalAlign?: VerticalAlign;
|
|
7188
|
-
offset?: DOMCoordinates;
|
|
7189
7247
|
}
|
|
7190
7248
|
declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChildEnv> {
|
|
7191
7249
|
static template: string;
|
|
@@ -7199,10 +7257,6 @@ declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChild
|
|
|
7199
7257
|
type: StringConstructor;
|
|
7200
7258
|
optional: boolean;
|
|
7201
7259
|
};
|
|
7202
|
-
offset: {
|
|
7203
|
-
type: ObjectConstructor;
|
|
7204
|
-
optional: boolean;
|
|
7205
|
-
};
|
|
7206
7260
|
slots: ObjectConstructor;
|
|
7207
7261
|
};
|
|
7208
7262
|
get iconStyle(): string;
|
|
@@ -7211,70 +7265,10 @@ declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChild
|
|
|
7211
7265
|
isPositionVisible(position: CellPosition): boolean;
|
|
7212
7266
|
}
|
|
7213
7267
|
|
|
7214
|
-
|
|
7215
|
-
private persistentPopover?;
|
|
7216
|
-
protected hoveredCell: {
|
|
7217
|
-
readonly col: number | undefined;
|
|
7218
|
-
readonly row: number | undefined;
|
|
7219
|
-
readonly handle: (cmd: Command) => void;
|
|
7220
|
-
readonly hover: (position: Position$1) => void;
|
|
7221
|
-
readonly clear: () => void;
|
|
7222
|
-
readonly renderingLayers: readonly ("Chart" | "Background" | "Highlights" | "Clipboard" | "Autofill" | "Selection" | "Headers")[];
|
|
7223
|
-
readonly drawLayer: (ctx: GridRenderingContext, layer: "Chart" | "Background" | "Highlights" | "Clipboard" | "Autofill" | "Selection" | "Headers") => void;
|
|
7224
|
-
readonly dispose: () => void;
|
|
7225
|
-
};
|
|
7226
|
-
handle(cmd: Command): void;
|
|
7227
|
-
open({ col, row }: Position$1, type: CellPopoverType): void;
|
|
7228
|
-
close(): void;
|
|
7229
|
-
get persistentCellPopover(): OpenCellPopover | ClosedCellPopover;
|
|
7230
|
-
get isOpen(): boolean;
|
|
7231
|
-
get cellPopover(): ClosedCellPopover | PositionedCellPopoverComponent;
|
|
7232
|
-
private computePopoverAnchorRect;
|
|
7233
|
-
}
|
|
7234
|
-
|
|
7235
|
-
interface Props$r {
|
|
7236
|
-
cellPosition: CellPosition;
|
|
7237
|
-
}
|
|
7238
|
-
declare class FilterIcon extends Component<Props$r, SpreadsheetChildEnv> {
|
|
7239
|
-
static template: string;
|
|
7240
|
-
static props: {
|
|
7241
|
-
cellPosition: ObjectConstructor;
|
|
7242
|
-
};
|
|
7243
|
-
protected cellPopovers: Store<CellPopoverStore>;
|
|
7244
|
-
setup(): void;
|
|
7245
|
-
onClick(): void;
|
|
7246
|
-
get isFilterActive(): boolean;
|
|
7247
|
-
get iconClass(): string;
|
|
7248
|
-
}
|
|
7249
|
-
|
|
7250
|
-
interface Props$q {
|
|
7251
|
-
gridPosition: DOMCoordinates;
|
|
7252
|
-
}
|
|
7253
|
-
declare class FilterIconsOverlay extends Component<Props$q, SpreadsheetChildEnv> {
|
|
7254
|
-
static template: string;
|
|
7255
|
-
static props: {
|
|
7256
|
-
gridPosition: {
|
|
7257
|
-
type: ObjectConstructor;
|
|
7258
|
-
optional: boolean;
|
|
7259
|
-
};
|
|
7260
|
-
};
|
|
7261
|
-
static components: {
|
|
7262
|
-
GridCellIcon: typeof GridCellIcon;
|
|
7263
|
-
FilterIcon: typeof FilterIcon;
|
|
7264
|
-
};
|
|
7265
|
-
static defaultProps: {
|
|
7266
|
-
gridPosition: {
|
|
7267
|
-
x: number;
|
|
7268
|
-
y: number;
|
|
7269
|
-
};
|
|
7270
|
-
};
|
|
7271
|
-
getFilterHeadersPositions(): CellPosition[];
|
|
7272
|
-
}
|
|
7273
|
-
|
|
7274
|
-
interface Props$p {
|
|
7268
|
+
interface Props$s {
|
|
7275
7269
|
cellPosition: CellPosition;
|
|
7276
7270
|
}
|
|
7277
|
-
declare class DataValidationCheckbox extends Component<Props$
|
|
7271
|
+
declare class DataValidationCheckbox extends Component<Props$s, SpreadsheetChildEnv> {
|
|
7278
7272
|
static template: string;
|
|
7279
7273
|
static props: {
|
|
7280
7274
|
cellPosition: ObjectConstructor;
|
|
@@ -7284,10 +7278,10 @@ declare class DataValidationCheckbox extends Component<Props$p, SpreadsheetChild
|
|
|
7284
7278
|
get isDisabled(): boolean;
|
|
7285
7279
|
}
|
|
7286
7280
|
|
|
7287
|
-
interface Props$
|
|
7281
|
+
interface Props$r {
|
|
7288
7282
|
cellPosition: CellPosition;
|
|
7289
7283
|
}
|
|
7290
|
-
declare class DataValidationListIcon extends Component<Props$
|
|
7284
|
+
declare class DataValidationListIcon extends Component<Props$r, SpreadsheetChildEnv> {
|
|
7291
7285
|
static template: string;
|
|
7292
7286
|
static props: {
|
|
7293
7287
|
cellPosition: ObjectConstructor;
|
|
@@ -7317,7 +7311,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
7317
7311
|
}
|
|
7318
7312
|
|
|
7319
7313
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
7320
|
-
interface Props$
|
|
7314
|
+
interface Props$q {
|
|
7321
7315
|
onFigureDeleted: () => void;
|
|
7322
7316
|
}
|
|
7323
7317
|
interface Container {
|
|
@@ -7396,7 +7390,7 @@ interface DndState {
|
|
|
7396
7390
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
7397
7391
|
*
|
|
7398
7392
|
*/
|
|
7399
|
-
declare class FiguresContainer extends Component<Props$
|
|
7393
|
+
declare class FiguresContainer extends Component<Props$q, SpreadsheetChildEnv> {
|
|
7400
7394
|
static template: string;
|
|
7401
7395
|
static props: {
|
|
7402
7396
|
onFigureDeleted: FunctionConstructor;
|
|
@@ -7431,10 +7425,61 @@ declare class FiguresContainer extends Component<Props$n, SpreadsheetChildEnv> {
|
|
|
7431
7425
|
private getSnapLineStyle;
|
|
7432
7426
|
}
|
|
7433
7427
|
|
|
7434
|
-
|
|
7428
|
+
declare class CellPopoverStore extends SpreadsheetStore {
|
|
7429
|
+
private persistentPopover?;
|
|
7430
|
+
protected hoveredCell: {
|
|
7431
|
+
readonly col: number | undefined;
|
|
7432
|
+
readonly row: number | undefined;
|
|
7433
|
+
readonly handle: (cmd: Command) => void;
|
|
7434
|
+
readonly hover: (position: Position$1) => void;
|
|
7435
|
+
readonly clear: () => void;
|
|
7436
|
+
readonly renderingLayers: readonly ("Chart" | "Background" | "Highlights" | "Clipboard" | "Autofill" | "Selection" | "Headers")[];
|
|
7437
|
+
readonly drawLayer: (ctx: GridRenderingContext, layer: "Chart" | "Background" | "Highlights" | "Clipboard" | "Autofill" | "Selection" | "Headers") => void;
|
|
7438
|
+
readonly dispose: () => void;
|
|
7439
|
+
};
|
|
7440
|
+
handle(cmd: Command): void;
|
|
7441
|
+
open({ col, row }: Position$1, type: CellPopoverType): void;
|
|
7442
|
+
close(): void;
|
|
7443
|
+
get persistentCellPopover(): OpenCellPopover | ClosedCellPopover;
|
|
7444
|
+
get isOpen(): boolean;
|
|
7445
|
+
get cellPopover(): ClosedCellPopover | PositionedCellPopoverComponent;
|
|
7446
|
+
private computePopoverAnchorRect;
|
|
7447
|
+
}
|
|
7448
|
+
|
|
7449
|
+
interface Props$p {
|
|
7450
|
+
cellPosition: CellPosition;
|
|
7451
|
+
}
|
|
7452
|
+
declare class FilterIcon extends Component<Props$p, SpreadsheetChildEnv> {
|
|
7453
|
+
static template: string;
|
|
7454
|
+
static props: {
|
|
7455
|
+
cellPosition: ObjectConstructor;
|
|
7456
|
+
};
|
|
7457
|
+
protected cellPopovers: Store<CellPopoverStore>;
|
|
7458
|
+
setup(): void;
|
|
7459
|
+
onClick(): void;
|
|
7460
|
+
get isFilterActive(): boolean;
|
|
7461
|
+
get iconClass(): string;
|
|
7462
|
+
}
|
|
7463
|
+
|
|
7464
|
+
interface Props$o {
|
|
7465
|
+
onMouseDown: (ev: MouseEvent) => void;
|
|
7466
|
+
}
|
|
7467
|
+
declare class FilterIconsOverlay extends Component<Props$o, SpreadsheetChildEnv> {
|
|
7468
|
+
static template: string;
|
|
7469
|
+
static props: {
|
|
7470
|
+
onMouseDown: FunctionConstructor;
|
|
7471
|
+
};
|
|
7472
|
+
static components: {
|
|
7473
|
+
GridCellIcon: typeof GridCellIcon;
|
|
7474
|
+
FilterIcon: typeof FilterIcon;
|
|
7475
|
+
};
|
|
7476
|
+
getFilterHeadersPositions(): CellPosition[];
|
|
7477
|
+
}
|
|
7478
|
+
|
|
7479
|
+
interface Props$n {
|
|
7435
7480
|
focusGrid: () => void;
|
|
7436
7481
|
}
|
|
7437
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
7482
|
+
declare class GridAddRowsFooter extends Component<Props$n, SpreadsheetChildEnv> {
|
|
7438
7483
|
static template: string;
|
|
7439
7484
|
static props: {
|
|
7440
7485
|
focusGrid: FunctionConstructor;
|
|
@@ -7458,20 +7503,17 @@ declare class GridAddRowsFooter extends Component<Props$m, SpreadsheetChildEnv>
|
|
|
7458
7503
|
private onExternalClick;
|
|
7459
7504
|
}
|
|
7460
7505
|
|
|
7461
|
-
interface Props$
|
|
7506
|
+
interface Props$m {
|
|
7462
7507
|
onCellHovered: (position: Partial<Position$1>) => void;
|
|
7463
7508
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
7464
|
-
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers:
|
|
7465
|
-
addZone: boolean;
|
|
7466
|
-
expandZone: boolean;
|
|
7467
|
-
}) => void;
|
|
7509
|
+
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers) => void;
|
|
7468
7510
|
onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
|
|
7469
7511
|
onGridResized: (dimension: Rect) => void;
|
|
7470
7512
|
onGridMoved: (deltaX: Pixel, deltaY: Pixel) => void;
|
|
7471
7513
|
gridOverlayDimensions: string;
|
|
7472
7514
|
onFigureDeleted: () => void;
|
|
7473
7515
|
}
|
|
7474
|
-
declare class GridOverlay extends Component<Props$
|
|
7516
|
+
declare class GridOverlay extends Component<Props$m, SpreadsheetChildEnv> {
|
|
7475
7517
|
static template: string;
|
|
7476
7518
|
static props: {
|
|
7477
7519
|
onCellHovered: {
|
|
@@ -7505,6 +7547,7 @@ declare class GridOverlay extends Component<Props$l, SpreadsheetChildEnv> {
|
|
|
7505
7547
|
FiguresContainer: typeof FiguresContainer;
|
|
7506
7548
|
DataValidationOverlay: typeof DataValidationOverlay;
|
|
7507
7549
|
GridAddRowsFooter: typeof GridAddRowsFooter;
|
|
7550
|
+
FilterIconsOverlay: typeof FilterIconsOverlay;
|
|
7508
7551
|
};
|
|
7509
7552
|
static defaultProps: {
|
|
7510
7553
|
onCellHovered: () => void;
|
|
@@ -7520,18 +7563,20 @@ declare class GridOverlay extends Component<Props$l, SpreadsheetChildEnv> {
|
|
|
7520
7563
|
get gridOverlayEl(): HTMLElement;
|
|
7521
7564
|
get style(): string;
|
|
7522
7565
|
get isPaintingFormat(): boolean;
|
|
7523
|
-
onMouseDown(ev: MouseEvent
|
|
7566
|
+
onMouseDown(ev: MouseEvent, modifiers?: {
|
|
7567
|
+
closePopover: boolean;
|
|
7568
|
+
}): void;
|
|
7524
7569
|
onDoubleClick(ev: MouseEvent): void;
|
|
7525
7570
|
onContextMenu(ev: MouseEvent): void;
|
|
7526
7571
|
private getCartesianCoordinates;
|
|
7527
7572
|
}
|
|
7528
7573
|
|
|
7529
|
-
interface Props$
|
|
7574
|
+
interface Props$l {
|
|
7530
7575
|
gridRect: Rect;
|
|
7531
7576
|
onClosePopover: () => void;
|
|
7532
7577
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
7533
7578
|
}
|
|
7534
|
-
declare class GridPopover extends Component<Props$
|
|
7579
|
+
declare class GridPopover extends Component<Props$l, SpreadsheetChildEnv> {
|
|
7535
7580
|
static template: string;
|
|
7536
7581
|
static props: {
|
|
7537
7582
|
onClosePopover: FunctionConstructor;
|
|
@@ -7674,13 +7719,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
7674
7719
|
}
|
|
7675
7720
|
|
|
7676
7721
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
7677
|
-
interface Props$
|
|
7722
|
+
interface Props$k {
|
|
7678
7723
|
zone: Zone;
|
|
7679
7724
|
orientation: Orientation$1;
|
|
7680
7725
|
isMoving: boolean;
|
|
7681
7726
|
onMoveHighlight: (x: Pixel, y: Pixel) => void;
|
|
7682
7727
|
}
|
|
7683
|
-
declare class Border extends Component<Props$
|
|
7728
|
+
declare class Border extends Component<Props$k, SpreadsheetChildEnv> {
|
|
7684
7729
|
static template: string;
|
|
7685
7730
|
static props: {
|
|
7686
7731
|
zone: ObjectConstructor;
|
|
@@ -7693,14 +7738,14 @@ declare class Border extends Component<Props$j, SpreadsheetChildEnv> {
|
|
|
7693
7738
|
}
|
|
7694
7739
|
|
|
7695
7740
|
type Orientation = "nw" | "ne" | "sw" | "se";
|
|
7696
|
-
interface Props$
|
|
7741
|
+
interface Props$j {
|
|
7697
7742
|
zone: Zone;
|
|
7698
7743
|
color: Color;
|
|
7699
7744
|
orientation: Orientation;
|
|
7700
7745
|
isResizing: boolean;
|
|
7701
7746
|
onResizeHighlight: (isLeft: boolean, isRight: boolean) => void;
|
|
7702
7747
|
}
|
|
7703
|
-
declare class Corner extends Component<Props$
|
|
7748
|
+
declare class Corner extends Component<Props$j, SpreadsheetChildEnv> {
|
|
7704
7749
|
static template: string;
|
|
7705
7750
|
static props: {
|
|
7706
7751
|
zone: ObjectConstructor;
|
|
@@ -7715,14 +7760,14 @@ declare class Corner extends Component<Props$i, SpreadsheetChildEnv> {
|
|
|
7715
7760
|
onMouseDown(ev: MouseEvent): void;
|
|
7716
7761
|
}
|
|
7717
7762
|
|
|
7718
|
-
interface Props$
|
|
7763
|
+
interface Props$i {
|
|
7719
7764
|
zone: Zone;
|
|
7720
7765
|
color: Color;
|
|
7721
7766
|
}
|
|
7722
7767
|
interface HighlightState {
|
|
7723
7768
|
shiftingMode: "isMoving" | "isResizing" | "none";
|
|
7724
7769
|
}
|
|
7725
|
-
declare class Highlight extends Component<Props$
|
|
7770
|
+
declare class Highlight extends Component<Props$i, SpreadsheetChildEnv> {
|
|
7726
7771
|
static template: string;
|
|
7727
7772
|
static props: {
|
|
7728
7773
|
zone: ObjectConstructor;
|
|
@@ -7739,7 +7784,7 @@ declare class Highlight extends Component<Props$h, SpreadsheetChildEnv> {
|
|
|
7739
7784
|
|
|
7740
7785
|
type ScrollDirection = "horizontal" | "vertical";
|
|
7741
7786
|
|
|
7742
|
-
interface Props$
|
|
7787
|
+
interface Props$h {
|
|
7743
7788
|
width: Pixel;
|
|
7744
7789
|
height: Pixel;
|
|
7745
7790
|
direction: ScrollDirection;
|
|
@@ -7747,7 +7792,7 @@ interface Props$g {
|
|
|
7747
7792
|
offset: Pixel;
|
|
7748
7793
|
onScroll: (offset: Pixel) => void;
|
|
7749
7794
|
}
|
|
7750
|
-
declare class ScrollBar extends Component<Props$
|
|
7795
|
+
declare class ScrollBar extends Component<Props$h> {
|
|
7751
7796
|
static props: {
|
|
7752
7797
|
width: {
|
|
7753
7798
|
type: NumberConstructor;
|
|
@@ -7775,10 +7820,10 @@ declare class ScrollBar extends Component<Props$g> {
|
|
|
7775
7820
|
onScroll(ev: any): void;
|
|
7776
7821
|
}
|
|
7777
7822
|
|
|
7778
|
-
interface Props$
|
|
7823
|
+
interface Props$g {
|
|
7779
7824
|
leftOffset: number;
|
|
7780
7825
|
}
|
|
7781
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
7826
|
+
declare class HorizontalScrollBar extends Component<Props$g, SpreadsheetChildEnv> {
|
|
7782
7827
|
static props: {
|
|
7783
7828
|
leftOffset: {
|
|
7784
7829
|
type: NumberConstructor;
|
|
@@ -7804,10 +7849,10 @@ declare class HorizontalScrollBar extends Component<Props$f, SpreadsheetChildEnv
|
|
|
7804
7849
|
onScroll(offset: any): void;
|
|
7805
7850
|
}
|
|
7806
7851
|
|
|
7807
|
-
interface Props$
|
|
7852
|
+
interface Props$f {
|
|
7808
7853
|
topOffset: number;
|
|
7809
7854
|
}
|
|
7810
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
7855
|
+
declare class VerticalScrollBar extends Component<Props$f, SpreadsheetChildEnv> {
|
|
7811
7856
|
static props: {
|
|
7812
7857
|
topOffset: {
|
|
7813
7858
|
type: NumberConstructor;
|
|
@@ -7833,6 +7878,24 @@ declare class VerticalScrollBar extends Component<Props$e, SpreadsheetChildEnv>
|
|
|
7833
7878
|
onScroll(offset: any): void;
|
|
7834
7879
|
}
|
|
7835
7880
|
|
|
7881
|
+
interface Props$e {
|
|
7882
|
+
table: Table;
|
|
7883
|
+
}
|
|
7884
|
+
interface State$6 {
|
|
7885
|
+
highlightZone: Zone | undefined;
|
|
7886
|
+
}
|
|
7887
|
+
declare class TableResizer extends Component<Props$e, SpreadsheetChildEnv> {
|
|
7888
|
+
static template: string;
|
|
7889
|
+
static props: {
|
|
7890
|
+
table: ObjectConstructor;
|
|
7891
|
+
};
|
|
7892
|
+
state: State$6;
|
|
7893
|
+
setup(): void;
|
|
7894
|
+
get containerStyle(): string;
|
|
7895
|
+
onMouseDown(ev: MouseEvent): void;
|
|
7896
|
+
get highlights(): Highlight$1[];
|
|
7897
|
+
}
|
|
7898
|
+
|
|
7836
7899
|
declare class HoveredCellStore extends SpreadsheetStore {
|
|
7837
7900
|
col: number | undefined;
|
|
7838
7901
|
row: number | undefined;
|
|
@@ -7872,7 +7935,7 @@ declare class Grid extends Component<Props$d, SpreadsheetChildEnv> {
|
|
|
7872
7935
|
Popover: typeof Popover;
|
|
7873
7936
|
VerticalScrollBar: typeof VerticalScrollBar;
|
|
7874
7937
|
HorizontalScrollBar: typeof HorizontalScrollBar;
|
|
7875
|
-
|
|
7938
|
+
TableResizer: typeof TableResizer;
|
|
7876
7939
|
};
|
|
7877
7940
|
readonly HEADER_HEIGHT = 26;
|
|
7878
7941
|
readonly HEADER_WIDTH = 48;
|
|
@@ -7908,10 +7971,7 @@ declare class Grid extends Component<Props$d, SpreadsheetChildEnv> {
|
|
|
7908
7971
|
getClientPositionKey(client: Client): string;
|
|
7909
7972
|
isCellHovered(col: HeaderIndex, row: HeaderIndex): boolean;
|
|
7910
7973
|
private getGridRect;
|
|
7911
|
-
onCellClicked(col: HeaderIndex, row: HeaderIndex,
|
|
7912
|
-
addZone: boolean;
|
|
7913
|
-
expandZone: boolean;
|
|
7914
|
-
}): void;
|
|
7974
|
+
onCellClicked(col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers): void;
|
|
7915
7975
|
onCellDoubleClicked(col: HeaderIndex, row: HeaderIndex): void;
|
|
7916
7976
|
processArrows(ev: KeyboardEvent): void;
|
|
7917
7977
|
onKeydown(ev: KeyboardEvent): void;
|
|
@@ -7930,6 +7990,7 @@ declare class Grid extends Component<Props$d, SpreadsheetChildEnv> {
|
|
|
7930
7990
|
private processHeaderGroupingEventOnGrid;
|
|
7931
7991
|
onComposerCellFocused(content?: string, selection?: ComposerSelection): void;
|
|
7932
7992
|
onComposerContentFocused(): void;
|
|
7993
|
+
get staticTables(): Table[];
|
|
7933
7994
|
}
|
|
7934
7995
|
|
|
7935
7996
|
type Direction = "horizontal" | "vertical";
|
|
@@ -8376,7 +8437,6 @@ declare class SpreadsheetDashboard extends Component<Props$8, SpreadsheetChildEn
|
|
|
8376
8437
|
Popover: typeof Popover;
|
|
8377
8438
|
VerticalScrollBar: typeof VerticalScrollBar;
|
|
8378
8439
|
HorizontalScrollBar: typeof HorizontalScrollBar;
|
|
8379
|
-
FilterIconsOverlay: typeof FilterIconsOverlay;
|
|
8380
8440
|
};
|
|
8381
8441
|
protected cellPopovers: Store<CellPopoverStore>;
|
|
8382
8442
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
@@ -8887,6 +8947,7 @@ declare class TopBarComposer extends Component<any, SpreadsheetChildEnv> {
|
|
|
8887
8947
|
get focus(): Omit<ComposerFocusType, "cellFocus">;
|
|
8888
8948
|
get composerStyle(): string;
|
|
8889
8949
|
get containerStyle(): string;
|
|
8950
|
+
get delimitation(): DOMDimension;
|
|
8890
8951
|
onFocus(selection: ComposerSelection): void;
|
|
8891
8952
|
}
|
|
8892
8953
|
|
|
@@ -9122,6 +9183,7 @@ declare const CellErrorType: {
|
|
|
9122
9183
|
readonly BadExpression: "#BAD_EXPR";
|
|
9123
9184
|
readonly CircularDependency: "#CYCLE";
|
|
9124
9185
|
readonly UnknownFunction: "#NAME?";
|
|
9186
|
+
readonly DivisionByZero: "#DIV/0!";
|
|
9125
9187
|
readonly GenericError: "#ERROR";
|
|
9126
9188
|
};
|
|
9127
9189
|
declare class EvaluationError extends Error {
|
|
@@ -9194,7 +9256,7 @@ declare const registries: {
|
|
|
9194
9256
|
clipboardHandlersRegistries: {
|
|
9195
9257
|
figureHandlers: Registry<{
|
|
9196
9258
|
new (getters: Getters, dispatch: {
|
|
9197
|
-
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS", C extends Extract<UpdateCellCommand, {
|
|
9259
|
+
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS" | "RESIZE_TABLE", C extends Extract<UpdateCellCommand, {
|
|
9198
9260
|
type: T;
|
|
9199
9261
|
}> | Extract<UpdateCellPositionCommand, {
|
|
9200
9262
|
type: T;
|
|
@@ -9390,8 +9452,10 @@ declare const registries: {
|
|
|
9390
9452
|
type: T;
|
|
9391
9453
|
}> | Extract<RenderCanvasCommand, {
|
|
9392
9454
|
type: T;
|
|
9455
|
+
}> | Extract<ResizeTableCommand, {
|
|
9456
|
+
type: T;
|
|
9393
9457
|
}>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
|
|
9394
|
-
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS", C_1 extends Extract<UpdateCellCommand, {
|
|
9458
|
+
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS" | "RESIZE_TABLE", C_1 extends Extract<UpdateCellCommand, {
|
|
9395
9459
|
type: T_1;
|
|
9396
9460
|
}> | Extract<UpdateCellPositionCommand, {
|
|
9397
9461
|
type: T_1;
|
|
@@ -9587,12 +9651,14 @@ declare const registries: {
|
|
|
9587
9651
|
type: T_1;
|
|
9588
9652
|
}> | Extract<RenderCanvasCommand, {
|
|
9589
9653
|
type: T_1;
|
|
9654
|
+
}> | Extract<ResizeTableCommand, {
|
|
9655
|
+
type: T_1;
|
|
9590
9656
|
}>>(type: T_1, r: Omit<C_1, "type">): DispatchResult;
|
|
9591
9657
|
}): AbstractFigureClipboardHandler<any>;
|
|
9592
9658
|
}>;
|
|
9593
9659
|
cellHandlers: Registry<{
|
|
9594
9660
|
new (getters: Getters, dispatch: {
|
|
9595
|
-
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS", C extends Extract<UpdateCellCommand, {
|
|
9661
|
+
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS" | "RESIZE_TABLE", C extends Extract<UpdateCellCommand, {
|
|
9596
9662
|
type: T;
|
|
9597
9663
|
}> | Extract<UpdateCellPositionCommand, {
|
|
9598
9664
|
type: T;
|
|
@@ -9788,8 +9854,10 @@ declare const registries: {
|
|
|
9788
9854
|
type: T;
|
|
9789
9855
|
}> | Extract<RenderCanvasCommand, {
|
|
9790
9856
|
type: T;
|
|
9857
|
+
}> | Extract<ResizeTableCommand, {
|
|
9858
|
+
type: T;
|
|
9791
9859
|
}>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
|
|
9792
|
-
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS", C_1 extends Extract<UpdateCellCommand, {
|
|
9860
|
+
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS" | "RESIZE_TABLE", C_1 extends Extract<UpdateCellCommand, {
|
|
9793
9861
|
type: T_1;
|
|
9794
9862
|
}> | Extract<UpdateCellPositionCommand, {
|
|
9795
9863
|
type: T_1;
|
|
@@ -9985,6 +10053,8 @@ declare const registries: {
|
|
|
9985
10053
|
type: T_1;
|
|
9986
10054
|
}> | Extract<RenderCanvasCommand, {
|
|
9987
10055
|
type: T_1;
|
|
10056
|
+
}> | Extract<ResizeTableCommand, {
|
|
10057
|
+
type: T_1;
|
|
9988
10058
|
}>>(type: T_1, r: Omit<C_1, "type">): DispatchResult;
|
|
9989
10059
|
}): AbstractCellClipboardHandler<any, any>;
|
|
9990
10060
|
}>;
|
|
@@ -10043,7 +10113,7 @@ declare const links: {
|
|
|
10043
10113
|
declare const components: {
|
|
10044
10114
|
Checkbox: typeof Checkbox;
|
|
10045
10115
|
Section: typeof Section;
|
|
10046
|
-
|
|
10116
|
+
RoundColorPicker: typeof RoundColorPicker;
|
|
10047
10117
|
ChartDataSeries: typeof ChartDataSeries;
|
|
10048
10118
|
ChartErrorSection: typeof ChartErrorSection;
|
|
10049
10119
|
ChartLabelRange: typeof ChartLabelRange;
|
|
@@ -10055,9 +10125,9 @@ declare const components: {
|
|
|
10055
10125
|
GridOverlay: typeof GridOverlay;
|
|
10056
10126
|
ScorecardChart: typeof ScorecardChart;
|
|
10057
10127
|
LineConfigPanel: typeof LineConfigPanel;
|
|
10058
|
-
|
|
10128
|
+
GenericChartDesignPanel: typeof GenericChartDesignPanel;
|
|
10059
10129
|
BarConfigPanel: typeof BarConfigPanel;
|
|
10060
|
-
|
|
10130
|
+
GenericChartConfigPanel: typeof GenericChartConfigPanel;
|
|
10061
10131
|
GaugeChartConfigPanel: typeof GaugeChartConfigPanel;
|
|
10062
10132
|
GaugeChartDesignPanel: typeof GaugeChartDesignPanel;
|
|
10063
10133
|
ScorecardChartConfigPanel: typeof ScorecardChartConfigPanel;
|
|
@@ -10100,4 +10170,4 @@ declare const constants: {
|
|
|
10100
10170
|
HIGHLIGHT_COLOR: string;
|
|
10101
10171
|
};
|
|
10102
10172
|
|
|
10103
|
-
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePaintFormatCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescription, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelPaintFormatCommand, CancelledReason, Cell, CellData, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartType, CleanClipBoardHighlightCommand, ClearCellCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardContent, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CompiledFormula, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, Currency, CustomFormulaCriterion, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetValues, DateCriterionValue, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, Direction$1 as Direction, DispatchResult, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, ExcelCellData, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, FPayload, FPayloadNumber, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, GeneratorCell, Getters, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InsertCellCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, Offset, OperationSequenceNode, OrderedLayers, PLAIN_TEXT_FORMAT, PaneDivision, PasteCommand, PasteFromOSClipboardCommand, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemoveTableCommand, RenameSheetCommand, RenderCanvasCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, RevisionsDroppedEvent, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetEnv, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TargetDependentCommand, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, 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 };
|
|
10173
|
+
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePaintFormatCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescription, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelPaintFormatCommand, CancelledReason, Cell, CellData, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartType, ChartWithAxisDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardContent, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CompiledFormula, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, Currency, CustomFormulaCriterion, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetValues, DateCriterionValue, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, Direction$1 as Direction, DispatchResult, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, ExcelCellData, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, FPayload, FPayloadNumber, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, GeneratorCell, Getters, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InsertCellCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, Offset, OperationSequenceNode, OrderedLayers, PLAIN_TEXT_FORMAT, PaneDivision, PasteCommand, PasteFromOSClipboardCommand, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemoveTableCommand, RenameSheetCommand, RenderCanvasCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, RevisionsDroppedEvent, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetEnv, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TargetDependentCommand, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|