@odoo/o-spreadsheet 17.4.0-alpha.0 → 17.4.0-alpha.10
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 +2404 -1645
- package/dist/o-spreadsheet.d.ts +545 -250
- package/dist/o-spreadsheet.esm.js +2404 -1645
- package/dist/o-spreadsheet.iife.js +2404 -1645
- package/dist/o-spreadsheet.iife.min.js +439 -388
- package/dist/o_spreadsheet.xml +393 -100
- package/package.json +6 -4
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -158,6 +158,10 @@ interface ExcelFigureSize {
|
|
|
158
158
|
}
|
|
159
159
|
type ResizeDirection = -1 | 0 | 1;
|
|
160
160
|
|
|
161
|
+
/**
|
|
162
|
+
* Image source given to <img src="..."/>
|
|
163
|
+
*/
|
|
164
|
+
type ImageSrc = string;
|
|
161
165
|
interface Image$1 {
|
|
162
166
|
path: string;
|
|
163
167
|
size: FigureSize;
|
|
@@ -202,6 +206,7 @@ interface ComboBarChartDefinition {
|
|
|
202
206
|
interface BarChartDefinition extends ComboBarChartDefinition {
|
|
203
207
|
readonly type: "bar";
|
|
204
208
|
readonly stacked: boolean;
|
|
209
|
+
readonly horizontal?: boolean;
|
|
205
210
|
}
|
|
206
211
|
type BarChartRuntime = {
|
|
207
212
|
chartJsConfig: ChartConfiguration;
|
|
@@ -266,6 +271,7 @@ interface LineChartDefinition {
|
|
|
266
271
|
readonly aggregated?: boolean;
|
|
267
272
|
readonly cumulative: boolean;
|
|
268
273
|
readonly axesDesign?: AxesDesign;
|
|
274
|
+
readonly fillArea?: boolean;
|
|
269
275
|
}
|
|
270
276
|
type LineChartRuntime = {
|
|
271
277
|
chartJsConfig: ChartConfiguration;
|
|
@@ -282,12 +288,21 @@ interface PieChartDefinition {
|
|
|
282
288
|
readonly legendPosition: LegendPosition;
|
|
283
289
|
readonly aggregated?: boolean;
|
|
284
290
|
readonly axesDesign?: AxesDesign;
|
|
291
|
+
readonly isDoughnut?: boolean;
|
|
285
292
|
}
|
|
286
293
|
type PieChartRuntime = {
|
|
287
294
|
chartJsConfig: ChartConfiguration;
|
|
288
295
|
background: Color;
|
|
289
296
|
};
|
|
290
297
|
|
|
298
|
+
interface PyramidChartDefinition extends Omit<BarChartDefinition, "type"> {
|
|
299
|
+
readonly type: "pyramid";
|
|
300
|
+
}
|
|
301
|
+
type PyramidChartRuntime = {
|
|
302
|
+
chartJsConfig: ChartConfiguration;
|
|
303
|
+
background: Color;
|
|
304
|
+
};
|
|
305
|
+
|
|
291
306
|
interface ScatterChartDefinition extends Omit<LineChartDefinition, "type" | "stacked" | "cumulative"> {
|
|
292
307
|
readonly type: "scatter";
|
|
293
308
|
}
|
|
@@ -348,14 +363,14 @@ type WaterfallChartRuntime = {
|
|
|
348
363
|
background: Color;
|
|
349
364
|
};
|
|
350
365
|
|
|
351
|
-
declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall"];
|
|
366
|
+
declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall", "pyramid"];
|
|
352
367
|
type ChartType = (typeof CHART_TYPES)[number];
|
|
353
|
-
type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition;
|
|
368
|
+
type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition | PyramidChartDefinition;
|
|
354
369
|
type ChartWithAxisDefinition = Extract<ChartDefinition, {
|
|
355
370
|
dataSets: CustomizedDataSet[];
|
|
356
371
|
labelRange?: string;
|
|
357
372
|
}>;
|
|
358
|
-
type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime;
|
|
373
|
+
type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime | PyramidChartRuntime;
|
|
359
374
|
type ChartRuntime = ChartJSRuntime | ScorecardChartRuntime | GaugeChartRuntime;
|
|
360
375
|
interface LabelValues {
|
|
361
376
|
readonly values: string[];
|
|
@@ -438,6 +453,7 @@ interface ChartCreationContext {
|
|
|
438
453
|
readonly firstValueAsSubtotal?: boolean;
|
|
439
454
|
readonly legendPosition?: LegendPosition;
|
|
440
455
|
readonly axesDesign?: AxesDesign;
|
|
456
|
+
readonly fillArea?: boolean;
|
|
441
457
|
}
|
|
442
458
|
|
|
443
459
|
declare enum ClipboardMIMEType {
|
|
@@ -455,16 +471,19 @@ interface ClipboardOptions {
|
|
|
455
471
|
type ClipboardPasteOptions = "onlyFormat" | "asValue";
|
|
456
472
|
type ClipboardOperation = "CUT" | "COPY";
|
|
457
473
|
type ClipboardCellData = {
|
|
474
|
+
sheetId: UID;
|
|
458
475
|
zones: Zone[];
|
|
459
476
|
rowsIndexes: HeaderIndex[];
|
|
460
477
|
columnsIndexes: HeaderIndex[];
|
|
461
478
|
clippedZones: Zone[];
|
|
462
479
|
};
|
|
463
480
|
type ClipboardFigureData = {
|
|
481
|
+
sheetId: UID;
|
|
464
482
|
figureId: UID;
|
|
465
483
|
};
|
|
466
484
|
type ClipboardData = ClipboardCellData | ClipboardFigureData;
|
|
467
485
|
type ClipboardPasteTarget = {
|
|
486
|
+
sheetId: UID;
|
|
468
487
|
zones: Zone[];
|
|
469
488
|
figureId?: UID;
|
|
470
489
|
};
|
|
@@ -499,7 +518,7 @@ interface SearchOptions {
|
|
|
499
518
|
}
|
|
500
519
|
|
|
501
520
|
type Aggregator = "array_agg" | "count" | "count_distinct" | "bool_and" | "bool_or" | "max" | "min" | "avg" | "sum";
|
|
502
|
-
type Granularity = "day" | "week" | "month" | "quarter" | "year" | "day_of_month" | "iso_week_number" | "month_number" | "quarter_number"
|
|
521
|
+
type Granularity = "day" | "week" | "month" | "quarter" | "year" | "day_of_month" | "iso_week_number" | "month_number" | "quarter_number";
|
|
503
522
|
interface PivotCoreDimension {
|
|
504
523
|
name: string;
|
|
505
524
|
order?: "asc" | "desc";
|
|
@@ -549,38 +568,55 @@ interface PivotDimension$1 extends PivotCoreDimension {
|
|
|
549
568
|
}
|
|
550
569
|
interface PivotTableColumn {
|
|
551
570
|
fields: string[];
|
|
552
|
-
values:
|
|
571
|
+
values: CellValue[];
|
|
553
572
|
width: number;
|
|
554
573
|
offset: number;
|
|
555
574
|
}
|
|
556
575
|
interface PivotTableRow {
|
|
557
576
|
fields: string[];
|
|
558
|
-
values:
|
|
577
|
+
values: CellValue[];
|
|
559
578
|
indent: number;
|
|
560
579
|
}
|
|
561
580
|
interface PivotTableData {
|
|
562
581
|
cols: PivotTableColumn[][];
|
|
563
582
|
rows: PivotTableRow[];
|
|
564
583
|
measures: string[];
|
|
565
|
-
|
|
584
|
+
fieldsType?: Record<string, string | undefined>;
|
|
566
585
|
}
|
|
567
|
-
interface
|
|
568
|
-
|
|
569
|
-
domain
|
|
570
|
-
|
|
571
|
-
|
|
586
|
+
interface PivotHeaderCell {
|
|
587
|
+
type: "HEADER";
|
|
588
|
+
domain: PivotDomain;
|
|
589
|
+
}
|
|
590
|
+
interface PivotMeasureHeaderCell {
|
|
591
|
+
type: "MEASURE_HEADER";
|
|
592
|
+
domain: PivotDomain;
|
|
593
|
+
measure: string;
|
|
594
|
+
}
|
|
595
|
+
interface PivotValueCell {
|
|
596
|
+
type: "VALUE";
|
|
597
|
+
domain: PivotDomain;
|
|
598
|
+
measure: string;
|
|
599
|
+
}
|
|
600
|
+
interface PivotEmptyCell {
|
|
601
|
+
type: "EMPTY";
|
|
602
|
+
}
|
|
603
|
+
type PivotTableCell = PivotHeaderCell | PivotMeasureHeaderCell | PivotValueCell | PivotEmptyCell;
|
|
604
|
+
interface PivotTimeAdapterNotNull<T> {
|
|
605
|
+
normalizeFunctionValue: (value: Exclude<CellValue, null>) => T;
|
|
606
|
+
toValueAndFormat: (normalizedValue: T, locale?: Locale) => FPayload;
|
|
607
|
+
toFunctionValue: (normalizedValue: T) => string;
|
|
572
608
|
}
|
|
573
609
|
interface PivotTimeAdapter<T> {
|
|
574
|
-
normalizeFunctionValue: (value:
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
toCellValue: (normalizedValue: T) => CellValue;
|
|
610
|
+
normalizeFunctionValue: (value: CellValue) => T | null;
|
|
611
|
+
toValueAndFormat: (normalizedValue: T, locale?: Locale) => FPayload;
|
|
612
|
+
toFunctionValue: (normalizedValue: T) => string;
|
|
578
613
|
}
|
|
579
|
-
interface
|
|
614
|
+
interface PivotNode {
|
|
580
615
|
field: string;
|
|
581
|
-
|
|
616
|
+
type: string;
|
|
617
|
+
value: CellValue;
|
|
582
618
|
}
|
|
583
|
-
type
|
|
619
|
+
type PivotDomain = PivotNode[];
|
|
584
620
|
|
|
585
621
|
interface Table {
|
|
586
622
|
readonly id: TableId;
|
|
@@ -697,11 +733,11 @@ interface ZoneDependentCommand {
|
|
|
697
733
|
}
|
|
698
734
|
declare function isZoneDependent(cmd: CoreCommand): boolean;
|
|
699
735
|
declare function isPositionDependent(cmd: CoreCommand): boolean;
|
|
700
|
-
declare const invalidateEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT">;
|
|
701
|
-
declare const invalidateDependenciesCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT">;
|
|
702
|
-
declare const invalidateCFEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT">;
|
|
703
|
-
declare const invalidateBordersCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT">;
|
|
704
|
-
declare const readonlyAllowedCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT">;
|
|
736
|
+
declare const invalidateEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE">;
|
|
737
|
+
declare const invalidateDependenciesCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE">;
|
|
738
|
+
declare const invalidateCFEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE">;
|
|
739
|
+
declare const invalidateBordersCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE">;
|
|
740
|
+
declare const readonlyAllowedCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE">;
|
|
705
741
|
declare const coreTypes: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT">;
|
|
706
742
|
declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
|
|
707
743
|
declare function canExecuteInReadonly(cmd: Command): boolean;
|
|
@@ -1226,6 +1262,20 @@ interface InsertNewPivotCommand {
|
|
|
1226
1262
|
pivotId: UID;
|
|
1227
1263
|
newSheetId: UID;
|
|
1228
1264
|
}
|
|
1265
|
+
interface DuplicatePivotInNewSheetCommand {
|
|
1266
|
+
type: "DUPLICATE_PIVOT_IN_NEW_SHEET";
|
|
1267
|
+
pivotId: UID;
|
|
1268
|
+
newPivotId: UID;
|
|
1269
|
+
newSheetId: UID;
|
|
1270
|
+
}
|
|
1271
|
+
interface InsertPivotWithTableCommand {
|
|
1272
|
+
type: "INSERT_PIVOT_WITH_TABLE";
|
|
1273
|
+
sheetId: UID;
|
|
1274
|
+
col: HeaderIndex;
|
|
1275
|
+
row: HeaderIndex;
|
|
1276
|
+
pivotId: UID;
|
|
1277
|
+
table: PivotTableData;
|
|
1278
|
+
}
|
|
1229
1279
|
type CoreCommand =
|
|
1230
1280
|
/** CELLS */
|
|
1231
1281
|
UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | DeleteContentCommand
|
|
@@ -1257,7 +1307,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | DeleteContent
|
|
|
1257
1307
|
| UpdateLocaleCommand
|
|
1258
1308
|
/** PIVOT */
|
|
1259
1309
|
| AddPivotCommand | UpdatePivotCommand | InsertPivotCommand | RenamePivotCommand | RemovePivotCommand | DuplicatePivotCommand;
|
|
1260
|
-
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 | ResizeTableCommand | RefreshPivotCommand | InsertNewPivotCommand;
|
|
1310
|
+
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 | ResizeTableCommand | RefreshPivotCommand | InsertNewPivotCommand | DuplicatePivotInNewSheetCommand | InsertPivotWithTableCommand;
|
|
1261
1311
|
type Command = CoreCommand | LocalCommand;
|
|
1262
1312
|
/**
|
|
1263
1313
|
* Holds the result of a command dispatch.
|
|
@@ -1833,6 +1883,7 @@ interface CellAttributes {
|
|
|
1833
1883
|
}
|
|
1834
1884
|
interface LiteralCell extends CellAttributes {
|
|
1835
1885
|
readonly isFormula: false;
|
|
1886
|
+
readonly parsedValue: CellValue;
|
|
1836
1887
|
}
|
|
1837
1888
|
interface FormulaCell extends CellAttributes {
|
|
1838
1889
|
readonly isFormula: true;
|
|
@@ -3188,7 +3239,6 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
|
|
|
3188
3239
|
private addPivot;
|
|
3189
3240
|
private insertPivot;
|
|
3190
3241
|
private resizeSheet;
|
|
3191
|
-
private addPivotFormula;
|
|
3192
3242
|
private getPivotCore;
|
|
3193
3243
|
/**
|
|
3194
3244
|
* Import the pivots
|
|
@@ -3800,7 +3850,7 @@ declare class Session extends EventBus<CollaborativeEvent> {
|
|
|
3800
3850
|
/**
|
|
3801
3851
|
* Notify the server that the user client left the collaborative session
|
|
3802
3852
|
*/
|
|
3803
|
-
leave(): void;
|
|
3853
|
+
leave(data: WorkbookData): void;
|
|
3804
3854
|
/**
|
|
3805
3855
|
* Send a snapshot of the spreadsheet to the collaboration server
|
|
3806
3856
|
*/
|
|
@@ -3868,6 +3918,7 @@ type StatefulStream<Event, State> = {
|
|
|
3868
3918
|
* Allows to select cells in the grid and update the selection
|
|
3869
3919
|
*/
|
|
3870
3920
|
interface SelectionProcessor {
|
|
3921
|
+
getAnchor(): Immutable<AnchorZone>;
|
|
3871
3922
|
selectZone(anchor: AnchorZone, options?: SelectionEventOptions): DispatchResult;
|
|
3872
3923
|
selectCell(col: number, row: number): DispatchResult;
|
|
3873
3924
|
moveAnchorCell(direction: Direction$1, step: SelectionStep): DispatchResult;
|
|
@@ -3916,7 +3967,7 @@ declare class UIPlugin<State = any> extends BasePlugin<State, Command> {
|
|
|
3916
3967
|
}
|
|
3917
3968
|
|
|
3918
3969
|
declare class EvaluationPlugin extends UIPlugin {
|
|
3919
|
-
static getters: readonly ["evaluateFormula", "getCorrespondingFormulaCell", "getRangeFormattedValues", "getRangeValues", "getRangeFormats", "getEvaluatedCell", "getEvaluatedCells", "getEvaluatedCellsInZone", "getSpreadZone", "getArrayFormulaSpreadingOn", "isEmpty"];
|
|
3970
|
+
static getters: readonly ["evaluateFormula", "getCorrespondingFormulaCell", "getRangeFormattedValues", "getRangeValues", "getRangeFormats", "getEvaluatedCell", "getEvaluatedCells", "getEvaluatedCellsInZone", "getEvaluatedCellsPositions", "getSpreadZone", "getArrayFormulaSpreadingOn", "isEmpty"];
|
|
3920
3971
|
private shouldRebuildDependenciesGraph;
|
|
3921
3972
|
private evaluator;
|
|
3922
3973
|
private positionsToUpdate;
|
|
@@ -3938,7 +3989,8 @@ declare class EvaluationPlugin extends UIPlugin {
|
|
|
3938
3989
|
*/
|
|
3939
3990
|
getRangeFormats(range: Range): (Format | undefined)[];
|
|
3940
3991
|
getEvaluatedCell(position: CellPosition): EvaluatedCell;
|
|
3941
|
-
getEvaluatedCells(sheetId: UID):
|
|
3992
|
+
getEvaluatedCells(sheetId: UID): EvaluatedCell[];
|
|
3993
|
+
getEvaluatedCellsPositions(sheetId: UID): CellPosition[];
|
|
3942
3994
|
getEvaluatedCellsInZone(sheetId: UID, zone: Zone): EvaluatedCell[];
|
|
3943
3995
|
/**
|
|
3944
3996
|
* Return the spread zone the position is part of, if any
|
|
@@ -4194,12 +4246,12 @@ declare class SpreadsheetPivotTable {
|
|
|
4194
4246
|
readonly columns: PivotTableColumn[][];
|
|
4195
4247
|
readonly rows: PivotTableRow[];
|
|
4196
4248
|
readonly measures: string[];
|
|
4197
|
-
readonly
|
|
4249
|
+
readonly fieldsType: Record<string, string | undefined>;
|
|
4198
4250
|
readonly maxIndent: number;
|
|
4199
4251
|
readonly pivotCells: {
|
|
4200
4252
|
[key: string]: PivotTableCell[][];
|
|
4201
4253
|
};
|
|
4202
|
-
constructor(columns: PivotTableColumn[][], rows: PivotTableRow[], measures: string[],
|
|
4254
|
+
constructor(columns: PivotTableColumn[][], rows: PivotTableRow[], measures: string[], fieldsType: Record<string, string | undefined>);
|
|
4203
4255
|
/**
|
|
4204
4256
|
* Get the number of columns leafs (i.e. the number of the last row of columns)
|
|
4205
4257
|
*/
|
|
@@ -4215,7 +4267,7 @@ declare class SpreadsheetPivotTable {
|
|
|
4215
4267
|
cols: PivotTableColumn[][];
|
|
4216
4268
|
rows: PivotTableRow[];
|
|
4217
4269
|
measures: string[];
|
|
4218
|
-
|
|
4270
|
+
fieldsType: Record<string, string | undefined>;
|
|
4219
4271
|
};
|
|
4220
4272
|
}
|
|
4221
4273
|
|
|
@@ -4228,14 +4280,17 @@ interface Pivot<T = PivotRuntimeDefinition> {
|
|
|
4228
4280
|
init(params?: InitPivotParams): void;
|
|
4229
4281
|
isValid(): boolean;
|
|
4230
4282
|
getTableStructure(): SpreadsheetPivotTable;
|
|
4231
|
-
getFields(): PivotFields
|
|
4232
|
-
getPivotHeaderValueAndFormat(domain:
|
|
4233
|
-
getPivotCellValueAndFormat(measure: string, domain:
|
|
4283
|
+
getFields(): PivotFields;
|
|
4284
|
+
getPivotHeaderValueAndFormat(domain: PivotDomain): FPayload;
|
|
4285
|
+
getPivotCellValueAndFormat(measure: string, domain: PivotDomain): FPayload;
|
|
4286
|
+
getPivotMeasureValue(measure: string, domain: PivotDomain): FPayload;
|
|
4234
4287
|
getMeasure: (name: string) => PivotMeasure;
|
|
4288
|
+
parseArgsToPivotDomain(args: Maybe<FPayload>[]): PivotDomain;
|
|
4289
|
+
areDomainArgsFieldsValid(args: Maybe<FPayload>[]): boolean;
|
|
4235
4290
|
assertIsValid({ throwOnError }: {
|
|
4236
4291
|
throwOnError: boolean;
|
|
4237
4292
|
}): FPayload | undefined;
|
|
4238
|
-
getPossibleFieldValues(
|
|
4293
|
+
getPossibleFieldValues(dimension: PivotDimension$1): {
|
|
4239
4294
|
value: string | boolean | number;
|
|
4240
4295
|
label: string;
|
|
4241
4296
|
}[];
|
|
@@ -4243,7 +4298,7 @@ interface Pivot<T = PivotRuntimeDefinition> {
|
|
|
4243
4298
|
}
|
|
4244
4299
|
|
|
4245
4300
|
declare class PivotUIPlugin extends UIPlugin {
|
|
4246
|
-
static getters: readonly ["getPivot", "getFirstPivotFunction", "getPivotIdFromPosition", "
|
|
4301
|
+
static getters: readonly ["getPivot", "getFirstPivotFunction", "getPivotIdFromPosition", "getPivotCellFromPosition", "isPivotUnused", "isSpillPivotFormula"];
|
|
4247
4302
|
private pivots;
|
|
4248
4303
|
private unusedPivots?;
|
|
4249
4304
|
private custom;
|
|
@@ -4255,7 +4310,8 @@ declare class PivotUIPlugin extends UIPlugin {
|
|
|
4255
4310
|
* is no pivot at this position
|
|
4256
4311
|
*/
|
|
4257
4312
|
getPivotIdFromPosition(position: CellPosition): "" | UID | undefined;
|
|
4258
|
-
|
|
4313
|
+
isSpillPivotFormula(position: CellPosition): boolean;
|
|
4314
|
+
getFirstPivotFunction(sheetId: UID, tokens: Token[]): {
|
|
4259
4315
|
functionName: string;
|
|
4260
4316
|
args: (CellValue | Matrix<CellValue> | undefined)[];
|
|
4261
4317
|
} | undefined;
|
|
@@ -4272,15 +4328,9 @@ declare class PivotUIPlugin extends UIPlugin {
|
|
|
4272
4328
|
* If the cell is the result of PIVOT, the result is the domain of the cell
|
|
4273
4329
|
* as if it was the individual pivot formula
|
|
4274
4330
|
*/
|
|
4275
|
-
|
|
4331
|
+
getPivotCellFromPosition(position: CellPosition): PivotTableCell;
|
|
4276
4332
|
getPivot(pivotId: UID): Pivot<PivotRuntimeDefinition>;
|
|
4277
4333
|
isPivotUnused(pivotId: UID): boolean;
|
|
4278
|
-
/**
|
|
4279
|
-
* Check if the fields in the domain part of
|
|
4280
|
-
* a pivot function are valid according to the pivot definition.
|
|
4281
|
-
* e.g. =PIVOT.VALUE(1,"revenue","country_id",...,"create_date:month",...,"source_id",...)
|
|
4282
|
-
*/
|
|
4283
|
-
areDomainArgsFieldsValid(pivotId: UID, domainArgs: string[]): boolean;
|
|
4284
4334
|
/**
|
|
4285
4335
|
* Refresh the cache of a pivot
|
|
4286
4336
|
*/
|
|
@@ -4479,21 +4529,6 @@ declare class CollaborativePlugin extends UIPlugin {
|
|
|
4479
4529
|
drawLayer(renderingContext: GridRenderingContext): void;
|
|
4480
4530
|
}
|
|
4481
4531
|
|
|
4482
|
-
/**
|
|
4483
|
-
* Find and Replace Plugin
|
|
4484
|
-
*
|
|
4485
|
-
* This plugin is used in combination with the find_and_replace sidePanel
|
|
4486
|
-
* It is used to 'highlight' cells that match an input string according to
|
|
4487
|
-
* the given searchOptions. The second part of this plugin makes it possible
|
|
4488
|
-
* (again with the find_and_replace sidePanel), to replace the values that match
|
|
4489
|
-
* the search with a new value.
|
|
4490
|
-
*/
|
|
4491
|
-
declare class FindAndReplacePlugin extends UIPlugin {
|
|
4492
|
-
static getters: readonly [];
|
|
4493
|
-
handle(cmd: Command): void;
|
|
4494
|
-
private replaceMatch;
|
|
4495
|
-
}
|
|
4496
|
-
|
|
4497
4532
|
declare class HeaderVisibilityUIPlugin extends UIPlugin {
|
|
4498
4533
|
static getters: readonly ["getNextVisibleCellPosition", "findVisibleHeader", "findLastVisibleColRowIndex", "findFirstVisibleColRowIndex", "isRowHidden", "isColHidden", "isHeaderHidden"];
|
|
4499
4534
|
isRowHidden(sheetId: UID, index: number): boolean;
|
|
@@ -4626,11 +4661,12 @@ declare class UIOptionsPlugin extends UIPlugin {
|
|
|
4626
4661
|
}
|
|
4627
4662
|
|
|
4628
4663
|
declare class SheetUIPlugin extends UIPlugin {
|
|
4629
|
-
static getters: readonly ["doesCellHaveGridIcon", "getCellWidth", "getTextWidth", "getCellText", "getCellMultiLineText", "getContiguousZone"];
|
|
4664
|
+
static getters: readonly ["doesCellHaveGridIcon", "getCellWidth", "getCellIconSrc", "getTextWidth", "getCellText", "getCellMultiLineText", "getContiguousZone"];
|
|
4630
4665
|
private ctx;
|
|
4631
4666
|
allowDispatch(cmd: LocalCommand): CommandResult | CommandResult[];
|
|
4632
4667
|
handle(cmd: Command): void;
|
|
4633
4668
|
getCellWidth(position: CellPosition): number;
|
|
4669
|
+
getCellIconSrc(position: CellPosition): ImageSrc | undefined;
|
|
4634
4670
|
getTextWidth(text: string, style: Style): Pixel;
|
|
4635
4671
|
getCellText(position: CellPosition, showFormula?: boolean): string;
|
|
4636
4672
|
/**
|
|
@@ -5133,11 +5169,12 @@ type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof Head
|
|
|
5133
5169
|
type Getters = {
|
|
5134
5170
|
isReadonly: () => boolean;
|
|
5135
5171
|
isDashboard: () => boolean;
|
|
5136
|
-
} & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof
|
|
5172
|
+
} & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin> & PluginGetters<typeof TableStylePlugin> & PluginGetters<typeof CellComputedStylePlugin> & PluginGetters<typeof DynamicTablesPlugin> & PluginGetters<typeof PivotUIPlugin> & PluginGetters<typeof TableComputedStylePlugin>;
|
|
5137
5173
|
|
|
5138
5174
|
type ArgType = "ANY" | "BOOLEAN" | "NUMBER" | "STRING" | "DATE" | "RANGE" | "RANGE<BOOLEAN>" | "RANGE<NUMBER>" | "RANGE<DATE>" | "RANGE<STRING>" | "RANGE<ANY>" | "META";
|
|
5139
5175
|
interface ArgDefinition {
|
|
5140
5176
|
acceptMatrix?: boolean;
|
|
5177
|
+
acceptMatrixOnly?: boolean;
|
|
5141
5178
|
repeating?: boolean;
|
|
5142
5179
|
optional?: boolean;
|
|
5143
5180
|
description: string;
|
|
@@ -5152,7 +5189,6 @@ interface AddFunctionDescription {
|
|
|
5152
5189
|
description: string;
|
|
5153
5190
|
category?: string;
|
|
5154
5191
|
args: ArgDefinition[];
|
|
5155
|
-
returns: ArgType[];
|
|
5156
5192
|
isExported?: boolean;
|
|
5157
5193
|
hidden?: boolean;
|
|
5158
5194
|
}
|
|
@@ -5411,14 +5447,6 @@ declare class ColorGenerator {
|
|
|
5411
5447
|
* 27 => 'AB'
|
|
5412
5448
|
*/
|
|
5413
5449
|
declare function numberToLetters(n: number): string;
|
|
5414
|
-
/**
|
|
5415
|
-
* Convert a string (describing a column) to its number value.
|
|
5416
|
-
*
|
|
5417
|
-
* Examples:
|
|
5418
|
-
* 'A' => 0
|
|
5419
|
-
* 'Z' => 25
|
|
5420
|
-
* 'AA' => 26
|
|
5421
|
-
*/
|
|
5422
5450
|
declare function lettersToNumber(letters: string): number;
|
|
5423
5451
|
/**
|
|
5424
5452
|
* Convert a "XC" coordinate to cartesian coordinates.
|
|
@@ -5872,10 +5900,10 @@ declare class ClipboardHandler<T> {
|
|
|
5872
5900
|
protected dispatch: CommandDispatcher["dispatch"];
|
|
5873
5901
|
constructor(getters: Getters, dispatch: CommandDispatcher["dispatch"]);
|
|
5874
5902
|
copy(data: ClipboardData): T | undefined;
|
|
5875
|
-
paste(target: ClipboardPasteTarget, clippedContent: T, options: ClipboardOptions
|
|
5903
|
+
paste(target: ClipboardPasteTarget, clippedContent: T, options: ClipboardOptions): void;
|
|
5876
5904
|
isPasteAllowed(sheetId: UID, target: Zone[], content: T, option: ClipboardOptions): CommandResult;
|
|
5877
5905
|
isCutAllowed(data: ClipboardData): CommandResult;
|
|
5878
|
-
getPasteTarget(target: Zone[], content: T, options: ClipboardOptions): ClipboardPasteTarget;
|
|
5906
|
+
getPasteTarget(sheetId: UID, target: Zone[], content: T, options: ClipboardOptions): ClipboardPasteTarget;
|
|
5879
5907
|
convertOSClipboardData(data: any): T | undefined;
|
|
5880
5908
|
}
|
|
5881
5909
|
|
|
@@ -6242,11 +6270,33 @@ interface ChartBuilder {
|
|
|
6242
6270
|
validateChartDefinition(validator: Validator, definition: ChartDefinition): CommandResult | CommandResult[];
|
|
6243
6271
|
transformDefinition(definition: ChartDefinition, executed: AddColumnsRowsCommand | RemoveColumnsRowsCommand): ChartDefinition;
|
|
6244
6272
|
getChartDefinitionFromContextCreation(context: ChartCreationContext): ChartDefinition;
|
|
6245
|
-
name: string;
|
|
6246
6273
|
sequence: number;
|
|
6247
6274
|
}
|
|
6275
|
+
type ChartUICategory = keyof typeof chartCategories;
|
|
6276
|
+
declare const chartCategories: {
|
|
6277
|
+
line: string;
|
|
6278
|
+
column: string;
|
|
6279
|
+
bar: string;
|
|
6280
|
+
area: string;
|
|
6281
|
+
pie: string;
|
|
6282
|
+
misc: string;
|
|
6283
|
+
};
|
|
6284
|
+
interface ChartSubtypeProperties {
|
|
6285
|
+
/** Type shown in the chart side panel */
|
|
6286
|
+
chartSubtype: string;
|
|
6287
|
+
/** Translated name of the displayType */
|
|
6288
|
+
displayName: string;
|
|
6289
|
+
/** Type of the chart in the model */
|
|
6290
|
+
chartType: ChartType;
|
|
6291
|
+
/** Match the chart type with a chart display type. Optional if chartType === displayType */
|
|
6292
|
+
matcher?: (definition: ChartDefinition) => boolean;
|
|
6293
|
+
/** Additional definition options to create a chart of type displayType */
|
|
6294
|
+
subtypeDefinition?: Partial<ChartDefinition>;
|
|
6295
|
+
category: ChartUICategory;
|
|
6296
|
+
preview: string;
|
|
6297
|
+
}
|
|
6248
6298
|
|
|
6249
|
-
interface Props$
|
|
6299
|
+
interface Props$11 {
|
|
6250
6300
|
label?: string;
|
|
6251
6301
|
value: boolean;
|
|
6252
6302
|
className?: string;
|
|
@@ -6255,7 +6305,7 @@ interface Props$Z {
|
|
|
6255
6305
|
disabled?: boolean;
|
|
6256
6306
|
onChange: (value: boolean) => void;
|
|
6257
6307
|
}
|
|
6258
|
-
declare class Checkbox extends Component<Props$
|
|
6308
|
+
declare class Checkbox extends Component<Props$11, SpreadsheetChildEnv> {
|
|
6259
6309
|
static template: string;
|
|
6260
6310
|
static props: {
|
|
6261
6311
|
label: {
|
|
@@ -6290,10 +6340,10 @@ declare class Checkbox extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
|
6290
6340
|
onChange(ev: InputEvent): void;
|
|
6291
6341
|
}
|
|
6292
6342
|
|
|
6293
|
-
interface Props$
|
|
6343
|
+
interface Props$10 {
|
|
6294
6344
|
class?: string;
|
|
6295
6345
|
}
|
|
6296
|
-
declare class Section extends Component<Props$
|
|
6346
|
+
declare class Section extends Component<Props$10, SpreadsheetChildEnv> {
|
|
6297
6347
|
static template: string;
|
|
6298
6348
|
static props: {
|
|
6299
6349
|
class: {
|
|
@@ -6421,7 +6471,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
6421
6471
|
getIndex(rangeId: number | null): number | null;
|
|
6422
6472
|
}
|
|
6423
6473
|
|
|
6424
|
-
interface Props
|
|
6474
|
+
interface Props$$ {
|
|
6425
6475
|
ranges: string[];
|
|
6426
6476
|
hasSingleRange?: boolean;
|
|
6427
6477
|
required?: boolean;
|
|
@@ -6444,7 +6494,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
6444
6494
|
* onSelectionChanged is called every time the input value
|
|
6445
6495
|
* changes.
|
|
6446
6496
|
*/
|
|
6447
|
-
declare class SelectionInput extends Component<Props
|
|
6497
|
+
declare class SelectionInput extends Component<Props$$, SpreadsheetChildEnv> {
|
|
6448
6498
|
static template: string;
|
|
6449
6499
|
static props: {
|
|
6450
6500
|
ranges: ArrayConstructor;
|
|
@@ -6499,13 +6549,13 @@ declare class SelectionInput extends Component<Props$X, SpreadsheetChildEnv> {
|
|
|
6499
6549
|
confirm(): void;
|
|
6500
6550
|
}
|
|
6501
6551
|
|
|
6502
|
-
interface Props$
|
|
6552
|
+
interface Props$_ {
|
|
6503
6553
|
ranges: CustomizedDataSet[];
|
|
6504
6554
|
hasSingleRange?: boolean;
|
|
6505
6555
|
onSelectionChanged: (ranges: string[]) => void;
|
|
6506
6556
|
onSelectionConfirmed: () => void;
|
|
6507
6557
|
}
|
|
6508
|
-
declare class ChartDataSeries extends Component<Props$
|
|
6558
|
+
declare class ChartDataSeries extends Component<Props$_, SpreadsheetChildEnv> {
|
|
6509
6559
|
static template: string;
|
|
6510
6560
|
static components: {
|
|
6511
6561
|
SelectionInput: typeof SelectionInput;
|
|
@@ -6525,11 +6575,11 @@ declare class ChartDataSeries extends Component<Props$W, SpreadsheetChildEnv> {
|
|
|
6525
6575
|
get title(): string;
|
|
6526
6576
|
}
|
|
6527
6577
|
|
|
6528
|
-
interface Props$
|
|
6578
|
+
interface Props$Z {
|
|
6529
6579
|
messages: string[];
|
|
6530
6580
|
msgType: "warning" | "error";
|
|
6531
6581
|
}
|
|
6532
|
-
declare class ValidationMessages extends Component<Props$
|
|
6582
|
+
declare class ValidationMessages extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
6533
6583
|
static template: string;
|
|
6534
6584
|
static props: {
|
|
6535
6585
|
messages: ArrayConstructor;
|
|
@@ -6538,10 +6588,10 @@ declare class ValidationMessages extends Component<Props$V, SpreadsheetChildEnv>
|
|
|
6538
6588
|
get divClasses(): "o-validation-warning text-warning" | "o-validation-error text-danger";
|
|
6539
6589
|
}
|
|
6540
6590
|
|
|
6541
|
-
interface Props$
|
|
6591
|
+
interface Props$Y {
|
|
6542
6592
|
messages: string[];
|
|
6543
6593
|
}
|
|
6544
|
-
declare class ChartErrorSection extends Component<Props$
|
|
6594
|
+
declare class ChartErrorSection extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
6545
6595
|
static template: string;
|
|
6546
6596
|
static components: {
|
|
6547
6597
|
Section: typeof Section;
|
|
@@ -6555,7 +6605,7 @@ declare class ChartErrorSection extends Component<Props$U, SpreadsheetChildEnv>
|
|
|
6555
6605
|
};
|
|
6556
6606
|
}
|
|
6557
6607
|
|
|
6558
|
-
interface Props$
|
|
6608
|
+
interface Props$X {
|
|
6559
6609
|
title?: string;
|
|
6560
6610
|
range: string;
|
|
6561
6611
|
isInvalid: boolean;
|
|
@@ -6569,7 +6619,7 @@ interface Props$T {
|
|
|
6569
6619
|
onChange: (value: boolean) => void;
|
|
6570
6620
|
}>;
|
|
6571
6621
|
}
|
|
6572
|
-
declare class ChartLabelRange extends Component<Props$
|
|
6622
|
+
declare class ChartLabelRange extends Component<Props$X, SpreadsheetChildEnv> {
|
|
6573
6623
|
static template: string;
|
|
6574
6624
|
static components: {
|
|
6575
6625
|
SelectionInput: typeof SelectionInput;
|
|
@@ -6594,16 +6644,16 @@ declare class ChartLabelRange extends Component<Props$T, SpreadsheetChildEnv> {
|
|
|
6594
6644
|
optional: boolean;
|
|
6595
6645
|
};
|
|
6596
6646
|
};
|
|
6597
|
-
static defaultProps: Partial<Props$
|
|
6647
|
+
static defaultProps: Partial<Props$X>;
|
|
6598
6648
|
}
|
|
6599
6649
|
|
|
6600
|
-
interface Props$
|
|
6650
|
+
interface Props$W {
|
|
6601
6651
|
figureId: UID;
|
|
6602
6652
|
definition: ChartWithAxisDefinition;
|
|
6603
6653
|
canUpdateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
6604
6654
|
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
6605
6655
|
}
|
|
6606
|
-
declare class GenericChartConfigPanel extends Component<Props$
|
|
6656
|
+
declare class GenericChartConfigPanel extends Component<Props$W, SpreadsheetChildEnv> {
|
|
6607
6657
|
static template: string;
|
|
6608
6658
|
static components: {
|
|
6609
6659
|
ChartDataSeries: typeof ChartDataSeries;
|
|
@@ -6621,6 +6671,31 @@ declare class GenericChartConfigPanel extends Component<Props$S, SpreadsheetChil
|
|
|
6621
6671
|
private state;
|
|
6622
6672
|
private dataSeriesRanges;
|
|
6623
6673
|
private labelRange;
|
|
6674
|
+
protected chartTerms: {
|
|
6675
|
+
Series: string;
|
|
6676
|
+
BackgroundColor: string;
|
|
6677
|
+
StackedBarChart: string;
|
|
6678
|
+
StackedLineChart: string;
|
|
6679
|
+
StackedAreaChart: string;
|
|
6680
|
+
CumulativeData: string;
|
|
6681
|
+
TreatLabelsAsText: string;
|
|
6682
|
+
AggregatedChart: string;
|
|
6683
|
+
Errors: {
|
|
6684
|
+
Unexpected: string;
|
|
6685
|
+
InvalidDataSet: string;
|
|
6686
|
+
InvalidLabelRange: string;
|
|
6687
|
+
InvalidScorecardKeyValue: string;
|
|
6688
|
+
InvalidScorecardBaseline: string;
|
|
6689
|
+
InvalidGaugeDataRange: string;
|
|
6690
|
+
EmptyGaugeRangeMin: string;
|
|
6691
|
+
GaugeRangeMinNaN: string;
|
|
6692
|
+
EmptyGaugeRangeMax: string;
|
|
6693
|
+
GaugeRangeMaxNaN: string;
|
|
6694
|
+
GaugeRangeMinBiggerThanRangeMax: string;
|
|
6695
|
+
GaugeLowerInflectionPointNaN: string;
|
|
6696
|
+
GaugeUpperInflectionPointNaN: string;
|
|
6697
|
+
};
|
|
6698
|
+
};
|
|
6624
6699
|
setup(): void;
|
|
6625
6700
|
get errorMessages(): string[];
|
|
6626
6701
|
get isDatasetInvalid(): boolean;
|
|
@@ -6653,7 +6728,6 @@ declare class GenericChartConfigPanel extends Component<Props$S, SpreadsheetChil
|
|
|
6653
6728
|
|
|
6654
6729
|
declare class BarConfigPanel extends GenericChartConfigPanel {
|
|
6655
6730
|
static template: string;
|
|
6656
|
-
get stackedLabel(): string;
|
|
6657
6731
|
onUpdateStacked(stacked: boolean): void;
|
|
6658
6732
|
onUpdateAggregated(aggregated: boolean): void;
|
|
6659
6733
|
}
|
|
@@ -6817,7 +6891,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
6817
6891
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
6818
6892
|
}
|
|
6819
6893
|
|
|
6820
|
-
interface Props$
|
|
6894
|
+
interface Props$V {
|
|
6821
6895
|
currentColor: string | undefined;
|
|
6822
6896
|
toggleColorPicker: () => void;
|
|
6823
6897
|
showColorPicker: boolean;
|
|
@@ -6828,7 +6902,7 @@ interface Props$R {
|
|
|
6828
6902
|
dropdownMaxHeight?: Pixel;
|
|
6829
6903
|
class?: string;
|
|
6830
6904
|
}
|
|
6831
|
-
declare class ColorPickerWidget extends Component<Props$
|
|
6905
|
+
declare class ColorPickerWidget extends Component<Props$V, SpreadsheetChildEnv> {
|
|
6832
6906
|
static template: string;
|
|
6833
6907
|
static props: {
|
|
6834
6908
|
currentColor: {
|
|
@@ -6866,12 +6940,12 @@ declare class ColorPickerWidget extends Component<Props$R, SpreadsheetChildEnv>
|
|
|
6866
6940
|
get colorPickerAnchorRect(): Rect;
|
|
6867
6941
|
}
|
|
6868
6942
|
|
|
6869
|
-
interface Props$
|
|
6943
|
+
interface Props$U {
|
|
6870
6944
|
currentColor?: string;
|
|
6871
6945
|
onColorPicked: (color: string) => void;
|
|
6872
6946
|
title?: string;
|
|
6873
6947
|
}
|
|
6874
|
-
declare class RoundColorPicker extends Component<Props$
|
|
6948
|
+
declare class RoundColorPicker extends Component<Props$U, SpreadsheetChildEnv> {
|
|
6875
6949
|
static template: string;
|
|
6876
6950
|
static components: {
|
|
6877
6951
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
@@ -6901,8 +6975,8 @@ declare class RoundColorPicker extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
|
6901
6975
|
get buttonStyle(): string;
|
|
6902
6976
|
}
|
|
6903
6977
|
|
|
6904
|
-
interface Props$
|
|
6905
|
-
title
|
|
6978
|
+
interface Props$T {
|
|
6979
|
+
title?: string;
|
|
6906
6980
|
updateTitle: (title: string) => void;
|
|
6907
6981
|
name?: string;
|
|
6908
6982
|
toggleItalic?: () => void;
|
|
@@ -6911,14 +6985,17 @@ interface Props$P {
|
|
|
6911
6985
|
updateColor?: (Color: any) => void;
|
|
6912
6986
|
style: TitleDesign;
|
|
6913
6987
|
}
|
|
6914
|
-
declare class ChartTitle extends Component<Props$
|
|
6988
|
+
declare class ChartTitle extends Component<Props$T, SpreadsheetChildEnv> {
|
|
6915
6989
|
static template: string;
|
|
6916
6990
|
static components: {
|
|
6917
6991
|
Section: typeof Section;
|
|
6918
6992
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
6919
6993
|
};
|
|
6920
6994
|
static props: {
|
|
6921
|
-
title:
|
|
6995
|
+
title: {
|
|
6996
|
+
type: StringConstructor;
|
|
6997
|
+
optional: boolean;
|
|
6998
|
+
};
|
|
6922
6999
|
updateTitle: FunctionConstructor;
|
|
6923
7000
|
name: {
|
|
6924
7001
|
type: StringConstructor;
|
|
@@ -6945,6 +7022,9 @@ declare class ChartTitle extends Component<Props$P, SpreadsheetChildEnv> {
|
|
|
6945
7022
|
optional: boolean;
|
|
6946
7023
|
};
|
|
6947
7024
|
};
|
|
7025
|
+
static defaultProps: {
|
|
7026
|
+
title: string;
|
|
7027
|
+
};
|
|
6948
7028
|
openedEl: HTMLElement | null;
|
|
6949
7029
|
setup(): void;
|
|
6950
7030
|
state: {
|
|
@@ -6968,18 +7048,24 @@ interface AxisDefinition {
|
|
|
6968
7048
|
id: string;
|
|
6969
7049
|
name: string;
|
|
6970
7050
|
}
|
|
6971
|
-
interface Props$
|
|
7051
|
+
interface Props$S {
|
|
6972
7052
|
figureId: UID;
|
|
6973
7053
|
definition: ChartWithAxisDefinition | WaterfallChartDefinition;
|
|
6974
7054
|
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition | WaterfallChartDefinition>) => DispatchResult;
|
|
6975
7055
|
axesList: AxisDefinition[];
|
|
6976
7056
|
}
|
|
6977
|
-
declare class AxisDesignEditor extends Component<Props$
|
|
7057
|
+
declare class AxisDesignEditor extends Component<Props$S, SpreadsheetChildEnv> {
|
|
6978
7058
|
static template: string;
|
|
6979
7059
|
static components: {
|
|
6980
7060
|
Section: typeof Section;
|
|
6981
7061
|
ChartTitle: typeof ChartTitle;
|
|
6982
7062
|
};
|
|
7063
|
+
static props: {
|
|
7064
|
+
figureId: StringConstructor;
|
|
7065
|
+
definition: ObjectConstructor;
|
|
7066
|
+
updateChart: FunctionConstructor;
|
|
7067
|
+
axesList: ArrayConstructor;
|
|
7068
|
+
};
|
|
6983
7069
|
state: {
|
|
6984
7070
|
currentAxis: string;
|
|
6985
7071
|
};
|
|
@@ -6993,12 +7079,12 @@ declare class AxisDesignEditor extends Component<Props$O, SpreadsheetChildEnv> {
|
|
|
6993
7079
|
updateAxisTitle(text: string): void;
|
|
6994
7080
|
}
|
|
6995
7081
|
|
|
6996
|
-
interface Props$
|
|
7082
|
+
interface Props$R {
|
|
6997
7083
|
figureId: UID;
|
|
6998
7084
|
definition: ChartDefinition;
|
|
6999
7085
|
updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
7000
7086
|
}
|
|
7001
|
-
declare class GeneralDesignEditor extends Component<Props$
|
|
7087
|
+
declare class GeneralDesignEditor extends Component<Props$R, SpreadsheetChildEnv> {
|
|
7002
7088
|
static template: string;
|
|
7003
7089
|
static components: {
|
|
7004
7090
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -7028,13 +7114,13 @@ declare class GeneralDesignEditor extends Component<Props$N, SpreadsheetChildEnv
|
|
|
7028
7114
|
updateChartTitleAlignment(align: "left" | "center" | "right"): void;
|
|
7029
7115
|
}
|
|
7030
7116
|
|
|
7031
|
-
interface Props$
|
|
7117
|
+
interface Props$Q {
|
|
7032
7118
|
figureId: UID;
|
|
7033
7119
|
definition: ChartWithAxisDefinition;
|
|
7034
7120
|
canUpdateChart: (figureID: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
7035
7121
|
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
7036
7122
|
}
|
|
7037
|
-
declare class ChartWithAxisDesignPanel extends Component<Props$
|
|
7123
|
+
declare class ChartWithAxisDesignPanel extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
7038
7124
|
static template: string;
|
|
7039
7125
|
static components: {
|
|
7040
7126
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -7043,6 +7129,12 @@ declare class ChartWithAxisDesignPanel extends Component<Props$M, SpreadsheetChi
|
|
|
7043
7129
|
AxisDesignEditor: typeof AxisDesignEditor;
|
|
7044
7130
|
RoundColorPicker: typeof RoundColorPicker;
|
|
7045
7131
|
};
|
|
7132
|
+
static props: {
|
|
7133
|
+
figureId: StringConstructor;
|
|
7134
|
+
definition: ObjectConstructor;
|
|
7135
|
+
canUpdateChart: FunctionConstructor;
|
|
7136
|
+
updateChart: FunctionConstructor;
|
|
7137
|
+
};
|
|
7046
7138
|
private state;
|
|
7047
7139
|
get axesList(): AxisDefinition[];
|
|
7048
7140
|
updateLegendPosition(ev: any): void;
|
|
@@ -7052,17 +7144,18 @@ declare class ChartWithAxisDesignPanel extends Component<Props$M, SpreadsheetChi
|
|
|
7052
7144
|
getDataSerieColor(): "" | Color;
|
|
7053
7145
|
updateDataSeriesAxis(ev: any): void;
|
|
7054
7146
|
getDataSerieAxis(): "left" | "right";
|
|
7147
|
+
get canHaveTwoVerticalAxis(): boolean;
|
|
7055
7148
|
updateDataSeriesLabel(ev: any): void;
|
|
7056
7149
|
getDataSerieLabel(): string | undefined;
|
|
7057
7150
|
}
|
|
7058
7151
|
|
|
7059
|
-
interface Props$
|
|
7152
|
+
interface Props$P {
|
|
7060
7153
|
figureId: UID;
|
|
7061
7154
|
definition: GaugeChartDefinition;
|
|
7062
7155
|
canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
7063
7156
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
7064
7157
|
}
|
|
7065
|
-
declare class GaugeChartConfigPanel extends Component<Props$
|
|
7158
|
+
declare class GaugeChartConfigPanel extends Component<Props$P, SpreadsheetChildEnv> {
|
|
7066
7159
|
static template: string;
|
|
7067
7160
|
static components: {
|
|
7068
7161
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -7087,13 +7180,13 @@ interface PanelState {
|
|
|
7087
7180
|
sectionRuleDispatchResult?: DispatchResult;
|
|
7088
7181
|
sectionRule: SectionRule;
|
|
7089
7182
|
}
|
|
7090
|
-
interface Props$
|
|
7183
|
+
interface Props$O {
|
|
7091
7184
|
figureId: UID;
|
|
7092
7185
|
definition: GaugeChartDefinition;
|
|
7093
7186
|
canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
7094
7187
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
7095
7188
|
}
|
|
7096
|
-
declare class GaugeChartDesignPanel extends Component<Props$
|
|
7189
|
+
declare class GaugeChartDesignPanel extends Component<Props$O, SpreadsheetChildEnv> {
|
|
7097
7190
|
static template: string;
|
|
7098
7191
|
static components: {
|
|
7099
7192
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -7114,8 +7207,6 @@ declare class GaugeChartDesignPanel extends Component<Props$K, SpreadsheetChildE
|
|
|
7114
7207
|
protected state: PanelState;
|
|
7115
7208
|
setup(): void;
|
|
7116
7209
|
get designErrorMessages(): string[];
|
|
7117
|
-
updateBackgroundColor(color: Color): void;
|
|
7118
|
-
updateTitle(content: string): void;
|
|
7119
7210
|
isRangeMinInvalid(): boolean;
|
|
7120
7211
|
isRangeMaxInvalid(): boolean;
|
|
7121
7212
|
get isLowerInflectionPointInvalid(): boolean;
|
|
@@ -7123,14 +7214,12 @@ declare class GaugeChartDesignPanel extends Component<Props$K, SpreadsheetChildE
|
|
|
7123
7214
|
updateSectionColor(target: string, color: Color): void;
|
|
7124
7215
|
updateSectionRule(sectionRule: SectionRule): void;
|
|
7125
7216
|
canUpdateSectionRule(sectionRule: SectionRule): void;
|
|
7126
|
-
get backgroundColorTitle(): string;
|
|
7127
7217
|
}
|
|
7128
7218
|
|
|
7129
7219
|
declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
7130
7220
|
static template: string;
|
|
7131
7221
|
get canTreatLabelsAsText(): boolean;
|
|
7132
7222
|
get stackedLabel(): string;
|
|
7133
|
-
get cumulativeLabel(): string;
|
|
7134
7223
|
getLabelRangeOptions(): {
|
|
7135
7224
|
name: string;
|
|
7136
7225
|
label: string;
|
|
@@ -7143,13 +7232,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
7143
7232
|
onUpdateCumulative(cumulative: boolean): void;
|
|
7144
7233
|
}
|
|
7145
7234
|
|
|
7146
|
-
interface Props$
|
|
7235
|
+
interface Props$N {
|
|
7147
7236
|
figureId: UID;
|
|
7148
7237
|
definition: ScorecardChartDefinition;
|
|
7149
7238
|
canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
7150
7239
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
7151
7240
|
}
|
|
7152
|
-
declare class ScorecardChartConfigPanel extends Component<Props$
|
|
7241
|
+
declare class ScorecardChartConfigPanel extends Component<Props$N, SpreadsheetChildEnv> {
|
|
7153
7242
|
static template: string;
|
|
7154
7243
|
static components: {
|
|
7155
7244
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7178,13 +7267,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$J, SpreadsheetCh
|
|
|
7178
7267
|
}
|
|
7179
7268
|
|
|
7180
7269
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
7181
|
-
interface Props$
|
|
7270
|
+
interface Props$M {
|
|
7182
7271
|
figureId: UID;
|
|
7183
7272
|
definition: ScorecardChartDefinition;
|
|
7184
7273
|
canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
7185
7274
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
7186
7275
|
}
|
|
7187
|
-
declare class ScorecardChartDesignPanel extends Component<Props$
|
|
7276
|
+
declare class ScorecardChartDesignPanel extends Component<Props$M, SpreadsheetChildEnv> {
|
|
7188
7277
|
static template: string;
|
|
7189
7278
|
static components: {
|
|
7190
7279
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -7204,12 +7293,10 @@ declare class ScorecardChartDesignPanel extends Component<Props$I, SpreadsheetCh
|
|
|
7204
7293
|
};
|
|
7205
7294
|
get colorsSectionTitle(): string;
|
|
7206
7295
|
get humanizeNumbersLabel(): string;
|
|
7207
|
-
updateTitle(content: string): void;
|
|
7208
7296
|
updateHumanizeNumbers(humanize: boolean): void;
|
|
7209
7297
|
translate(term: any): string;
|
|
7210
7298
|
updateBaselineDescr(ev: any): void;
|
|
7211
7299
|
setColor(color: Color, colorPickerId: ColorPickerId): void;
|
|
7212
|
-
get backgroundColorTitle(): string;
|
|
7213
7300
|
}
|
|
7214
7301
|
|
|
7215
7302
|
interface ChartSidePanel {
|
|
@@ -7246,15 +7333,18 @@ interface ClosedSidePanel {
|
|
|
7246
7333
|
}
|
|
7247
7334
|
type SidePanelState = OpenSidePanel | ClosedSidePanel;
|
|
7248
7335
|
declare class SidePanelStore extends SpreadsheetStore {
|
|
7249
|
-
mutators: readonly ["open", "toggle", "close"];
|
|
7336
|
+
mutators: readonly ["open", "toggle", "close", "changePanelSize", "resetPanelSize"];
|
|
7250
7337
|
initialPanelProps: SidePanelProps;
|
|
7251
7338
|
componentTag: string;
|
|
7339
|
+
panelSize: number;
|
|
7252
7340
|
get isOpen(): boolean;
|
|
7253
7341
|
get panelProps(): SidePanelProps;
|
|
7254
7342
|
get panelKey(): string | undefined;
|
|
7255
7343
|
open(componentTag: string, panelProps?: SidePanelProps): void;
|
|
7256
7344
|
toggle(componentTag: string, panelProps: SidePanelProps): void;
|
|
7257
7345
|
close(): void;
|
|
7346
|
+
changePanelSize(size: number, spreadsheetElWidth: number): void;
|
|
7347
|
+
resetPanelSize(): void;
|
|
7258
7348
|
private computeState;
|
|
7259
7349
|
}
|
|
7260
7350
|
|
|
@@ -7283,7 +7373,9 @@ declare class MenuItemRegistry extends Registry<ActionSpec> {
|
|
|
7283
7373
|
* @param path Path of items to add this subitem
|
|
7284
7374
|
* @param value Subitem to add
|
|
7285
7375
|
*/
|
|
7286
|
-
addChild(key: string, path: string[], value: ActionSpec | ActionBuilder
|
|
7376
|
+
addChild(key: string, path: string[], value: ActionSpec | ActionBuilder, options?: {
|
|
7377
|
+
force: boolean;
|
|
7378
|
+
}): MenuItemRegistry;
|
|
7287
7379
|
getMenuItems(): Action[];
|
|
7288
7380
|
}
|
|
7289
7381
|
|
|
@@ -7339,13 +7431,13 @@ interface EnrichedToken extends Token {
|
|
|
7339
7431
|
functionContext?: FunctionContext;
|
|
7340
7432
|
}
|
|
7341
7433
|
|
|
7342
|
-
interface Props$
|
|
7434
|
+
interface Props$L {
|
|
7343
7435
|
proposals: AutoCompleteProposal[];
|
|
7344
7436
|
selectedIndex: number | undefined;
|
|
7345
7437
|
onValueSelected: (value: string) => void;
|
|
7346
7438
|
onValueHovered: (index: string) => void;
|
|
7347
7439
|
}
|
|
7348
|
-
declare class TextValueProvider extends Component<Props$
|
|
7440
|
+
declare class TextValueProvider extends Component<Props$L> {
|
|
7349
7441
|
static template: string;
|
|
7350
7442
|
static props: {
|
|
7351
7443
|
proposals: ArrayConstructor;
|
|
@@ -7559,7 +7651,7 @@ declare class ContentEditableHelper {
|
|
|
7559
7651
|
getText(): string;
|
|
7560
7652
|
}
|
|
7561
7653
|
|
|
7562
|
-
interface Props$
|
|
7654
|
+
interface Props$K {
|
|
7563
7655
|
functionName: string;
|
|
7564
7656
|
functionDescription: FunctionDescription;
|
|
7565
7657
|
argToFocus: number;
|
|
@@ -7567,7 +7659,7 @@ interface Props$G {
|
|
|
7567
7659
|
interface AssistantState {
|
|
7568
7660
|
allowCellSelectionBehind: boolean;
|
|
7569
7661
|
}
|
|
7570
|
-
declare class FunctionDescriptionProvider extends Component<Props$
|
|
7662
|
+
declare class FunctionDescriptionProvider extends Component<Props$K, SpreadsheetChildEnv> {
|
|
7571
7663
|
static template: string;
|
|
7572
7664
|
static props: {
|
|
7573
7665
|
functionName: StringConstructor;
|
|
@@ -7577,7 +7669,7 @@ declare class FunctionDescriptionProvider extends Component<Props$G, Spreadsheet
|
|
|
7577
7669
|
assistantState: AssistantState;
|
|
7578
7670
|
private timeOutId;
|
|
7579
7671
|
setup(): void;
|
|
7580
|
-
getContext(): Props$
|
|
7672
|
+
getContext(): Props$K;
|
|
7581
7673
|
onMouseMove(): void;
|
|
7582
7674
|
get formulaArgSeparator(): string;
|
|
7583
7675
|
}
|
|
@@ -7768,10 +7860,10 @@ interface AutoCompleteProviderDefinition {
|
|
|
7768
7860
|
|
|
7769
7861
|
declare function transformRangeData(range: RangeData, executed: CoreCommand): RangeData | undefined;
|
|
7770
7862
|
|
|
7771
|
-
interface Props$
|
|
7863
|
+
interface Props$J {
|
|
7772
7864
|
figure: Figure;
|
|
7773
7865
|
}
|
|
7774
|
-
declare class ChartJsComponent extends Component<Props$
|
|
7866
|
+
declare class ChartJsComponent extends Component<Props$J, SpreadsheetChildEnv> {
|
|
7775
7867
|
static template: string;
|
|
7776
7868
|
static props: {
|
|
7777
7869
|
figure: ObjectConstructor;
|
|
@@ -7787,22 +7879,23 @@ declare class ChartJsComponent extends Component<Props$F, SpreadsheetChildEnv> {
|
|
|
7787
7879
|
private updateChartJs;
|
|
7788
7880
|
}
|
|
7789
7881
|
|
|
7790
|
-
interface Props$
|
|
7882
|
+
interface Props$I {
|
|
7791
7883
|
figure: Figure;
|
|
7792
7884
|
}
|
|
7793
|
-
declare class ScorecardChart extends Component<Props$
|
|
7885
|
+
declare class ScorecardChart extends Component<Props$I, SpreadsheetChildEnv> {
|
|
7794
7886
|
static template: string;
|
|
7795
7887
|
static props: {
|
|
7796
7888
|
figure: ObjectConstructor;
|
|
7797
7889
|
};
|
|
7798
7890
|
private canvas;
|
|
7799
7891
|
get runtime(): ScorecardChartRuntime;
|
|
7892
|
+
get title(): string;
|
|
7800
7893
|
setup(): void;
|
|
7801
7894
|
private createChart;
|
|
7802
7895
|
}
|
|
7803
7896
|
|
|
7804
7897
|
type MenuItemOrSeparator = Action | "separator";
|
|
7805
|
-
interface Props$
|
|
7898
|
+
interface Props$H {
|
|
7806
7899
|
position: DOMCoordinates;
|
|
7807
7900
|
menuItems: Action[];
|
|
7808
7901
|
depth: number;
|
|
@@ -7820,7 +7913,7 @@ interface MenuState {
|
|
|
7820
7913
|
menuItems: Action[];
|
|
7821
7914
|
isHoveringChild?: boolean;
|
|
7822
7915
|
}
|
|
7823
|
-
declare class Menu extends Component<Props$
|
|
7916
|
+
declare class Menu extends Component<Props$H, SpreadsheetChildEnv> {
|
|
7824
7917
|
static template: string;
|
|
7825
7918
|
static props: {
|
|
7826
7919
|
position: ObjectConstructor;
|
|
@@ -7890,14 +7983,14 @@ declare class Menu extends Component<Props$D, SpreadsheetChildEnv> {
|
|
|
7890
7983
|
}
|
|
7891
7984
|
|
|
7892
7985
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
7893
|
-
interface Props$
|
|
7986
|
+
interface Props$G {
|
|
7894
7987
|
figure: Figure;
|
|
7895
7988
|
style: string;
|
|
7896
7989
|
onFigureDeleted: () => void;
|
|
7897
7990
|
onMouseDown: (ev: MouseEvent) => void;
|
|
7898
7991
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
7899
7992
|
}
|
|
7900
|
-
declare class FigureComponent extends Component<Props$
|
|
7993
|
+
declare class FigureComponent extends Component<Props$G, SpreadsheetChildEnv> {
|
|
7901
7994
|
static template: string;
|
|
7902
7995
|
static props: {
|
|
7903
7996
|
figure: ObjectConstructor;
|
|
@@ -7946,11 +8039,11 @@ declare class FigureComponent extends Component<Props$C, SpreadsheetChildEnv> {
|
|
|
7946
8039
|
private openContextMenu;
|
|
7947
8040
|
}
|
|
7948
8041
|
|
|
7949
|
-
interface Props$
|
|
8042
|
+
interface Props$F {
|
|
7950
8043
|
figure: Figure;
|
|
7951
8044
|
onFigureDeleted: () => void;
|
|
7952
8045
|
}
|
|
7953
|
-
declare class ChartFigure extends Component<Props$
|
|
8046
|
+
declare class ChartFigure extends Component<Props$F, SpreadsheetChildEnv> {
|
|
7954
8047
|
static template: string;
|
|
7955
8048
|
static props: {
|
|
7956
8049
|
figure: ObjectConstructor;
|
|
@@ -7962,7 +8055,7 @@ declare class ChartFigure extends Component<Props$B, SpreadsheetChildEnv> {
|
|
|
7962
8055
|
get chartComponent(): new (...args: any) => Component;
|
|
7963
8056
|
}
|
|
7964
8057
|
|
|
7965
|
-
interface Props$
|
|
8058
|
+
interface Props$E {
|
|
7966
8059
|
isVisible: boolean;
|
|
7967
8060
|
position: Position;
|
|
7968
8061
|
}
|
|
@@ -7974,7 +8067,7 @@ interface State$8 {
|
|
|
7974
8067
|
position: Position;
|
|
7975
8068
|
handler: boolean;
|
|
7976
8069
|
}
|
|
7977
|
-
declare class Autofill extends Component<Props$
|
|
8070
|
+
declare class Autofill extends Component<Props$E, SpreadsheetChildEnv> {
|
|
7978
8071
|
static template: string;
|
|
7979
8072
|
static props: {
|
|
7980
8073
|
position: ObjectConstructor;
|
|
@@ -8008,7 +8101,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
8008
8101
|
get tagStyle(): string;
|
|
8009
8102
|
}
|
|
8010
8103
|
|
|
8011
|
-
interface Props$
|
|
8104
|
+
interface Props$D {
|
|
8012
8105
|
gridDims: DOMDimension;
|
|
8013
8106
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
8014
8107
|
}
|
|
@@ -8016,7 +8109,7 @@ interface Props$z {
|
|
|
8016
8109
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
8017
8110
|
* It also applies the style of the cell to the composer input.
|
|
8018
8111
|
*/
|
|
8019
|
-
declare class GridComposer extends Component<Props$
|
|
8112
|
+
declare class GridComposer extends Component<Props$D, SpreadsheetChildEnv> {
|
|
8020
8113
|
static template: string;
|
|
8021
8114
|
static props: {
|
|
8022
8115
|
gridDims: ObjectConstructor;
|
|
@@ -8073,10 +8166,10 @@ declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChild
|
|
|
8073
8166
|
isPositionVisible(position: CellPosition): boolean;
|
|
8074
8167
|
}
|
|
8075
8168
|
|
|
8076
|
-
interface Props$
|
|
8169
|
+
interface Props$C {
|
|
8077
8170
|
cellPosition: CellPosition;
|
|
8078
8171
|
}
|
|
8079
|
-
declare class DataValidationCheckbox extends Component<Props$
|
|
8172
|
+
declare class DataValidationCheckbox extends Component<Props$C, SpreadsheetChildEnv> {
|
|
8080
8173
|
static template: string;
|
|
8081
8174
|
static props: {
|
|
8082
8175
|
cellPosition: ObjectConstructor;
|
|
@@ -8086,10 +8179,10 @@ declare class DataValidationCheckbox extends Component<Props$y, SpreadsheetChild
|
|
|
8086
8179
|
get isDisabled(): boolean;
|
|
8087
8180
|
}
|
|
8088
8181
|
|
|
8089
|
-
interface Props$
|
|
8182
|
+
interface Props$B {
|
|
8090
8183
|
cellPosition: CellPosition;
|
|
8091
8184
|
}
|
|
8092
|
-
declare class DataValidationListIcon extends Component<Props$
|
|
8185
|
+
declare class DataValidationListIcon extends Component<Props$B, SpreadsheetChildEnv> {
|
|
8093
8186
|
static template: string;
|
|
8094
8187
|
static props: {
|
|
8095
8188
|
cellPosition: ObjectConstructor;
|
|
@@ -8119,7 +8212,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
8119
8212
|
}
|
|
8120
8213
|
|
|
8121
8214
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
8122
|
-
interface Props$
|
|
8215
|
+
interface Props$A {
|
|
8123
8216
|
onFigureDeleted: () => void;
|
|
8124
8217
|
}
|
|
8125
8218
|
interface Container {
|
|
@@ -8198,7 +8291,7 @@ interface DndState {
|
|
|
8198
8291
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
8199
8292
|
*
|
|
8200
8293
|
*/
|
|
8201
|
-
declare class FiguresContainer extends Component<Props$
|
|
8294
|
+
declare class FiguresContainer extends Component<Props$A, SpreadsheetChildEnv> {
|
|
8202
8295
|
static template: string;
|
|
8203
8296
|
static props: {
|
|
8204
8297
|
onFigureDeleted: FunctionConstructor;
|
|
@@ -8253,10 +8346,10 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
8253
8346
|
private computePopoverAnchorRect;
|
|
8254
8347
|
}
|
|
8255
8348
|
|
|
8256
|
-
interface Props$
|
|
8349
|
+
interface Props$z {
|
|
8257
8350
|
cellPosition: CellPosition;
|
|
8258
8351
|
}
|
|
8259
|
-
declare class FilterIcon extends Component<Props$
|
|
8352
|
+
declare class FilterIcon extends Component<Props$z, SpreadsheetChildEnv> {
|
|
8260
8353
|
static template: string;
|
|
8261
8354
|
static props: {
|
|
8262
8355
|
cellPosition: ObjectConstructor;
|
|
@@ -8270,6 +8363,7 @@ declare class FilterIcon extends Component<Props$v, SpreadsheetChildEnv> {
|
|
|
8270
8363
|
|
|
8271
8364
|
declare class FilterIconsOverlay extends Component<{}, SpreadsheetChildEnv> {
|
|
8272
8365
|
static template: string;
|
|
8366
|
+
static props: {};
|
|
8273
8367
|
static components: {
|
|
8274
8368
|
GridCellIcon: typeof GridCellIcon;
|
|
8275
8369
|
FilterIcon: typeof FilterIcon;
|
|
@@ -8277,10 +8371,10 @@ declare class FilterIconsOverlay extends Component<{}, SpreadsheetChildEnv> {
|
|
|
8277
8371
|
getFilterHeadersPositions(): CellPosition[];
|
|
8278
8372
|
}
|
|
8279
8373
|
|
|
8280
|
-
interface Props$
|
|
8374
|
+
interface Props$y {
|
|
8281
8375
|
focusGrid: () => void;
|
|
8282
8376
|
}
|
|
8283
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
8377
|
+
declare class GridAddRowsFooter extends Component<Props$y, SpreadsheetChildEnv> {
|
|
8284
8378
|
static template: string;
|
|
8285
8379
|
static props: {
|
|
8286
8380
|
focusGrid: FunctionConstructor;
|
|
@@ -8304,7 +8398,7 @@ declare class GridAddRowsFooter extends Component<Props$u, SpreadsheetChildEnv>
|
|
|
8304
8398
|
private onExternalClick;
|
|
8305
8399
|
}
|
|
8306
8400
|
|
|
8307
|
-
interface Props$
|
|
8401
|
+
interface Props$x {
|
|
8308
8402
|
onCellHovered: (position: Partial<Position$1>) => void;
|
|
8309
8403
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
8310
8404
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers) => void;
|
|
@@ -8314,7 +8408,7 @@ interface Props$t {
|
|
|
8314
8408
|
gridOverlayDimensions: string;
|
|
8315
8409
|
onFigureDeleted: () => void;
|
|
8316
8410
|
}
|
|
8317
|
-
declare class GridOverlay extends Component<Props$
|
|
8411
|
+
declare class GridOverlay extends Component<Props$x, SpreadsheetChildEnv> {
|
|
8318
8412
|
static template: string;
|
|
8319
8413
|
static props: {
|
|
8320
8414
|
onCellHovered: {
|
|
@@ -8371,12 +8465,12 @@ declare class GridOverlay extends Component<Props$t, SpreadsheetChildEnv> {
|
|
|
8371
8465
|
private getCartesianCoordinates;
|
|
8372
8466
|
}
|
|
8373
8467
|
|
|
8374
|
-
interface Props$
|
|
8468
|
+
interface Props$w {
|
|
8375
8469
|
gridRect: Rect;
|
|
8376
8470
|
onClosePopover: () => void;
|
|
8377
8471
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
8378
8472
|
}
|
|
8379
|
-
declare class GridPopover extends Component<Props$
|
|
8473
|
+
declare class GridPopover extends Component<Props$w, SpreadsheetChildEnv> {
|
|
8380
8474
|
static template: string;
|
|
8381
8475
|
static props: {
|
|
8382
8476
|
onClosePopover: FunctionConstructor;
|
|
@@ -8519,13 +8613,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
8519
8613
|
}
|
|
8520
8614
|
|
|
8521
8615
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
8522
|
-
interface Props$
|
|
8616
|
+
interface Props$v {
|
|
8523
8617
|
zone: Zone;
|
|
8524
8618
|
orientation: Orientation$1;
|
|
8525
8619
|
isMoving: boolean;
|
|
8526
8620
|
onMoveHighlight: (x: Pixel, y: Pixel) => void;
|
|
8527
8621
|
}
|
|
8528
|
-
declare class Border extends Component<Props$
|
|
8622
|
+
declare class Border extends Component<Props$v, SpreadsheetChildEnv> {
|
|
8529
8623
|
static template: string;
|
|
8530
8624
|
static props: {
|
|
8531
8625
|
zone: ObjectConstructor;
|
|
@@ -8538,14 +8632,14 @@ declare class Border extends Component<Props$r, SpreadsheetChildEnv> {
|
|
|
8538
8632
|
}
|
|
8539
8633
|
|
|
8540
8634
|
type Orientation = "nw" | "ne" | "sw" | "se";
|
|
8541
|
-
interface Props$
|
|
8635
|
+
interface Props$u {
|
|
8542
8636
|
zone: Zone;
|
|
8543
8637
|
color: Color;
|
|
8544
8638
|
orientation: Orientation;
|
|
8545
8639
|
isResizing: boolean;
|
|
8546
8640
|
onResizeHighlight: (isLeft: boolean, isRight: boolean) => void;
|
|
8547
8641
|
}
|
|
8548
|
-
declare class Corner extends Component<Props$
|
|
8642
|
+
declare class Corner extends Component<Props$u, SpreadsheetChildEnv> {
|
|
8549
8643
|
static template: string;
|
|
8550
8644
|
static props: {
|
|
8551
8645
|
zone: ObjectConstructor;
|
|
@@ -8560,14 +8654,14 @@ declare class Corner extends Component<Props$q, SpreadsheetChildEnv> {
|
|
|
8560
8654
|
onMouseDown(ev: MouseEvent): void;
|
|
8561
8655
|
}
|
|
8562
8656
|
|
|
8563
|
-
interface Props$
|
|
8657
|
+
interface Props$t {
|
|
8564
8658
|
zone: Zone;
|
|
8565
8659
|
color: Color;
|
|
8566
8660
|
}
|
|
8567
8661
|
interface HighlightState {
|
|
8568
8662
|
shiftingMode: "isMoving" | "isResizing" | "none";
|
|
8569
8663
|
}
|
|
8570
|
-
declare class Highlight extends Component<Props$
|
|
8664
|
+
declare class Highlight extends Component<Props$t, SpreadsheetChildEnv> {
|
|
8571
8665
|
static template: string;
|
|
8572
8666
|
static props: {
|
|
8573
8667
|
zone: ObjectConstructor;
|
|
@@ -8584,7 +8678,7 @@ declare class Highlight extends Component<Props$p, SpreadsheetChildEnv> {
|
|
|
8584
8678
|
|
|
8585
8679
|
type ScrollDirection = "horizontal" | "vertical";
|
|
8586
8680
|
|
|
8587
|
-
interface Props$
|
|
8681
|
+
interface Props$s {
|
|
8588
8682
|
width: Pixel;
|
|
8589
8683
|
height: Pixel;
|
|
8590
8684
|
direction: ScrollDirection;
|
|
@@ -8592,7 +8686,7 @@ interface Props$o {
|
|
|
8592
8686
|
offset: Pixel;
|
|
8593
8687
|
onScroll: (offset: Pixel) => void;
|
|
8594
8688
|
}
|
|
8595
|
-
declare class ScrollBar extends Component<Props$
|
|
8689
|
+
declare class ScrollBar extends Component<Props$s> {
|
|
8596
8690
|
static props: {
|
|
8597
8691
|
width: {
|
|
8598
8692
|
type: NumberConstructor;
|
|
@@ -8620,10 +8714,10 @@ declare class ScrollBar extends Component<Props$o> {
|
|
|
8620
8714
|
onScroll(ev: any): void;
|
|
8621
8715
|
}
|
|
8622
8716
|
|
|
8623
|
-
interface Props$
|
|
8717
|
+
interface Props$r {
|
|
8624
8718
|
leftOffset: number;
|
|
8625
8719
|
}
|
|
8626
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
8720
|
+
declare class HorizontalScrollBar extends Component<Props$r, SpreadsheetChildEnv> {
|
|
8627
8721
|
static props: {
|
|
8628
8722
|
leftOffset: {
|
|
8629
8723
|
type: NumberConstructor;
|
|
@@ -8649,10 +8743,10 @@ declare class HorizontalScrollBar extends Component<Props$n, SpreadsheetChildEnv
|
|
|
8649
8743
|
onScroll(offset: any): void;
|
|
8650
8744
|
}
|
|
8651
8745
|
|
|
8652
|
-
interface Props$
|
|
8746
|
+
interface Props$q {
|
|
8653
8747
|
topOffset: number;
|
|
8654
8748
|
}
|
|
8655
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
8749
|
+
declare class VerticalScrollBar extends Component<Props$q, SpreadsheetChildEnv> {
|
|
8656
8750
|
static props: {
|
|
8657
8751
|
topOffset: {
|
|
8658
8752
|
type: NumberConstructor;
|
|
@@ -8678,13 +8772,13 @@ declare class VerticalScrollBar extends Component<Props$m, SpreadsheetChildEnv>
|
|
|
8678
8772
|
onScroll(offset: any): void;
|
|
8679
8773
|
}
|
|
8680
8774
|
|
|
8681
|
-
interface Props$
|
|
8775
|
+
interface Props$p {
|
|
8682
8776
|
table: Table;
|
|
8683
8777
|
}
|
|
8684
8778
|
interface State$7 {
|
|
8685
8779
|
highlightZone: Zone | undefined;
|
|
8686
8780
|
}
|
|
8687
|
-
declare class TableResizer extends Component<Props$
|
|
8781
|
+
declare class TableResizer extends Component<Props$p, SpreadsheetChildEnv> {
|
|
8688
8782
|
static template: string;
|
|
8689
8783
|
static props: {
|
|
8690
8784
|
table: ObjectConstructor;
|
|
@@ -8716,10 +8810,10 @@ declare class HoveredCellStore extends SpreadsheetStore {
|
|
|
8716
8810
|
* - a vertical resizer (same, for rows)
|
|
8717
8811
|
*/
|
|
8718
8812
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
8719
|
-
interface Props$
|
|
8813
|
+
interface Props$o {
|
|
8720
8814
|
exposeFocus: (focus: () => void) => void;
|
|
8721
8815
|
}
|
|
8722
|
-
declare class Grid extends Component<Props$
|
|
8816
|
+
declare class Grid extends Component<Props$o, SpreadsheetChildEnv> {
|
|
8723
8817
|
static template: string;
|
|
8724
8818
|
static props: {
|
|
8725
8819
|
exposeFocus: FunctionConstructor;
|
|
@@ -8825,17 +8919,62 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
8825
8919
|
panel: "configuration" | "design";
|
|
8826
8920
|
private creationContext;
|
|
8827
8921
|
activatePanel(panel: "configuration" | "design"): void;
|
|
8828
|
-
changeChartType(figureId: UID,
|
|
8922
|
+
changeChartType(figureId: UID, newDisplayType: string): void;
|
|
8923
|
+
private getChartDefinitionFromContextCreation;
|
|
8829
8924
|
}
|
|
8830
8925
|
|
|
8831
|
-
interface Props$
|
|
8926
|
+
interface Props$n {
|
|
8927
|
+
figureId: UID;
|
|
8928
|
+
chartPanelStore: MainChartPanelStore;
|
|
8929
|
+
}
|
|
8930
|
+
interface ChartTypePickerState {
|
|
8931
|
+
popoverProps: PopoverProps | undefined;
|
|
8932
|
+
popoverStyle: string;
|
|
8933
|
+
}
|
|
8934
|
+
declare class ChartTypePicker extends Component<Props$n, SpreadsheetChildEnv> {
|
|
8935
|
+
static template: string;
|
|
8936
|
+
static components: {
|
|
8937
|
+
Section: typeof Section;
|
|
8938
|
+
Popover: typeof Popover;
|
|
8939
|
+
};
|
|
8940
|
+
static props: {
|
|
8941
|
+
figureId: StringConstructor;
|
|
8942
|
+
chartPanelStore: ObjectConstructor;
|
|
8943
|
+
};
|
|
8944
|
+
categories: {
|
|
8945
|
+
line: string;
|
|
8946
|
+
column: string;
|
|
8947
|
+
bar: string;
|
|
8948
|
+
area: string;
|
|
8949
|
+
pie: string;
|
|
8950
|
+
misc: string;
|
|
8951
|
+
};
|
|
8952
|
+
chartTypeByCategories: Record<string, ChartSubtypeProperties[]>;
|
|
8953
|
+
popoverRef: {
|
|
8954
|
+
el: HTMLElement | null;
|
|
8955
|
+
};
|
|
8956
|
+
selectRef: {
|
|
8957
|
+
el: HTMLElement | null;
|
|
8958
|
+
};
|
|
8959
|
+
state: ChartTypePickerState;
|
|
8960
|
+
setup(): void;
|
|
8961
|
+
onExternalClick(ev: MouseEvent): void;
|
|
8962
|
+
onTypeChange(type: ChartType): void;
|
|
8963
|
+
private getChartDefinition;
|
|
8964
|
+
getSelectedChartSubtypeProperties(): ChartSubtypeProperties;
|
|
8965
|
+
onPointerDown(ev: PointerEvent): void;
|
|
8966
|
+
private closePopover;
|
|
8967
|
+
}
|
|
8968
|
+
|
|
8969
|
+
interface Props$m {
|
|
8832
8970
|
onCloseSidePanel: () => void;
|
|
8833
8971
|
figureId: UID;
|
|
8834
8972
|
}
|
|
8835
|
-
declare class ChartPanel extends Component<Props$
|
|
8973
|
+
declare class ChartPanel extends Component<Props$m, SpreadsheetChildEnv> {
|
|
8836
8974
|
static template: string;
|
|
8837
8975
|
static components: {
|
|
8838
8976
|
Section: typeof Section;
|
|
8977
|
+
ChartTypePicker: typeof ChartTypePicker;
|
|
8839
8978
|
};
|
|
8840
8979
|
static props: {
|
|
8841
8980
|
onCloseSidePanel: FunctionConstructor;
|
|
@@ -8849,16 +8988,15 @@ declare class ChartPanel extends Component<Props$j, SpreadsheetChildEnv> {
|
|
|
8849
8988
|
onTypeChange(type: ChartType): void;
|
|
8850
8989
|
get chartPanel(): ChartSidePanel;
|
|
8851
8990
|
private getChartDefinition;
|
|
8852
|
-
get chartTypes(): Record<string, string>;
|
|
8853
8991
|
}
|
|
8854
8992
|
|
|
8855
|
-
interface Props$
|
|
8993
|
+
interface Props$l {
|
|
8856
8994
|
figureId: UID;
|
|
8857
8995
|
definition: PieChartDefinition;
|
|
8858
8996
|
canUpdateChart: (figureID: UID, definition: Partial<PieChartDefinition>) => DispatchResult;
|
|
8859
8997
|
updateChart: (figureId: UID, definition: Partial<PieChartDefinition>) => DispatchResult;
|
|
8860
8998
|
}
|
|
8861
|
-
declare class PieChartDesignPanel extends Component<Props$
|
|
8999
|
+
declare class PieChartDesignPanel extends Component<Props$l, SpreadsheetChildEnv> {
|
|
8862
9000
|
static template: string;
|
|
8863
9001
|
static components: {
|
|
8864
9002
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -8876,6 +9014,38 @@ declare class PieChartDesignPanel extends Component<Props$i, SpreadsheetChildEnv
|
|
|
8876
9014
|
updateLegendPosition(ev: any): void;
|
|
8877
9015
|
}
|
|
8878
9016
|
|
|
9017
|
+
interface CogWheelMenuItem {
|
|
9018
|
+
name: string;
|
|
9019
|
+
icon?: string;
|
|
9020
|
+
onClick: () => void;
|
|
9021
|
+
}
|
|
9022
|
+
interface Props$k {
|
|
9023
|
+
items: CogWheelMenuItem[];
|
|
9024
|
+
}
|
|
9025
|
+
declare class CogWheelMenu extends Component<Props$k, SpreadsheetChildEnv> {
|
|
9026
|
+
static template: string;
|
|
9027
|
+
static components: {
|
|
9028
|
+
Popover: typeof Popover;
|
|
9029
|
+
};
|
|
9030
|
+
static props: {
|
|
9031
|
+
items: ArrayConstructor;
|
|
9032
|
+
};
|
|
9033
|
+
private buttonRef;
|
|
9034
|
+
private popover;
|
|
9035
|
+
setup(): void;
|
|
9036
|
+
onClick(item: CogWheelMenuItem): void;
|
|
9037
|
+
get popoverProps(): {
|
|
9038
|
+
anchorRect: {
|
|
9039
|
+
x: number;
|
|
9040
|
+
y: number;
|
|
9041
|
+
width: number;
|
|
9042
|
+
height: number;
|
|
9043
|
+
};
|
|
9044
|
+
positioning: string;
|
|
9045
|
+
};
|
|
9046
|
+
togglePopover(): void;
|
|
9047
|
+
}
|
|
9048
|
+
|
|
8879
9049
|
declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightProvider {
|
|
8880
9050
|
mutators: readonly ["updateSearchOptions", "updateSearchContent", "searchFormulas", "selectPreviousMatch", "selectNextMatch", "replace"];
|
|
8881
9051
|
private allSheetsMatches;
|
|
@@ -8884,6 +9054,7 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
8884
9054
|
private currentSearchRegex;
|
|
8885
9055
|
private isSearchDirty;
|
|
8886
9056
|
private initialShowFormulaState;
|
|
9057
|
+
private preserveSelectedMatchIndex;
|
|
8887
9058
|
selectedMatchIndex: number | null;
|
|
8888
9059
|
toSearch: string;
|
|
8889
9060
|
toReplace: string;
|
|
@@ -8934,18 +9105,19 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
8934
9105
|
* Apply the replace function to all the matches one time.
|
|
8935
9106
|
*/
|
|
8936
9107
|
replaceAll(): void;
|
|
9108
|
+
private replaceMatch;
|
|
8937
9109
|
private getSearchableString;
|
|
8938
9110
|
get highlights(): Highlight$1[];
|
|
8939
9111
|
}
|
|
8940
9112
|
|
|
8941
9113
|
/** @odoo-module */
|
|
8942
9114
|
|
|
8943
|
-
interface Props$
|
|
9115
|
+
interface Props$j {
|
|
8944
9116
|
name: string;
|
|
8945
9117
|
displayName: string;
|
|
8946
9118
|
onChanged: (name: string) => void;
|
|
8947
9119
|
}
|
|
8948
|
-
declare class EditableName extends Component<Props$
|
|
9120
|
+
declare class EditableName extends Component<Props$j, SpreadsheetChildEnv> {
|
|
8949
9121
|
static template: string;
|
|
8950
9122
|
static props: {
|
|
8951
9123
|
name: StringConstructor;
|
|
@@ -8958,11 +9130,35 @@ declare class EditableName extends Component<Props$h, SpreadsheetChildEnv> {
|
|
|
8958
9130
|
save(): void;
|
|
8959
9131
|
}
|
|
8960
9132
|
|
|
8961
|
-
interface Props$
|
|
9133
|
+
interface Props$i {
|
|
9134
|
+
deferUpdate: boolean;
|
|
9135
|
+
isDirty: boolean;
|
|
9136
|
+
toggleDeferUpdate: (value: boolean) => void;
|
|
9137
|
+
discard: () => void;
|
|
9138
|
+
apply: () => void;
|
|
9139
|
+
}
|
|
9140
|
+
declare class PivotDeferUpdate extends Component<Props$i, SpreadsheetChildEnv> {
|
|
9141
|
+
static template: string;
|
|
9142
|
+
static props: {
|
|
9143
|
+
deferUpdate: BooleanConstructor;
|
|
9144
|
+
isDirty: BooleanConstructor;
|
|
9145
|
+
toggleDeferUpdate: FunctionConstructor;
|
|
9146
|
+
discard: FunctionConstructor;
|
|
9147
|
+
apply: FunctionConstructor;
|
|
9148
|
+
};
|
|
9149
|
+
static components: {
|
|
9150
|
+
Section: typeof Section;
|
|
9151
|
+
Checkbox: typeof Checkbox;
|
|
9152
|
+
};
|
|
9153
|
+
get deferUpdatesLabel(): string;
|
|
9154
|
+
get deferUpdatesTooltip(): string;
|
|
9155
|
+
}
|
|
9156
|
+
|
|
9157
|
+
interface Props$h {
|
|
8962
9158
|
onFieldPicked: (field: string) => void;
|
|
8963
9159
|
fields: PivotField[];
|
|
8964
9160
|
}
|
|
8965
|
-
declare class AddDimensionButton extends Component<Props$
|
|
9161
|
+
declare class AddDimensionButton extends Component<Props$h, SpreadsheetChildEnv> {
|
|
8966
9162
|
static template: string;
|
|
8967
9163
|
static components: {
|
|
8968
9164
|
Popover: typeof Popover;
|
|
@@ -8994,11 +9190,11 @@ declare class AddDimensionButton extends Component<Props$g, SpreadsheetChildEnv>
|
|
|
8994
9190
|
onKeyDown(ev: KeyboardEvent): void;
|
|
8995
9191
|
}
|
|
8996
9192
|
|
|
8997
|
-
interface Props$
|
|
9193
|
+
interface Props$g {
|
|
8998
9194
|
dimension: PivotDimension;
|
|
8999
9195
|
onRemoved: (dimension: PivotDimension) => void;
|
|
9000
9196
|
}
|
|
9001
|
-
declare class PivotDimension extends Component<Props$
|
|
9197
|
+
declare class PivotDimension extends Component<Props$g, SpreadsheetChildEnv> {
|
|
9002
9198
|
static template: string;
|
|
9003
9199
|
static props: {
|
|
9004
9200
|
dimension: ObjectConstructor;
|
|
@@ -9013,13 +9209,13 @@ declare class PivotDimension extends Component<Props$f, SpreadsheetChildEnv> {
|
|
|
9013
9209
|
};
|
|
9014
9210
|
}
|
|
9015
9211
|
|
|
9016
|
-
interface Props$
|
|
9212
|
+
interface Props$f {
|
|
9017
9213
|
dimension: PivotDimension$1;
|
|
9018
9214
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
9019
9215
|
availableGranularities: Set<string>;
|
|
9020
9216
|
allGranularities: string[];
|
|
9021
9217
|
}
|
|
9022
|
-
declare class PivotDimensionGranularity extends Component<Props$
|
|
9218
|
+
declare class PivotDimensionGranularity extends Component<Props$f, SpreadsheetChildEnv> {
|
|
9023
9219
|
static template: string;
|
|
9024
9220
|
static props: {
|
|
9025
9221
|
dimension: ObjectConstructor;
|
|
@@ -9033,7 +9229,6 @@ declare class PivotDimensionGranularity extends Component<Props$e, SpreadsheetCh
|
|
|
9033
9229
|
month: string;
|
|
9034
9230
|
week: string;
|
|
9035
9231
|
day: string;
|
|
9036
|
-
year_number: string;
|
|
9037
9232
|
quarter_number: string;
|
|
9038
9233
|
month_number: string;
|
|
9039
9234
|
iso_week_number: string;
|
|
@@ -9041,11 +9236,11 @@ declare class PivotDimensionGranularity extends Component<Props$e, SpreadsheetCh
|
|
|
9041
9236
|
};
|
|
9042
9237
|
}
|
|
9043
9238
|
|
|
9044
|
-
interface Props$
|
|
9239
|
+
interface Props$e {
|
|
9045
9240
|
dimension: PivotDimension$1;
|
|
9046
9241
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
9047
9242
|
}
|
|
9048
|
-
declare class PivotDimensionOrder extends Component<Props$
|
|
9243
|
+
declare class PivotDimensionOrder extends Component<Props$e, SpreadsheetChildEnv> {
|
|
9049
9244
|
static template: string;
|
|
9050
9245
|
static props: {
|
|
9051
9246
|
dimension: ObjectConstructor;
|
|
@@ -9053,10 +9248,6 @@ declare class PivotDimensionOrder extends Component<Props$d, SpreadsheetChildEnv
|
|
|
9053
9248
|
};
|
|
9054
9249
|
}
|
|
9055
9250
|
|
|
9056
|
-
/**
|
|
9057
|
-
* Build a pivot formula expression
|
|
9058
|
-
*/
|
|
9059
|
-
declare function makePivotFormula(formula: "PIVOT.VALUE" | "PIVOT.HEADER", args: (string | boolean | number)[]): string;
|
|
9060
9251
|
/**
|
|
9061
9252
|
* Given an object of form {"1": {...}, "2": {...}, ...} get the maximum ID used
|
|
9062
9253
|
* in this object
|
|
@@ -9064,18 +9255,6 @@ declare function makePivotFormula(formula: "PIVOT.VALUE" | "PIVOT.HEADER", args:
|
|
|
9064
9255
|
*
|
|
9065
9256
|
*/
|
|
9066
9257
|
declare function getMaxObjectId(o: object): number;
|
|
9067
|
-
/**
|
|
9068
|
-
* Get the first Pivot function description of the given formula.
|
|
9069
|
-
*/
|
|
9070
|
-
declare function getFirstPivotFunction(tokens: Token[]): {
|
|
9071
|
-
functionName: string;
|
|
9072
|
-
args: AST[];
|
|
9073
|
-
};
|
|
9074
|
-
/**
|
|
9075
|
-
* Parse a spreadsheet formula and detect the number of PIVOT functions that are
|
|
9076
|
-
* present in the given formula.
|
|
9077
|
-
*/
|
|
9078
|
-
declare function getNumberOfPivotFunctions(tokens: Token[]): number;
|
|
9079
9258
|
/**
|
|
9080
9259
|
* Parse a dimension string into a pivot dimension definition.
|
|
9081
9260
|
* e.g "create_date:month" => { name: "create_date", granularity: "month" }
|
|
@@ -9083,38 +9262,20 @@ declare function getNumberOfPivotFunctions(tokens: Token[]): number;
|
|
|
9083
9262
|
declare function parseDimension(dimension: string): PivotCoreDimension;
|
|
9084
9263
|
declare function isDateField(field: PivotField): boolean;
|
|
9085
9264
|
/**
|
|
9086
|
-
*
|
|
9087
|
-
*
|
|
9265
|
+
* Check if the fields in the domain part of
|
|
9266
|
+
* a pivot function are valid according to the pivot definition.
|
|
9267
|
+
* e.g. =PIVOT.VALUE(1,"revenue","country_id",...,"create_date:month",...,"source_id",...)
|
|
9088
9268
|
*/
|
|
9089
|
-
declare function
|
|
9090
|
-
|
|
9091
|
-
description: string;
|
|
9092
|
-
htmlContent: {
|
|
9093
|
-
value: string;
|
|
9094
|
-
color: "#00a82d";
|
|
9095
|
-
}[];
|
|
9096
|
-
fuzzySearchKey: string;
|
|
9097
|
-
};
|
|
9269
|
+
declare function areDomainArgsFieldsValid(dimensions: string[], definition: PivotRuntimeDefinition): boolean;
|
|
9270
|
+
declare function createPivotFormula(formulaId: string, cell: PivotTableCell): string;
|
|
9098
9271
|
/**
|
|
9099
|
-
*
|
|
9100
|
-
*
|
|
9101
|
-
*
|
|
9272
|
+
* Parses the value defining a pivot group in a PIVOT formula
|
|
9273
|
+
* e.g. given the following formula PIVOT.VALUE("1", "stage_id", "42", "status", "won"),
|
|
9274
|
+
* the two group values are "42" and "won".
|
|
9102
9275
|
*/
|
|
9103
|
-
declare function
|
|
9104
|
-
composer: ComposerStore;
|
|
9105
|
-
}, tokenAtCursor: EnrichedToken, value: string): void;
|
|
9106
|
-
/**
|
|
9107
|
-
* Perform the autocomplete of the composer by inserting the value
|
|
9108
|
-
* at the cursor position, replacing the current token if necessary.
|
|
9109
|
-
* Must be bound to the autocomplete provider.
|
|
9110
|
-
* @param {EnrichedToken} tokenAtCursor
|
|
9111
|
-
* @param {string} value
|
|
9112
|
-
*/
|
|
9113
|
-
declare function insertTokenAfterLeftParenthesis(this: {
|
|
9114
|
-
composer: ComposerStore;
|
|
9115
|
-
}, tokenAtCursor: EnrichedToken, value: string): void;
|
|
9276
|
+
declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type" | "displayName" | "granularity">, groupValue: any): CellValue;
|
|
9116
9277
|
|
|
9117
|
-
interface Props$
|
|
9278
|
+
interface Props$d {
|
|
9118
9279
|
definition: PivotRuntimeDefinition;
|
|
9119
9280
|
onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
9120
9281
|
unusedGroupableFields: PivotField[];
|
|
@@ -9122,7 +9283,7 @@ interface Props$c {
|
|
|
9122
9283
|
unusedDateTimeGranularities: Record<string, Set<string>>;
|
|
9123
9284
|
allGranularities: string[];
|
|
9124
9285
|
}
|
|
9125
|
-
declare class PivotLayoutConfigurator extends Component<Props$
|
|
9286
|
+
declare class PivotLayoutConfigurator extends Component<Props$d, SpreadsheetChildEnv> {
|
|
9126
9287
|
static template: string;
|
|
9127
9288
|
static components: {
|
|
9128
9289
|
AddDimensionButton: typeof AddDimensionButton;
|
|
@@ -9162,7 +9323,7 @@ declare class PivotLayoutConfigurator extends Component<Props$c, SpreadsheetChil
|
|
|
9162
9323
|
|
|
9163
9324
|
declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
9164
9325
|
private pivotId;
|
|
9165
|
-
mutators: readonly ["applyUpdate", "
|
|
9326
|
+
mutators: readonly ["reset", "deferUpdates", "applyUpdate", "discardPendingUpdate", "update"];
|
|
9166
9327
|
private updatesAreDeferred;
|
|
9167
9328
|
private draft;
|
|
9168
9329
|
constructor(get: Get, pivotId: UID);
|
|
@@ -9179,12 +9340,38 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
9179
9340
|
deferUpdates(shouldDefer: boolean): void;
|
|
9180
9341
|
applyUpdate(): void;
|
|
9181
9342
|
discardPendingUpdate(): void;
|
|
9182
|
-
renamePivot(name: string): void;
|
|
9183
9343
|
update(definitionUpdate: Partial<PivotCoreDefinition>): void;
|
|
9184
9344
|
private addDefaultDateTimeGranularity;
|
|
9185
9345
|
private getUnusedDateTimeGranularities;
|
|
9186
9346
|
}
|
|
9187
9347
|
|
|
9348
|
+
interface Props$c {
|
|
9349
|
+
pivotId: UID;
|
|
9350
|
+
flipAxis: () => void;
|
|
9351
|
+
}
|
|
9352
|
+
declare class PivotTitleSection extends Component<Props$c, SpreadsheetChildEnv> {
|
|
9353
|
+
static template: string;
|
|
9354
|
+
static components: {
|
|
9355
|
+
CogWheelMenu: typeof CogWheelMenu;
|
|
9356
|
+
Section: typeof Section;
|
|
9357
|
+
EditableName: typeof EditableName;
|
|
9358
|
+
};
|
|
9359
|
+
static props: {
|
|
9360
|
+
pivotId: StringConstructor;
|
|
9361
|
+
flipAxis: FunctionConstructor;
|
|
9362
|
+
};
|
|
9363
|
+
get cogWheelMenuItems(): {
|
|
9364
|
+
name: string;
|
|
9365
|
+
icon: string;
|
|
9366
|
+
onClick: () => void;
|
|
9367
|
+
}[];
|
|
9368
|
+
get name(): string;
|
|
9369
|
+
get displayName(): string;
|
|
9370
|
+
duplicatePivot(): void;
|
|
9371
|
+
delete(): void;
|
|
9372
|
+
onNameChanged(name: string): void;
|
|
9373
|
+
}
|
|
9374
|
+
|
|
9188
9375
|
declare function isEvaluationError(error: Maybe<CellValue>): error is string;
|
|
9189
9376
|
declare function toNumber(data: FPayload | CellValue | undefined, locale: Locale): number;
|
|
9190
9377
|
declare function toString(data: FPayload | CellValue | undefined): string;
|
|
@@ -9225,15 +9412,65 @@ declare function getChartAxisTitleRuntime(design?: AxisDesign): {
|
|
|
9225
9412
|
/**
|
|
9226
9413
|
* Get a default chart js configuration
|
|
9227
9414
|
*/
|
|
9228
|
-
declare function getDefaultChartJsRuntime(chart: AbstractChart, labels: string[], fontColor: Color,
|
|
9415
|
+
declare function getDefaultChartJsRuntime(chart: AbstractChart, labels: string[], fontColor: Color, args: LocaleFormat & {
|
|
9229
9416
|
truncateLabels?: boolean;
|
|
9417
|
+
horizontalChart?: boolean;
|
|
9230
9418
|
}): Required<ChartConfiguration>;
|
|
9231
|
-
/**
|
|
9232
|
-
|
|
9419
|
+
/**
|
|
9420
|
+
* If the chart is a stacked area chart, we want to fill until the next dataset.
|
|
9421
|
+
* If the chart is a simple area chart, we want to fill until the origin (bottom axis).
|
|
9422
|
+
*
|
|
9423
|
+
* See https://www.chartjs.org/docs/latest/charts/area.html#filling-modes
|
|
9424
|
+
*/
|
|
9425
|
+
declare function getFillingMode(index: number, stackedChart: boolean): string;
|
|
9426
|
+
|
|
9427
|
+
/**
|
|
9428
|
+
* Create a proposal entry for the compose autowcomplete
|
|
9429
|
+
* to insert a field name string in a formula.
|
|
9430
|
+
*/
|
|
9431
|
+
declare function makeFieldProposal(field: PivotField, granularity?: Granularity): {
|
|
9432
|
+
text: string;
|
|
9433
|
+
description: string;
|
|
9434
|
+
htmlContent: {
|
|
9435
|
+
value: string;
|
|
9436
|
+
color: "#00a82d";
|
|
9437
|
+
}[];
|
|
9438
|
+
fuzzySearchKey: string;
|
|
9439
|
+
};
|
|
9440
|
+
/**
|
|
9441
|
+
* Perform the autocomplete of the composer by inserting the value
|
|
9442
|
+
* at the cursor position, replacing the current token if necessary.
|
|
9443
|
+
* Must be bound to the autocomplete provider.
|
|
9444
|
+
*/
|
|
9445
|
+
declare function insertTokenAfterArgSeparator(this: {
|
|
9446
|
+
composer: ComposerStore;
|
|
9447
|
+
}, tokenAtCursor: EnrichedToken, value: string): void;
|
|
9448
|
+
/**
|
|
9449
|
+
* Perform the autocomplete of the composer by inserting the value
|
|
9450
|
+
* at the cursor position, replacing the current token if necessary.
|
|
9451
|
+
* Must be bound to the autocomplete provider.
|
|
9452
|
+
* @param {EnrichedToken} tokenAtCursor
|
|
9453
|
+
* @param {string} value
|
|
9454
|
+
*/
|
|
9455
|
+
declare function insertTokenAfterLeftParenthesis(this: {
|
|
9456
|
+
composer: ComposerStore;
|
|
9457
|
+
}, tokenAtCursor: EnrichedToken, value: string): void;
|
|
9458
|
+
/**
|
|
9459
|
+
* Get the first Pivot function description of the given formula.
|
|
9460
|
+
*/
|
|
9461
|
+
declare function getFirstPivotFunction(tokens: Token[]): {
|
|
9462
|
+
functionName: string;
|
|
9463
|
+
args: AST[];
|
|
9464
|
+
};
|
|
9465
|
+
/**
|
|
9466
|
+
* Parse a spreadsheet formula and detect the number of PIVOT functions that are
|
|
9467
|
+
* present in the given formula.
|
|
9468
|
+
*/
|
|
9469
|
+
declare function getNumberOfPivotFunctions(tokens: Token[]): number;
|
|
9233
9470
|
|
|
9234
9471
|
declare function getPivotHighlights(getters: Getters, pivotId: UID): Highlight$1[];
|
|
9235
9472
|
|
|
9236
|
-
declare function pivotTimeAdapter(granularity: Granularity): PivotTimeAdapter<
|
|
9473
|
+
declare function pivotTimeAdapter(granularity: Granularity): PivotTimeAdapter<CellValue>;
|
|
9237
9474
|
|
|
9238
9475
|
/**
|
|
9239
9476
|
* This function tries to load anything that could look like a valid
|
|
@@ -9417,7 +9654,7 @@ declare class BottomBarSheet extends Component<Props$b, SpreadsheetChildEnv> {
|
|
|
9417
9654
|
private activateSheet;
|
|
9418
9655
|
onDblClick(): void;
|
|
9419
9656
|
onKeyDown(ev: KeyboardEvent): void;
|
|
9420
|
-
|
|
9657
|
+
onMouseEventSheetName(ev: MouseEvent): void;
|
|
9421
9658
|
private startEdition;
|
|
9422
9659
|
private stopEdition;
|
|
9423
9660
|
private cancelEdition;
|
|
@@ -9629,10 +9866,12 @@ declare class SidePanel extends Component<{}, SpreadsheetChildEnv> {
|
|
|
9629
9866
|
static template: string;
|
|
9630
9867
|
static props: {};
|
|
9631
9868
|
sidePanelStore: Store<SidePanelStore>;
|
|
9869
|
+
spreadsheetRect: Rect;
|
|
9632
9870
|
setup(): void;
|
|
9633
9871
|
get panel(): SidePanelContent;
|
|
9634
9872
|
close(): void;
|
|
9635
9873
|
getTitle(): string;
|
|
9874
|
+
startHandleDrag(ev: MouseEvent): void;
|
|
9636
9875
|
}
|
|
9637
9876
|
|
|
9638
9877
|
declare const sortRange: ActionSpec;
|
|
@@ -9644,10 +9883,12 @@ declare const sortDescending: ActionSpec;
|
|
|
9644
9883
|
declare const createRemoveFilter: ActionSpec;
|
|
9645
9884
|
declare const createRemoveFilterTool: ActionSpec;
|
|
9646
9885
|
declare const splitToColumns: ActionSpec;
|
|
9886
|
+
declare const reinsertPivotMenu: ActionSpec;
|
|
9647
9887
|
|
|
9648
9888
|
declare const ACTION_DATA_createRemoveFilter: typeof createRemoveFilter;
|
|
9649
9889
|
declare const ACTION_DATA_createRemoveFilterTool: typeof createRemoveFilterTool;
|
|
9650
9890
|
declare const ACTION_DATA_dataCleanup: typeof dataCleanup;
|
|
9891
|
+
declare const ACTION_DATA_reinsertPivotMenu: typeof reinsertPivotMenu;
|
|
9651
9892
|
declare const ACTION_DATA_removeDuplicates: typeof removeDuplicates;
|
|
9652
9893
|
declare const ACTION_DATA_sortAscending: typeof sortAscending;
|
|
9653
9894
|
declare const ACTION_DATA_sortDescending: typeof sortDescending;
|
|
@@ -9659,6 +9900,7 @@ declare namespace ACTION_DATA {
|
|
|
9659
9900
|
ACTION_DATA_createRemoveFilter as createRemoveFilter,
|
|
9660
9901
|
ACTION_DATA_createRemoveFilterTool as createRemoveFilterTool,
|
|
9661
9902
|
ACTION_DATA_dataCleanup as dataCleanup,
|
|
9903
|
+
ACTION_DATA_reinsertPivotMenu as reinsertPivotMenu,
|
|
9662
9904
|
ACTION_DATA_removeDuplicates as removeDuplicates,
|
|
9663
9905
|
ACTION_DATA_sortAscending as sortAscending,
|
|
9664
9906
|
ACTION_DATA_sortDescending as sortDescending,
|
|
@@ -10141,13 +10383,14 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
|
|
|
10141
10383
|
spreadsheetRef: {
|
|
10142
10384
|
el: HTMLElement | null;
|
|
10143
10385
|
};
|
|
10386
|
+
spreadsheetRect: Rect;
|
|
10144
10387
|
private _focusGrid?;
|
|
10145
10388
|
private keyDownMapping;
|
|
10146
10389
|
private isViewportTooSmall;
|
|
10147
10390
|
private notificationStore;
|
|
10148
10391
|
private composerFocusStore;
|
|
10149
10392
|
get model(): Model;
|
|
10150
|
-
getStyle():
|
|
10393
|
+
getStyle(): string;
|
|
10151
10394
|
setup(): void;
|
|
10152
10395
|
private bindModelEvents;
|
|
10153
10396
|
private unbindModelEvents;
|
|
@@ -10165,7 +10408,8 @@ type SprintfValues = (string | String | number)[] | [{
|
|
|
10165
10408
|
}];
|
|
10166
10409
|
type TranslationFunction = (string: string, ...values: SprintfValues) => string;
|
|
10167
10410
|
/***
|
|
10168
|
-
* Allow to inject a translation function from outside o-spreadsheet.
|
|
10411
|
+
* Allow to inject a translation function from outside o-spreadsheet. This should be called before instantiating
|
|
10412
|
+
* a model.
|
|
10169
10413
|
* @param tfn the function that will do the translation
|
|
10170
10414
|
* @param loaded a function that returns true when the translation is loaded
|
|
10171
10415
|
*/
|
|
@@ -10215,6 +10459,7 @@ declare const registries: {
|
|
|
10215
10459
|
linkMenuRegistry: MenuItemRegistry;
|
|
10216
10460
|
functionRegistry: FunctionRegistry;
|
|
10217
10461
|
featurePluginRegistry: Registry<UIPluginConstructor>;
|
|
10462
|
+
iconsOnCellRegistry: Registry<(getters: Getters, position: CellPosition) => string | undefined>;
|
|
10218
10463
|
statefulUIPluginRegistry: Registry<UIPluginConstructor>;
|
|
10219
10464
|
coreViewsPluginRegistry: Registry<UIPluginConstructor>;
|
|
10220
10465
|
corePluginRegistry: Registry<CorePluginConstructor>;
|
|
@@ -10224,6 +10469,7 @@ declare const registries: {
|
|
|
10224
10469
|
chartSidePanelComponentRegistry: Registry<ChartSidePanel>;
|
|
10225
10470
|
chartComponentRegistry: Registry<new (...args: any) => _odoo_owl.Component<any, any>>;
|
|
10226
10471
|
chartRegistry: Registry<ChartBuilder>;
|
|
10472
|
+
chartSubtypeRegistry: Registry<ChartSubtypeProperties>;
|
|
10227
10473
|
topbarMenuRegistry: MenuItemRegistry;
|
|
10228
10474
|
topbarComponentRegistry: {
|
|
10229
10475
|
mapping: {
|
|
@@ -10251,7 +10497,7 @@ declare const registries: {
|
|
|
10251
10497
|
clipboardHandlersRegistries: {
|
|
10252
10498
|
figureHandlers: Registry<{
|
|
10253
10499
|
new (getters: Getters, dispatch: {
|
|
10254
|
-
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT", C extends Extract<UpdateCellCommand, {
|
|
10500
|
+
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE", C extends Extract<UpdateCellCommand, {
|
|
10255
10501
|
type: T;
|
|
10256
10502
|
}> | Extract<UpdateCellPositionCommand, {
|
|
10257
10503
|
type: T;
|
|
@@ -10467,8 +10713,12 @@ declare const registries: {
|
|
|
10467
10713
|
type: T;
|
|
10468
10714
|
}> | Extract<InsertNewPivotCommand, {
|
|
10469
10715
|
type: T;
|
|
10716
|
+
}> | Extract<DuplicatePivotInNewSheetCommand, {
|
|
10717
|
+
type: T;
|
|
10718
|
+
}> | Extract<InsertPivotWithTableCommand, {
|
|
10719
|
+
type: T;
|
|
10470
10720
|
}>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
|
|
10471
|
-
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT", C_1 extends Extract<UpdateCellCommand, {
|
|
10721
|
+
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE", C_1 extends Extract<UpdateCellCommand, {
|
|
10472
10722
|
type: T_1;
|
|
10473
10723
|
}> | Extract<UpdateCellPositionCommand, {
|
|
10474
10724
|
type: T_1;
|
|
@@ -10684,12 +10934,16 @@ declare const registries: {
|
|
|
10684
10934
|
type: T_1;
|
|
10685
10935
|
}> | Extract<InsertNewPivotCommand, {
|
|
10686
10936
|
type: T_1;
|
|
10937
|
+
}> | Extract<DuplicatePivotInNewSheetCommand, {
|
|
10938
|
+
type: T_1;
|
|
10939
|
+
}> | Extract<InsertPivotWithTableCommand, {
|
|
10940
|
+
type: T_1;
|
|
10687
10941
|
}>>(type: T_1, r: Omit<C_1, "type">): DispatchResult;
|
|
10688
10942
|
}): AbstractFigureClipboardHandler<any>;
|
|
10689
10943
|
}>;
|
|
10690
10944
|
cellHandlers: Registry<{
|
|
10691
10945
|
new (getters: Getters, dispatch: {
|
|
10692
|
-
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT", C extends Extract<UpdateCellCommand, {
|
|
10946
|
+
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE", C extends Extract<UpdateCellCommand, {
|
|
10693
10947
|
type: T;
|
|
10694
10948
|
}> | Extract<UpdateCellPositionCommand, {
|
|
10695
10949
|
type: T;
|
|
@@ -10905,8 +11159,12 @@ declare const registries: {
|
|
|
10905
11159
|
type: T;
|
|
10906
11160
|
}> | Extract<InsertNewPivotCommand, {
|
|
10907
11161
|
type: T;
|
|
11162
|
+
}> | Extract<DuplicatePivotInNewSheetCommand, {
|
|
11163
|
+
type: T;
|
|
11164
|
+
}> | Extract<InsertPivotWithTableCommand, {
|
|
11165
|
+
type: T;
|
|
10908
11166
|
}>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
|
|
10909
|
-
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT", C_1 extends Extract<UpdateCellCommand, {
|
|
11167
|
+
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "ACTIVATE_PAINT_FORMAT" | "CANCEL_PAINT_FORMAT" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE", C_1 extends Extract<UpdateCellCommand, {
|
|
10910
11168
|
type: T_1;
|
|
10911
11169
|
}> | Extract<UpdateCellPositionCommand, {
|
|
10912
11170
|
type: T_1;
|
|
@@ -11122,14 +11380,20 @@ declare const registries: {
|
|
|
11122
11380
|
type: T_1;
|
|
11123
11381
|
}> | Extract<InsertNewPivotCommand, {
|
|
11124
11382
|
type: T_1;
|
|
11383
|
+
}> | Extract<DuplicatePivotInNewSheetCommand, {
|
|
11384
|
+
type: T_1;
|
|
11385
|
+
}> | Extract<InsertPivotWithTableCommand, {
|
|
11386
|
+
type: T_1;
|
|
11125
11387
|
}>>(type: T_1, r: Omit<C_1, "type">): DispatchResult;
|
|
11126
11388
|
}): AbstractCellClipboardHandler<any, any>;
|
|
11127
11389
|
}>;
|
|
11128
11390
|
};
|
|
11129
11391
|
pivotRegistry: Registry<PivotRegistryItem>;
|
|
11130
|
-
pivotTimeAdapterRegistry: Registry<PivotTimeAdapter<
|
|
11392
|
+
pivotTimeAdapterRegistry: Registry<PivotTimeAdapter<CellValue>>;
|
|
11131
11393
|
pivotSidePanelRegistry: Registry<PivotRegistryItem$1>;
|
|
11132
|
-
|
|
11394
|
+
pivotNormalizationValueRegistry: Registry<(value: string, granularity?: string | undefined) => CellValue>;
|
|
11395
|
+
supportedPivotPositionalFormulaRegistry: Registry<boolean>;
|
|
11396
|
+
pivotToFunctionValueRegistry: Registry<(value: CellValue, granularity?: string | undefined) => string>;
|
|
11133
11397
|
};
|
|
11134
11398
|
declare const helpers: {
|
|
11135
11399
|
arg: typeof arg;
|
|
@@ -11138,6 +11402,7 @@ declare const helpers: {
|
|
|
11138
11402
|
toJsDate: typeof toJsDate;
|
|
11139
11403
|
toNumber: typeof toNumber;
|
|
11140
11404
|
toString: typeof toString;
|
|
11405
|
+
toNormalizedPivotValue: typeof toNormalizedPivotValue;
|
|
11141
11406
|
toXC: typeof toXC;
|
|
11142
11407
|
toZone: typeof toZone;
|
|
11143
11408
|
toUnboundedZone: typeof toUnboundedZone;
|
|
@@ -11174,7 +11439,6 @@ declare const helpers: {
|
|
|
11174
11439
|
expandZoneOnInsertion: typeof expandZoneOnInsertion;
|
|
11175
11440
|
reduceZoneOnDeletion: typeof reduceZoneOnDeletion;
|
|
11176
11441
|
unquote: typeof unquote;
|
|
11177
|
-
makePivotFormula: typeof makePivotFormula;
|
|
11178
11442
|
getMaxObjectId: typeof getMaxObjectId;
|
|
11179
11443
|
getFunctionsFromTokens: typeof getFunctionsFromTokens;
|
|
11180
11444
|
getFirstPivotFunction: typeof getFirstPivotFunction;
|
|
@@ -11188,6 +11452,8 @@ declare const helpers: {
|
|
|
11188
11452
|
getPivotHighlights: typeof getPivotHighlights;
|
|
11189
11453
|
pivotTimeAdapter: typeof pivotTimeAdapter;
|
|
11190
11454
|
UNDO_REDO_PIVOT_COMMANDS: string[];
|
|
11455
|
+
createPivotFormula: typeof createPivotFormula;
|
|
11456
|
+
areDomainArgsFieldsValid: typeof areDomainArgsFieldsValid;
|
|
11191
11457
|
};
|
|
11192
11458
|
declare const links: {
|
|
11193
11459
|
isMarkdownLink: typeof isMarkdownLink;
|
|
@@ -11219,6 +11485,7 @@ declare const components: {
|
|
|
11219
11485
|
GaugeChartDesignPanel: typeof GaugeChartDesignPanel;
|
|
11220
11486
|
ScorecardChartConfigPanel: typeof ScorecardChartConfigPanel;
|
|
11221
11487
|
ScorecardChartDesignPanel: typeof ScorecardChartDesignPanel;
|
|
11488
|
+
ChartTypePicker: typeof ChartTypePicker;
|
|
11222
11489
|
FigureComponent: typeof FigureComponent;
|
|
11223
11490
|
Menu: typeof Menu;
|
|
11224
11491
|
Popover: typeof Popover;
|
|
@@ -11230,6 +11497,9 @@ declare const components: {
|
|
|
11230
11497
|
PivotDimension: typeof PivotDimension;
|
|
11231
11498
|
PivotLayoutConfigurator: typeof PivotLayoutConfigurator;
|
|
11232
11499
|
EditableName: typeof EditableName;
|
|
11500
|
+
PivotDeferUpdate: typeof PivotDeferUpdate;
|
|
11501
|
+
PivotTitleSection: typeof PivotTitleSection;
|
|
11502
|
+
CogWheelMenu: typeof CogWheelMenu;
|
|
11233
11503
|
};
|
|
11234
11504
|
declare const hooks: {
|
|
11235
11505
|
useDragAndDropListItems: typeof useDragAndDropListItems;
|
|
@@ -11272,6 +11542,31 @@ declare const constants: {
|
|
|
11272
11542
|
bandedColumns: boolean;
|
|
11273
11543
|
styleId: string;
|
|
11274
11544
|
};
|
|
11545
|
+
ChartTerms: {
|
|
11546
|
+
Series: string;
|
|
11547
|
+
BackgroundColor: string;
|
|
11548
|
+
StackedBarChart: string;
|
|
11549
|
+
StackedLineChart: string;
|
|
11550
|
+
StackedAreaChart: string;
|
|
11551
|
+
CumulativeData: string;
|
|
11552
|
+
TreatLabelsAsText: string;
|
|
11553
|
+
AggregatedChart: string;
|
|
11554
|
+
Errors: {
|
|
11555
|
+
Unexpected: string;
|
|
11556
|
+
InvalidDataSet: string;
|
|
11557
|
+
InvalidLabelRange: string;
|
|
11558
|
+
InvalidScorecardKeyValue: string;
|
|
11559
|
+
InvalidScorecardBaseline: string;
|
|
11560
|
+
InvalidGaugeDataRange: string;
|
|
11561
|
+
EmptyGaugeRangeMin: string;
|
|
11562
|
+
GaugeRangeMinNaN: string;
|
|
11563
|
+
EmptyGaugeRangeMax: string;
|
|
11564
|
+
GaugeRangeMaxNaN: string;
|
|
11565
|
+
GaugeRangeMinBiggerThanRangeMax: string;
|
|
11566
|
+
GaugeLowerInflectionPointNaN: string;
|
|
11567
|
+
GaugeUpperInflectionPointNaN: string;
|
|
11568
|
+
};
|
|
11569
|
+
};
|
|
11275
11570
|
};
|
|
11276
11571
|
|
|
11277
|
-
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePaintFormatCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, 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, CommonPivotCoreDefinition, CompiledFormula, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, Direction$1 as Direction, DispatchResult,
|
|
11572
|
+
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePaintFormatCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, 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, CommonPivotCoreDefinition, CompiledFormula, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, 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, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, 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, Pivot, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, 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, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, 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 };
|