@odoo/o-spreadsheet 17.3.0-alpha.3 → 17.3.0-alpha.5
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 +16133 -13275
- package/dist/o-spreadsheet.d.ts +934 -183
- package/dist/o-spreadsheet.esm.js +16132 -13276
- package/dist/o-spreadsheet.iife.js +16128 -13270
- package/dist/o-spreadsheet.iife.min.js +455 -417
- package/dist/o_spreadsheet.xml +313 -6
- package/package.json +2 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -319,10 +319,36 @@ interface ScorecardChartRuntime {
|
|
|
319
319
|
readonly progressBar?: ProgressBar;
|
|
320
320
|
}
|
|
321
321
|
|
|
322
|
-
|
|
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"];
|
|
323
345
|
type ChartType = (typeof CHART_TYPES)[number];
|
|
324
|
-
type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition;
|
|
325
|
-
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;
|
|
326
352
|
type ChartRuntime = ChartJSRuntime | ScorecardChartRuntime | GaugeChartRuntime;
|
|
327
353
|
interface LabelValues {
|
|
328
354
|
readonly values: string[];
|
|
@@ -422,6 +448,79 @@ interface SearchOptions {
|
|
|
422
448
|
specificRange?: Range;
|
|
423
449
|
}
|
|
424
450
|
|
|
451
|
+
type Aggregator = "array_agg" | "count" | "count_distinct" | "bool_and" | "bool_or" | "max" | "min" | "avg" | "sum";
|
|
452
|
+
type Granularity = "day" | "week" | "month" | "quarter" | "year";
|
|
453
|
+
interface PivotCoreDimension {
|
|
454
|
+
name: string;
|
|
455
|
+
order?: "asc" | "desc";
|
|
456
|
+
granularity?: Granularity | string;
|
|
457
|
+
}
|
|
458
|
+
interface PivotCoreMeasure {
|
|
459
|
+
name: string;
|
|
460
|
+
aggregator?: Aggregator | string;
|
|
461
|
+
}
|
|
462
|
+
interface CommonPivotCoreDefinition {
|
|
463
|
+
columns: PivotCoreDimension[];
|
|
464
|
+
rows: PivotCoreDimension[];
|
|
465
|
+
measures: PivotCoreMeasure[];
|
|
466
|
+
name: string;
|
|
467
|
+
}
|
|
468
|
+
interface SpreadsheetPivotCoreDefinition extends CommonPivotCoreDefinition {
|
|
469
|
+
type: "SPREADSHEET";
|
|
470
|
+
}
|
|
471
|
+
type PivotCoreDefinition = SpreadsheetPivotCoreDefinition;
|
|
472
|
+
interface PivotField {
|
|
473
|
+
name: string;
|
|
474
|
+
type: string;
|
|
475
|
+
string: string;
|
|
476
|
+
relation?: string;
|
|
477
|
+
searchable?: boolean;
|
|
478
|
+
aggregator?: string;
|
|
479
|
+
store?: boolean;
|
|
480
|
+
groupable?: boolean;
|
|
481
|
+
help?: string;
|
|
482
|
+
}
|
|
483
|
+
type PivotFields = Record<string, PivotField | undefined>;
|
|
484
|
+
interface PivotMeasure extends PivotCoreMeasure {
|
|
485
|
+
nameWithAggregator: string;
|
|
486
|
+
displayName: string;
|
|
487
|
+
type: string;
|
|
488
|
+
}
|
|
489
|
+
interface PivotDimension$1 extends PivotCoreDimension {
|
|
490
|
+
nameWithGranularity: string;
|
|
491
|
+
displayName: string;
|
|
492
|
+
type: string;
|
|
493
|
+
}
|
|
494
|
+
interface SPTableColumn {
|
|
495
|
+
fields: string[];
|
|
496
|
+
values: string[];
|
|
497
|
+
width: number;
|
|
498
|
+
offset: number;
|
|
499
|
+
}
|
|
500
|
+
interface SPTableRow {
|
|
501
|
+
fields: string[];
|
|
502
|
+
values: string[];
|
|
503
|
+
indent: number;
|
|
504
|
+
}
|
|
505
|
+
interface SPTableData {
|
|
506
|
+
cols: SPTableColumn[][];
|
|
507
|
+
rows: SPTableRow[];
|
|
508
|
+
measures: string[];
|
|
509
|
+
rowTitle?: string;
|
|
510
|
+
}
|
|
511
|
+
interface SPTableCell {
|
|
512
|
+
isHeader: boolean;
|
|
513
|
+
domain?: string[];
|
|
514
|
+
content?: string;
|
|
515
|
+
measure?: string;
|
|
516
|
+
}
|
|
517
|
+
interface PivotTimeAdapter<T> {
|
|
518
|
+
normalizeFunctionValue: (value: string) => T;
|
|
519
|
+
formatValue: (normalizedValue: T, locale?: Locale) => string;
|
|
520
|
+
getFormat: (locale?: Locale) => Format | undefined;
|
|
521
|
+
toCellValue: (normalizedValue: T) => CellValue;
|
|
522
|
+
}
|
|
523
|
+
|
|
425
524
|
interface Table {
|
|
426
525
|
readonly id: TableId;
|
|
427
526
|
readonly range: Range;
|
|
@@ -534,12 +633,12 @@ interface ZoneDependentCommand {
|
|
|
534
633
|
}
|
|
535
634
|
declare function isZoneDependent(cmd: CoreCommand): boolean;
|
|
536
635
|
declare function isPositionDependent(cmd: CoreCommand): boolean;
|
|
537
|
-
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">;
|
|
538
|
-
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">;
|
|
539
|
-
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">;
|
|
540
|
-
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">;
|
|
541
|
-
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">;
|
|
542
|
-
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">;
|
|
636
|
+
declare const invalidateEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT">;
|
|
637
|
+
declare const invalidateDependenciesCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT">;
|
|
638
|
+
declare const invalidateCFEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT">;
|
|
639
|
+
declare const invalidateBordersCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT">;
|
|
640
|
+
declare const readonlyAllowedCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT">;
|
|
641
|
+
declare const coreTypes: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT">;
|
|
543
642
|
declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
|
|
544
643
|
declare function canExecuteInReadonly(cmd: Command): boolean;
|
|
545
644
|
interface UpdateCellCommand extends PositionDependentCommand {
|
|
@@ -726,8 +825,19 @@ interface UpdateTableCommand {
|
|
|
726
825
|
tableType?: CoreTableType;
|
|
727
826
|
config?: Partial<TableConfig>;
|
|
728
827
|
}
|
|
828
|
+
interface ResizeTableCommand {
|
|
829
|
+
type: "RESIZE_TABLE";
|
|
830
|
+
zone: Zone;
|
|
831
|
+
sheetId: UID;
|
|
832
|
+
newTableRange: RangeData;
|
|
833
|
+
tableType?: CoreTableType;
|
|
834
|
+
}
|
|
729
835
|
interface AutofillTableCommand extends PositionDependentCommand {
|
|
730
836
|
type: "AUTOFILL_TABLE_COLUMN";
|
|
837
|
+
/** The row to start the autofill in. If undefined, it will autofill from the top of the table column */
|
|
838
|
+
autofillRowStart?: number;
|
|
839
|
+
/** The row to end the autofill in. If undefined, it will autofill to the bottom of the table column */
|
|
840
|
+
autofillRowEnd?: number;
|
|
731
841
|
}
|
|
732
842
|
interface UpdateFilterCommand extends PositionDependentCommand {
|
|
733
843
|
type: "UPDATE_FILTER";
|
|
@@ -757,6 +867,35 @@ interface UpdateLocaleCommand {
|
|
|
757
867
|
type: "UPDATE_LOCALE";
|
|
758
868
|
locale: Locale;
|
|
759
869
|
}
|
|
870
|
+
interface AddPivotCommand {
|
|
871
|
+
type: "ADD_PIVOT";
|
|
872
|
+
pivotId: UID;
|
|
873
|
+
pivot: PivotCoreDefinition;
|
|
874
|
+
}
|
|
875
|
+
interface UpdatePivotCommand {
|
|
876
|
+
type: "UPDATE_PIVOT";
|
|
877
|
+
pivotId: UID;
|
|
878
|
+
pivot: PivotCoreDefinition;
|
|
879
|
+
}
|
|
880
|
+
interface InsertPivotCommand extends PositionDependentCommand {
|
|
881
|
+
type: "INSERT_PIVOT";
|
|
882
|
+
pivotId: UID;
|
|
883
|
+
table: SPTableData;
|
|
884
|
+
}
|
|
885
|
+
interface RenamePivotCommand {
|
|
886
|
+
type: "RENAME_PIVOT";
|
|
887
|
+
pivotId: UID;
|
|
888
|
+
name: string;
|
|
889
|
+
}
|
|
890
|
+
interface RemovePivotCommand {
|
|
891
|
+
type: "REMOVE_PIVOT";
|
|
892
|
+
pivotId: UID;
|
|
893
|
+
}
|
|
894
|
+
interface DuplicatePivotCommand {
|
|
895
|
+
type: "DUPLICATE_PIVOT";
|
|
896
|
+
pivotId: UID;
|
|
897
|
+
newPivotId: string;
|
|
898
|
+
}
|
|
760
899
|
interface RemoveDuplicatesCommand {
|
|
761
900
|
type: "REMOVE_DUPLICATES";
|
|
762
901
|
columns: HeaderIndex[];
|
|
@@ -1006,6 +1145,10 @@ interface SplitTextIntoColumnsCommand {
|
|
|
1006
1145
|
interface RenderCanvasCommand {
|
|
1007
1146
|
type: "RENDER_CANVAS";
|
|
1008
1147
|
}
|
|
1148
|
+
interface RefreshPivotCommand {
|
|
1149
|
+
type: "REFRESH_PIVOT";
|
|
1150
|
+
id: UID;
|
|
1151
|
+
}
|
|
1009
1152
|
type CoreCommand =
|
|
1010
1153
|
/** CELLS */
|
|
1011
1154
|
UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | DeleteContentCommand
|
|
@@ -1034,8 +1177,10 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | DeleteContent
|
|
|
1034
1177
|
/** DATA VALIDATION */
|
|
1035
1178
|
| AddDataValidationCommand | RemoveDataValidationCommand
|
|
1036
1179
|
/** MISC */
|
|
1037
|
-
| UpdateLocaleCommand
|
|
1038
|
-
|
|
1180
|
+
| UpdateLocaleCommand
|
|
1181
|
+
/** PIVOT */
|
|
1182
|
+
| AddPivotCommand | UpdatePivotCommand | InsertPivotCommand | RenamePivotCommand | RemovePivotCommand | DuplicatePivotCommand;
|
|
1183
|
+
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 | RefreshPivotCommand;
|
|
1039
1184
|
type Command = CoreCommand | LocalCommand;
|
|
1040
1185
|
/**
|
|
1041
1186
|
* Holds the result of a command dispatch.
|
|
@@ -1170,7 +1315,10 @@ declare const enum CommandResult {
|
|
|
1170
1315
|
InvalidCopyPasteSelection = "InvalidCopyPasteSelection",
|
|
1171
1316
|
NoChanges = "NoChanges",
|
|
1172
1317
|
InvalidInputId = "InvalidInputId",
|
|
1173
|
-
SheetIsHidden = "SheetIsHidden"
|
|
1318
|
+
SheetIsHidden = "SheetIsHidden",
|
|
1319
|
+
InvalidTableResize = "InvalidTableResize",
|
|
1320
|
+
PivotIdNotFound = "PivotIdNotFound",
|
|
1321
|
+
EmptyName = "EmptyName"
|
|
1174
1322
|
}
|
|
1175
1323
|
interface CommandHandler<T> {
|
|
1176
1324
|
allowDispatch(command: T): CommandResult | CommandResult[];
|
|
@@ -1280,6 +1428,11 @@ declare function iterateAstNodes(ast: AST): AST[];
|
|
|
1280
1428
|
*/
|
|
1281
1429
|
declare function astToFormula(ast: AST): string;
|
|
1282
1430
|
|
|
1431
|
+
declare function getFunctionsFromTokens(tokens: Token[], functionNames: string[]): {
|
|
1432
|
+
functionName: string;
|
|
1433
|
+
args: AST[];
|
|
1434
|
+
}[];
|
|
1435
|
+
|
|
1283
1436
|
/**
|
|
1284
1437
|
* The following type is meant to be used in union with other aliases to prevent
|
|
1285
1438
|
* Intellisense from resolving it.
|
|
@@ -2159,7 +2312,7 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
|
|
|
2159
2312
|
private getters;
|
|
2160
2313
|
private providers;
|
|
2161
2314
|
constructor(getters: CoreGetters);
|
|
2162
|
-
static getters: readonly ["extendRange", "getRangeString", "getRangeFromSheetXC", "createAdaptedRanges", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone", "getRangesUnion", "isRangeValid"];
|
|
2315
|
+
static getters: readonly ["extendRange", "getRangeString", "getRangeFromSheetXC", "createAdaptedRanges", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone", "getRangesUnion", "recomputeRanges", "isRangeValid"];
|
|
2163
2316
|
allowDispatch(cmd: Command): CommandResult;
|
|
2164
2317
|
beforeHandle(command: Command): void;
|
|
2165
2318
|
handle(cmd: Command): void;
|
|
@@ -2206,6 +2359,10 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
|
|
|
2206
2359
|
getRangeDataFromXc(sheetId: UID, xc: string): RangeData;
|
|
2207
2360
|
getRangeDataFromZone(sheetId: UID, zone: Zone | UnboundedZone): RangeData;
|
|
2208
2361
|
getRangeFromZone(sheetId: UID, zone: Zone | UnboundedZone): Range;
|
|
2362
|
+
/**
|
|
2363
|
+
* Allows you to recompute ranges from the same sheet
|
|
2364
|
+
*/
|
|
2365
|
+
recomputeRanges(ranges: Range[], rangesToRemove: Range[]): Range[];
|
|
2209
2366
|
getRangeFromRangeData(data: RangeData): Range;
|
|
2210
2367
|
isRangeValid(rangeStr: string): boolean;
|
|
2211
2368
|
getRangesUnion(ranges: Range[]): Range;
|
|
@@ -2377,7 +2534,7 @@ declare class BordersPlugin extends CorePlugin<BordersPluginState> implements Bo
|
|
|
2377
2534
|
exportForExcel(data: ExcelWorkbookData): void;
|
|
2378
2535
|
}
|
|
2379
2536
|
|
|
2380
|
-
interface CoreState {
|
|
2537
|
+
interface CoreState$1 {
|
|
2381
2538
|
cells: Record<UID, Record<UID, Cell | undefined>>;
|
|
2382
2539
|
nextId: number;
|
|
2383
2540
|
}
|
|
@@ -2387,7 +2544,7 @@ interface CoreState {
|
|
|
2387
2544
|
* This is the most fundamental of all plugins. It defines how to interact with
|
|
2388
2545
|
* cell and sheet content.
|
|
2389
2546
|
*/
|
|
2390
|
-
declare class CellPlugin extends CorePlugin<CoreState> implements CoreState {
|
|
2547
|
+
declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1 {
|
|
2391
2548
|
static getters: readonly ["zoneToXC", "getCells", "getTranslatedCellFormula", "getCellStyle", "getCellById"];
|
|
2392
2549
|
readonly nextId = 1;
|
|
2393
2550
|
readonly cells: {
|
|
@@ -2593,7 +2750,7 @@ declare class ConditionalFormatPlugin extends CorePlugin<ConditionalFormatState>
|
|
|
2593
2750
|
/**
|
|
2594
2751
|
* Add or remove cells to a given conditional formatting rule and return the adapted CF's XCs.
|
|
2595
2752
|
*/
|
|
2596
|
-
getAdaptedCfRanges(sheetId: UID, cf: ConditionalFormat, toAdd:
|
|
2753
|
+
getAdaptedCfRanges(sheetId: UID, cf: ConditionalFormat, toAdd: Zone[], toRemove: Zone[]): RangeData[] | undefined;
|
|
2597
2754
|
private mapToConditionalFormat;
|
|
2598
2755
|
private mapToConditionalFormatInternal;
|
|
2599
2756
|
/**
|
|
@@ -2675,10 +2832,10 @@ declare class FigurePlugin extends CorePlugin<FigureState> implements FigureStat
|
|
|
2675
2832
|
exportForExcel(data: ExcelWorkbookData): void;
|
|
2676
2833
|
}
|
|
2677
2834
|
|
|
2678
|
-
interface State$
|
|
2835
|
+
interface State$8 {
|
|
2679
2836
|
groups: Record<UID, Record<Dimension, HeaderGroup[]>>;
|
|
2680
2837
|
}
|
|
2681
|
-
declare class HeaderGroupingPlugin extends CorePlugin<State$
|
|
2838
|
+
declare class HeaderGroupingPlugin extends CorePlugin<State$8> {
|
|
2682
2839
|
static getters: readonly ["getHeaderGroups", "getGroupsLayers", "getVisibleGroupLayers", "getHeaderGroup", "getHeaderGroupsInZone", "isGroupFolded", "isRowFolded", "isColFolded"];
|
|
2683
2840
|
private readonly groups;
|
|
2684
2841
|
allowDispatch(cmd: CoreCommand): CommandResult;
|
|
@@ -2901,6 +3058,61 @@ declare class MergePlugin extends CorePlugin<MergeState> implements MergeState {
|
|
|
2901
3058
|
exportForExcel(data: ExcelWorkbookData): void;
|
|
2902
3059
|
}
|
|
2903
3060
|
|
|
3061
|
+
interface LocalPivot extends PivotCoreDefinition {
|
|
3062
|
+
/**
|
|
3063
|
+
* The formula id is the id that is used in the formula to identify the pivot.
|
|
3064
|
+
* It's different from the pivot id, which is the id of the pivot in the state.
|
|
3065
|
+
* The formula id is a readable id, auto-incremented. The pivotId is a UID.
|
|
3066
|
+
* We need this distinction to be assured that the pivotId is unique in a
|
|
3067
|
+
* context of collaboration.
|
|
3068
|
+
*/
|
|
3069
|
+
formulaId: string;
|
|
3070
|
+
}
|
|
3071
|
+
interface CoreState {
|
|
3072
|
+
nextFormulaId: number;
|
|
3073
|
+
pivots: Record<UID, LocalPivot | undefined>;
|
|
3074
|
+
formulaIds: Record<UID, string | undefined>;
|
|
3075
|
+
}
|
|
3076
|
+
declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState {
|
|
3077
|
+
static getters: readonly ["getPivotCoreDefinition", "getPivotDisplayName", "getPivotId", "getPivotFormulaId", "getPivotIds", "getPivotName", "isExistingPivot"];
|
|
3078
|
+
readonly nextFormulaId: number;
|
|
3079
|
+
readonly pivots: {
|
|
3080
|
+
[key: UID]: LocalPivot;
|
|
3081
|
+
};
|
|
3082
|
+
readonly formulaIds: {
|
|
3083
|
+
[key: UID]: string;
|
|
3084
|
+
};
|
|
3085
|
+
allowDispatch(cmd: CoreCommand): CommandResult.Success | CommandResult.NoChanges | CommandResult.PivotIdNotFound | CommandResult.EmptyName;
|
|
3086
|
+
handle(cmd: CoreCommand): void;
|
|
3087
|
+
getPivotDisplayName(pivotId: UID): string;
|
|
3088
|
+
getPivotName(pivotId: UID): string;
|
|
3089
|
+
/**
|
|
3090
|
+
* Returns the pivot core definition of the pivot with the given id.
|
|
3091
|
+
* Be careful, this is the core definition, this should be used only in a
|
|
3092
|
+
* context where the pivot is not loaded yet.
|
|
3093
|
+
*/
|
|
3094
|
+
getPivotCoreDefinition(pivotId: UID): PivotCoreDefinition;
|
|
3095
|
+
/**
|
|
3096
|
+
* Get the pivot ID (UID) from the formula ID (the one used in the formula)
|
|
3097
|
+
*/
|
|
3098
|
+
getPivotId(formulaId: string): string;
|
|
3099
|
+
getPivotFormulaId(pivotId: UID): string;
|
|
3100
|
+
getPivotIds(): UID[];
|
|
3101
|
+
isExistingPivot(pivotId: UID): boolean;
|
|
3102
|
+
private addPivot;
|
|
3103
|
+
private insertPivot;
|
|
3104
|
+
private resizeSheet;
|
|
3105
|
+
private addPivotFormula;
|
|
3106
|
+
/**
|
|
3107
|
+
* Import the pivots
|
|
3108
|
+
*/
|
|
3109
|
+
import(data: WorkbookData): void;
|
|
3110
|
+
/**
|
|
3111
|
+
* Export the pivots
|
|
3112
|
+
*/
|
|
3113
|
+
export(data: WorkbookData): void;
|
|
3114
|
+
}
|
|
3115
|
+
|
|
2904
3116
|
declare class SettingsPlugin extends CorePlugin {
|
|
2905
3117
|
static getters: readonly ["getLocale"];
|
|
2906
3118
|
private locale;
|
|
@@ -3062,7 +3274,7 @@ interface TableState {
|
|
|
3062
3274
|
tables: Record<UID, Record<TableId, CoreTable | undefined>>;
|
|
3063
3275
|
}
|
|
3064
3276
|
declare class TablePlugin extends CorePlugin<TableState> implements TableState {
|
|
3065
|
-
static getters: readonly ["getCoreTable", "getCoreTables"];
|
|
3277
|
+
static getters: readonly ["getCoreTable", "getCoreTables", "getCoreTableMatchingTopLeft"];
|
|
3066
3278
|
readonly tables: Record<UID, Record<TableId, CoreTable | undefined>>;
|
|
3067
3279
|
adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
|
|
3068
3280
|
allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
|
|
@@ -3086,7 +3298,7 @@ declare class TablePlugin extends CorePlugin<TableState> implements TableState {
|
|
|
3086
3298
|
*
|
|
3087
3299
|
*/
|
|
3088
3300
|
private canUpdateCellCmdExtendTable;
|
|
3089
|
-
|
|
3301
|
+
getCoreTableMatchingTopLeft(sheetId: UID, zone: Zone): CoreTable | undefined;
|
|
3090
3302
|
private checkUpdatedTableZoneIsValid;
|
|
3091
3303
|
private checkTableConfigUpdateIsValid;
|
|
3092
3304
|
private createStaticTable;
|
|
@@ -3241,6 +3453,9 @@ interface SheetData {
|
|
|
3241
3453
|
interface WorkbookSettings {
|
|
3242
3454
|
locale: Locale;
|
|
3243
3455
|
}
|
|
3456
|
+
interface PivotData extends PivotCoreDefinition {
|
|
3457
|
+
formulaId: string;
|
|
3458
|
+
}
|
|
3244
3459
|
interface WorkbookData {
|
|
3245
3460
|
version: number;
|
|
3246
3461
|
sheets: SheetData[];
|
|
@@ -3253,6 +3468,10 @@ interface WorkbookData {
|
|
|
3253
3468
|
borders: {
|
|
3254
3469
|
[key: number]: Border$1;
|
|
3255
3470
|
};
|
|
3471
|
+
pivots: {
|
|
3472
|
+
[key: string]: PivotData;
|
|
3473
|
+
};
|
|
3474
|
+
pivotNextId: number;
|
|
3256
3475
|
revisionId: UID;
|
|
3257
3476
|
uniqueFigureIds: boolean;
|
|
3258
3477
|
settings: WorkbookSettings;
|
|
@@ -3797,6 +4016,160 @@ declare class HeaderSizeUIPlugin extends UIPlugin<HeaderSizeState> implements He
|
|
|
3797
4016
|
private getRowTallestCell;
|
|
3798
4017
|
}
|
|
3799
4018
|
|
|
4019
|
+
/**
|
|
4020
|
+
* Represent a pivot runtime definition. A pivot runtime definition is a pivot
|
|
4021
|
+
* definition that has been enriched to include the display name of its attributes
|
|
4022
|
+
* (measures, columns, rows).
|
|
4023
|
+
*/
|
|
4024
|
+
declare class PivotRuntimeDefinition {
|
|
4025
|
+
readonly measures: PivotMeasure[];
|
|
4026
|
+
readonly columns: PivotDimension$1[];
|
|
4027
|
+
readonly rows: PivotDimension$1[];
|
|
4028
|
+
constructor(definition: CommonPivotCoreDefinition, fields: PivotFields);
|
|
4029
|
+
}
|
|
4030
|
+
|
|
4031
|
+
/**
|
|
4032
|
+
* Class used to ease the construction of a pivot table.
|
|
4033
|
+
* Let's consider the following example, with:
|
|
4034
|
+
* - columns groupBy: [sales_team, create_date]
|
|
4035
|
+
* - rows groupBy: [continent, city]
|
|
4036
|
+
* - measures: [revenues]
|
|
4037
|
+
* _____________________________________________________________________________________| ----|
|
|
4038
|
+
* | | Sale Team 1 | Sale Team 2 | | |
|
|
4039
|
+
* | |___________________________|_________________________|_____________| |
|
|
4040
|
+
* | | May 2020 | June 2020 | May 2020 | June 2020 | Total | |<---- `cols`
|
|
4041
|
+
* | |______________|____________|____________|____________|_____________| | ----|
|
|
4042
|
+
* | | Revenues | Revenues | Revenues | Revenues | Revenues | | |<--- `measureRow`
|
|
4043
|
+
* |________________|______________|____________|____________|____________|_____________| ----| ----|
|
|
4044
|
+
* |Europe | 25 | 35 | 40 | 30 | 65 | ----|
|
|
4045
|
+
* | Brussels | 0 | 15 | 30 | 30 | 30 | |
|
|
4046
|
+
* | Paris | 25 | 20 | 10 | 0 | 35 | |
|
|
4047
|
+
* |North America | 60 | 75 | | | 60 | |<---- `body`
|
|
4048
|
+
* | Washington | 60 | 75 | | | 60 | |
|
|
4049
|
+
* |Total | 85 | 110 | 40 | 30 | 125 | |
|
|
4050
|
+
* |________________|______________|____________|____________|____________|_____________| ----|
|
|
4051
|
+
*
|
|
4052
|
+
* | |
|
|
4053
|
+
* |----------------|
|
|
4054
|
+
* |
|
|
4055
|
+
* |
|
|
4056
|
+
* `rows`
|
|
4057
|
+
*
|
|
4058
|
+
* `rows` is an array of cells, each cells contains the indent level, the fields used for the group by and the values for theses fields.
|
|
4059
|
+
* For example:
|
|
4060
|
+
* `Europe`: { indent: 1, fields: ["continent"], values: ["id_of_Europe"]}
|
|
4061
|
+
* `Brussels`: { indent: 2, fields: ["continent", "city"], values: ["id_of_Europe", "id_of_Brussels"]}
|
|
4062
|
+
* `Total`: { indent: 0, fields: [], values: []}
|
|
4063
|
+
*
|
|
4064
|
+
* `columns` is an double array, first by row and then by cell. So, in this example, it looks like:
|
|
4065
|
+
* [[row1], [row2], [measureRow]]
|
|
4066
|
+
* Each cell of a column's row contains the width (span) of the cells, the fields used for the group by and the values for theses fields.
|
|
4067
|
+
* For example:
|
|
4068
|
+
* `Sale Team 1`: { width: 2, fields: ["sales_team"], values: ["id_of_SaleTeam1"]}
|
|
4069
|
+
* `May 2020` (the one under Sale Team 2): { width: 1, fields: ["sales_team", "create_date"], values: ["id_of_SaleTeam2", "May 2020"]}
|
|
4070
|
+
* `Revenues` (the one under Total): { width: 1, fields: ["measure"], values: ["revenues"]}
|
|
4071
|
+
*
|
|
4072
|
+
*/
|
|
4073
|
+
declare class SpreadsheetPivotTable {
|
|
4074
|
+
readonly columns: SPTableColumn[][];
|
|
4075
|
+
readonly rows: SPTableRow[];
|
|
4076
|
+
readonly measures: string[];
|
|
4077
|
+
readonly rowTitle?: string;
|
|
4078
|
+
readonly maxIndent: number;
|
|
4079
|
+
readonly pivotCells: {
|
|
4080
|
+
[key: string]: SPTableCell[][];
|
|
4081
|
+
};
|
|
4082
|
+
constructor(columns: SPTableColumn[][], rows: SPTableRow[], measures: string[], rowTitle?: string);
|
|
4083
|
+
/**
|
|
4084
|
+
* Get the number of columns leafs (i.e. the number of the last row of columns)
|
|
4085
|
+
*/
|
|
4086
|
+
getNumberOfDataColumns(): number;
|
|
4087
|
+
getPivotCells(includeTotal?: boolean, includeColumnHeaders?: boolean): SPTableCell[][];
|
|
4088
|
+
private isTotalRow;
|
|
4089
|
+
private getPivotCell;
|
|
4090
|
+
private getColHeaderDomain;
|
|
4091
|
+
private getColDomain;
|
|
4092
|
+
private getColMeasure;
|
|
4093
|
+
private getRowDomain;
|
|
4094
|
+
export(): {
|
|
4095
|
+
cols: SPTableColumn[][];
|
|
4096
|
+
rows: SPTableRow[];
|
|
4097
|
+
measures: string[];
|
|
4098
|
+
rowTitle: string | undefined;
|
|
4099
|
+
};
|
|
4100
|
+
}
|
|
4101
|
+
|
|
4102
|
+
interface Pivot<T = PivotRuntimeDefinition> {
|
|
4103
|
+
definition: T;
|
|
4104
|
+
getMeasure: (name: string) => PivotMeasure;
|
|
4105
|
+
computePivotHeaderValue(domain: Array<string | number>): string | boolean | number;
|
|
4106
|
+
getLastPivotGroupValue(domain: Array<string | number>): string | boolean | number;
|
|
4107
|
+
getTableStructure(): SpreadsheetPivotTable;
|
|
4108
|
+
getPivotCellValue(measure: string, domain: Array<string | number>): string | boolean | number;
|
|
4109
|
+
getPivotFieldFormat(name: string): string;
|
|
4110
|
+
getPivotMeasureFormat(name: string): string | undefined;
|
|
4111
|
+
assertIsValid({ throwOnError }: {
|
|
4112
|
+
throwOnError: boolean;
|
|
4113
|
+
}): FPayload | undefined;
|
|
4114
|
+
load(params: unknown): Promise<void>;
|
|
4115
|
+
getFields(): PivotFields | undefined;
|
|
4116
|
+
isLoadedAndValid(): boolean;
|
|
4117
|
+
getPossibleFieldValues(groupBy: string): {
|
|
4118
|
+
value: string | boolean | number;
|
|
4119
|
+
label: string;
|
|
4120
|
+
}[];
|
|
4121
|
+
}
|
|
4122
|
+
|
|
4123
|
+
declare class PivotUIPlugin extends UIPlugin {
|
|
4124
|
+
static getters: readonly ["getPivot", "getFirstPivotFunction", "getPivotIdFromPosition", "getPivotDomainArgsFromPosition", "isPivotUnused", "areDomainArgsFieldsValid"];
|
|
4125
|
+
private pivots;
|
|
4126
|
+
private unusedPivots?;
|
|
4127
|
+
private custom;
|
|
4128
|
+
constructor(config: UIPluginConfig);
|
|
4129
|
+
beforeHandle(cmd: Command): void;
|
|
4130
|
+
handle(cmd: Command): void;
|
|
4131
|
+
/**
|
|
4132
|
+
* Get the id of the pivot at the given position. Returns undefined if there
|
|
4133
|
+
* is no pivot at this position
|
|
4134
|
+
*/
|
|
4135
|
+
getPivotIdFromPosition(position: CellPosition): string | undefined;
|
|
4136
|
+
getFirstPivotFunction(tokens: Token[]): {
|
|
4137
|
+
functionName: string;
|
|
4138
|
+
args: (CellValue | Matrix<CellValue> | undefined)[];
|
|
4139
|
+
} | undefined;
|
|
4140
|
+
/**
|
|
4141
|
+
* Returns the domain args of a pivot formula from a position.
|
|
4142
|
+
* For all those formulas:
|
|
4143
|
+
*
|
|
4144
|
+
* =PIVOT.VALUE(1,"expected_revenue","stage_id",2,"city","Brussels")
|
|
4145
|
+
* =PIVOT.HEADER(1,"stage_id",2,"city","Brussels")
|
|
4146
|
+
* =PIVOT.HEADER(1,"stage_id",2,"city","Brussels","measure","expected_revenue")
|
|
4147
|
+
*
|
|
4148
|
+
* the result is the same: ["stage_id", 2, "city", "Brussels"]
|
|
4149
|
+
*
|
|
4150
|
+
* If the cell is the result of PIVOT, the result is the domain of the cell
|
|
4151
|
+
* as if it was the individual pivot formula
|
|
4152
|
+
*/
|
|
4153
|
+
getPivotDomainArgsFromPosition(position: CellPosition): (CellValue | Matrix<CellValue> | undefined)[] | undefined;
|
|
4154
|
+
getPivot(pivotId: UID): Pivot<PivotRuntimeDefinition>;
|
|
4155
|
+
getPivotDataSourceId(pivotId: UID): string;
|
|
4156
|
+
isPivotUnused(pivotId: UID): boolean;
|
|
4157
|
+
/**
|
|
4158
|
+
* Check if the fields in the domain part of
|
|
4159
|
+
* a pivot function are valid according to the pivot definition.
|
|
4160
|
+
* e.g. =PIVOT.VALUE(1,"revenue","country_id",...,"create_date:month",...,"source_id",...)
|
|
4161
|
+
*/
|
|
4162
|
+
areDomainArgsFieldsValid(pivotId: UID, domainArgs: string[]): boolean;
|
|
4163
|
+
/**
|
|
4164
|
+
* Refresh the cache of a pivot
|
|
4165
|
+
*/
|
|
4166
|
+
private refreshPivot;
|
|
4167
|
+
setupPivot(pivotId: UID, { recreate }?: {
|
|
4168
|
+
recreate: boolean;
|
|
4169
|
+
}): void;
|
|
4170
|
+
_getUnusedPivots(): UID[];
|
|
4171
|
+
}
|
|
4172
|
+
|
|
3800
4173
|
/**
|
|
3801
4174
|
* Autofill Plugin
|
|
3802
4175
|
*
|
|
@@ -4221,7 +4594,7 @@ declare class ClipboardPlugin extends UIPlugin {
|
|
|
4221
4594
|
declare class FilterEvaluationPlugin extends UIPlugin {
|
|
4222
4595
|
static getters: readonly ["getFilterHiddenValues", "getFirstTableInSelection", "isRowFiltered", "isFilterActive"];
|
|
4223
4596
|
private filterValues;
|
|
4224
|
-
hiddenRows: Set<number>;
|
|
4597
|
+
hiddenRows: Record<UID, Set<number> | undefined>;
|
|
4225
4598
|
isEvaluationDirty: boolean;
|
|
4226
4599
|
allowDispatch(cmd: LocalCommand): CommandResult;
|
|
4227
4600
|
handle(cmd: Command): void;
|
|
@@ -4354,8 +4727,8 @@ declare class InternalViewport {
|
|
|
4354
4727
|
canScrollHorizontally: boolean;
|
|
4355
4728
|
viewportWidth: Pixel;
|
|
4356
4729
|
viewportHeight: Pixel;
|
|
4357
|
-
|
|
4358
|
-
|
|
4730
|
+
offsetCorrectionX: Pixel;
|
|
4731
|
+
offsetCorrectionY: Pixel;
|
|
4359
4732
|
constructor(getters: Getters, sheetId: UID, boundaries: Zone, sizeInGrid: DOMDimension, options: {
|
|
4360
4733
|
canScrollVertically: boolean;
|
|
4361
4734
|
canScrollHorizontally: boolean;
|
|
@@ -4560,11 +4933,6 @@ declare class SheetViewPlugin extends UIPlugin {
|
|
|
4560
4933
|
private resizeSheetView;
|
|
4561
4934
|
private recomputeViewports;
|
|
4562
4935
|
private setSheetViewOffset;
|
|
4563
|
-
/**
|
|
4564
|
-
* Clip the vertical offset within the allowed range.
|
|
4565
|
-
* Not above the sheet, nor below the sheet.
|
|
4566
|
-
*/
|
|
4567
|
-
private clipOffsetY;
|
|
4568
4936
|
private getViewportOffset;
|
|
4569
4937
|
private resetViewports;
|
|
4570
4938
|
/**
|
|
@@ -4639,11 +5007,11 @@ type PluginGetters<Plugin extends {
|
|
|
4639
5007
|
getters: readonly string[];
|
|
4640
5008
|
}> = Pick<InstanceType<Plugin>, GetterNames<Plugin>>;
|
|
4641
5009
|
type RangeAdapterGetters = Pick<RangeAdapter, GetterNames<typeof RangeAdapter>>;
|
|
4642
|
-
type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof HeaderSizePlugin> & PluginGetters<typeof HeaderVisibilityPlugin> & PluginGetters<typeof CellPlugin> & PluginGetters<typeof MergePlugin> & PluginGetters<typeof BordersPlugin> & PluginGetters<typeof ChartPlugin> & PluginGetters<typeof ImagePlugin> & PluginGetters<typeof FigurePlugin> & RangeAdapterGetters & PluginGetters<typeof ConditionalFormatPlugin> & PluginGetters<typeof TablePlugin> & PluginGetters<typeof SettingsPlugin> & PluginGetters<typeof HeaderGroupingPlugin> & PluginGetters<typeof DataValidationPlugin>;
|
|
5010
|
+
type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof HeaderSizePlugin> & PluginGetters<typeof HeaderVisibilityPlugin> & PluginGetters<typeof CellPlugin> & PluginGetters<typeof MergePlugin> & PluginGetters<typeof BordersPlugin> & PluginGetters<typeof ChartPlugin> & PluginGetters<typeof ImagePlugin> & PluginGetters<typeof FigurePlugin> & RangeAdapterGetters & PluginGetters<typeof ConditionalFormatPlugin> & PluginGetters<typeof TablePlugin> & PluginGetters<typeof SettingsPlugin> & PluginGetters<typeof HeaderGroupingPlugin> & PluginGetters<typeof DataValidationPlugin> & PluginGetters<typeof PivotCorePlugin>;
|
|
4643
5011
|
type Getters = {
|
|
4644
5012
|
isReadonly: () => boolean;
|
|
4645
5013
|
isDashboard: () => boolean;
|
|
4646
|
-
} & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof FindAndReplacePlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin> & PluginGetters<typeof TableStylePlugin> & PluginGetters<typeof CellComputedStylePlugin> & PluginGetters<typeof DynamicTablesPlugin>;
|
|
5014
|
+
} & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof FindAndReplacePlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin> & PluginGetters<typeof TableStylePlugin> & PluginGetters<typeof CellComputedStylePlugin> & PluginGetters<typeof DynamicTablesPlugin> & PluginGetters<typeof PivotUIPlugin>;
|
|
4647
5015
|
|
|
4648
5016
|
type ArgType = "ANY" | "BOOLEAN" | "NUMBER" | "STRING" | "DATE" | "RANGE" | "RANGE<BOOLEAN>" | "RANGE<NUMBER>" | "RANGE<DATE>" | "RANGE<STRING>" | "RANGE<ANY>" | "META";
|
|
4649
5017
|
interface ArgDefinition {
|
|
@@ -4961,6 +5329,7 @@ declare class DateTime {
|
|
|
4961
5329
|
getTime(): number;
|
|
4962
5330
|
getFullYear(): number;
|
|
4963
5331
|
getMonth(): number;
|
|
5332
|
+
getQuarter(): number;
|
|
4964
5333
|
getDate(): number;
|
|
4965
5334
|
getDay(): number;
|
|
4966
5335
|
getHours(): number;
|
|
@@ -5112,12 +5481,11 @@ declare function isInside(col: number, row: number, zone: Zone): boolean;
|
|
|
5112
5481
|
* a cell that is part of the new zone and not the previous one.
|
|
5113
5482
|
*/
|
|
5114
5483
|
declare function findCellInNewZone(oldZone: Zone, currentZone: Zone): Position$1;
|
|
5115
|
-
declare function positionToZone(position: Position$1):
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
};
|
|
5484
|
+
declare function positionToZone(position: Position$1): Zone;
|
|
5485
|
+
/**
|
|
5486
|
+
* Merge contiguous and overlapping zones that are in the array into bigger zones
|
|
5487
|
+
*/
|
|
5488
|
+
declare function mergeContiguousZones(zones: Zone[]): Zone[];
|
|
5121
5489
|
|
|
5122
5490
|
/**
|
|
5123
5491
|
* Model
|
|
@@ -5305,6 +5673,62 @@ declare class Model extends EventBus<any> implements CommandDispatcher {
|
|
|
5305
5673
|
garbageCollectExternalResources(): void;
|
|
5306
5674
|
}
|
|
5307
5675
|
|
|
5676
|
+
/**
|
|
5677
|
+
* Registry
|
|
5678
|
+
*
|
|
5679
|
+
* The Registry class is basically just a mapping from a string key to an object.
|
|
5680
|
+
* It is really not much more than an object. It is however useful for the
|
|
5681
|
+
* following reasons:
|
|
5682
|
+
*
|
|
5683
|
+
* 1. it let us react and execute code when someone add something to the registry
|
|
5684
|
+
* (for example, the FunctionRegistry subclass this for this purpose)
|
|
5685
|
+
* 2. it throws an error when the get operation fails
|
|
5686
|
+
* 3. it provides a chained API to add items to the registry.
|
|
5687
|
+
*/
|
|
5688
|
+
declare class Registry<T> {
|
|
5689
|
+
content: {
|
|
5690
|
+
[key: string]: T;
|
|
5691
|
+
};
|
|
5692
|
+
/**
|
|
5693
|
+
* Add an item to the registry
|
|
5694
|
+
*
|
|
5695
|
+
* Note that this also returns the registry, so another add method call can
|
|
5696
|
+
* be chained
|
|
5697
|
+
*/
|
|
5698
|
+
add(key: string, value: T): Registry<T>;
|
|
5699
|
+
/**
|
|
5700
|
+
* Get an item from the registry
|
|
5701
|
+
*/
|
|
5702
|
+
get(key: string): T;
|
|
5703
|
+
/**
|
|
5704
|
+
* Check if the key is already in the registry
|
|
5705
|
+
*/
|
|
5706
|
+
contains(key: string): boolean;
|
|
5707
|
+
/**
|
|
5708
|
+
* Get a list of all elements in the registry
|
|
5709
|
+
*/
|
|
5710
|
+
getAll(): T[];
|
|
5711
|
+
/**
|
|
5712
|
+
* Get a list of all keys in the registry
|
|
5713
|
+
*/
|
|
5714
|
+
getKeys(): string[];
|
|
5715
|
+
/**
|
|
5716
|
+
* Remove an item from the registry
|
|
5717
|
+
*/
|
|
5718
|
+
remove(key: string): void;
|
|
5719
|
+
}
|
|
5720
|
+
|
|
5721
|
+
interface PivotParams {
|
|
5722
|
+
definition: PivotCoreDefinition;
|
|
5723
|
+
getters: Getters;
|
|
5724
|
+
}
|
|
5725
|
+
type PivotConstructor = new (custom: ModelConfig["custom"], params: PivotParams) => Pivot;
|
|
5726
|
+
type PivotDefinitionConstructor = new (definition: PivotCoreDefinition, fields: PivotFields) => PivotRuntimeDefinition;
|
|
5727
|
+
interface PivotRegistryItem {
|
|
5728
|
+
cls: PivotConstructor;
|
|
5729
|
+
definition: PivotDefinitionConstructor;
|
|
5730
|
+
}
|
|
5731
|
+
|
|
5308
5732
|
declare class ClipboardHandler<T> {
|
|
5309
5733
|
protected getters: Getters;
|
|
5310
5734
|
protected dispatch: CommandDispatcher["dispatch"];
|
|
@@ -5373,51 +5797,6 @@ type PositionedCellPopoverComponent<C extends MaxSizedComponentConstructor = Max
|
|
|
5373
5797
|
cellCorner: PopoverPropsPosition;
|
|
5374
5798
|
};
|
|
5375
5799
|
|
|
5376
|
-
/**
|
|
5377
|
-
* Registry
|
|
5378
|
-
*
|
|
5379
|
-
* The Registry class is basically just a mapping from a string key to an object.
|
|
5380
|
-
* It is really not much more than an object. It is however useful for the
|
|
5381
|
-
* following reasons:
|
|
5382
|
-
*
|
|
5383
|
-
* 1. it let us react and execute code when someone add something to the registry
|
|
5384
|
-
* (for example, the FunctionRegistry subclass this for this purpose)
|
|
5385
|
-
* 2. it throws an error when the get operation fails
|
|
5386
|
-
* 3. it provides a chained API to add items to the registry.
|
|
5387
|
-
*/
|
|
5388
|
-
declare class Registry<T> {
|
|
5389
|
-
content: {
|
|
5390
|
-
[key: string]: T;
|
|
5391
|
-
};
|
|
5392
|
-
/**
|
|
5393
|
-
* Add an item to the registry
|
|
5394
|
-
*
|
|
5395
|
-
* Note that this also returns the registry, so another add method call can
|
|
5396
|
-
* be chained
|
|
5397
|
-
*/
|
|
5398
|
-
add(key: string, value: T): Registry<T>;
|
|
5399
|
-
/**
|
|
5400
|
-
* Get an item from the registry
|
|
5401
|
-
*/
|
|
5402
|
-
get(key: string): T;
|
|
5403
|
-
/**
|
|
5404
|
-
* Check if the key is already in the registry
|
|
5405
|
-
*/
|
|
5406
|
-
contains(key: string): boolean;
|
|
5407
|
-
/**
|
|
5408
|
-
* Get a list of all elements in the registry
|
|
5409
|
-
*/
|
|
5410
|
-
getAll(): T[];
|
|
5411
|
-
/**
|
|
5412
|
-
* Get a list of all keys in the registry
|
|
5413
|
-
*/
|
|
5414
|
-
getKeys(): string[];
|
|
5415
|
-
/**
|
|
5416
|
-
* Remove an item from the registry
|
|
5417
|
-
*/
|
|
5418
|
-
remove(key: string): void;
|
|
5419
|
-
}
|
|
5420
|
-
|
|
5421
5800
|
interface LinkSpec {
|
|
5422
5801
|
readonly match: (url: string) => boolean;
|
|
5423
5802
|
readonly createLink: (url: string, label: string) => Link;
|
|
@@ -5597,7 +5976,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
5597
5976
|
getIndex(rangeId: number | null): number | null;
|
|
5598
5977
|
}
|
|
5599
5978
|
|
|
5600
|
-
interface Props$
|
|
5979
|
+
interface Props$X {
|
|
5601
5980
|
ranges: string[];
|
|
5602
5981
|
hasSingleRange?: boolean;
|
|
5603
5982
|
required?: boolean;
|
|
@@ -5619,7 +5998,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
5619
5998
|
* onSelectionChanged is called every time the input value
|
|
5620
5999
|
* changes.
|
|
5621
6000
|
*/
|
|
5622
|
-
declare class SelectionInput extends Component<Props$
|
|
6001
|
+
declare class SelectionInput extends Component<Props$X, SpreadsheetChildEnv> {
|
|
5623
6002
|
static template: string;
|
|
5624
6003
|
static props: {
|
|
5625
6004
|
ranges: ArrayConstructor;
|
|
@@ -5669,11 +6048,11 @@ declare class SelectionInput extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
|
5669
6048
|
confirm(): void;
|
|
5670
6049
|
}
|
|
5671
6050
|
|
|
5672
|
-
interface Props$
|
|
6051
|
+
interface Props$W {
|
|
5673
6052
|
messages: string[];
|
|
5674
6053
|
msgType: "warning" | "error";
|
|
5675
6054
|
}
|
|
5676
|
-
declare class ValidationMessages extends Component<Props$
|
|
6055
|
+
declare class ValidationMessages extends Component<Props$W, SpreadsheetChildEnv> {
|
|
5677
6056
|
static template: string;
|
|
5678
6057
|
static props: {
|
|
5679
6058
|
messages: ArrayConstructor;
|
|
@@ -5682,7 +6061,7 @@ declare class ValidationMessages extends Component<Props$P, SpreadsheetChildEnv>
|
|
|
5682
6061
|
get divClasses(): "o-validation-warning text-warning" | "o-validation-error text-danger";
|
|
5683
6062
|
}
|
|
5684
6063
|
|
|
5685
|
-
interface Props$
|
|
6064
|
+
interface Props$V {
|
|
5686
6065
|
label?: string;
|
|
5687
6066
|
value: boolean;
|
|
5688
6067
|
className?: string;
|
|
@@ -5691,7 +6070,7 @@ interface Props$O {
|
|
|
5691
6070
|
disabled?: boolean;
|
|
5692
6071
|
onChange: (value: boolean) => void;
|
|
5693
6072
|
}
|
|
5694
|
-
declare class Checkbox extends Component<Props$
|
|
6073
|
+
declare class Checkbox extends Component<Props$V, SpreadsheetChildEnv> {
|
|
5695
6074
|
static template: string;
|
|
5696
6075
|
static props: {
|
|
5697
6076
|
label: {
|
|
@@ -5726,10 +6105,10 @@ declare class Checkbox extends Component<Props$O, SpreadsheetChildEnv> {
|
|
|
5726
6105
|
onChange(ev: InputEvent): void;
|
|
5727
6106
|
}
|
|
5728
6107
|
|
|
5729
|
-
interface Props$
|
|
6108
|
+
interface Props$U {
|
|
5730
6109
|
class?: string;
|
|
5731
6110
|
}
|
|
5732
|
-
declare class Section extends Component<Props$
|
|
6111
|
+
declare class Section extends Component<Props$U, SpreadsheetChildEnv> {
|
|
5733
6112
|
static template: string;
|
|
5734
6113
|
static props: {
|
|
5735
6114
|
class: {
|
|
@@ -5740,13 +6119,13 @@ declare class Section extends Component<Props$N, SpreadsheetChildEnv> {
|
|
|
5740
6119
|
};
|
|
5741
6120
|
}
|
|
5742
6121
|
|
|
5743
|
-
interface Props$
|
|
6122
|
+
interface Props$T {
|
|
5744
6123
|
ranges: string[];
|
|
5745
6124
|
hasSingleRange?: boolean;
|
|
5746
6125
|
onSelectionChanged: (ranges: string[]) => void;
|
|
5747
6126
|
onSelectionConfirmed: () => void;
|
|
5748
6127
|
}
|
|
5749
|
-
declare class ChartDataSeries extends Component<Props$
|
|
6128
|
+
declare class ChartDataSeries extends Component<Props$T, SpreadsheetChildEnv> {
|
|
5750
6129
|
static template: string;
|
|
5751
6130
|
static components: {
|
|
5752
6131
|
SelectionInput: typeof SelectionInput;
|
|
@@ -5764,10 +6143,10 @@ declare class ChartDataSeries extends Component<Props$M, SpreadsheetChildEnv> {
|
|
|
5764
6143
|
get title(): string;
|
|
5765
6144
|
}
|
|
5766
6145
|
|
|
5767
|
-
interface Props$
|
|
6146
|
+
interface Props$S {
|
|
5768
6147
|
messages: string[];
|
|
5769
6148
|
}
|
|
5770
|
-
declare class ChartErrorSection extends Component<Props$
|
|
6149
|
+
declare class ChartErrorSection extends Component<Props$S, SpreadsheetChildEnv> {
|
|
5771
6150
|
static template: string;
|
|
5772
6151
|
static components: {
|
|
5773
6152
|
Section: typeof Section;
|
|
@@ -5781,7 +6160,7 @@ declare class ChartErrorSection extends Component<Props$L, SpreadsheetChildEnv>
|
|
|
5781
6160
|
};
|
|
5782
6161
|
}
|
|
5783
6162
|
|
|
5784
|
-
interface Props$
|
|
6163
|
+
interface Props$R {
|
|
5785
6164
|
title?: string;
|
|
5786
6165
|
range: string;
|
|
5787
6166
|
isInvalid: boolean;
|
|
@@ -5795,7 +6174,7 @@ interface Props$K {
|
|
|
5795
6174
|
onChange: (value: boolean) => void;
|
|
5796
6175
|
}>;
|
|
5797
6176
|
}
|
|
5798
|
-
declare class ChartLabelRange extends Component<Props$
|
|
6177
|
+
declare class ChartLabelRange extends Component<Props$R, SpreadsheetChildEnv> {
|
|
5799
6178
|
static template: string;
|
|
5800
6179
|
static components: {
|
|
5801
6180
|
SelectionInput: typeof SelectionInput;
|
|
@@ -5820,16 +6199,16 @@ declare class ChartLabelRange extends Component<Props$K, SpreadsheetChildEnv> {
|
|
|
5820
6199
|
optional: boolean;
|
|
5821
6200
|
};
|
|
5822
6201
|
};
|
|
5823
|
-
static defaultProps: Partial<Props$
|
|
6202
|
+
static defaultProps: Partial<Props$R>;
|
|
5824
6203
|
}
|
|
5825
6204
|
|
|
5826
|
-
interface Props$
|
|
6205
|
+
interface Props$Q {
|
|
5827
6206
|
figureId: UID;
|
|
5828
|
-
definition:
|
|
5829
|
-
canUpdateChart: (figureId: UID, definition: Partial<
|
|
5830
|
-
updateChart: (figureId: UID, definition: Partial<
|
|
6207
|
+
definition: ChartWithAxisDefinition;
|
|
6208
|
+
canUpdateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
6209
|
+
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
5831
6210
|
}
|
|
5832
|
-
declare class
|
|
6211
|
+
declare class GenericChartConfigPanel extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
5833
6212
|
static template: string;
|
|
5834
6213
|
static components: {
|
|
5835
6214
|
SelectionInput: typeof SelectionInput;
|
|
@@ -5879,7 +6258,7 @@ declare class LineBarPieConfigPanel extends Component<Props$J, SpreadsheetChildE
|
|
|
5879
6258
|
calculateHeaderPosition(): number | undefined;
|
|
5880
6259
|
}
|
|
5881
6260
|
|
|
5882
|
-
declare class BarConfigPanel extends
|
|
6261
|
+
declare class BarConfigPanel extends GenericChartConfigPanel {
|
|
5883
6262
|
static template: string;
|
|
5884
6263
|
get stackedLabel(): string;
|
|
5885
6264
|
onUpdateStacked(stacked: boolean): void;
|
|
@@ -6029,7 +6408,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
6029
6408
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
6030
6409
|
}
|
|
6031
6410
|
|
|
6032
|
-
interface Props$
|
|
6411
|
+
interface Props$P {
|
|
6033
6412
|
currentColor: string | undefined;
|
|
6034
6413
|
toggleColorPicker: () => void;
|
|
6035
6414
|
showColorPicker: boolean;
|
|
@@ -6040,7 +6419,7 @@ interface Props$I {
|
|
|
6040
6419
|
dropdownMaxHeight?: Pixel;
|
|
6041
6420
|
class?: string;
|
|
6042
6421
|
}
|
|
6043
|
-
declare class ColorPickerWidget extends Component<Props$
|
|
6422
|
+
declare class ColorPickerWidget extends Component<Props$P, SpreadsheetChildEnv> {
|
|
6044
6423
|
static template: string;
|
|
6045
6424
|
static props: {
|
|
6046
6425
|
currentColor: {
|
|
@@ -6078,12 +6457,12 @@ declare class ColorPickerWidget extends Component<Props$I, SpreadsheetChildEnv>
|
|
|
6078
6457
|
get colorPickerAnchorRect(): Rect;
|
|
6079
6458
|
}
|
|
6080
6459
|
|
|
6081
|
-
interface Props$
|
|
6460
|
+
interface Props$O {
|
|
6082
6461
|
currentColor?: string;
|
|
6083
6462
|
onColorPicked: (color: string) => void;
|
|
6084
6463
|
title?: string;
|
|
6085
6464
|
}
|
|
6086
|
-
declare class RoundColorPicker extends Component<Props$
|
|
6465
|
+
declare class RoundColorPicker extends Component<Props$O, SpreadsheetChildEnv> {
|
|
6087
6466
|
static template: string;
|
|
6088
6467
|
static components: {
|
|
6089
6468
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
@@ -6113,11 +6492,11 @@ declare class RoundColorPicker extends Component<Props$H, SpreadsheetChildEnv> {
|
|
|
6113
6492
|
get buttonStyle(): string;
|
|
6114
6493
|
}
|
|
6115
6494
|
|
|
6116
|
-
interface Props$
|
|
6495
|
+
interface Props$N {
|
|
6117
6496
|
title: string;
|
|
6118
6497
|
update: (title: string) => void;
|
|
6119
6498
|
}
|
|
6120
|
-
declare class ChartTitle extends Component<Props$
|
|
6499
|
+
declare class ChartTitle extends Component<Props$N, SpreadsheetChildEnv> {
|
|
6121
6500
|
static template: string;
|
|
6122
6501
|
static components: {
|
|
6123
6502
|
Section: typeof Section;
|
|
@@ -6129,13 +6508,13 @@ declare class ChartTitle extends Component<Props$G, SpreadsheetChildEnv> {
|
|
|
6129
6508
|
updateTitle(ev: InputEvent): void;
|
|
6130
6509
|
}
|
|
6131
6510
|
|
|
6132
|
-
interface Props$
|
|
6511
|
+
interface Props$M {
|
|
6133
6512
|
figureId: UID;
|
|
6134
|
-
definition:
|
|
6135
|
-
canUpdateChart: (definition: Partial<
|
|
6136
|
-
updateChart: (figureId: UID, definition: Partial<
|
|
6513
|
+
definition: ChartWithAxisDefinition;
|
|
6514
|
+
canUpdateChart: (definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
6515
|
+
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
6137
6516
|
}
|
|
6138
|
-
declare class
|
|
6517
|
+
declare class GenericChartDesignPanel extends Component<Props$M, SpreadsheetChildEnv> {
|
|
6139
6518
|
static template: string;
|
|
6140
6519
|
static components: {
|
|
6141
6520
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -6155,13 +6534,13 @@ declare class LineBarPieDesignPanel extends Component<Props$F, SpreadsheetChildE
|
|
|
6155
6534
|
get backgroundColorTitle(): string;
|
|
6156
6535
|
}
|
|
6157
6536
|
|
|
6158
|
-
interface Props$
|
|
6537
|
+
interface Props$L {
|
|
6159
6538
|
figureId: UID;
|
|
6160
6539
|
definition: GaugeChartDefinition;
|
|
6161
6540
|
canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
6162
6541
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
6163
6542
|
}
|
|
6164
|
-
declare class GaugeChartConfigPanel extends Component<Props$
|
|
6543
|
+
declare class GaugeChartConfigPanel extends Component<Props$L, SpreadsheetChildEnv> {
|
|
6165
6544
|
static template: string;
|
|
6166
6545
|
static components: {
|
|
6167
6546
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -6182,13 +6561,13 @@ declare class GaugeChartConfigPanel extends Component<Props$E, SpreadsheetChildE
|
|
|
6182
6561
|
getDataRange(): string;
|
|
6183
6562
|
}
|
|
6184
6563
|
|
|
6185
|
-
interface Props$
|
|
6564
|
+
interface Props$K {
|
|
6186
6565
|
figureId: UID;
|
|
6187
6566
|
definition: GaugeChartDefinition;
|
|
6188
6567
|
canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
6189
6568
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
6190
6569
|
}
|
|
6191
|
-
declare class GaugeChartDesignPanel extends Component<Props$
|
|
6570
|
+
declare class GaugeChartDesignPanel extends Component<Props$K, SpreadsheetChildEnv> {
|
|
6192
6571
|
static template: string;
|
|
6193
6572
|
static components: {
|
|
6194
6573
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -6217,7 +6596,7 @@ declare class GaugeChartDesignPanel extends Component<Props$D, SpreadsheetChildE
|
|
|
6217
6596
|
get backgroundColorTitle(): string;
|
|
6218
6597
|
}
|
|
6219
6598
|
|
|
6220
|
-
declare class LineConfigPanel extends
|
|
6599
|
+
declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
6221
6600
|
static template: string;
|
|
6222
6601
|
get canTreatLabelsAsText(): boolean;
|
|
6223
6602
|
get stackedLabel(): string;
|
|
@@ -6234,13 +6613,13 @@ declare class LineConfigPanel extends LineBarPieConfigPanel {
|
|
|
6234
6613
|
onUpdateCumulative(cumulative: boolean): void;
|
|
6235
6614
|
}
|
|
6236
6615
|
|
|
6237
|
-
interface Props$
|
|
6616
|
+
interface Props$J {
|
|
6238
6617
|
figureId: UID;
|
|
6239
6618
|
definition: ScorecardChartDefinition;
|
|
6240
6619
|
canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
6241
6620
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
6242
6621
|
}
|
|
6243
|
-
declare class ScorecardChartConfigPanel extends Component<Props$
|
|
6622
|
+
declare class ScorecardChartConfigPanel extends Component<Props$J, SpreadsheetChildEnv> {
|
|
6244
6623
|
static template: string;
|
|
6245
6624
|
static components: {
|
|
6246
6625
|
SelectionInput: typeof SelectionInput;
|
|
@@ -6269,13 +6648,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$C, SpreadsheetCh
|
|
|
6269
6648
|
}
|
|
6270
6649
|
|
|
6271
6650
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
6272
|
-
interface Props$
|
|
6651
|
+
interface Props$I {
|
|
6273
6652
|
figureId: UID;
|
|
6274
6653
|
definition: ScorecardChartDefinition;
|
|
6275
6654
|
canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
6276
6655
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
6277
6656
|
}
|
|
6278
|
-
declare class ScorecardChartDesignPanel extends Component<Props$
|
|
6657
|
+
declare class ScorecardChartDesignPanel extends Component<Props$I, SpreadsheetChildEnv> {
|
|
6279
6658
|
static template: string;
|
|
6280
6659
|
static components: {
|
|
6281
6660
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -6507,13 +6886,13 @@ interface EnrichedToken extends Token {
|
|
|
6507
6886
|
functionContext?: FunctionContext;
|
|
6508
6887
|
}
|
|
6509
6888
|
|
|
6510
|
-
interface Props$
|
|
6889
|
+
interface Props$H {
|
|
6511
6890
|
proposals: AutoCompleteProposal[];
|
|
6512
6891
|
selectedIndex: number | undefined;
|
|
6513
6892
|
onValueSelected: (value: string) => void;
|
|
6514
6893
|
onValueHovered: (index: string) => void;
|
|
6515
6894
|
}
|
|
6516
|
-
declare class TextValueProvider extends Component<Props$
|
|
6895
|
+
declare class TextValueProvider extends Component<Props$H> {
|
|
6517
6896
|
static template: string;
|
|
6518
6897
|
static props: {
|
|
6519
6898
|
proposals: ArrayConstructor;
|
|
@@ -6714,7 +7093,7 @@ declare class ContentEditableHelper {
|
|
|
6714
7093
|
getText(): string;
|
|
6715
7094
|
}
|
|
6716
7095
|
|
|
6717
|
-
interface Props$
|
|
7096
|
+
interface Props$G {
|
|
6718
7097
|
functionName: string;
|
|
6719
7098
|
functionDescription: FunctionDescription;
|
|
6720
7099
|
argToFocus: number;
|
|
@@ -6722,7 +7101,7 @@ interface Props$z {
|
|
|
6722
7101
|
interface AssistantState {
|
|
6723
7102
|
allowCellSelectionBehind: boolean;
|
|
6724
7103
|
}
|
|
6725
|
-
declare class FunctionDescriptionProvider extends Component<Props$
|
|
7104
|
+
declare class FunctionDescriptionProvider extends Component<Props$G, SpreadsheetChildEnv> {
|
|
6726
7105
|
static template: string;
|
|
6727
7106
|
static props: {
|
|
6728
7107
|
functionName: StringConstructor;
|
|
@@ -6732,7 +7111,7 @@ declare class FunctionDescriptionProvider extends Component<Props$z, Spreadsheet
|
|
|
6732
7111
|
assistantState: AssistantState;
|
|
6733
7112
|
private timeOutId;
|
|
6734
7113
|
setup(): void;
|
|
6735
|
-
getContext(): Props$
|
|
7114
|
+
getContext(): Props$G;
|
|
6736
7115
|
onMouseMove(): void;
|
|
6737
7116
|
get formulaArgSeparator(): string;
|
|
6738
7117
|
}
|
|
@@ -6928,10 +7307,10 @@ interface AutoCompleteProviderDefinition {
|
|
|
6928
7307
|
|
|
6929
7308
|
declare function transformRangeData(range: RangeData, executed: CoreCommand): RangeData | undefined;
|
|
6930
7309
|
|
|
6931
|
-
interface Props$
|
|
7310
|
+
interface Props$F {
|
|
6932
7311
|
figure: Figure;
|
|
6933
7312
|
}
|
|
6934
|
-
declare class ChartJsComponent extends Component<Props$
|
|
7313
|
+
declare class ChartJsComponent extends Component<Props$F, SpreadsheetChildEnv> {
|
|
6935
7314
|
static template: string;
|
|
6936
7315
|
static props: {
|
|
6937
7316
|
figure: ObjectConstructor;
|
|
@@ -6946,10 +7325,10 @@ declare class ChartJsComponent extends Component<Props$y, SpreadsheetChildEnv> {
|
|
|
6946
7325
|
private updateChartJs;
|
|
6947
7326
|
}
|
|
6948
7327
|
|
|
6949
|
-
interface Props$
|
|
7328
|
+
interface Props$E {
|
|
6950
7329
|
figure: Figure;
|
|
6951
7330
|
}
|
|
6952
|
-
declare class ScorecardChart extends Component<Props$
|
|
7331
|
+
declare class ScorecardChart extends Component<Props$E, SpreadsheetChildEnv> {
|
|
6953
7332
|
static template: string;
|
|
6954
7333
|
static props: {
|
|
6955
7334
|
figure: ObjectConstructor;
|
|
@@ -6961,7 +7340,7 @@ declare class ScorecardChart extends Component<Props$x, SpreadsheetChildEnv> {
|
|
|
6961
7340
|
}
|
|
6962
7341
|
|
|
6963
7342
|
type MenuItemOrSeparator = Action | "separator";
|
|
6964
|
-
interface Props$
|
|
7343
|
+
interface Props$D {
|
|
6965
7344
|
position: DOMCoordinates;
|
|
6966
7345
|
menuItems: Action[];
|
|
6967
7346
|
depth: number;
|
|
@@ -6979,7 +7358,7 @@ interface MenuState {
|
|
|
6979
7358
|
menuItems: Action[];
|
|
6980
7359
|
isHoveringChild?: boolean;
|
|
6981
7360
|
}
|
|
6982
|
-
declare class Menu extends Component<Props$
|
|
7361
|
+
declare class Menu extends Component<Props$D, SpreadsheetChildEnv> {
|
|
6983
7362
|
static template: string;
|
|
6984
7363
|
static props: {
|
|
6985
7364
|
position: ObjectConstructor;
|
|
@@ -7049,14 +7428,14 @@ declare class Menu extends Component<Props$w, SpreadsheetChildEnv> {
|
|
|
7049
7428
|
}
|
|
7050
7429
|
|
|
7051
7430
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
7052
|
-
interface Props$
|
|
7431
|
+
interface Props$C {
|
|
7053
7432
|
figure: Figure;
|
|
7054
7433
|
style: string;
|
|
7055
7434
|
onFigureDeleted: () => void;
|
|
7056
7435
|
onMouseDown: (ev: MouseEvent) => void;
|
|
7057
7436
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
7058
7437
|
}
|
|
7059
|
-
declare class FigureComponent extends Component<Props$
|
|
7438
|
+
declare class FigureComponent extends Component<Props$C, SpreadsheetChildEnv> {
|
|
7060
7439
|
static template: string;
|
|
7061
7440
|
static props: {
|
|
7062
7441
|
figure: ObjectConstructor;
|
|
@@ -7105,11 +7484,11 @@ declare class FigureComponent extends Component<Props$v, SpreadsheetChildEnv> {
|
|
|
7105
7484
|
private openContextMenu;
|
|
7106
7485
|
}
|
|
7107
7486
|
|
|
7108
|
-
interface Props$
|
|
7487
|
+
interface Props$B {
|
|
7109
7488
|
figure: Figure;
|
|
7110
7489
|
onFigureDeleted: () => void;
|
|
7111
7490
|
}
|
|
7112
|
-
declare class ChartFigure extends Component<Props$
|
|
7491
|
+
declare class ChartFigure extends Component<Props$B, SpreadsheetChildEnv> {
|
|
7113
7492
|
static template: string;
|
|
7114
7493
|
static props: {
|
|
7115
7494
|
figure: ObjectConstructor;
|
|
@@ -7121,7 +7500,7 @@ declare class ChartFigure extends Component<Props$u, SpreadsheetChildEnv> {
|
|
|
7121
7500
|
get chartComponent(): new (...args: any) => Component;
|
|
7122
7501
|
}
|
|
7123
7502
|
|
|
7124
|
-
interface Props$
|
|
7503
|
+
interface Props$A {
|
|
7125
7504
|
isVisible: boolean;
|
|
7126
7505
|
position: Position;
|
|
7127
7506
|
}
|
|
@@ -7129,17 +7508,17 @@ interface Position {
|
|
|
7129
7508
|
top: HeaderIndex;
|
|
7130
7509
|
left: HeaderIndex;
|
|
7131
7510
|
}
|
|
7132
|
-
interface State$
|
|
7511
|
+
interface State$7 {
|
|
7133
7512
|
position: Position;
|
|
7134
7513
|
handler: boolean;
|
|
7135
7514
|
}
|
|
7136
|
-
declare class Autofill extends Component<Props$
|
|
7515
|
+
declare class Autofill extends Component<Props$A, SpreadsheetChildEnv> {
|
|
7137
7516
|
static template: string;
|
|
7138
7517
|
static props: {
|
|
7139
7518
|
position: ObjectConstructor;
|
|
7140
7519
|
isVisible: BooleanConstructor;
|
|
7141
7520
|
};
|
|
7142
|
-
state: State$
|
|
7521
|
+
state: State$7;
|
|
7143
7522
|
get style(): string;
|
|
7144
7523
|
get handlerStyle(): string;
|
|
7145
7524
|
get styleNextValue(): string;
|
|
@@ -7167,7 +7546,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
7167
7546
|
get tagStyle(): string;
|
|
7168
7547
|
}
|
|
7169
7548
|
|
|
7170
|
-
interface Props$
|
|
7549
|
+
interface Props$z {
|
|
7171
7550
|
gridDims: DOMDimension;
|
|
7172
7551
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
7173
7552
|
}
|
|
@@ -7175,7 +7554,7 @@ interface Props$s {
|
|
|
7175
7554
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
7176
7555
|
* It also applies the style of the cell to the composer input.
|
|
7177
7556
|
*/
|
|
7178
|
-
declare class GridComposer extends Component<Props$
|
|
7557
|
+
declare class GridComposer extends Component<Props$z, SpreadsheetChildEnv> {
|
|
7179
7558
|
static template: string;
|
|
7180
7559
|
static props: {
|
|
7181
7560
|
gridDims: ObjectConstructor;
|
|
@@ -7232,10 +7611,10 @@ declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChild
|
|
|
7232
7611
|
isPositionVisible(position: CellPosition): boolean;
|
|
7233
7612
|
}
|
|
7234
7613
|
|
|
7235
|
-
interface Props$
|
|
7614
|
+
interface Props$y {
|
|
7236
7615
|
cellPosition: CellPosition;
|
|
7237
7616
|
}
|
|
7238
|
-
declare class DataValidationCheckbox extends Component<Props$
|
|
7617
|
+
declare class DataValidationCheckbox extends Component<Props$y, SpreadsheetChildEnv> {
|
|
7239
7618
|
static template: string;
|
|
7240
7619
|
static props: {
|
|
7241
7620
|
cellPosition: ObjectConstructor;
|
|
@@ -7245,10 +7624,10 @@ declare class DataValidationCheckbox extends Component<Props$r, SpreadsheetChild
|
|
|
7245
7624
|
get isDisabled(): boolean;
|
|
7246
7625
|
}
|
|
7247
7626
|
|
|
7248
|
-
interface Props$
|
|
7627
|
+
interface Props$x {
|
|
7249
7628
|
cellPosition: CellPosition;
|
|
7250
7629
|
}
|
|
7251
|
-
declare class DataValidationListIcon extends Component<Props$
|
|
7630
|
+
declare class DataValidationListIcon extends Component<Props$x, SpreadsheetChildEnv> {
|
|
7252
7631
|
static template: string;
|
|
7253
7632
|
static props: {
|
|
7254
7633
|
cellPosition: ObjectConstructor;
|
|
@@ -7278,7 +7657,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
7278
7657
|
}
|
|
7279
7658
|
|
|
7280
7659
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
7281
|
-
interface Props$
|
|
7660
|
+
interface Props$w {
|
|
7282
7661
|
onFigureDeleted: () => void;
|
|
7283
7662
|
}
|
|
7284
7663
|
interface Container {
|
|
@@ -7357,7 +7736,7 @@ interface DndState {
|
|
|
7357
7736
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
7358
7737
|
*
|
|
7359
7738
|
*/
|
|
7360
|
-
declare class FiguresContainer extends Component<Props$
|
|
7739
|
+
declare class FiguresContainer extends Component<Props$w, SpreadsheetChildEnv> {
|
|
7361
7740
|
static template: string;
|
|
7362
7741
|
static props: {
|
|
7363
7742
|
onFigureDeleted: FunctionConstructor;
|
|
@@ -7413,10 +7792,10 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
7413
7792
|
private computePopoverAnchorRect;
|
|
7414
7793
|
}
|
|
7415
7794
|
|
|
7416
|
-
interface Props$
|
|
7795
|
+
interface Props$v {
|
|
7417
7796
|
cellPosition: CellPosition;
|
|
7418
7797
|
}
|
|
7419
|
-
declare class FilterIcon extends Component<Props$
|
|
7798
|
+
declare class FilterIcon extends Component<Props$v, SpreadsheetChildEnv> {
|
|
7420
7799
|
static template: string;
|
|
7421
7800
|
static props: {
|
|
7422
7801
|
cellPosition: ObjectConstructor;
|
|
@@ -7428,10 +7807,10 @@ declare class FilterIcon extends Component<Props$o, SpreadsheetChildEnv> {
|
|
|
7428
7807
|
get iconClass(): string;
|
|
7429
7808
|
}
|
|
7430
7809
|
|
|
7431
|
-
interface Props$
|
|
7810
|
+
interface Props$u {
|
|
7432
7811
|
onMouseDown: (ev: MouseEvent) => void;
|
|
7433
7812
|
}
|
|
7434
|
-
declare class FilterIconsOverlay extends Component<Props$
|
|
7813
|
+
declare class FilterIconsOverlay extends Component<Props$u, SpreadsheetChildEnv> {
|
|
7435
7814
|
static template: string;
|
|
7436
7815
|
static props: {
|
|
7437
7816
|
onMouseDown: FunctionConstructor;
|
|
@@ -7443,10 +7822,10 @@ declare class FilterIconsOverlay extends Component<Props$n, SpreadsheetChildEnv>
|
|
|
7443
7822
|
getFilterHeadersPositions(): CellPosition[];
|
|
7444
7823
|
}
|
|
7445
7824
|
|
|
7446
|
-
interface Props$
|
|
7825
|
+
interface Props$t {
|
|
7447
7826
|
focusGrid: () => void;
|
|
7448
7827
|
}
|
|
7449
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
7828
|
+
declare class GridAddRowsFooter extends Component<Props$t, SpreadsheetChildEnv> {
|
|
7450
7829
|
static template: string;
|
|
7451
7830
|
static props: {
|
|
7452
7831
|
focusGrid: FunctionConstructor;
|
|
@@ -7470,7 +7849,7 @@ declare class GridAddRowsFooter extends Component<Props$m, SpreadsheetChildEnv>
|
|
|
7470
7849
|
private onExternalClick;
|
|
7471
7850
|
}
|
|
7472
7851
|
|
|
7473
|
-
interface Props$
|
|
7852
|
+
interface Props$s {
|
|
7474
7853
|
onCellHovered: (position: Partial<Position$1>) => void;
|
|
7475
7854
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
7476
7855
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers) => void;
|
|
@@ -7480,7 +7859,7 @@ interface Props$l {
|
|
|
7480
7859
|
gridOverlayDimensions: string;
|
|
7481
7860
|
onFigureDeleted: () => void;
|
|
7482
7861
|
}
|
|
7483
|
-
declare class GridOverlay extends Component<Props$
|
|
7862
|
+
declare class GridOverlay extends Component<Props$s, SpreadsheetChildEnv> {
|
|
7484
7863
|
static template: string;
|
|
7485
7864
|
static props: {
|
|
7486
7865
|
onCellHovered: {
|
|
@@ -7538,12 +7917,12 @@ declare class GridOverlay extends Component<Props$l, SpreadsheetChildEnv> {
|
|
|
7538
7917
|
private getCartesianCoordinates;
|
|
7539
7918
|
}
|
|
7540
7919
|
|
|
7541
|
-
interface Props$
|
|
7920
|
+
interface Props$r {
|
|
7542
7921
|
gridRect: Rect;
|
|
7543
7922
|
onClosePopover: () => void;
|
|
7544
7923
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
7545
7924
|
}
|
|
7546
|
-
declare class GridPopover extends Component<Props$
|
|
7925
|
+
declare class GridPopover extends Component<Props$r, SpreadsheetChildEnv> {
|
|
7547
7926
|
static template: string;
|
|
7548
7927
|
static props: {
|
|
7549
7928
|
onClosePopover: FunctionConstructor;
|
|
@@ -7686,13 +8065,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
7686
8065
|
}
|
|
7687
8066
|
|
|
7688
8067
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
7689
|
-
interface Props$
|
|
8068
|
+
interface Props$q {
|
|
7690
8069
|
zone: Zone;
|
|
7691
8070
|
orientation: Orientation$1;
|
|
7692
8071
|
isMoving: boolean;
|
|
7693
8072
|
onMoveHighlight: (x: Pixel, y: Pixel) => void;
|
|
7694
8073
|
}
|
|
7695
|
-
declare class Border extends Component<Props$
|
|
8074
|
+
declare class Border extends Component<Props$q, SpreadsheetChildEnv> {
|
|
7696
8075
|
static template: string;
|
|
7697
8076
|
static props: {
|
|
7698
8077
|
zone: ObjectConstructor;
|
|
@@ -7705,14 +8084,14 @@ declare class Border extends Component<Props$j, SpreadsheetChildEnv> {
|
|
|
7705
8084
|
}
|
|
7706
8085
|
|
|
7707
8086
|
type Orientation = "nw" | "ne" | "sw" | "se";
|
|
7708
|
-
interface Props$
|
|
8087
|
+
interface Props$p {
|
|
7709
8088
|
zone: Zone;
|
|
7710
8089
|
color: Color;
|
|
7711
8090
|
orientation: Orientation;
|
|
7712
8091
|
isResizing: boolean;
|
|
7713
8092
|
onResizeHighlight: (isLeft: boolean, isRight: boolean) => void;
|
|
7714
8093
|
}
|
|
7715
|
-
declare class Corner extends Component<Props$
|
|
8094
|
+
declare class Corner extends Component<Props$p, SpreadsheetChildEnv> {
|
|
7716
8095
|
static template: string;
|
|
7717
8096
|
static props: {
|
|
7718
8097
|
zone: ObjectConstructor;
|
|
@@ -7727,14 +8106,14 @@ declare class Corner extends Component<Props$i, SpreadsheetChildEnv> {
|
|
|
7727
8106
|
onMouseDown(ev: MouseEvent): void;
|
|
7728
8107
|
}
|
|
7729
8108
|
|
|
7730
|
-
interface Props$
|
|
8109
|
+
interface Props$o {
|
|
7731
8110
|
zone: Zone;
|
|
7732
8111
|
color: Color;
|
|
7733
8112
|
}
|
|
7734
8113
|
interface HighlightState {
|
|
7735
8114
|
shiftingMode: "isMoving" | "isResizing" | "none";
|
|
7736
8115
|
}
|
|
7737
|
-
declare class Highlight extends Component<Props$
|
|
8116
|
+
declare class Highlight extends Component<Props$o, SpreadsheetChildEnv> {
|
|
7738
8117
|
static template: string;
|
|
7739
8118
|
static props: {
|
|
7740
8119
|
zone: ObjectConstructor;
|
|
@@ -7751,7 +8130,7 @@ declare class Highlight extends Component<Props$h, SpreadsheetChildEnv> {
|
|
|
7751
8130
|
|
|
7752
8131
|
type ScrollDirection = "horizontal" | "vertical";
|
|
7753
8132
|
|
|
7754
|
-
interface Props$
|
|
8133
|
+
interface Props$n {
|
|
7755
8134
|
width: Pixel;
|
|
7756
8135
|
height: Pixel;
|
|
7757
8136
|
direction: ScrollDirection;
|
|
@@ -7759,7 +8138,7 @@ interface Props$g {
|
|
|
7759
8138
|
offset: Pixel;
|
|
7760
8139
|
onScroll: (offset: Pixel) => void;
|
|
7761
8140
|
}
|
|
7762
|
-
declare class ScrollBar extends Component<Props$
|
|
8141
|
+
declare class ScrollBar extends Component<Props$n> {
|
|
7763
8142
|
static props: {
|
|
7764
8143
|
width: {
|
|
7765
8144
|
type: NumberConstructor;
|
|
@@ -7787,10 +8166,10 @@ declare class ScrollBar extends Component<Props$g> {
|
|
|
7787
8166
|
onScroll(ev: any): void;
|
|
7788
8167
|
}
|
|
7789
8168
|
|
|
7790
|
-
interface Props$
|
|
8169
|
+
interface Props$m {
|
|
7791
8170
|
leftOffset: number;
|
|
7792
8171
|
}
|
|
7793
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
8172
|
+
declare class HorizontalScrollBar extends Component<Props$m, SpreadsheetChildEnv> {
|
|
7794
8173
|
static props: {
|
|
7795
8174
|
leftOffset: {
|
|
7796
8175
|
type: NumberConstructor;
|
|
@@ -7816,10 +8195,10 @@ declare class HorizontalScrollBar extends Component<Props$f, SpreadsheetChildEnv
|
|
|
7816
8195
|
onScroll(offset: any): void;
|
|
7817
8196
|
}
|
|
7818
8197
|
|
|
7819
|
-
interface Props$
|
|
8198
|
+
interface Props$l {
|
|
7820
8199
|
topOffset: number;
|
|
7821
8200
|
}
|
|
7822
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
8201
|
+
declare class VerticalScrollBar extends Component<Props$l, SpreadsheetChildEnv> {
|
|
7823
8202
|
static props: {
|
|
7824
8203
|
topOffset: {
|
|
7825
8204
|
type: NumberConstructor;
|
|
@@ -7845,6 +8224,24 @@ declare class VerticalScrollBar extends Component<Props$e, SpreadsheetChildEnv>
|
|
|
7845
8224
|
onScroll(offset: any): void;
|
|
7846
8225
|
}
|
|
7847
8226
|
|
|
8227
|
+
interface Props$k {
|
|
8228
|
+
table: Table;
|
|
8229
|
+
}
|
|
8230
|
+
interface State$6 {
|
|
8231
|
+
highlightZone: Zone | undefined;
|
|
8232
|
+
}
|
|
8233
|
+
declare class TableResizer extends Component<Props$k, SpreadsheetChildEnv> {
|
|
8234
|
+
static template: string;
|
|
8235
|
+
static props: {
|
|
8236
|
+
table: ObjectConstructor;
|
|
8237
|
+
};
|
|
8238
|
+
state: State$6;
|
|
8239
|
+
setup(): void;
|
|
8240
|
+
get containerStyle(): string;
|
|
8241
|
+
onMouseDown(ev: MouseEvent): void;
|
|
8242
|
+
get highlights(): Highlight$1[];
|
|
8243
|
+
}
|
|
8244
|
+
|
|
7848
8245
|
declare class HoveredCellStore extends SpreadsheetStore {
|
|
7849
8246
|
col: number | undefined;
|
|
7850
8247
|
row: number | undefined;
|
|
@@ -7864,10 +8261,10 @@ declare class HoveredCellStore extends SpreadsheetStore {
|
|
|
7864
8261
|
* - a vertical resizer (same, for rows)
|
|
7865
8262
|
*/
|
|
7866
8263
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
7867
|
-
interface Props$
|
|
8264
|
+
interface Props$j {
|
|
7868
8265
|
exposeFocus: (focus: () => void) => void;
|
|
7869
8266
|
}
|
|
7870
|
-
declare class Grid extends Component<Props$
|
|
8267
|
+
declare class Grid extends Component<Props$j, SpreadsheetChildEnv> {
|
|
7871
8268
|
static template: string;
|
|
7872
8269
|
static props: {
|
|
7873
8270
|
exposeFocus: FunctionConstructor;
|
|
@@ -7884,6 +8281,7 @@ declare class Grid extends Component<Props$d, SpreadsheetChildEnv> {
|
|
|
7884
8281
|
Popover: typeof Popover;
|
|
7885
8282
|
VerticalScrollBar: typeof VerticalScrollBar;
|
|
7886
8283
|
HorizontalScrollBar: typeof HorizontalScrollBar;
|
|
8284
|
+
TableResizer: typeof TableResizer;
|
|
7887
8285
|
};
|
|
7888
8286
|
readonly HEADER_HEIGHT = 26;
|
|
7889
8287
|
readonly HEADER_WIDTH = 48;
|
|
@@ -7938,6 +8336,7 @@ declare class Grid extends Component<Props$d, SpreadsheetChildEnv> {
|
|
|
7938
8336
|
private processHeaderGroupingEventOnGrid;
|
|
7939
8337
|
onComposerCellFocused(content?: string, selection?: ComposerSelection): void;
|
|
7940
8338
|
onComposerContentFocused(): void;
|
|
8339
|
+
get staticTables(): Table[];
|
|
7941
8340
|
}
|
|
7942
8341
|
|
|
7943
8342
|
type Direction = "horizontal" | "vertical";
|
|
@@ -7971,11 +8370,11 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
7971
8370
|
activatePanel(panel: "configuration" | "design"): void;
|
|
7972
8371
|
}
|
|
7973
8372
|
|
|
7974
|
-
interface Props$
|
|
8373
|
+
interface Props$i {
|
|
7975
8374
|
onCloseSidePanel: () => void;
|
|
7976
8375
|
figureId: UID;
|
|
7977
8376
|
}
|
|
7978
|
-
declare class ChartPanel extends Component<Props$
|
|
8377
|
+
declare class ChartPanel extends Component<Props$i, SpreadsheetChildEnv> {
|
|
7979
8378
|
static template: string;
|
|
7980
8379
|
static components: {
|
|
7981
8380
|
Section: typeof Section;
|
|
@@ -8056,6 +8455,230 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
8056
8455
|
get highlights(): Highlight$1[];
|
|
8057
8456
|
}
|
|
8058
8457
|
|
|
8458
|
+
declare class PivotPreview extends Component {
|
|
8459
|
+
static template: string;
|
|
8460
|
+
static props: {
|
|
8461
|
+
pivotId: StringConstructor;
|
|
8462
|
+
};
|
|
8463
|
+
setup(): void;
|
|
8464
|
+
selectPivot(): void;
|
|
8465
|
+
get highlights(): Highlight$1[];
|
|
8466
|
+
}
|
|
8467
|
+
declare class AllPivotsSidePanel extends Component {
|
|
8468
|
+
static template: string;
|
|
8469
|
+
static components: {
|
|
8470
|
+
PivotPreview: typeof PivotPreview;
|
|
8471
|
+
};
|
|
8472
|
+
static props: {
|
|
8473
|
+
onCloseSidePanel: FunctionConstructor;
|
|
8474
|
+
};
|
|
8475
|
+
}
|
|
8476
|
+
|
|
8477
|
+
/** @odoo-module */
|
|
8478
|
+
|
|
8479
|
+
interface Props$h {
|
|
8480
|
+
name: string;
|
|
8481
|
+
displayName: string;
|
|
8482
|
+
onChanged: (name: string) => void;
|
|
8483
|
+
}
|
|
8484
|
+
declare class EditableName extends Component<Props$h, SpreadsheetChildEnv> {
|
|
8485
|
+
static template: string;
|
|
8486
|
+
static props: {
|
|
8487
|
+
name: StringConstructor;
|
|
8488
|
+
displayName: StringConstructor;
|
|
8489
|
+
onChanged: FunctionConstructor;
|
|
8490
|
+
};
|
|
8491
|
+
private state;
|
|
8492
|
+
setup(): void;
|
|
8493
|
+
rename(): void;
|
|
8494
|
+
save(): void;
|
|
8495
|
+
}
|
|
8496
|
+
|
|
8497
|
+
interface Props$g {
|
|
8498
|
+
onFieldPicked: (field: string) => void;
|
|
8499
|
+
fields: PivotField[];
|
|
8500
|
+
}
|
|
8501
|
+
declare class AddDimensionButton extends Component<Props$g, SpreadsheetChildEnv> {
|
|
8502
|
+
static template: string;
|
|
8503
|
+
static components: {
|
|
8504
|
+
Popover: typeof Popover;
|
|
8505
|
+
};
|
|
8506
|
+
static props: {
|
|
8507
|
+
onFieldPicked: FunctionConstructor;
|
|
8508
|
+
fields: ArrayConstructor;
|
|
8509
|
+
};
|
|
8510
|
+
private buttonRef;
|
|
8511
|
+
private popover;
|
|
8512
|
+
private search;
|
|
8513
|
+
setup(): void;
|
|
8514
|
+
get filteredFields(): PivotField[];
|
|
8515
|
+
get popoverProps(): {
|
|
8516
|
+
anchorRect: DOMRect;
|
|
8517
|
+
positioning: string;
|
|
8518
|
+
};
|
|
8519
|
+
pickField(field: PivotField): void;
|
|
8520
|
+
togglePopover(): void;
|
|
8521
|
+
onKeyDown(ev: KeyboardEvent): void;
|
|
8522
|
+
}
|
|
8523
|
+
|
|
8524
|
+
interface Props$f {
|
|
8525
|
+
dimension: PivotDimension;
|
|
8526
|
+
onRemoved: (dimension: PivotDimension) => void;
|
|
8527
|
+
}
|
|
8528
|
+
declare class PivotDimension extends Component<Props$f, SpreadsheetChildEnv> {
|
|
8529
|
+
static template: string;
|
|
8530
|
+
static props: {
|
|
8531
|
+
dimension: ObjectConstructor;
|
|
8532
|
+
onRemoved: {
|
|
8533
|
+
type: FunctionConstructor;
|
|
8534
|
+
optional: boolean;
|
|
8535
|
+
};
|
|
8536
|
+
slots: {
|
|
8537
|
+
type: ObjectConstructor;
|
|
8538
|
+
optional: boolean;
|
|
8539
|
+
};
|
|
8540
|
+
};
|
|
8541
|
+
}
|
|
8542
|
+
|
|
8543
|
+
interface Props$e {
|
|
8544
|
+
dimension: PivotDimension$1;
|
|
8545
|
+
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
8546
|
+
availableGranularities: Set<string>;
|
|
8547
|
+
}
|
|
8548
|
+
declare class PivotDimensionGranularity extends Component<Props$e, SpreadsheetChildEnv> {
|
|
8549
|
+
static template: string;
|
|
8550
|
+
static props: {
|
|
8551
|
+
dimension: ObjectConstructor;
|
|
8552
|
+
onUpdated: FunctionConstructor;
|
|
8553
|
+
availableGranularities: SetConstructor;
|
|
8554
|
+
};
|
|
8555
|
+
periods: {
|
|
8556
|
+
year: string;
|
|
8557
|
+
quarter: string;
|
|
8558
|
+
month: string;
|
|
8559
|
+
week: string;
|
|
8560
|
+
day: string;
|
|
8561
|
+
};
|
|
8562
|
+
allGranularities: string[];
|
|
8563
|
+
}
|
|
8564
|
+
|
|
8565
|
+
interface Props$d {
|
|
8566
|
+
dimension: PivotDimension$1;
|
|
8567
|
+
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
8568
|
+
}
|
|
8569
|
+
declare class PivotDimensionOrder extends Component<Props$d, SpreadsheetChildEnv> {
|
|
8570
|
+
static template: string;
|
|
8571
|
+
static props: {
|
|
8572
|
+
dimension: ObjectConstructor;
|
|
8573
|
+
onUpdated: FunctionConstructor;
|
|
8574
|
+
};
|
|
8575
|
+
}
|
|
8576
|
+
|
|
8577
|
+
/**
|
|
8578
|
+
* Build a pivot formula expression
|
|
8579
|
+
*/
|
|
8580
|
+
declare function makePivotFormula(formula: "PIVOT.VALUE" | "PIVOT.HEADER", args: (string | boolean | number)[]): string;
|
|
8581
|
+
/**
|
|
8582
|
+
* Given an object of form {"1": {...}, "2": {...}, ...} get the maximum ID used
|
|
8583
|
+
* in this object
|
|
8584
|
+
* If the object has no keys, return 0
|
|
8585
|
+
*
|
|
8586
|
+
*/
|
|
8587
|
+
declare function getMaxObjectId(o: object): number;
|
|
8588
|
+
/**
|
|
8589
|
+
* Get the first Pivot function description of the given formula.
|
|
8590
|
+
*/
|
|
8591
|
+
declare function getFirstPivotFunction(tokens: Token[]): {
|
|
8592
|
+
functionName: string;
|
|
8593
|
+
args: AST[];
|
|
8594
|
+
};
|
|
8595
|
+
/**
|
|
8596
|
+
* Parse a spreadsheet formula and detect the number of PIVOT functions that are
|
|
8597
|
+
* present in the given formula.
|
|
8598
|
+
*/
|
|
8599
|
+
declare function getNumberOfPivotFunctions(tokens: Token[]): number;
|
|
8600
|
+
/**
|
|
8601
|
+
* Parse a dimension string into a pivot dimension definition.
|
|
8602
|
+
* e.g "create_date:month" => { name: "create_date", granularity: "month" }
|
|
8603
|
+
*/
|
|
8604
|
+
declare function parseDimension(dimension: string): PivotCoreDimension;
|
|
8605
|
+
declare function isDateField(field: PivotField): boolean;
|
|
8606
|
+
/**
|
|
8607
|
+
* Create a proposal entry for the compose autocomplete
|
|
8608
|
+
* to insert a field name string in a formula.
|
|
8609
|
+
*/
|
|
8610
|
+
declare function makeFieldProposal(field: PivotField): {
|
|
8611
|
+
text: string;
|
|
8612
|
+
description: string;
|
|
8613
|
+
htmlContent: {
|
|
8614
|
+
value: string;
|
|
8615
|
+
color: "#00a82d";
|
|
8616
|
+
}[];
|
|
8617
|
+
fuzzySearchKey: string;
|
|
8618
|
+
};
|
|
8619
|
+
/**
|
|
8620
|
+
* Perform the autocomplete of the composer by inserting the value
|
|
8621
|
+
* at the cursor position, replacing the current token if necessary.
|
|
8622
|
+
* Must be bound to the autocomplete provider.
|
|
8623
|
+
*/
|
|
8624
|
+
declare function insertTokenAfterArgSeparator(this: {
|
|
8625
|
+
composer: ComposerStore;
|
|
8626
|
+
}, tokenAtCursor: EnrichedToken, value: string): void;
|
|
8627
|
+
/**
|
|
8628
|
+
* Perform the autocomplete of the composer by inserting the value
|
|
8629
|
+
* at the cursor position, replacing the current token if necessary.
|
|
8630
|
+
* Must be bound to the autocomplete provider.
|
|
8631
|
+
* @param {EnrichedToken} tokenAtCursor
|
|
8632
|
+
* @param {string} value
|
|
8633
|
+
*/
|
|
8634
|
+
declare function insertTokenAfterLeftParenthesis(this: {
|
|
8635
|
+
composer: ComposerStore;
|
|
8636
|
+
}, tokenAtCursor: EnrichedToken, value: string): void;
|
|
8637
|
+
|
|
8638
|
+
interface Props$c {
|
|
8639
|
+
definition: PivotRuntimeDefinition;
|
|
8640
|
+
onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
8641
|
+
unusedGroupableFields: PivotField[];
|
|
8642
|
+
unusedMeasureFields: PivotField[];
|
|
8643
|
+
unusedDateTimeGranularities: Record<string, Set<string>>;
|
|
8644
|
+
}
|
|
8645
|
+
declare class PivotDimensions extends Component<Props$c, SpreadsheetChildEnv> {
|
|
8646
|
+
static template: string;
|
|
8647
|
+
static components: {
|
|
8648
|
+
AddDimensionButton: typeof AddDimensionButton;
|
|
8649
|
+
PivotDimension: typeof PivotDimension;
|
|
8650
|
+
PivotDimensionOrder: typeof PivotDimensionOrder;
|
|
8651
|
+
PivotDimensionGranularity: typeof PivotDimensionGranularity;
|
|
8652
|
+
};
|
|
8653
|
+
static props: {
|
|
8654
|
+
definition: ObjectConstructor;
|
|
8655
|
+
onDimensionsUpdated: FunctionConstructor;
|
|
8656
|
+
unusedGroupableFields: ArrayConstructor;
|
|
8657
|
+
unusedMeasureFields: ArrayConstructor;
|
|
8658
|
+
unusedDateTimeGranularities: ObjectConstructor;
|
|
8659
|
+
};
|
|
8660
|
+
private dimensionsRef;
|
|
8661
|
+
private dragAndDrop;
|
|
8662
|
+
AGGREGATORS: {};
|
|
8663
|
+
isDateField: typeof isDateField;
|
|
8664
|
+
startDragAndDrop(dimension: PivotDimension$1, event: MouseEvent): void;
|
|
8665
|
+
startDragAndDropMeasures(measure: PivotMeasure, event: MouseEvent): void;
|
|
8666
|
+
getDimensionElementsRects(): {
|
|
8667
|
+
x: number;
|
|
8668
|
+
y: number;
|
|
8669
|
+
width: number;
|
|
8670
|
+
height: number;
|
|
8671
|
+
}[];
|
|
8672
|
+
removeDimension(dimension: PivotDimension$1): void;
|
|
8673
|
+
removeMeasureDimension(measure: PivotMeasure): void;
|
|
8674
|
+
addColumnDimension(fieldName: string): void;
|
|
8675
|
+
addRowDimension(fieldName: string): void;
|
|
8676
|
+
addMeasureDimension(fieldName: string): void;
|
|
8677
|
+
updateAggregator(updatedMeasure: PivotMeasure, aggregator: string): void;
|
|
8678
|
+
updateOrder(updateDimension: PivotDimension$1, order?: "asc" | "desc"): void;
|
|
8679
|
+
updateGranularity(dimension: PivotDimension$1, granularity: Granularity): void;
|
|
8680
|
+
}
|
|
8681
|
+
|
|
8059
8682
|
declare function isEvaluationError(error: Maybe<CellValue>): error is string;
|
|
8060
8683
|
declare function toNumber(data: FPayload | CellValue | undefined, locale: Locale): number;
|
|
8061
8684
|
declare function toString(data: FPayload | CellValue | undefined): string;
|
|
@@ -8094,6 +8717,10 @@ declare function getDefaultChartJsRuntime(chart: AbstractChart, labels: string[]
|
|
|
8094
8717
|
/** See https://www.chartjs.org/docs/latest/charts/area.html#filling-modes */
|
|
8095
8718
|
declare function getFillingMode(index: number): "origin" | number;
|
|
8096
8719
|
|
|
8720
|
+
declare function getPivotHighlights(getters: Getters, pivotId: UID): Highlight$1[];
|
|
8721
|
+
|
|
8722
|
+
declare function pivotTimeAdapter(granularity: Granularity): PivotTimeAdapter<string | number | false>;
|
|
8723
|
+
|
|
8097
8724
|
/**
|
|
8098
8725
|
* This function tries to load anything that could look like a valid
|
|
8099
8726
|
* workbookData object. It applies any migrations, if needed, and return a
|
|
@@ -8115,6 +8742,27 @@ interface NotificationStore {
|
|
|
8115
8742
|
}
|
|
8116
8743
|
declare const NotificationStore: StoreConstructor<NotificationStore, any[]>;
|
|
8117
8744
|
|
|
8745
|
+
declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
8746
|
+
private pivotId;
|
|
8747
|
+
private updatesAreDeferred;
|
|
8748
|
+
private draft;
|
|
8749
|
+
constructor(get: Get, pivotId: UID);
|
|
8750
|
+
get fields(): PivotFields;
|
|
8751
|
+
get pivot(): Pivot<PivotRuntimeDefinition>;
|
|
8752
|
+
get definition(): PivotRuntimeDefinition;
|
|
8753
|
+
get isDirty(): boolean;
|
|
8754
|
+
get unusedMeasureFields(): PivotField[];
|
|
8755
|
+
get unusedGroupableFields(): PivotField[];
|
|
8756
|
+
get unusedDateTimeGranularities(): {};
|
|
8757
|
+
reset(pivotId: UID): void;
|
|
8758
|
+
deferUpdates(shouldDefer: boolean): void;
|
|
8759
|
+
applyUpdate(): void;
|
|
8760
|
+
discardPendingUpdate(): void;
|
|
8761
|
+
update(definitionUpdate: Partial<PivotCoreDefinition>): void;
|
|
8762
|
+
private addDefaultDateTimeGranularity;
|
|
8763
|
+
private getUnusedDateTimeGranularities;
|
|
8764
|
+
}
|
|
8765
|
+
|
|
8118
8766
|
interface Renderer {
|
|
8119
8767
|
drawLayer(ctx: GridRenderingContext, layer: LayerName): void;
|
|
8120
8768
|
renderingLayers: Readonly<LayerName[]>;
|
|
@@ -8373,7 +9021,6 @@ interface ClickableCell {
|
|
|
8373
9021
|
coordinates: Rect;
|
|
8374
9022
|
position: Position$1;
|
|
8375
9023
|
action: (position: CellPosition, env: SpreadsheetChildEnv) => void;
|
|
8376
|
-
tKey: string;
|
|
8377
9024
|
}
|
|
8378
9025
|
declare class SpreadsheetDashboard extends Component<Props$8, SpreadsheetChildEnv> {
|
|
8379
9026
|
static template: string;
|
|
@@ -8608,6 +9255,8 @@ declare const formatNumberDate: ActionSpec;
|
|
|
8608
9255
|
declare const formatNumberTime: ActionSpec;
|
|
8609
9256
|
declare const formatNumberDateTime: ActionSpec;
|
|
8610
9257
|
declare const formatNumberDuration: ActionSpec;
|
|
9258
|
+
declare const formatNumberQuarter: ActionSpec;
|
|
9259
|
+
declare const formatNumberFullQuarter: ActionSpec;
|
|
8611
9260
|
declare const moreFormats: ActionSpec;
|
|
8612
9261
|
declare const formatNumberFullDateTime: ActionSpec;
|
|
8613
9262
|
declare const formatNumberFullWeekDayAndMonth: ActionSpec;
|
|
@@ -8669,10 +9318,12 @@ declare const ACTION_FORMAT_formatNumberDayAndShortMonth: typeof formatNumberDay
|
|
|
8669
9318
|
declare const ACTION_FORMAT_formatNumberDuration: typeof formatNumberDuration;
|
|
8670
9319
|
declare const ACTION_FORMAT_formatNumberFullDateTime: typeof formatNumberFullDateTime;
|
|
8671
9320
|
declare const ACTION_FORMAT_formatNumberFullMonth: typeof formatNumberFullMonth;
|
|
9321
|
+
declare const ACTION_FORMAT_formatNumberFullQuarter: typeof formatNumberFullQuarter;
|
|
8672
9322
|
declare const ACTION_FORMAT_formatNumberFullWeekDayAndMonth: typeof formatNumberFullWeekDayAndMonth;
|
|
8673
9323
|
declare const ACTION_FORMAT_formatNumberNumber: typeof formatNumberNumber;
|
|
8674
9324
|
declare const ACTION_FORMAT_formatNumberPercent: typeof formatNumberPercent;
|
|
8675
9325
|
declare const ACTION_FORMAT_formatNumberPlainText: typeof formatNumberPlainText;
|
|
9326
|
+
declare const ACTION_FORMAT_formatNumberQuarter: typeof formatNumberQuarter;
|
|
8676
9327
|
declare const ACTION_FORMAT_formatNumberShortMonth: typeof formatNumberShortMonth;
|
|
8677
9328
|
declare const ACTION_FORMAT_formatNumberShortWeekDay: typeof formatNumberShortWeekDay;
|
|
8678
9329
|
declare const ACTION_FORMAT_formatNumberTime: typeof formatNumberTime;
|
|
@@ -8716,10 +9367,12 @@ declare namespace ACTION_FORMAT {
|
|
|
8716
9367
|
ACTION_FORMAT_formatNumberDuration as formatNumberDuration,
|
|
8717
9368
|
ACTION_FORMAT_formatNumberFullDateTime as formatNumberFullDateTime,
|
|
8718
9369
|
ACTION_FORMAT_formatNumberFullMonth as formatNumberFullMonth,
|
|
9370
|
+
ACTION_FORMAT_formatNumberFullQuarter as formatNumberFullQuarter,
|
|
8719
9371
|
ACTION_FORMAT_formatNumberFullWeekDayAndMonth as formatNumberFullWeekDayAndMonth,
|
|
8720
9372
|
ACTION_FORMAT_formatNumberNumber as formatNumberNumber,
|
|
8721
9373
|
ACTION_FORMAT_formatNumberPercent as formatNumberPercent,
|
|
8722
9374
|
ACTION_FORMAT_formatNumberPlainText as formatNumberPlainText,
|
|
9375
|
+
ACTION_FORMAT_formatNumberQuarter as formatNumberQuarter,
|
|
8723
9376
|
ACTION_FORMAT_formatNumberShortMonth as formatNumberShortMonth,
|
|
8724
9377
|
ACTION_FORMAT_formatNumberShortWeekDay as formatNumberShortWeekDay,
|
|
8725
9378
|
ACTION_FORMAT_formatNumberTime as formatNumberTime,
|
|
@@ -9203,7 +9856,7 @@ declare const registries: {
|
|
|
9203
9856
|
clipboardHandlersRegistries: {
|
|
9204
9857
|
figureHandlers: Registry<{
|
|
9205
9858
|
new (getters: Getters, dispatch: {
|
|
9206
|
-
<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, {
|
|
9859
|
+
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT", C extends Extract<UpdateCellCommand, {
|
|
9207
9860
|
type: T;
|
|
9208
9861
|
}> | Extract<UpdateCellPositionCommand, {
|
|
9209
9862
|
type: T;
|
|
@@ -9307,6 +9960,18 @@ declare const registries: {
|
|
|
9307
9960
|
type: T;
|
|
9308
9961
|
}> | Extract<UpdateLocaleCommand, {
|
|
9309
9962
|
type: T;
|
|
9963
|
+
}> | Extract<AddPivotCommand, {
|
|
9964
|
+
type: T;
|
|
9965
|
+
}> | Extract<UpdatePivotCommand, {
|
|
9966
|
+
type: T;
|
|
9967
|
+
}> | Extract<InsertPivotCommand, {
|
|
9968
|
+
type: T;
|
|
9969
|
+
}> | Extract<RenamePivotCommand, {
|
|
9970
|
+
type: T;
|
|
9971
|
+
}> | Extract<RemovePivotCommand, {
|
|
9972
|
+
type: T;
|
|
9973
|
+
}> | Extract<DuplicatePivotCommand, {
|
|
9974
|
+
type: T;
|
|
9310
9975
|
}> | Extract<RequestUndoCommand, {
|
|
9311
9976
|
type: T;
|
|
9312
9977
|
}> | Extract<RequestRedoCommand, {
|
|
@@ -9399,8 +10064,12 @@ declare const registries: {
|
|
|
9399
10064
|
type: T;
|
|
9400
10065
|
}> | Extract<RenderCanvasCommand, {
|
|
9401
10066
|
type: T;
|
|
10067
|
+
}> | Extract<ResizeTableCommand, {
|
|
10068
|
+
type: T;
|
|
10069
|
+
}> | Extract<RefreshPivotCommand, {
|
|
10070
|
+
type: T;
|
|
9402
10071
|
}>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
|
|
9403
|
-
<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, {
|
|
10072
|
+
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT", C_1 extends Extract<UpdateCellCommand, {
|
|
9404
10073
|
type: T_1;
|
|
9405
10074
|
}> | Extract<UpdateCellPositionCommand, {
|
|
9406
10075
|
type: T_1;
|
|
@@ -9504,6 +10173,18 @@ declare const registries: {
|
|
|
9504
10173
|
type: T_1;
|
|
9505
10174
|
}> | Extract<UpdateLocaleCommand, {
|
|
9506
10175
|
type: T_1;
|
|
10176
|
+
}> | Extract<AddPivotCommand, {
|
|
10177
|
+
type: T_1;
|
|
10178
|
+
}> | Extract<UpdatePivotCommand, {
|
|
10179
|
+
type: T_1;
|
|
10180
|
+
}> | Extract<InsertPivotCommand, {
|
|
10181
|
+
type: T_1;
|
|
10182
|
+
}> | Extract<RenamePivotCommand, {
|
|
10183
|
+
type: T_1;
|
|
10184
|
+
}> | Extract<RemovePivotCommand, {
|
|
10185
|
+
type: T_1;
|
|
10186
|
+
}> | Extract<DuplicatePivotCommand, {
|
|
10187
|
+
type: T_1;
|
|
9507
10188
|
}> | Extract<RequestUndoCommand, {
|
|
9508
10189
|
type: T_1;
|
|
9509
10190
|
}> | Extract<RequestRedoCommand, {
|
|
@@ -9596,12 +10277,16 @@ declare const registries: {
|
|
|
9596
10277
|
type: T_1;
|
|
9597
10278
|
}> | Extract<RenderCanvasCommand, {
|
|
9598
10279
|
type: T_1;
|
|
10280
|
+
}> | Extract<ResizeTableCommand, {
|
|
10281
|
+
type: T_1;
|
|
10282
|
+
}> | Extract<RefreshPivotCommand, {
|
|
10283
|
+
type: T_1;
|
|
9599
10284
|
}>>(type: T_1, r: Omit<C_1, "type">): DispatchResult;
|
|
9600
10285
|
}): AbstractFigureClipboardHandler<any>;
|
|
9601
10286
|
}>;
|
|
9602
10287
|
cellHandlers: Registry<{
|
|
9603
10288
|
new (getters: Getters, dispatch: {
|
|
9604
|
-
<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, {
|
|
10289
|
+
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT", C extends Extract<UpdateCellCommand, {
|
|
9605
10290
|
type: T;
|
|
9606
10291
|
}> | Extract<UpdateCellPositionCommand, {
|
|
9607
10292
|
type: T;
|
|
@@ -9705,6 +10390,18 @@ declare const registries: {
|
|
|
9705
10390
|
type: T;
|
|
9706
10391
|
}> | Extract<UpdateLocaleCommand, {
|
|
9707
10392
|
type: T;
|
|
10393
|
+
}> | Extract<AddPivotCommand, {
|
|
10394
|
+
type: T;
|
|
10395
|
+
}> | Extract<UpdatePivotCommand, {
|
|
10396
|
+
type: T;
|
|
10397
|
+
}> | Extract<InsertPivotCommand, {
|
|
10398
|
+
type: T;
|
|
10399
|
+
}> | Extract<RenamePivotCommand, {
|
|
10400
|
+
type: T;
|
|
10401
|
+
}> | Extract<RemovePivotCommand, {
|
|
10402
|
+
type: T;
|
|
10403
|
+
}> | Extract<DuplicatePivotCommand, {
|
|
10404
|
+
type: T;
|
|
9708
10405
|
}> | Extract<RequestUndoCommand, {
|
|
9709
10406
|
type: T;
|
|
9710
10407
|
}> | Extract<RequestRedoCommand, {
|
|
@@ -9797,8 +10494,12 @@ declare const registries: {
|
|
|
9797
10494
|
type: T;
|
|
9798
10495
|
}> | Extract<RenderCanvasCommand, {
|
|
9799
10496
|
type: T;
|
|
10497
|
+
}> | Extract<ResizeTableCommand, {
|
|
10498
|
+
type: T;
|
|
10499
|
+
}> | Extract<RefreshPivotCommand, {
|
|
10500
|
+
type: T;
|
|
9800
10501
|
}>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
|
|
9801
|
-
<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, {
|
|
10502
|
+
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RENDER_CANVAS" | "RESIZE_TABLE" | "REFRESH_PIVOT", C_1 extends Extract<UpdateCellCommand, {
|
|
9802
10503
|
type: T_1;
|
|
9803
10504
|
}> | Extract<UpdateCellPositionCommand, {
|
|
9804
10505
|
type: T_1;
|
|
@@ -9902,6 +10603,18 @@ declare const registries: {
|
|
|
9902
10603
|
type: T_1;
|
|
9903
10604
|
}> | Extract<UpdateLocaleCommand, {
|
|
9904
10605
|
type: T_1;
|
|
10606
|
+
}> | Extract<AddPivotCommand, {
|
|
10607
|
+
type: T_1;
|
|
10608
|
+
}> | Extract<UpdatePivotCommand, {
|
|
10609
|
+
type: T_1;
|
|
10610
|
+
}> | Extract<InsertPivotCommand, {
|
|
10611
|
+
type: T_1;
|
|
10612
|
+
}> | Extract<RenamePivotCommand, {
|
|
10613
|
+
type: T_1;
|
|
10614
|
+
}> | Extract<RemovePivotCommand, {
|
|
10615
|
+
type: T_1;
|
|
10616
|
+
}> | Extract<DuplicatePivotCommand, {
|
|
10617
|
+
type: T_1;
|
|
9905
10618
|
}> | Extract<RequestUndoCommand, {
|
|
9906
10619
|
type: T_1;
|
|
9907
10620
|
}> | Extract<RequestRedoCommand, {
|
|
@@ -9994,10 +10707,16 @@ declare const registries: {
|
|
|
9994
10707
|
type: T_1;
|
|
9995
10708
|
}> | Extract<RenderCanvasCommand, {
|
|
9996
10709
|
type: T_1;
|
|
10710
|
+
}> | Extract<ResizeTableCommand, {
|
|
10711
|
+
type: T_1;
|
|
10712
|
+
}> | Extract<RefreshPivotCommand, {
|
|
10713
|
+
type: T_1;
|
|
9997
10714
|
}>>(type: T_1, r: Omit<C_1, "type">): DispatchResult;
|
|
9998
10715
|
}): AbstractCellClipboardHandler<any, any>;
|
|
9999
10716
|
}>;
|
|
10000
10717
|
};
|
|
10718
|
+
pivotRegistry: Registry<PivotRegistryItem>;
|
|
10719
|
+
pivotTimeAdapterRegistry: Registry<PivotTimeAdapter<string | number | false>>;
|
|
10001
10720
|
};
|
|
10002
10721
|
declare const helpers: {
|
|
10003
10722
|
arg: typeof arg;
|
|
@@ -10041,6 +10760,20 @@ declare const helpers: {
|
|
|
10041
10760
|
expandZoneOnInsertion: typeof expandZoneOnInsertion;
|
|
10042
10761
|
reduceZoneOnDeletion: typeof reduceZoneOnDeletion;
|
|
10043
10762
|
unquote: typeof unquote;
|
|
10763
|
+
makePivotFormula: typeof makePivotFormula;
|
|
10764
|
+
getMaxObjectId: typeof getMaxObjectId;
|
|
10765
|
+
getFunctionsFromTokens: typeof getFunctionsFromTokens;
|
|
10766
|
+
getFirstPivotFunction: typeof getFirstPivotFunction;
|
|
10767
|
+
getNumberOfPivotFunctions: typeof getNumberOfPivotFunctions;
|
|
10768
|
+
parseDimension: typeof parseDimension;
|
|
10769
|
+
isDateField: typeof isDateField;
|
|
10770
|
+
makeFieldProposal: typeof makeFieldProposal;
|
|
10771
|
+
insertTokenAfterArgSeparator: typeof insertTokenAfterArgSeparator;
|
|
10772
|
+
insertTokenAfterLeftParenthesis: typeof insertTokenAfterLeftParenthesis;
|
|
10773
|
+
mergeContiguousZones: typeof mergeContiguousZones;
|
|
10774
|
+
getPivotHighlights: typeof getPivotHighlights;
|
|
10775
|
+
pivotTimeAdapter: typeof pivotTimeAdapter;
|
|
10776
|
+
UNDO_REDO_PIVOT_COMMANDS: string[];
|
|
10044
10777
|
};
|
|
10045
10778
|
declare const links: {
|
|
10046
10779
|
isMarkdownLink: typeof isMarkdownLink;
|
|
@@ -10064,9 +10797,9 @@ declare const components: {
|
|
|
10064
10797
|
GridOverlay: typeof GridOverlay;
|
|
10065
10798
|
ScorecardChart: typeof ScorecardChart;
|
|
10066
10799
|
LineConfigPanel: typeof LineConfigPanel;
|
|
10067
|
-
|
|
10800
|
+
GenericChartDesignPanel: typeof GenericChartDesignPanel;
|
|
10068
10801
|
BarConfigPanel: typeof BarConfigPanel;
|
|
10069
|
-
|
|
10802
|
+
GenericChartConfigPanel: typeof GenericChartConfigPanel;
|
|
10070
10803
|
GaugeChartConfigPanel: typeof GaugeChartConfigPanel;
|
|
10071
10804
|
GaugeChartDesignPanel: typeof GaugeChartDesignPanel;
|
|
10072
10805
|
ScorecardChartConfigPanel: typeof ScorecardChartConfigPanel;
|
|
@@ -10076,6 +10809,13 @@ declare const components: {
|
|
|
10076
10809
|
Popover: typeof Popover;
|
|
10077
10810
|
SelectionInput: typeof SelectionInput;
|
|
10078
10811
|
ValidationMessages: typeof ValidationMessages;
|
|
10812
|
+
AddDimensionButton: typeof AddDimensionButton;
|
|
10813
|
+
PivotDimensionGranularity: typeof PivotDimensionGranularity;
|
|
10814
|
+
PivotDimensionOrder: typeof PivotDimensionOrder;
|
|
10815
|
+
PivotDimension: typeof PivotDimension;
|
|
10816
|
+
PivotDimensions: typeof PivotDimensions;
|
|
10817
|
+
EditableName: typeof EditableName;
|
|
10818
|
+
AllPivotsSidePanel: typeof AllPivotsSidePanel;
|
|
10079
10819
|
};
|
|
10080
10820
|
declare const hooks: {
|
|
10081
10821
|
useDragAndDropListItems: typeof useDragAndDropListItems;
|
|
@@ -10099,6 +10839,7 @@ declare const stores: {
|
|
|
10099
10839
|
useStore: typeof useStore;
|
|
10100
10840
|
useLocalStore: typeof useLocalStore;
|
|
10101
10841
|
SidePanelStore: typeof SidePanelStore;
|
|
10842
|
+
PivotSidePanelStore: typeof PivotSidePanelStore;
|
|
10102
10843
|
};
|
|
10103
10844
|
|
|
10104
10845
|
declare function addFunction(functionName: string, functionDescription: AddFunctionDescription): {
|
|
@@ -10107,6 +10848,16 @@ declare function addFunction(functionName: string, functionDescription: AddFunct
|
|
|
10107
10848
|
declare const constants: {
|
|
10108
10849
|
DEFAULT_LOCALE: Locale;
|
|
10109
10850
|
HIGHLIGHT_COLOR: string;
|
|
10851
|
+
PIVOT_TABLE_CONFIG: {
|
|
10852
|
+
hasFilters: boolean;
|
|
10853
|
+
totalRow: boolean;
|
|
10854
|
+
firstColumn: boolean;
|
|
10855
|
+
lastColumn: boolean;
|
|
10856
|
+
numberOfHeaders: number;
|
|
10857
|
+
bandedRows: boolean;
|
|
10858
|
+
bandedColumns: boolean;
|
|
10859
|
+
styleId: string;
|
|
10860
|
+
};
|
|
10110
10861
|
};
|
|
10111
10862
|
|
|
10112
|
-
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, 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, 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 };
|
|
10863
|
+
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePaintFormatCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescription, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelPaintFormatCommand, CancelledReason, Cell, CellData, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartType, ChartWithAxisDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardContent, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CompiledFormula, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, Currency, CustomFormulaCriterion, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetValues, DateCriterionValue, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, ExcelCellData, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, FPayload, FPayloadNumber, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, GeneratorCell, Getters, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InsertCellCommand, InsertPivotCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, Offset, OperationSequenceNode, OrderedLayers, PLAIN_TEXT_FORMAT, PaneDivision, PasteCommand, PasteFromOSClipboardCommand, PivotRuntimeDefinition, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RenamePivotCommand, RenameSheetCommand, RenderCanvasCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, RevisionsDroppedEvent, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetEnv, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TargetDependentCommand, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|