@odoo/o-spreadsheet 17.5.0-alpha.7 → 18.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/o-spreadsheet.cjs.js +5272 -2540
- package/dist/o-spreadsheet.d.ts +491 -222
- package/dist/o-spreadsheet.esm.js +5272 -2540
- package/dist/o-spreadsheet.iife.js +5272 -2540
- package/dist/o-spreadsheet.iife.min.js +458 -402
- package/dist/o_spreadsheet.xml +389 -161
- package/package.json +1 -4
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -247,18 +247,22 @@ interface ColorSet {
|
|
|
247
247
|
interface SectionThreshold {
|
|
248
248
|
readonly type: "number" | "percentage";
|
|
249
249
|
readonly value: string;
|
|
250
|
+
readonly operator: "<" | "<=";
|
|
250
251
|
}
|
|
251
252
|
interface GaugeValue {
|
|
252
253
|
value: number;
|
|
253
254
|
label: string;
|
|
254
255
|
}
|
|
256
|
+
interface GaugeInflectionValue extends GaugeValue {
|
|
257
|
+
operator: "<" | "<=";
|
|
258
|
+
}
|
|
255
259
|
interface GaugeChartRuntime {
|
|
256
260
|
background: Color;
|
|
257
261
|
title: TitleDesign;
|
|
258
262
|
minValue: GaugeValue;
|
|
259
263
|
maxValue: GaugeValue;
|
|
260
264
|
gaugeValue?: GaugeValue;
|
|
261
|
-
inflectionValues:
|
|
265
|
+
inflectionValues: GaugeInflectionValue[];
|
|
262
266
|
colors: Color[];
|
|
263
267
|
}
|
|
264
268
|
|
|
@@ -534,8 +538,11 @@ interface SearchOptions {
|
|
|
534
538
|
specificRange?: Range;
|
|
535
539
|
}
|
|
536
540
|
|
|
541
|
+
declare const PREVIOUS_VALUE = "(previous)";
|
|
542
|
+
declare const NEXT_VALUE = "(next)";
|
|
543
|
+
|
|
537
544
|
type Aggregator = "array_agg" | "count" | "count_distinct" | "bool_and" | "bool_or" | "max" | "min" | "avg" | "sum";
|
|
538
|
-
type Granularity = "day" | "week" | "month" | "quarter" | "year" | "day_of_month" | "iso_week_number" | "month_number" | "quarter_number";
|
|
545
|
+
type Granularity = "day" | "week" | "month" | "quarter" | "year" | "second_number" | "minute_number" | "hour_number" | "day_of_week" | "day_of_month" | "iso_week_number" | "month_number" | "quarter_number";
|
|
539
546
|
interface PivotCoreDimension {
|
|
540
547
|
fieldName: string;
|
|
541
548
|
order?: "asc" | "desc";
|
|
@@ -550,6 +557,13 @@ interface PivotCoreMeasure {
|
|
|
550
557
|
userDefinedName?: string;
|
|
551
558
|
fieldName: string;
|
|
552
559
|
aggregator: Aggregator | string;
|
|
560
|
+
isHidden?: boolean;
|
|
561
|
+
format?: Format;
|
|
562
|
+
computedBy?: {
|
|
563
|
+
sheetId: UID;
|
|
564
|
+
formula: string;
|
|
565
|
+
};
|
|
566
|
+
display?: PivotMeasureDisplay;
|
|
553
567
|
}
|
|
554
568
|
interface CommonPivotCoreDefinition {
|
|
555
569
|
columns: PivotCoreDimension[];
|
|
@@ -639,6 +653,24 @@ interface PivotNode {
|
|
|
639
653
|
value: CellValue;
|
|
640
654
|
}
|
|
641
655
|
type PivotDomain = PivotNode[];
|
|
656
|
+
/** Pivot domain splitted for the domain related to the pivot's rows and columns */
|
|
657
|
+
interface PivotColRowDomain {
|
|
658
|
+
colDomain: PivotDomain;
|
|
659
|
+
rowDomain: PivotDomain;
|
|
660
|
+
}
|
|
661
|
+
interface PivotMeasureDisplay {
|
|
662
|
+
type: PivotMeasureDisplayType;
|
|
663
|
+
fieldNameWithGranularity?: string;
|
|
664
|
+
value?: string | boolean | number | typeof PREVIOUS_VALUE | typeof NEXT_VALUE;
|
|
665
|
+
}
|
|
666
|
+
type PivotMeasureDisplayType = "no_calculations" | "%_of_grand_total" | "%_of_col_total" | "%_of_row_total" | "%_of_parent_row_total" | "%_of_parent_col_total" | "index" | "%_of_parent_total" | "running_total" | "%_running_total" | "rank_asc" | "rank_desc" | "%_of" | "difference_from" | "%_difference_from";
|
|
667
|
+
interface DimensionTreeNode {
|
|
668
|
+
value: CellValue;
|
|
669
|
+
field: string;
|
|
670
|
+
children: DimensionTree;
|
|
671
|
+
width: number;
|
|
672
|
+
}
|
|
673
|
+
type DimensionTree = DimensionTreeNode[];
|
|
642
674
|
|
|
643
675
|
interface Table {
|
|
644
676
|
readonly id: TableId;
|
|
@@ -755,12 +787,13 @@ interface ZoneDependentCommand {
|
|
|
755
787
|
}
|
|
756
788
|
declare function isZoneDependent(cmd: CoreCommand): boolean;
|
|
757
789
|
declare function isPositionDependent(cmd: CoreCommand): boolean;
|
|
758
|
-
declare const invalidateEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "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" | "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" | "SPLIT_PIVOT_FORMULA">;
|
|
759
|
-
declare const
|
|
760
|
-
declare const
|
|
761
|
-
declare const
|
|
762
|
-
declare const
|
|
763
|
-
declare const
|
|
790
|
+
declare const invalidateEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "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" | "COLOR_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" | "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" | "SET_FORMATTING_WITH_PIVOT" | "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" | "SPLIT_PIVOT_FORMULA">;
|
|
791
|
+
declare const invalidateChartEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "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" | "COLOR_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" | "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" | "SET_FORMATTING_WITH_PIVOT" | "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" | "SPLIT_PIVOT_FORMULA">;
|
|
792
|
+
declare const invalidateDependenciesCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "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" | "COLOR_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" | "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" | "SET_FORMATTING_WITH_PIVOT" | "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" | "SPLIT_PIVOT_FORMULA">;
|
|
793
|
+
declare const invalidateCFEvaluationCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "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" | "COLOR_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" | "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" | "SET_FORMATTING_WITH_PIVOT" | "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" | "SPLIT_PIVOT_FORMULA">;
|
|
794
|
+
declare const invalidateBordersCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "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" | "COLOR_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" | "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" | "SET_FORMATTING_WITH_PIVOT" | "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" | "SPLIT_PIVOT_FORMULA">;
|
|
795
|
+
declare const readonlyAllowedCommands: Set<"CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "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" | "COLOR_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" | "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" | "SET_FORMATTING_WITH_PIVOT" | "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" | "SPLIT_PIVOT_FORMULA">;
|
|
796
|
+
declare const coreTypes: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "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" | "COLOR_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">;
|
|
764
797
|
declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
|
|
765
798
|
declare function canExecuteInReadonly(cmd: Command): boolean;
|
|
766
799
|
interface UpdateCellCommand extends PositionDependentCommand {
|
|
@@ -867,6 +900,10 @@ interface RenameSheetCommand extends SheetDependentCommand {
|
|
|
867
900
|
type: "RENAME_SHEET";
|
|
868
901
|
name?: string;
|
|
869
902
|
}
|
|
903
|
+
interface ColorSheetCommand extends SheetDependentCommand {
|
|
904
|
+
type: "COLOR_SHEET";
|
|
905
|
+
color?: Color;
|
|
906
|
+
}
|
|
870
907
|
interface HideSheetCommand extends SheetDependentCommand {
|
|
871
908
|
type: "HIDE_SHEET";
|
|
872
909
|
}
|
|
@@ -996,6 +1033,10 @@ interface SetDecimalCommand extends TargetDependentCommand {
|
|
|
996
1033
|
type: "SET_DECIMAL";
|
|
997
1034
|
step: SetDecimalStep;
|
|
998
1035
|
}
|
|
1036
|
+
interface SetContextualFormatCommand extends TargetDependentCommand {
|
|
1037
|
+
type: "SET_FORMATTING_WITH_PIVOT";
|
|
1038
|
+
format: Format;
|
|
1039
|
+
}
|
|
999
1040
|
interface UpdateLocaleCommand {
|
|
1000
1041
|
type: "UPDATE_LOCALE";
|
|
1001
1042
|
locale: Locale;
|
|
@@ -1290,11 +1331,11 @@ interface InsertPivotWithTableCommand extends PositionDependentCommand {
|
|
|
1290
1331
|
type: "INSERT_PIVOT_WITH_TABLE";
|
|
1291
1332
|
pivotId: UID;
|
|
1292
1333
|
table: PivotTableData;
|
|
1334
|
+
pivotMode: "static" | "dynamic";
|
|
1293
1335
|
}
|
|
1294
1336
|
interface SplitPivotFormulaCommand extends PositionDependentCommand {
|
|
1295
1337
|
type: "SPLIT_PIVOT_FORMULA";
|
|
1296
1338
|
pivotId: UID;
|
|
1297
|
-
table: PivotTableData;
|
|
1298
1339
|
}
|
|
1299
1340
|
type CoreCommand =
|
|
1300
1341
|
/** CELLS */
|
|
@@ -1304,7 +1345,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | ClearCellsCom
|
|
|
1304
1345
|
/** MERGE */
|
|
1305
1346
|
| AddMergeCommand | RemoveMergeCommand
|
|
1306
1347
|
/** SHEETS MANIPULATION */
|
|
1307
|
-
| CreateSheetCommand | DeleteSheetCommand | DuplicateSheetCommand | MoveSheetCommand | RenameSheetCommand | HideSheetCommand | ShowSheetCommand
|
|
1348
|
+
| CreateSheetCommand | DeleteSheetCommand | DuplicateSheetCommand | MoveSheetCommand | RenameSheetCommand | ColorSheetCommand | HideSheetCommand | ShowSheetCommand
|
|
1308
1349
|
/** RANGES MANIPULATION */
|
|
1309
1350
|
| MoveRangeCommand
|
|
1310
1351
|
/** CONDITIONAL FORMAT */
|
|
@@ -1327,7 +1368,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | ClearCellsCom
|
|
|
1327
1368
|
| UpdateLocaleCommand
|
|
1328
1369
|
/** PIVOT */
|
|
1329
1370
|
| AddPivotCommand | UpdatePivotCommand | InsertPivotCommand | RenamePivotCommand | RemovePivotCommand | DuplicatePivotCommand;
|
|
1330
|
-
type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | 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 | SplitPivotFormulaCommand;
|
|
1371
|
+
type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | StartChangeHighlightCommand | StartCommand | AutofillCommand | AutofillSelectCommand | AutofillTableCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | ReplaceSearchCommand | SortCommand | SetDecimalCommand | SetContextualFormatCommand | ResizeViewportCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | MoveViewportToCellCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand | RemoveDuplicatesCommand | TrimWhitespaceCommand | ResizeTableCommand | RefreshPivotCommand | InsertNewPivotCommand | DuplicatePivotInNewSheetCommand | InsertPivotWithTableCommand | SplitPivotFormulaCommand;
|
|
1331
1372
|
type Command = CoreCommand | LocalCommand;
|
|
1332
1373
|
/**
|
|
1333
1374
|
* Holds the result of a command dispatch.
|
|
@@ -1467,7 +1508,10 @@ declare const enum CommandResult {
|
|
|
1467
1508
|
InvalidTableResize = "InvalidTableResize",
|
|
1468
1509
|
PivotIdNotFound = "PivotIdNotFound",
|
|
1469
1510
|
EmptyName = "EmptyName",
|
|
1470
|
-
ValueCellIsInvalidFormula = "ValueCellIsInvalidFormula"
|
|
1511
|
+
ValueCellIsInvalidFormula = "ValueCellIsInvalidFormula",
|
|
1512
|
+
InvalidDefinition = "InvalidDefinition",
|
|
1513
|
+
InvalidColor = "InvalidColor",
|
|
1514
|
+
DataBarRangeValuesMismatch = "DataBarRangeValuesMismatch"
|
|
1471
1515
|
}
|
|
1472
1516
|
interface CommandHandler<T> {
|
|
1473
1517
|
allowDispatch(command: T): CommandResult | CommandResult[];
|
|
@@ -1545,11 +1589,15 @@ interface ASTFuncall extends ASTBase {
|
|
|
1545
1589
|
value: string;
|
|
1546
1590
|
args: AST[];
|
|
1547
1591
|
}
|
|
1592
|
+
interface ASTSymbol extends ASTBase {
|
|
1593
|
+
type: "SYMBOL";
|
|
1594
|
+
value: string;
|
|
1595
|
+
}
|
|
1548
1596
|
interface ASTEmpty extends ASTBase {
|
|
1549
1597
|
type: "EMPTY";
|
|
1550
1598
|
value: "";
|
|
1551
1599
|
}
|
|
1552
|
-
type AST = ASTOperation | ASTUnaryOperation | ASTFuncall | ASTNumber | ASTBoolean | ASTString | ASTReference | ASTEmpty;
|
|
1600
|
+
type AST = ASTOperation | ASTUnaryOperation | ASTFuncall | ASTSymbol | ASTNumber | ASTBoolean | ASTString | ASTReference | ASTEmpty;
|
|
1553
1601
|
/**
|
|
1554
1602
|
* Parse an expression (as a string) into an AST.
|
|
1555
1603
|
*/
|
|
@@ -1668,6 +1716,10 @@ interface Style {
|
|
|
1668
1716
|
textColor?: Color;
|
|
1669
1717
|
fontSize?: number;
|
|
1670
1718
|
}
|
|
1719
|
+
interface DataBarFill {
|
|
1720
|
+
color: Color;
|
|
1721
|
+
percentage: number;
|
|
1722
|
+
}
|
|
1671
1723
|
interface UpdateCellData {
|
|
1672
1724
|
content?: string;
|
|
1673
1725
|
formula?: string;
|
|
@@ -1682,6 +1734,7 @@ interface Sheet {
|
|
|
1682
1734
|
areGridLinesVisible: boolean;
|
|
1683
1735
|
isVisible: boolean;
|
|
1684
1736
|
panes: PaneDivision;
|
|
1737
|
+
color?: Color;
|
|
1685
1738
|
}
|
|
1686
1739
|
interface CellPosition {
|
|
1687
1740
|
col: HeaderIndex;
|
|
@@ -1710,7 +1763,8 @@ interface Border$1 {
|
|
|
1710
1763
|
}
|
|
1711
1764
|
type ReferenceDenormalizer = (range: Range, isMeta: boolean, functionName: string, paramNumber: number) => FunctionResultObject;
|
|
1712
1765
|
type EnsureRange = (range: Range) => Matrix<FunctionResultObject>;
|
|
1713
|
-
type
|
|
1766
|
+
type GetSymbolValue = (symbolName: string) => Arg;
|
|
1767
|
+
type FormulaToExecute = (deps: Range[], refFn: ReferenceDenormalizer, range: EnsureRange, getSymbolValue: GetSymbolValue, ctx: {}) => Matrix<FunctionResultObject> | FunctionResultObject;
|
|
1714
1768
|
interface CompiledFormula {
|
|
1715
1769
|
execute: FormulaToExecute;
|
|
1716
1770
|
tokens: Token[];
|
|
@@ -1883,6 +1937,7 @@ interface Locale {
|
|
|
1883
1937
|
code: LocaleCode;
|
|
1884
1938
|
thousandsSeparator?: string;
|
|
1885
1939
|
decimalSeparator: string;
|
|
1940
|
+
weekStart: number;
|
|
1886
1941
|
dateFormat: string;
|
|
1887
1942
|
timeFormat: string;
|
|
1888
1943
|
formulaArgSeparator: string;
|
|
@@ -1896,7 +1951,6 @@ interface LocaleFormat {
|
|
|
1896
1951
|
locale: Locale;
|
|
1897
1952
|
format?: Format;
|
|
1898
1953
|
}
|
|
1899
|
-
declare const PLAIN_TEXT_FORMAT: Format;
|
|
1900
1954
|
|
|
1901
1955
|
interface CellAttributes {
|
|
1902
1956
|
readonly id: UID;
|
|
@@ -2085,10 +2139,12 @@ interface ConditionalFormat {
|
|
|
2085
2139
|
stopIfTrue?: boolean;
|
|
2086
2140
|
ranges: string[];
|
|
2087
2141
|
}
|
|
2088
|
-
interface ConditionalFormatInternal extends Omit<ConditionalFormat, "ranges"> {
|
|
2142
|
+
interface ConditionalFormatInternal extends Omit<ConditionalFormat, "ranges" | "rule"> {
|
|
2089
2143
|
ranges: Range[];
|
|
2144
|
+
rule: ConditionalFormatRuleInternal;
|
|
2090
2145
|
}
|
|
2091
|
-
type ConditionalFormatRule = SingleColorRules | ColorScaleRule | IconSetRule;
|
|
2146
|
+
type ConditionalFormatRule = SingleColorRules | ColorScaleRule | IconSetRule | DataBarRule;
|
|
2147
|
+
type ConditionalFormatRuleInternal = SingleColorRules | ColorScaleRule | IconSetRule | DataBarRuleInternal;
|
|
2092
2148
|
type SingleColorRules = CellIsRule;
|
|
2093
2149
|
interface SingleColorRule {
|
|
2094
2150
|
style: Style;
|
|
@@ -2126,6 +2182,14 @@ interface ColorScaleRule {
|
|
|
2126
2182
|
maximum: ColorScaleThreshold;
|
|
2127
2183
|
midpoint?: ColorScaleMidPointThreshold;
|
|
2128
2184
|
}
|
|
2185
|
+
interface DataBarRule {
|
|
2186
|
+
type: "DataBarRule";
|
|
2187
|
+
color: number;
|
|
2188
|
+
rangeValues?: string;
|
|
2189
|
+
}
|
|
2190
|
+
interface DataBarRuleInternal extends Omit<DataBarRule, "rangeValues"> {
|
|
2191
|
+
rangeValues?: Range;
|
|
2192
|
+
}
|
|
2129
2193
|
interface IconSet {
|
|
2130
2194
|
upper: string;
|
|
2131
2195
|
middle: string;
|
|
@@ -2717,7 +2781,7 @@ interface CoreState$1 {
|
|
|
2717
2781
|
* cell and sheet content.
|
|
2718
2782
|
*/
|
|
2719
2783
|
declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1 {
|
|
2720
|
-
static getters: readonly ["zoneToXC", "getCells", "getTranslatedCellFormula", "getCellStyle", "getCellById", "getFormulaMovedInSheet"];
|
|
2784
|
+
static getters: readonly ["zoneToXC", "getCells", "getTranslatedCellFormula", "getCellStyle", "getCellById", "getFormulaString", "getFormulaMovedInSheet"];
|
|
2721
2785
|
readonly nextId = 1;
|
|
2722
2786
|
readonly cells: {
|
|
2723
2787
|
[sheetId: string]: {
|
|
@@ -2746,11 +2810,7 @@ declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1
|
|
|
2746
2810
|
private handleAddColumnsRows;
|
|
2747
2811
|
import(data: WorkbookData): void;
|
|
2748
2812
|
export(data: WorkbookData): void;
|
|
2749
|
-
importCell(sheetId: UID,
|
|
2750
|
-
[key: number]: Style;
|
|
2751
|
-
}, normalizedFormats: {
|
|
2752
|
-
[key: number]: Format;
|
|
2753
|
-
}): Cell;
|
|
2813
|
+
importCell(sheetId: UID, content?: string, style?: Style, format?: Format): Cell;
|
|
2754
2814
|
exportForExcel(data: ExcelWorkbookData): void;
|
|
2755
2815
|
private removeDefaultStyleValues;
|
|
2756
2816
|
getCells(sheetId: UID): Record<UID, Cell>;
|
|
@@ -2759,7 +2819,7 @@ declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1
|
|
|
2759
2819
|
* starting an async evaluation even if it has been moved or re-allocated
|
|
2760
2820
|
*/
|
|
2761
2821
|
getCellById(cellId: UID): Cell | undefined;
|
|
2762
|
-
|
|
2822
|
+
getFormulaString(sheetId: UID, tokens: Token[], dependencies: Range[], useFixedReference?: boolean): string;
|
|
2763
2823
|
getTranslatedCellFormula(sheetId: UID, offsetX: number, offsetY: number, tokens: Token[]): string;
|
|
2764
2824
|
getFormulaMovedInSheet(originSheetId: UID, targetSheetId: UID, tokens: Token[]): string;
|
|
2765
2825
|
getCellStyle(position: CellPosition): Style;
|
|
@@ -2946,6 +3006,7 @@ declare class ConditionalFormatPlugin extends CorePlugin<ConditionalFormatState>
|
|
|
2946
3006
|
private checkMidBiggerThanMax;
|
|
2947
3007
|
private checkMinBiggerThanMid;
|
|
2948
3008
|
private checkCFValues;
|
|
3009
|
+
private checkDataBarRangeValues;
|
|
2949
3010
|
private removeConditionalFormatting;
|
|
2950
3011
|
private changeCFPriority;
|
|
2951
3012
|
}
|
|
@@ -3244,9 +3305,10 @@ interface CoreState {
|
|
|
3244
3305
|
nextFormulaId: number;
|
|
3245
3306
|
pivots: Record<UID, Pivot$1 | undefined>;
|
|
3246
3307
|
formulaIds: Record<UID, string | undefined>;
|
|
3308
|
+
compiledMeasureFormulas: Record<UID, Record<string, RangeCompiledFormula | undefined>>;
|
|
3247
3309
|
}
|
|
3248
3310
|
declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState {
|
|
3249
|
-
static getters: readonly ["getPivotCoreDefinition", "getPivotDisplayName", "getPivotId", "getPivotFormulaId", "getPivotIds", "getPivotName", "isExistingPivot"];
|
|
3311
|
+
static getters: readonly ["getPivotCoreDefinition", "getPivotDisplayName", "getPivotId", "getPivotFormulaId", "getPivotIds", "getMeasureCompiledFormula", "getPivotName", "isExistingPivot"];
|
|
3250
3312
|
readonly nextFormulaId: number;
|
|
3251
3313
|
readonly pivots: {
|
|
3252
3314
|
[pivotId: UID]: Pivot$1 | undefined;
|
|
@@ -3254,8 +3316,10 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
|
|
|
3254
3316
|
readonly formulaIds: {
|
|
3255
3317
|
[formulaId: UID]: UID | undefined;
|
|
3256
3318
|
};
|
|
3257
|
-
|
|
3319
|
+
readonly compiledMeasureFormulas: Record<UID, Record<string, RangeCompiledFormula>>;
|
|
3320
|
+
allowDispatch(cmd: CoreCommand): CommandResult.Success | CommandResult.NoChanges | CommandResult.PivotIdNotFound | CommandResult.EmptyName | CommandResult.InvalidDefinition;
|
|
3258
3321
|
handle(cmd: CoreCommand): void;
|
|
3322
|
+
adaptRanges(applyChange: ApplyRangeChange): void;
|
|
3259
3323
|
getPivotDisplayName(pivotId: UID): string;
|
|
3260
3324
|
getPivotName(pivotId: UID): string;
|
|
3261
3325
|
/**
|
|
@@ -3271,10 +3335,15 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
|
|
|
3271
3335
|
getPivotFormulaId(pivotId: UID): string;
|
|
3272
3336
|
getPivotIds(): UID[];
|
|
3273
3337
|
isExistingPivot(pivotId: UID): boolean;
|
|
3338
|
+
getMeasureCompiledFormula(measure: PivotCoreMeasure): RangeCompiledFormula;
|
|
3274
3339
|
private addPivot;
|
|
3340
|
+
private compileCalculatedMeasures;
|
|
3275
3341
|
private insertPivot;
|
|
3276
3342
|
private resizeSheet;
|
|
3277
3343
|
private getPivotCore;
|
|
3344
|
+
private compileMeasureFormula;
|
|
3345
|
+
private replaceMeasureFormula;
|
|
3346
|
+
private checkDuplicatedMeasureIds;
|
|
3278
3347
|
/**
|
|
3279
3348
|
* Import the pivots
|
|
3280
3349
|
*/
|
|
@@ -3601,9 +3670,6 @@ interface Dependencies {
|
|
|
3601
3670
|
}
|
|
3602
3671
|
interface CellData {
|
|
3603
3672
|
content?: string;
|
|
3604
|
-
style?: number;
|
|
3605
|
-
border?: number;
|
|
3606
|
-
format?: number;
|
|
3607
3673
|
}
|
|
3608
3674
|
interface HeaderData {
|
|
3609
3675
|
size?: number;
|
|
@@ -3626,6 +3692,15 @@ interface SheetData {
|
|
|
3626
3692
|
cells: {
|
|
3627
3693
|
[key: string]: CellData | undefined;
|
|
3628
3694
|
};
|
|
3695
|
+
styles: {
|
|
3696
|
+
[zone: string]: number;
|
|
3697
|
+
};
|
|
3698
|
+
formats: {
|
|
3699
|
+
[zone: string]: number;
|
|
3700
|
+
};
|
|
3701
|
+
borders: {
|
|
3702
|
+
[zone: string]: number;
|
|
3703
|
+
};
|
|
3629
3704
|
merges: string[];
|
|
3630
3705
|
figures: FigureData<any>[];
|
|
3631
3706
|
cols: {
|
|
@@ -3641,6 +3716,7 @@ interface SheetData {
|
|
|
3641
3716
|
isVisible: boolean;
|
|
3642
3717
|
panes?: PaneDivision;
|
|
3643
3718
|
headerGroups?: Record<Dimension, HeaderGroup[]>;
|
|
3719
|
+
color?: Color;
|
|
3644
3720
|
}
|
|
3645
3721
|
interface WorkbookSettings {
|
|
3646
3722
|
locale: Locale;
|
|
@@ -3677,6 +3753,9 @@ interface ExcelWorkbookData extends WorkbookData {
|
|
|
3677
3753
|
interface ExcelCellData extends CellData {
|
|
3678
3754
|
value: CellValue;
|
|
3679
3755
|
isFormula: Boolean;
|
|
3756
|
+
format?: number;
|
|
3757
|
+
style?: number;
|
|
3758
|
+
border?: number;
|
|
3680
3759
|
computedFormat?: Format;
|
|
3681
3760
|
}
|
|
3682
3761
|
interface ExcelSheetData extends Omit<SheetData, "figureTables" | "cols" | "rows"> {
|
|
@@ -3788,7 +3867,7 @@ interface TransportService<T = any> {
|
|
|
3788
3867
|
/**
|
|
3789
3868
|
* Send a message to all clients
|
|
3790
3869
|
*/
|
|
3791
|
-
sendMessage: (message: T) => void
|
|
3870
|
+
sendMessage: (message: T) => Promise<void>;
|
|
3792
3871
|
/**
|
|
3793
3872
|
* Register a callback function which will be called each time
|
|
3794
3873
|
* a new message is received.
|
|
@@ -3885,11 +3964,11 @@ declare class Session extends EventBus<CollaborativeEvent> {
|
|
|
3885
3964
|
/**
|
|
3886
3965
|
* Notify the server that the user client left the collaborative session
|
|
3887
3966
|
*/
|
|
3888
|
-
leave(data: Lazy<WorkbookData>): void
|
|
3967
|
+
leave(data: Lazy<WorkbookData>): Promise<void>;
|
|
3889
3968
|
/**
|
|
3890
3969
|
* Send a snapshot of the spreadsheet to the collaboration server
|
|
3891
3970
|
*/
|
|
3892
|
-
snapshot(data: WorkbookData): void
|
|
3971
|
+
snapshot(data: WorkbookData): Promise<void>;
|
|
3893
3972
|
getClient(): Client;
|
|
3894
3973
|
getConnectedClients(): Set<Client>;
|
|
3895
3974
|
getRevisionId(): UID;
|
|
@@ -3980,7 +4059,7 @@ interface UIPluginConfig {
|
|
|
3980
4059
|
readonly uiActions: UIActions;
|
|
3981
4060
|
readonly custom: ModelConfig["custom"];
|
|
3982
4061
|
readonly session: Session;
|
|
3983
|
-
readonly
|
|
4062
|
+
readonly defaultCurrency?: Partial<Currency>;
|
|
3984
4063
|
readonly customColors: Color[];
|
|
3985
4064
|
}
|
|
3986
4065
|
interface UIPluginConstructor {
|
|
@@ -4002,7 +4081,7 @@ declare class UIPlugin<State = any> extends BasePlugin<State, Command> {
|
|
|
4002
4081
|
}
|
|
4003
4082
|
|
|
4004
4083
|
declare class EvaluationPlugin extends UIPlugin {
|
|
4005
|
-
static getters: readonly ["evaluateFormula", "evaluateFormulaResult", "getCorrespondingFormulaCell", "getRangeFormattedValues", "getRangeValues", "getRangeFormats", "getEvaluatedCell", "getEvaluatedCells", "getEvaluatedCellsInZone", "getEvaluatedCellsPositions", "getSpreadZone", "getArrayFormulaSpreadingOn", "isEmpty"];
|
|
4084
|
+
static getters: readonly ["evaluateFormula", "evaluateFormulaResult", "evaluateCompiledFormula", "getCorrespondingFormulaCell", "getRangeFormattedValues", "getRangeValues", "getRangeFormats", "getEvaluatedCell", "getEvaluatedCells", "getEvaluatedCellsInZone", "getEvaluatedCellsPositions", "getSpreadZone", "getArrayFormulaSpreadingOn", "isEmpty"];
|
|
4006
4085
|
private shouldRebuildDependenciesGraph;
|
|
4007
4086
|
private evaluator;
|
|
4008
4087
|
private positionsToUpdate;
|
|
@@ -4012,6 +4091,7 @@ declare class EvaluationPlugin extends UIPlugin {
|
|
|
4012
4091
|
finalize(): void;
|
|
4013
4092
|
evaluateFormula(sheetId: UID, formulaString: string): CellValue | Matrix<CellValue>;
|
|
4014
4093
|
evaluateFormulaResult(sheetId: UID, formulaString: string): Matrix<FunctionResultObject> | FunctionResultObject;
|
|
4094
|
+
evaluateCompiledFormula(sheetId: UID, compiledFormula: RangeCompiledFormula, getSymbolValue: GetSymbolValue): FunctionResultObject | Matrix<FunctionResultObject>;
|
|
4015
4095
|
/**
|
|
4016
4096
|
* Return the value of each cell in the range as they are displayed in the grid.
|
|
4017
4097
|
*/
|
|
@@ -4039,6 +4119,13 @@ declare class EvaluationPlugin extends UIPlugin {
|
|
|
4039
4119
|
* Check if a zone only contains empty cells
|
|
4040
4120
|
*/
|
|
4041
4121
|
isEmpty(sheetId: UID, zone: Zone): boolean;
|
|
4122
|
+
/**
|
|
4123
|
+
* Maps the visible positions of a range according to a provided callback
|
|
4124
|
+
* @param range - the range we filter out
|
|
4125
|
+
* @param evaluationCallback - the callback applied to the filtered positions
|
|
4126
|
+
* @returns the values filtered (ie we keep only the not hidden values)
|
|
4127
|
+
*/
|
|
4128
|
+
private mapVisiblePositions;
|
|
4042
4129
|
exportForExcel(data: ExcelWorkbookData): void;
|
|
4043
4130
|
/**
|
|
4044
4131
|
* Returns the corresponding formula cell of a given cell
|
|
@@ -4062,7 +4149,7 @@ declare class CustomColorsPlugin extends UIPlugin<CustomColorState> {
|
|
|
4062
4149
|
private readonly shouldUpdateColors;
|
|
4063
4150
|
static getters: readonly ["getCustomColors"];
|
|
4064
4151
|
constructor(config: UIPluginConfig);
|
|
4065
|
-
handle(cmd:
|
|
4152
|
+
handle(cmd: Command): void;
|
|
4066
4153
|
finalize(): void;
|
|
4067
4154
|
getCustomColors(): Color[];
|
|
4068
4155
|
private computeCustomColors;
|
|
@@ -4071,7 +4158,7 @@ declare class CustomColorsPlugin extends UIPlugin<CustomColorState> {
|
|
|
4071
4158
|
private getChartColors;
|
|
4072
4159
|
private getTableColors;
|
|
4073
4160
|
private getTableStyleElementColors;
|
|
4074
|
-
private
|
|
4161
|
+
private tryToAddColors;
|
|
4075
4162
|
}
|
|
4076
4163
|
|
|
4077
4164
|
interface EvaluationChartStyle {
|
|
@@ -4095,14 +4182,16 @@ declare class EvaluationChartPlugin extends UIPlugin<EvaluationChartState> {
|
|
|
4095
4182
|
}
|
|
4096
4183
|
|
|
4097
4184
|
declare class EvaluationConditionalFormatPlugin extends UIPlugin {
|
|
4098
|
-
static getters: readonly ["getConditionalIcon", "getCellConditionalFormatStyle"];
|
|
4185
|
+
static getters: readonly ["getConditionalIcon", "getCellConditionalFormatStyle", "getConditionalDataBar"];
|
|
4099
4186
|
private isStale;
|
|
4100
4187
|
private computedStyles;
|
|
4101
4188
|
private computedIcons;
|
|
4189
|
+
private computedDataBars;
|
|
4102
4190
|
handle(cmd: CoreViewCommand): void;
|
|
4103
4191
|
finalize(): void;
|
|
4104
4192
|
getCellConditionalFormatStyle(position: CellPosition): Style | undefined;
|
|
4105
4193
|
getConditionalIcon({ sheetId, col, row }: CellPosition): string | undefined;
|
|
4194
|
+
getConditionalDataBar({ sheetId, col, row }: CellPosition): DataBarFill | undefined;
|
|
4106
4195
|
/**
|
|
4107
4196
|
* Compute the styles according to the conditional formatting.
|
|
4108
4197
|
* This computation must happen after the cell values are computed if they change
|
|
@@ -4115,10 +4204,13 @@ declare class EvaluationConditionalFormatPlugin extends UIPlugin {
|
|
|
4115
4204
|
*/
|
|
4116
4205
|
private getComputedStyles;
|
|
4117
4206
|
private getComputedIcons;
|
|
4207
|
+
private getComputedDataBars;
|
|
4118
4208
|
private parsePoint;
|
|
4119
4209
|
/** Compute the CF icons for the given range and CF rule, and apply in in the given computedIcons object */
|
|
4120
4210
|
private applyIcon;
|
|
4121
4211
|
private computeIcon;
|
|
4212
|
+
private applyDataBar;
|
|
4213
|
+
private getEvaluatedCellInZone;
|
|
4122
4214
|
/** Compute the color scale for the given range and CF rule, and apply in in the given computedStyle object */
|
|
4123
4215
|
private applyColorScale;
|
|
4124
4216
|
private computeColorDiffUnits;
|
|
@@ -4287,18 +4379,24 @@ declare class SpreadsheetPivotTable {
|
|
|
4287
4379
|
readonly pivotCells: {
|
|
4288
4380
|
[key: string]: PivotTableCell[][];
|
|
4289
4381
|
};
|
|
4382
|
+
private rowTree;
|
|
4383
|
+
private colTree;
|
|
4290
4384
|
constructor(columns: PivotTableColumn[][], rows: PivotTableRow[], measures: string[], fieldsType: Record<string, string | undefined>);
|
|
4291
4385
|
/**
|
|
4292
4386
|
* Get the number of columns leafs (i.e. the number of the last row of columns)
|
|
4293
4387
|
*/
|
|
4294
4388
|
getNumberOfDataColumns(): number;
|
|
4295
4389
|
getPivotCells(includeTotal?: boolean, includeColumnHeaders?: boolean): PivotTableCell[][];
|
|
4390
|
+
getRowTree(): DimensionTree;
|
|
4391
|
+
getColTree(): DimensionTree;
|
|
4296
4392
|
private isTotalRow;
|
|
4297
4393
|
private getPivotCell;
|
|
4298
4394
|
private getColHeaderDomain;
|
|
4299
4395
|
private getColDomain;
|
|
4300
4396
|
private getColMeasure;
|
|
4301
4397
|
private getRowDomain;
|
|
4398
|
+
buildRowsTree(): DimensionTree;
|
|
4399
|
+
buildColumnsTree(): DimensionTree;
|
|
4302
4400
|
export(): {
|
|
4303
4401
|
cols: PivotTableColumn[][];
|
|
4304
4402
|
rows: PivotTableRow[];
|
|
@@ -4315,6 +4413,7 @@ interface Pivot<T = PivotRuntimeDefinition> {
|
|
|
4315
4413
|
definition: T;
|
|
4316
4414
|
init(params?: InitPivotParams): void;
|
|
4317
4415
|
isValid(): boolean;
|
|
4416
|
+
onDefinitionChange(nextDefinition: PivotCoreDefinition): void;
|
|
4318
4417
|
getTableStructure(): SpreadsheetPivotTable;
|
|
4319
4418
|
getFields(): PivotFields;
|
|
4320
4419
|
getPivotHeaderValueAndFormat(domain: PivotDomain): FunctionResultObject;
|
|
@@ -4334,7 +4433,7 @@ interface Pivot<T = PivotRuntimeDefinition> {
|
|
|
4334
4433
|
}
|
|
4335
4434
|
|
|
4336
4435
|
declare class PivotUIPlugin extends UIPlugin {
|
|
4337
|
-
static getters: readonly ["getPivot", "getFirstPivotFunction", "getPivotIdFromPosition", "getPivotCellFromPosition", "isPivotUnused", "isSpillPivotFormula"];
|
|
4436
|
+
static getters: readonly ["getPivot", "getFirstPivotFunction", "getPivotIdFromPosition", "getPivotCellFromPosition", "generateNewCalculatedMeasureName", "isPivotUnused", "isSpillPivotFormula"];
|
|
4338
4437
|
private pivots;
|
|
4339
4438
|
private unusedPivots?;
|
|
4340
4439
|
private custom;
|
|
@@ -4365,6 +4464,7 @@ declare class PivotUIPlugin extends UIPlugin {
|
|
|
4365
4464
|
* as if it was the individual pivot formula
|
|
4366
4465
|
*/
|
|
4367
4466
|
getPivotCellFromPosition(position: CellPosition): PivotTableCell;
|
|
4467
|
+
generateNewCalculatedMeasureName(measures: PivotCoreMeasure[]): string;
|
|
4368
4468
|
getPivot(pivotId: UID): Pivot<PivotRuntimeDefinition>;
|
|
4369
4469
|
isPivotUnused(pivotId: UID): boolean;
|
|
4370
4470
|
/**
|
|
@@ -4704,12 +4804,18 @@ declare class SheetUIPlugin extends UIPlugin {
|
|
|
4704
4804
|
getCellWidth(position: CellPosition): number;
|
|
4705
4805
|
getCellIconSrc(position: CellPosition): ImageSrc | undefined;
|
|
4706
4806
|
getTextWidth(text: string, style: Style): Pixel;
|
|
4707
|
-
getCellText(position: CellPosition,
|
|
4807
|
+
getCellText(position: CellPosition, args?: {
|
|
4808
|
+
showFormula?: boolean;
|
|
4809
|
+
availableWidth?: number;
|
|
4810
|
+
}): string;
|
|
4708
4811
|
/**
|
|
4709
4812
|
* Return the text of a cell, split in multiple lines if needed. The text will be split in multiple
|
|
4710
4813
|
* line if it contains NEWLINE characters, or if it's longer than the given width.
|
|
4711
4814
|
*/
|
|
4712
|
-
getCellMultiLineText(position: CellPosition,
|
|
4815
|
+
getCellMultiLineText(position: CellPosition, args: {
|
|
4816
|
+
wrapText: boolean;
|
|
4817
|
+
maxWidth: number;
|
|
4818
|
+
}): string[];
|
|
4713
4819
|
doesCellHaveGridIcon(position: CellPosition): boolean;
|
|
4714
4820
|
/**
|
|
4715
4821
|
* Expands the given zone until bordered by empty cells or reached the sheet boundaries.
|
|
@@ -4849,6 +4955,7 @@ declare class GridSelectionPlugin extends UIPlugin {
|
|
|
4849
4955
|
allowDispatch(cmd: LocalCommand): CommandResult;
|
|
4850
4956
|
private handleEvent;
|
|
4851
4957
|
handle(cmd: Command): void;
|
|
4958
|
+
finalize(): void;
|
|
4852
4959
|
isGridSelectionActive(): boolean;
|
|
4853
4960
|
getActiveSheet(): Readonly<Sheet>;
|
|
4854
4961
|
getActiveSheetId(): UID;
|
|
@@ -5384,6 +5491,7 @@ interface BoxTextContent {
|
|
|
5384
5491
|
interface Box extends Rect {
|
|
5385
5492
|
content?: BoxTextContent;
|
|
5386
5493
|
style: Style;
|
|
5494
|
+
dataBarFill?: DataBarFill;
|
|
5387
5495
|
border?: Border$1;
|
|
5388
5496
|
hasIcon?: boolean;
|
|
5389
5497
|
clipRect?: Rect;
|
|
@@ -5554,10 +5662,16 @@ declare class DateTime {
|
|
|
5554
5662
|
setSeconds(seconds: number): number;
|
|
5555
5663
|
}
|
|
5556
5664
|
|
|
5665
|
+
interface FormatWidth {
|
|
5666
|
+
availableWidth: number;
|
|
5667
|
+
measureText: (text: string) => number;
|
|
5668
|
+
}
|
|
5557
5669
|
/**
|
|
5558
5670
|
* Formats a cell value with its format.
|
|
5559
5671
|
*/
|
|
5560
|
-
declare function formatValue(value: CellValue, { format, locale }: LocaleFormat
|
|
5672
|
+
declare function formatValue(value: CellValue, { format, locale, formatWidth }: LocaleFormat & {
|
|
5673
|
+
formatWidth?: FormatWidth;
|
|
5674
|
+
}): FormattedValue;
|
|
5561
5675
|
declare function createCurrencyFormat(currency: Partial<Currency>): Format;
|
|
5562
5676
|
|
|
5563
5677
|
/**
|
|
@@ -5738,7 +5852,7 @@ interface ModelConfig {
|
|
|
5738
5852
|
readonly custom: Readonly<{
|
|
5739
5853
|
[key: string]: any;
|
|
5740
5854
|
}>;
|
|
5741
|
-
readonly
|
|
5855
|
+
readonly defaultCurrency?: Partial<Currency>;
|
|
5742
5856
|
/**
|
|
5743
5857
|
* External dependencies required to enable some features
|
|
5744
5858
|
* such as uploading images.
|
|
@@ -5806,7 +5920,7 @@ declare class Model extends EventBus<any> implements CommandDispatcher {
|
|
|
5806
5920
|
private readonly coreHandlers;
|
|
5807
5921
|
constructor(data?: any, config?: Partial<ModelConfig>, stateUpdateMessages?: StateUpdateMessage[], uuidGenerator?: UuidGenerator, verboseImport?: boolean);
|
|
5808
5922
|
joinSession(): void;
|
|
5809
|
-
leaveSession(): void
|
|
5923
|
+
leaveSession(): Promise<void>;
|
|
5810
5924
|
private setupUiPlugin;
|
|
5811
5925
|
/**
|
|
5812
5926
|
* Initialize and properly configure a plugin.
|
|
@@ -5954,7 +6068,8 @@ interface PivotRegistryItem {
|
|
|
5954
6068
|
definition: PivotDefinitionConstructor;
|
|
5955
6069
|
externalData: boolean;
|
|
5956
6070
|
onIterationEndEvaluation: (pivot: Pivot) => void;
|
|
5957
|
-
|
|
6071
|
+
dateGranularities: string[];
|
|
6072
|
+
datetimeGranularities: string[];
|
|
5958
6073
|
isMeasureCandidate: (field: PivotField) => boolean;
|
|
5959
6074
|
isGroupable: (field: PivotField) => boolean;
|
|
5960
6075
|
}
|
|
@@ -6012,6 +6127,7 @@ interface ActionSpec {
|
|
|
6012
6127
|
* Can be defined to display an icon
|
|
6013
6128
|
*/
|
|
6014
6129
|
icon?: string | ((env: SpreadsheetChildEnv) => string);
|
|
6130
|
+
iconColor?: Color;
|
|
6015
6131
|
/**
|
|
6016
6132
|
* Can be defined to display another icon on the right of the item.
|
|
6017
6133
|
*/
|
|
@@ -6048,6 +6164,7 @@ interface Action {
|
|
|
6048
6164
|
isEnabled: (env: SpreadsheetChildEnv) => boolean;
|
|
6049
6165
|
isActive?: (env: SpreadsheetChildEnv) => boolean;
|
|
6050
6166
|
icon: (env: SpreadsheetChildEnv) => string;
|
|
6167
|
+
iconColor?: Color;
|
|
6051
6168
|
secondaryIcon: (env: SpreadsheetChildEnv) => string;
|
|
6052
6169
|
isReadonlyAllowed: boolean;
|
|
6053
6170
|
execute?: (env: SpreadsheetChildEnv) => unknown;
|
|
@@ -6081,6 +6198,7 @@ declare const formatPercent: ActionSpec;
|
|
|
6081
6198
|
declare const formatNumberPercent: NumberFormatActionSpec;
|
|
6082
6199
|
declare const formatNumberCurrency: NumberFormatActionSpec;
|
|
6083
6200
|
declare const formatNumberCurrencyRounded: NumberFormatActionSpec;
|
|
6201
|
+
declare const formatNumberAccounting: NumberFormatActionSpec;
|
|
6084
6202
|
declare const EXAMPLE_DATE: CellValue;
|
|
6085
6203
|
declare const formatCustomCurrency: ActionSpec;
|
|
6086
6204
|
declare const formatNumberDate: NumberFormatActionSpec;
|
|
@@ -6143,6 +6261,7 @@ declare const ACTION_FORMAT_formatCF: typeof formatCF;
|
|
|
6143
6261
|
declare const ACTION_FORMAT_formatCustomCurrency: typeof formatCustomCurrency;
|
|
6144
6262
|
declare const ACTION_FORMAT_formatFontSize: typeof formatFontSize;
|
|
6145
6263
|
declare const ACTION_FORMAT_formatItalic: typeof formatItalic;
|
|
6264
|
+
declare const ACTION_FORMAT_formatNumberAccounting: typeof formatNumberAccounting;
|
|
6146
6265
|
declare const ACTION_FORMAT_formatNumberAutomatic: typeof formatNumberAutomatic;
|
|
6147
6266
|
declare const ACTION_FORMAT_formatNumberCurrency: typeof formatNumberCurrency;
|
|
6148
6267
|
declare const ACTION_FORMAT_formatNumberCurrencyRounded: typeof formatNumberCurrencyRounded;
|
|
@@ -6195,6 +6314,7 @@ declare namespace ACTION_FORMAT {
|
|
|
6195
6314
|
ACTION_FORMAT_formatCustomCurrency as formatCustomCurrency,
|
|
6196
6315
|
ACTION_FORMAT_formatFontSize as formatFontSize,
|
|
6197
6316
|
ACTION_FORMAT_formatItalic as formatItalic,
|
|
6317
|
+
ACTION_FORMAT_formatNumberAccounting as formatNumberAccounting,
|
|
6198
6318
|
ACTION_FORMAT_formatNumberAutomatic as formatNumberAutomatic,
|
|
6199
6319
|
ACTION_FORMAT_formatNumberCurrency as formatNumberCurrency,
|
|
6200
6320
|
ACTION_FORMAT_formatNumberCurrencyRounded as formatNumberCurrencyRounded,
|
|
@@ -6361,7 +6481,7 @@ interface ChartSubtypeProperties {
|
|
|
6361
6481
|
preview: string;
|
|
6362
6482
|
}
|
|
6363
6483
|
|
|
6364
|
-
interface Props$
|
|
6484
|
+
interface Props$16 {
|
|
6365
6485
|
label?: string;
|
|
6366
6486
|
value: boolean;
|
|
6367
6487
|
className?: string;
|
|
@@ -6370,7 +6490,7 @@ interface Props$14 {
|
|
|
6370
6490
|
disabled?: boolean;
|
|
6371
6491
|
onChange: (value: boolean) => void;
|
|
6372
6492
|
}
|
|
6373
|
-
declare class Checkbox extends Component<Props$
|
|
6493
|
+
declare class Checkbox extends Component<Props$16, SpreadsheetChildEnv> {
|
|
6374
6494
|
static template: string;
|
|
6375
6495
|
static props: {
|
|
6376
6496
|
label: {
|
|
@@ -6405,10 +6525,10 @@ declare class Checkbox extends Component<Props$14, SpreadsheetChildEnv> {
|
|
|
6405
6525
|
onChange(ev: InputEvent): void;
|
|
6406
6526
|
}
|
|
6407
6527
|
|
|
6408
|
-
interface Props$
|
|
6528
|
+
interface Props$15 {
|
|
6409
6529
|
class?: string;
|
|
6410
6530
|
}
|
|
6411
|
-
declare class Section extends Component<Props$
|
|
6531
|
+
declare class Section extends Component<Props$15, SpreadsheetChildEnv> {
|
|
6412
6532
|
static template: string;
|
|
6413
6533
|
static props: {
|
|
6414
6534
|
class: {
|
|
@@ -6537,7 +6657,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
6537
6657
|
getIndex(rangeId: number | null): number | null;
|
|
6538
6658
|
}
|
|
6539
6659
|
|
|
6540
|
-
interface Props$
|
|
6660
|
+
interface Props$14 {
|
|
6541
6661
|
ranges: string[];
|
|
6542
6662
|
hasSingleRange?: boolean;
|
|
6543
6663
|
required?: boolean;
|
|
@@ -6560,7 +6680,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
6560
6680
|
* onSelectionChanged is called every time the input value
|
|
6561
6681
|
* changes.
|
|
6562
6682
|
*/
|
|
6563
|
-
declare class SelectionInput extends Component<Props$
|
|
6683
|
+
declare class SelectionInput extends Component<Props$14, SpreadsheetChildEnv> {
|
|
6564
6684
|
static template: string;
|
|
6565
6685
|
static props: {
|
|
6566
6686
|
ranges: ArrayConstructor;
|
|
@@ -6615,13 +6735,13 @@ declare class SelectionInput extends Component<Props$12, SpreadsheetChildEnv> {
|
|
|
6615
6735
|
confirm(): void;
|
|
6616
6736
|
}
|
|
6617
6737
|
|
|
6618
|
-
interface Props$
|
|
6738
|
+
interface Props$13 {
|
|
6619
6739
|
ranges: CustomizedDataSet[];
|
|
6620
6740
|
hasSingleRange?: boolean;
|
|
6621
6741
|
onSelectionChanged: (ranges: string[]) => void;
|
|
6622
6742
|
onSelectionConfirmed: () => void;
|
|
6623
6743
|
}
|
|
6624
|
-
declare class ChartDataSeries extends Component<Props$
|
|
6744
|
+
declare class ChartDataSeries extends Component<Props$13, SpreadsheetChildEnv> {
|
|
6625
6745
|
static template: string;
|
|
6626
6746
|
static components: {
|
|
6627
6747
|
SelectionInput: typeof SelectionInput;
|
|
@@ -6641,12 +6761,12 @@ declare class ChartDataSeries extends Component<Props$11, SpreadsheetChildEnv> {
|
|
|
6641
6761
|
get title(): string;
|
|
6642
6762
|
}
|
|
6643
6763
|
|
|
6644
|
-
interface Props$
|
|
6764
|
+
interface Props$12 {
|
|
6645
6765
|
messages: string[];
|
|
6646
6766
|
msgType: "warning" | "error" | "info";
|
|
6647
6767
|
singleBox?: boolean;
|
|
6648
6768
|
}
|
|
6649
|
-
declare class ValidationMessages extends Component<Props$
|
|
6769
|
+
declare class ValidationMessages extends Component<Props$12, SpreadsheetChildEnv> {
|
|
6650
6770
|
static template: string;
|
|
6651
6771
|
static props: {
|
|
6652
6772
|
messages: ArrayConstructor;
|
|
@@ -6660,10 +6780,10 @@ declare class ValidationMessages extends Component<Props$10, SpreadsheetChildEnv
|
|
|
6660
6780
|
get alertBoxes(): string[][];
|
|
6661
6781
|
}
|
|
6662
6782
|
|
|
6663
|
-
interface Props
|
|
6783
|
+
interface Props$11 {
|
|
6664
6784
|
messages: string[];
|
|
6665
6785
|
}
|
|
6666
|
-
declare class ChartErrorSection extends Component<Props
|
|
6786
|
+
declare class ChartErrorSection extends Component<Props$11, SpreadsheetChildEnv> {
|
|
6667
6787
|
static template: string;
|
|
6668
6788
|
static components: {
|
|
6669
6789
|
Section: typeof Section;
|
|
@@ -6677,7 +6797,7 @@ declare class ChartErrorSection extends Component<Props$$, SpreadsheetChildEnv>
|
|
|
6677
6797
|
};
|
|
6678
6798
|
}
|
|
6679
6799
|
|
|
6680
|
-
interface Props$
|
|
6800
|
+
interface Props$10 {
|
|
6681
6801
|
title?: string;
|
|
6682
6802
|
range: string;
|
|
6683
6803
|
isInvalid: boolean;
|
|
@@ -6690,7 +6810,7 @@ interface Props$_ {
|
|
|
6690
6810
|
onChange: (value: boolean) => void;
|
|
6691
6811
|
}>;
|
|
6692
6812
|
}
|
|
6693
|
-
declare class ChartLabelRange extends Component<Props$
|
|
6813
|
+
declare class ChartLabelRange extends Component<Props$10, SpreadsheetChildEnv> {
|
|
6694
6814
|
static template: string;
|
|
6695
6815
|
static components: {
|
|
6696
6816
|
SelectionInput: typeof SelectionInput;
|
|
@@ -6711,16 +6831,16 @@ declare class ChartLabelRange extends Component<Props$_, SpreadsheetChildEnv> {
|
|
|
6711
6831
|
optional: boolean;
|
|
6712
6832
|
};
|
|
6713
6833
|
};
|
|
6714
|
-
static defaultProps: Partial<Props$
|
|
6834
|
+
static defaultProps: Partial<Props$10>;
|
|
6715
6835
|
}
|
|
6716
6836
|
|
|
6717
|
-
interface Props
|
|
6837
|
+
interface Props$$ {
|
|
6718
6838
|
figureId: UID;
|
|
6719
6839
|
definition: ChartWithAxisDefinition;
|
|
6720
6840
|
canUpdateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
6721
6841
|
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
6722
6842
|
}
|
|
6723
|
-
declare class GenericChartConfigPanel extends Component<Props
|
|
6843
|
+
declare class GenericChartConfigPanel extends Component<Props$$, SpreadsheetChildEnv> {
|
|
6724
6844
|
static template: string;
|
|
6725
6845
|
static components: {
|
|
6726
6846
|
ChartDataSeries: typeof ChartDataSeries;
|
|
@@ -6747,7 +6867,6 @@ declare class GenericChartConfigPanel extends Component<Props$Z, SpreadsheetChil
|
|
|
6747
6867
|
CumulativeData: string;
|
|
6748
6868
|
TreatLabelsAsText: string;
|
|
6749
6869
|
AggregatedChart: string;
|
|
6750
|
-
ShowValues: string;
|
|
6751
6870
|
Errors: {
|
|
6752
6871
|
Unexpected: string;
|
|
6753
6872
|
InvalidDataSet: string;
|
|
@@ -6817,24 +6936,33 @@ declare class SidePanelCollapsible extends Component {
|
|
|
6817
6936
|
}
|
|
6818
6937
|
|
|
6819
6938
|
interface Choice$1 {
|
|
6820
|
-
value:
|
|
6939
|
+
value: unknown;
|
|
6821
6940
|
label: string;
|
|
6822
6941
|
}
|
|
6823
|
-
interface Props$
|
|
6942
|
+
interface Props$_ {
|
|
6824
6943
|
choices: Choice$1[];
|
|
6825
|
-
onChange: (value:
|
|
6944
|
+
onChange: (value: unknown) => void;
|
|
6826
6945
|
selectedValue: string;
|
|
6827
6946
|
name: string;
|
|
6947
|
+
direction: "horizontal" | "vertical";
|
|
6828
6948
|
}
|
|
6829
|
-
declare class RadioSelection extends Component<Props$
|
|
6949
|
+
declare class RadioSelection extends Component<Props$_, SpreadsheetChildEnv> {
|
|
6830
6950
|
static template: string;
|
|
6831
6951
|
static props: {
|
|
6832
6952
|
choices: ArrayConstructor;
|
|
6833
6953
|
onChange: FunctionConstructor;
|
|
6834
|
-
selectedValue:
|
|
6954
|
+
selectedValue: {
|
|
6955
|
+
optional: boolean;
|
|
6956
|
+
};
|
|
6835
6957
|
name: StringConstructor;
|
|
6958
|
+
direction: {
|
|
6959
|
+
type: StringConstructor;
|
|
6960
|
+
optional: boolean;
|
|
6961
|
+
};
|
|
6962
|
+
};
|
|
6963
|
+
static defaultProps: {
|
|
6964
|
+
direction: string;
|
|
6836
6965
|
};
|
|
6837
|
-
onChange(ev: InputEvent): void;
|
|
6838
6966
|
}
|
|
6839
6967
|
|
|
6840
6968
|
declare enum ComponentsImportance {
|
|
@@ -6980,7 +7108,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
6980
7108
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
6981
7109
|
}
|
|
6982
7110
|
|
|
6983
|
-
interface Props$
|
|
7111
|
+
interface Props$Z {
|
|
6984
7112
|
currentColor: string | undefined;
|
|
6985
7113
|
toggleColorPicker: () => void;
|
|
6986
7114
|
showColorPicker: boolean;
|
|
@@ -6991,7 +7119,7 @@ interface Props$X {
|
|
|
6991
7119
|
dropdownMaxHeight?: Pixel;
|
|
6992
7120
|
class?: string;
|
|
6993
7121
|
}
|
|
6994
|
-
declare class ColorPickerWidget extends Component<Props$
|
|
7122
|
+
declare class ColorPickerWidget extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
6995
7123
|
static template: string;
|
|
6996
7124
|
static props: {
|
|
6997
7125
|
currentColor: {
|
|
@@ -7029,12 +7157,12 @@ declare class ColorPickerWidget extends Component<Props$X, SpreadsheetChildEnv>
|
|
|
7029
7157
|
get colorPickerAnchorRect(): Rect;
|
|
7030
7158
|
}
|
|
7031
7159
|
|
|
7032
|
-
interface Props$
|
|
7160
|
+
interface Props$Y {
|
|
7033
7161
|
currentColor?: string;
|
|
7034
7162
|
onColorPicked: (color: string) => void;
|
|
7035
7163
|
title?: string;
|
|
7036
7164
|
}
|
|
7037
|
-
declare class RoundColorPicker extends Component<Props$
|
|
7165
|
+
declare class RoundColorPicker extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
7038
7166
|
static template: string;
|
|
7039
7167
|
static components: {
|
|
7040
7168
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
@@ -7068,12 +7196,12 @@ interface Choice {
|
|
|
7068
7196
|
value: string;
|
|
7069
7197
|
label: string;
|
|
7070
7198
|
}
|
|
7071
|
-
interface Props$
|
|
7199
|
+
interface Props$X {
|
|
7072
7200
|
choices: Choice[];
|
|
7073
7201
|
onChange: (value: string) => void;
|
|
7074
7202
|
selectedValue: string;
|
|
7075
7203
|
}
|
|
7076
|
-
declare class BadgeSelection extends Component<Props$
|
|
7204
|
+
declare class BadgeSelection extends Component<Props$X, SpreadsheetChildEnv> {
|
|
7077
7205
|
static template: string;
|
|
7078
7206
|
static props: {
|
|
7079
7207
|
choices: ArrayConstructor;
|
|
@@ -7082,7 +7210,7 @@ declare class BadgeSelection extends Component<Props$V, SpreadsheetChildEnv> {
|
|
|
7082
7210
|
};
|
|
7083
7211
|
}
|
|
7084
7212
|
|
|
7085
|
-
interface Props$
|
|
7213
|
+
interface Props$W {
|
|
7086
7214
|
title?: string;
|
|
7087
7215
|
updateTitle: (title: string) => void;
|
|
7088
7216
|
name?: string;
|
|
@@ -7092,7 +7220,7 @@ interface Props$U {
|
|
|
7092
7220
|
updateColor?: (Color: any) => void;
|
|
7093
7221
|
style: TitleDesign;
|
|
7094
7222
|
}
|
|
7095
|
-
declare class ChartTitle extends Component<Props$
|
|
7223
|
+
declare class ChartTitle extends Component<Props$W, SpreadsheetChildEnv> {
|
|
7096
7224
|
static template: string;
|
|
7097
7225
|
static components: {
|
|
7098
7226
|
Section: typeof Section;
|
|
@@ -7155,13 +7283,13 @@ interface AxisDefinition {
|
|
|
7155
7283
|
id: string;
|
|
7156
7284
|
name: string;
|
|
7157
7285
|
}
|
|
7158
|
-
interface Props$
|
|
7286
|
+
interface Props$V {
|
|
7159
7287
|
figureId: UID;
|
|
7160
7288
|
definition: ChartWithAxisDefinition | WaterfallChartDefinition;
|
|
7161
7289
|
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition | WaterfallChartDefinition>) => DispatchResult;
|
|
7162
7290
|
axesList: AxisDefinition[];
|
|
7163
7291
|
}
|
|
7164
|
-
declare class AxisDesignEditor extends Component<Props$
|
|
7292
|
+
declare class AxisDesignEditor extends Component<Props$V, SpreadsheetChildEnv> {
|
|
7165
7293
|
static template: string;
|
|
7166
7294
|
static components: {
|
|
7167
7295
|
Section: typeof Section;
|
|
@@ -7191,12 +7319,12 @@ declare class AxisDesignEditor extends Component<Props$T, SpreadsheetChildEnv> {
|
|
|
7191
7319
|
updateAxisTitle(text: string): void;
|
|
7192
7320
|
}
|
|
7193
7321
|
|
|
7194
|
-
interface Props$
|
|
7322
|
+
interface Props$U {
|
|
7195
7323
|
figureId: UID;
|
|
7196
7324
|
definition: ChartDefinition;
|
|
7197
7325
|
updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
7198
7326
|
}
|
|
7199
|
-
declare class GeneralDesignEditor extends Component<Props$
|
|
7327
|
+
declare class GeneralDesignEditor extends Component<Props$U, SpreadsheetChildEnv> {
|
|
7200
7328
|
static template: string;
|
|
7201
7329
|
static components: {
|
|
7202
7330
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -7226,13 +7354,13 @@ declare class GeneralDesignEditor extends Component<Props$S, SpreadsheetChildEnv
|
|
|
7226
7354
|
updateChartTitleAlignment(align: "left" | "center" | "right"): void;
|
|
7227
7355
|
}
|
|
7228
7356
|
|
|
7229
|
-
interface Props$
|
|
7357
|
+
interface Props$T {
|
|
7230
7358
|
figureId: UID;
|
|
7231
7359
|
definition: ChartWithAxisDefinition;
|
|
7232
7360
|
canUpdateChart: (figureID: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
7233
7361
|
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
7234
7362
|
}
|
|
7235
|
-
declare class ChartWithAxisDesignPanel extends Component<Props$
|
|
7363
|
+
declare class ChartWithAxisDesignPanel extends Component<Props$T, SpreadsheetChildEnv> {
|
|
7236
7364
|
static template: string;
|
|
7237
7365
|
static components: {
|
|
7238
7366
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -7265,7 +7393,6 @@ declare class ChartWithAxisDesignPanel extends Component<Props$R, SpreadsheetChi
|
|
|
7265
7393
|
get canHaveTwoVerticalAxis(): boolean;
|
|
7266
7394
|
updateDataSeriesLabel(ev: any): void;
|
|
7267
7395
|
getDataSerieLabel(): string;
|
|
7268
|
-
get showValuesLabel(): string;
|
|
7269
7396
|
updateShowValues(showValues: boolean): void;
|
|
7270
7397
|
toggleDataTrend(display: boolean): void;
|
|
7271
7398
|
getTrendLineConfiguration(): TrendConfiguration | undefined;
|
|
@@ -7277,13 +7404,13 @@ declare class ChartWithAxisDesignPanel extends Component<Props$R, SpreadsheetChi
|
|
|
7277
7404
|
updateTrendLineValue(config: any): void;
|
|
7278
7405
|
}
|
|
7279
7406
|
|
|
7280
|
-
interface Props$
|
|
7407
|
+
interface Props$S {
|
|
7281
7408
|
figureId: UID;
|
|
7282
7409
|
definition: GaugeChartDefinition;
|
|
7283
7410
|
canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
7284
7411
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
7285
7412
|
}
|
|
7286
|
-
declare class GaugeChartConfigPanel extends Component<Props$
|
|
7413
|
+
declare class GaugeChartConfigPanel extends Component<Props$S, SpreadsheetChildEnv> {
|
|
7287
7414
|
static template: string;
|
|
7288
7415
|
static components: {
|
|
7289
7416
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -7308,13 +7435,13 @@ interface PanelState {
|
|
|
7308
7435
|
sectionRuleDispatchResult?: DispatchResult;
|
|
7309
7436
|
sectionRule: SectionRule;
|
|
7310
7437
|
}
|
|
7311
|
-
interface Props$
|
|
7438
|
+
interface Props$R {
|
|
7312
7439
|
figureId: UID;
|
|
7313
7440
|
definition: GaugeChartDefinition;
|
|
7314
7441
|
canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
7315
7442
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
7316
7443
|
}
|
|
7317
|
-
declare class GaugeChartDesignPanel extends Component<Props$
|
|
7444
|
+
declare class GaugeChartDesignPanel extends Component<Props$R, SpreadsheetChildEnv> {
|
|
7318
7445
|
static template: string;
|
|
7319
7446
|
static components: {
|
|
7320
7447
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -7360,13 +7487,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
7360
7487
|
onUpdateCumulative(cumulative: boolean): void;
|
|
7361
7488
|
}
|
|
7362
7489
|
|
|
7363
|
-
interface Props$
|
|
7490
|
+
interface Props$Q {
|
|
7364
7491
|
figureId: UID;
|
|
7365
7492
|
definition: ScorecardChartDefinition;
|
|
7366
7493
|
canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
7367
7494
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
7368
7495
|
}
|
|
7369
|
-
declare class ScorecardChartConfigPanel extends Component<Props$
|
|
7496
|
+
declare class ScorecardChartConfigPanel extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
7370
7497
|
static template: string;
|
|
7371
7498
|
static components: {
|
|
7372
7499
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7395,13 +7522,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$O, SpreadsheetCh
|
|
|
7395
7522
|
}
|
|
7396
7523
|
|
|
7397
7524
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
7398
|
-
interface Props$
|
|
7525
|
+
interface Props$P {
|
|
7399
7526
|
figureId: UID;
|
|
7400
7527
|
definition: ScorecardChartDefinition;
|
|
7401
7528
|
canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
7402
7529
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
7403
7530
|
}
|
|
7404
|
-
declare class ScorecardChartDesignPanel extends Component<Props$
|
|
7531
|
+
declare class ScorecardChartDesignPanel extends Component<Props$P, SpreadsheetChildEnv> {
|
|
7405
7532
|
static template: string;
|
|
7406
7533
|
static components: {
|
|
7407
7534
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -7449,7 +7576,7 @@ interface FigureContent {
|
|
|
7449
7576
|
|
|
7450
7577
|
interface SidePanelProps {
|
|
7451
7578
|
onCloseSidePanel?: () => void;
|
|
7452
|
-
[key: string]:
|
|
7579
|
+
[key: string]: any;
|
|
7453
7580
|
}
|
|
7454
7581
|
interface OpenSidePanel {
|
|
7455
7582
|
isOpen: true;
|
|
@@ -7559,13 +7686,13 @@ interface EnrichedToken extends Token {
|
|
|
7559
7686
|
functionContext?: FunctionContext;
|
|
7560
7687
|
}
|
|
7561
7688
|
|
|
7562
|
-
interface Props$
|
|
7689
|
+
interface Props$O {
|
|
7563
7690
|
proposals: AutoCompleteProposal[];
|
|
7564
7691
|
selectedIndex: number | undefined;
|
|
7565
7692
|
onValueSelected: (value: string) => void;
|
|
7566
7693
|
onValueHovered: (index: string) => void;
|
|
7567
7694
|
}
|
|
7568
|
-
declare class TextValueProvider extends Component<Props$
|
|
7695
|
+
declare class TextValueProvider extends Component<Props$O> {
|
|
7569
7696
|
static template: string;
|
|
7570
7697
|
static props: {
|
|
7571
7698
|
proposals: ArrayConstructor;
|
|
@@ -7651,26 +7778,19 @@ declare class ContentEditableHelper {
|
|
|
7651
7778
|
getText(): string;
|
|
7652
7779
|
}
|
|
7653
7780
|
|
|
7654
|
-
interface Props$
|
|
7781
|
+
interface Props$N {
|
|
7655
7782
|
functionName: string;
|
|
7656
7783
|
functionDescription: FunctionDescription;
|
|
7657
7784
|
argToFocus: number;
|
|
7658
7785
|
}
|
|
7659
|
-
|
|
7660
|
-
allowCellSelectionBehind: boolean;
|
|
7661
|
-
}
|
|
7662
|
-
declare class FunctionDescriptionProvider extends Component<Props$L, SpreadsheetChildEnv> {
|
|
7786
|
+
declare class FunctionDescriptionProvider extends Component<Props$N, SpreadsheetChildEnv> {
|
|
7663
7787
|
static template: string;
|
|
7664
7788
|
static props: {
|
|
7665
7789
|
functionName: StringConstructor;
|
|
7666
7790
|
functionDescription: ObjectConstructor;
|
|
7667
7791
|
argToFocus: NumberConstructor;
|
|
7668
7792
|
};
|
|
7669
|
-
|
|
7670
|
-
private timeOutId;
|
|
7671
|
-
setup(): void;
|
|
7672
|
-
getContext(): Props$L;
|
|
7673
|
-
onMouseMove(): void;
|
|
7793
|
+
getContext(): Props$N;
|
|
7674
7794
|
get formulaArgSeparator(): string;
|
|
7675
7795
|
}
|
|
7676
7796
|
|
|
@@ -7740,6 +7860,7 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
|
|
|
7740
7860
|
*/
|
|
7741
7861
|
protected resetContent(): void;
|
|
7742
7862
|
protected setContent(text: string, selection?: ComposerSelection, raise?: boolean): void;
|
|
7863
|
+
protected getAutoCompleteProviders(): AutoCompleteProviderDefinition[];
|
|
7743
7864
|
private insertSelectedRange;
|
|
7744
7865
|
/**
|
|
7745
7866
|
* Replace the current reference selected by the new one.
|
|
@@ -7890,6 +8011,9 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
|
|
|
7890
8011
|
composerState: ComposerState;
|
|
7891
8012
|
autoCompleteState: Store<AutoCompleteStore>;
|
|
7892
8013
|
functionDescriptionState: FunctionDescriptionState;
|
|
8014
|
+
assistant: {
|
|
8015
|
+
forcedClosed: boolean;
|
|
8016
|
+
};
|
|
7893
8017
|
private compositionActive;
|
|
7894
8018
|
private spreadsheetRect;
|
|
7895
8019
|
get assistantStyle(): string;
|
|
@@ -7930,6 +8054,8 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
|
|
|
7930
8054
|
onClick(): void;
|
|
7931
8055
|
onDblClick(): void;
|
|
7932
8056
|
onContextMenu(ev: MouseEvent): void;
|
|
8057
|
+
closeAssistant(): void;
|
|
8058
|
+
openAssistant(): void;
|
|
7933
8059
|
private processContent;
|
|
7934
8060
|
/**
|
|
7935
8061
|
* Get the HTML content corresponding to the current composer token, divided by lines.
|
|
@@ -8027,10 +8153,10 @@ declare class ComposerFocusStore extends SpreadsheetStore {
|
|
|
8027
8153
|
private setComposerContent;
|
|
8028
8154
|
}
|
|
8029
8155
|
|
|
8030
|
-
interface Props$
|
|
8156
|
+
interface Props$M {
|
|
8031
8157
|
figure: Figure;
|
|
8032
8158
|
}
|
|
8033
|
-
declare class ChartJsComponent extends Component<Props$
|
|
8159
|
+
declare class ChartJsComponent extends Component<Props$M, SpreadsheetChildEnv> {
|
|
8034
8160
|
static template: string;
|
|
8035
8161
|
static props: {
|
|
8036
8162
|
figure: ObjectConstructor;
|
|
@@ -8046,10 +8172,10 @@ declare class ChartJsComponent extends Component<Props$K, SpreadsheetChildEnv> {
|
|
|
8046
8172
|
private updateChartJs;
|
|
8047
8173
|
}
|
|
8048
8174
|
|
|
8049
|
-
interface Props$
|
|
8175
|
+
interface Props$L {
|
|
8050
8176
|
figure: Figure;
|
|
8051
8177
|
}
|
|
8052
|
-
declare class ScorecardChart extends Component<Props$
|
|
8178
|
+
declare class ScorecardChart extends Component<Props$L, SpreadsheetChildEnv> {
|
|
8053
8179
|
static template: string;
|
|
8054
8180
|
static props: {
|
|
8055
8181
|
figure: ObjectConstructor;
|
|
@@ -8062,7 +8188,7 @@ declare class ScorecardChart extends Component<Props$J, SpreadsheetChildEnv> {
|
|
|
8062
8188
|
}
|
|
8063
8189
|
|
|
8064
8190
|
type MenuItemOrSeparator = Action | "separator";
|
|
8065
|
-
interface Props$
|
|
8191
|
+
interface Props$K {
|
|
8066
8192
|
position: DOMCoordinates;
|
|
8067
8193
|
menuItems: Action[];
|
|
8068
8194
|
depth: number;
|
|
@@ -8081,7 +8207,7 @@ interface MenuState {
|
|
|
8081
8207
|
menuItems: Action[];
|
|
8082
8208
|
isHoveringChild?: boolean;
|
|
8083
8209
|
}
|
|
8084
|
-
declare class Menu extends Component<Props$
|
|
8210
|
+
declare class Menu extends Component<Props$K, SpreadsheetChildEnv> {
|
|
8085
8211
|
static template: string;
|
|
8086
8212
|
static props: {
|
|
8087
8213
|
position: ObjectConstructor;
|
|
@@ -8130,7 +8256,8 @@ declare class Menu extends Component<Props$I, SpreadsheetChildEnv> {
|
|
|
8130
8256
|
get popoverProps(): PopoverProps;
|
|
8131
8257
|
get childrenHaveIcon(): boolean;
|
|
8132
8258
|
getIconName(menu: Action): string;
|
|
8133
|
-
getColor(menu: Action): string
|
|
8259
|
+
getColor(menu: Action): string;
|
|
8260
|
+
getIconColor(menu: Action): string;
|
|
8134
8261
|
activateMenu(menu: Action): Promise<void>;
|
|
8135
8262
|
private close;
|
|
8136
8263
|
private onExternalClick;
|
|
@@ -8156,14 +8283,14 @@ declare class Menu extends Component<Props$I, SpreadsheetChildEnv> {
|
|
|
8156
8283
|
}
|
|
8157
8284
|
|
|
8158
8285
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
8159
|
-
interface Props$
|
|
8286
|
+
interface Props$J {
|
|
8160
8287
|
figure: Figure;
|
|
8161
8288
|
style: string;
|
|
8162
8289
|
onFigureDeleted: () => void;
|
|
8163
8290
|
onMouseDown: (ev: MouseEvent) => void;
|
|
8164
8291
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
8165
8292
|
}
|
|
8166
|
-
declare class FigureComponent extends Component<Props$
|
|
8293
|
+
declare class FigureComponent extends Component<Props$J, SpreadsheetChildEnv> {
|
|
8167
8294
|
static template: string;
|
|
8168
8295
|
static props: {
|
|
8169
8296
|
figure: ObjectConstructor;
|
|
@@ -8212,11 +8339,11 @@ declare class FigureComponent extends Component<Props$H, SpreadsheetChildEnv> {
|
|
|
8212
8339
|
private openContextMenu;
|
|
8213
8340
|
}
|
|
8214
8341
|
|
|
8215
|
-
interface Props$
|
|
8342
|
+
interface Props$I {
|
|
8216
8343
|
figure: Figure;
|
|
8217
8344
|
onFigureDeleted: () => void;
|
|
8218
8345
|
}
|
|
8219
|
-
declare class ChartFigure extends Component<Props$
|
|
8346
|
+
declare class ChartFigure extends Component<Props$I, SpreadsheetChildEnv> {
|
|
8220
8347
|
static template: string;
|
|
8221
8348
|
static props: {
|
|
8222
8349
|
figure: ObjectConstructor;
|
|
@@ -8228,7 +8355,7 @@ declare class ChartFigure extends Component<Props$G, SpreadsheetChildEnv> {
|
|
|
8228
8355
|
get chartComponent(): new (...args: any) => Component;
|
|
8229
8356
|
}
|
|
8230
8357
|
|
|
8231
|
-
interface Props$
|
|
8358
|
+
interface Props$H {
|
|
8232
8359
|
isVisible: boolean;
|
|
8233
8360
|
position: Position;
|
|
8234
8361
|
}
|
|
@@ -8240,7 +8367,7 @@ interface State$8 {
|
|
|
8240
8367
|
position: Position;
|
|
8241
8368
|
handler: boolean;
|
|
8242
8369
|
}
|
|
8243
|
-
declare class Autofill extends Component<Props$
|
|
8370
|
+
declare class Autofill extends Component<Props$H, SpreadsheetChildEnv> {
|
|
8244
8371
|
static template: string;
|
|
8245
8372
|
static props: {
|
|
8246
8373
|
position: ObjectConstructor;
|
|
@@ -8274,7 +8401,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
8274
8401
|
get tagStyle(): string;
|
|
8275
8402
|
}
|
|
8276
8403
|
|
|
8277
|
-
interface Props$
|
|
8404
|
+
interface Props$G {
|
|
8278
8405
|
gridDims: DOMDimension;
|
|
8279
8406
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
8280
8407
|
}
|
|
@@ -8282,7 +8409,7 @@ interface Props$E {
|
|
|
8282
8409
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
8283
8410
|
* It also applies the style of the cell to the composer input.
|
|
8284
8411
|
*/
|
|
8285
|
-
declare class GridComposer extends Component<Props$
|
|
8412
|
+
declare class GridComposer extends Component<Props$G, SpreadsheetChildEnv> {
|
|
8286
8413
|
static template: string;
|
|
8287
8414
|
static props: {
|
|
8288
8415
|
gridDims: ObjectConstructor;
|
|
@@ -8340,10 +8467,10 @@ declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChild
|
|
|
8340
8467
|
isPositionVisible(position: CellPosition): boolean;
|
|
8341
8468
|
}
|
|
8342
8469
|
|
|
8343
|
-
interface Props$
|
|
8470
|
+
interface Props$F {
|
|
8344
8471
|
cellPosition: CellPosition;
|
|
8345
8472
|
}
|
|
8346
|
-
declare class DataValidationCheckbox extends Component<Props$
|
|
8473
|
+
declare class DataValidationCheckbox extends Component<Props$F, SpreadsheetChildEnv> {
|
|
8347
8474
|
static template: string;
|
|
8348
8475
|
static props: {
|
|
8349
8476
|
cellPosition: ObjectConstructor;
|
|
@@ -8353,10 +8480,10 @@ declare class DataValidationCheckbox extends Component<Props$D, SpreadsheetChild
|
|
|
8353
8480
|
get isDisabled(): boolean;
|
|
8354
8481
|
}
|
|
8355
8482
|
|
|
8356
|
-
interface Props$
|
|
8483
|
+
interface Props$E {
|
|
8357
8484
|
cellPosition: CellPosition;
|
|
8358
8485
|
}
|
|
8359
|
-
declare class DataValidationListIcon extends Component<Props$
|
|
8486
|
+
declare class DataValidationListIcon extends Component<Props$E, SpreadsheetChildEnv> {
|
|
8360
8487
|
static template: string;
|
|
8361
8488
|
static props: {
|
|
8362
8489
|
cellPosition: ObjectConstructor;
|
|
@@ -8386,7 +8513,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
8386
8513
|
}
|
|
8387
8514
|
|
|
8388
8515
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
8389
|
-
interface Props$
|
|
8516
|
+
interface Props$D {
|
|
8390
8517
|
onFigureDeleted: () => void;
|
|
8391
8518
|
}
|
|
8392
8519
|
interface Container {
|
|
@@ -8465,7 +8592,7 @@ interface DndState {
|
|
|
8465
8592
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
8466
8593
|
*
|
|
8467
8594
|
*/
|
|
8468
|
-
declare class FiguresContainer extends Component<Props$
|
|
8595
|
+
declare class FiguresContainer extends Component<Props$D, SpreadsheetChildEnv> {
|
|
8469
8596
|
static template: string;
|
|
8470
8597
|
static props: {
|
|
8471
8598
|
onFigureDeleted: FunctionConstructor;
|
|
@@ -8520,10 +8647,10 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
8520
8647
|
private computePopoverAnchorRect;
|
|
8521
8648
|
}
|
|
8522
8649
|
|
|
8523
|
-
interface Props$
|
|
8650
|
+
interface Props$C {
|
|
8524
8651
|
cellPosition: CellPosition;
|
|
8525
8652
|
}
|
|
8526
|
-
declare class FilterIcon extends Component<Props$
|
|
8653
|
+
declare class FilterIcon extends Component<Props$C, SpreadsheetChildEnv> {
|
|
8527
8654
|
static template: string;
|
|
8528
8655
|
static props: {
|
|
8529
8656
|
cellPosition: ObjectConstructor;
|
|
@@ -8545,10 +8672,10 @@ declare class FilterIconsOverlay extends Component<{}, SpreadsheetChildEnv> {
|
|
|
8545
8672
|
getFilterHeadersPositions(): CellPosition[];
|
|
8546
8673
|
}
|
|
8547
8674
|
|
|
8548
|
-
interface Props$
|
|
8675
|
+
interface Props$B {
|
|
8549
8676
|
focusGrid: () => void;
|
|
8550
8677
|
}
|
|
8551
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
8678
|
+
declare class GridAddRowsFooter extends Component<Props$B, SpreadsheetChildEnv> {
|
|
8552
8679
|
static template: string;
|
|
8553
8680
|
static props: {
|
|
8554
8681
|
focusGrid: FunctionConstructor;
|
|
@@ -8572,7 +8699,7 @@ declare class GridAddRowsFooter extends Component<Props$z, SpreadsheetChildEnv>
|
|
|
8572
8699
|
private onExternalClick;
|
|
8573
8700
|
}
|
|
8574
8701
|
|
|
8575
|
-
interface Props$
|
|
8702
|
+
interface Props$A {
|
|
8576
8703
|
onCellHovered: (position: Partial<Position$1>) => void;
|
|
8577
8704
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
8578
8705
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers) => void;
|
|
@@ -8582,7 +8709,7 @@ interface Props$y {
|
|
|
8582
8709
|
gridOverlayDimensions: string;
|
|
8583
8710
|
onFigureDeleted: () => void;
|
|
8584
8711
|
}
|
|
8585
|
-
declare class GridOverlay extends Component<Props$
|
|
8712
|
+
declare class GridOverlay extends Component<Props$A, SpreadsheetChildEnv> {
|
|
8586
8713
|
static template: string;
|
|
8587
8714
|
static props: {
|
|
8588
8715
|
onCellHovered: {
|
|
@@ -8640,12 +8767,12 @@ declare class GridOverlay extends Component<Props$y, SpreadsheetChildEnv> {
|
|
|
8640
8767
|
private getCartesianCoordinates;
|
|
8641
8768
|
}
|
|
8642
8769
|
|
|
8643
|
-
interface Props$
|
|
8770
|
+
interface Props$z {
|
|
8644
8771
|
gridRect: Rect;
|
|
8645
8772
|
onClosePopover: () => void;
|
|
8646
8773
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
8647
8774
|
}
|
|
8648
|
-
declare class GridPopover extends Component<Props$
|
|
8775
|
+
declare class GridPopover extends Component<Props$z, SpreadsheetChildEnv> {
|
|
8649
8776
|
static template: string;
|
|
8650
8777
|
static props: {
|
|
8651
8778
|
onClosePopover: FunctionConstructor;
|
|
@@ -8788,13 +8915,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
8788
8915
|
}
|
|
8789
8916
|
|
|
8790
8917
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
8791
|
-
interface Props$
|
|
8918
|
+
interface Props$y {
|
|
8792
8919
|
zone: Zone;
|
|
8793
8920
|
orientation: Orientation$1;
|
|
8794
8921
|
isMoving: boolean;
|
|
8795
8922
|
onMoveHighlight: (x: Pixel, y: Pixel) => void;
|
|
8796
8923
|
}
|
|
8797
|
-
declare class Border extends Component<Props$
|
|
8924
|
+
declare class Border extends Component<Props$y, SpreadsheetChildEnv> {
|
|
8798
8925
|
static template: string;
|
|
8799
8926
|
static props: {
|
|
8800
8927
|
zone: ObjectConstructor;
|
|
@@ -8807,14 +8934,14 @@ declare class Border extends Component<Props$w, SpreadsheetChildEnv> {
|
|
|
8807
8934
|
}
|
|
8808
8935
|
|
|
8809
8936
|
type Orientation = "nw" | "ne" | "sw" | "se";
|
|
8810
|
-
interface Props$
|
|
8937
|
+
interface Props$x {
|
|
8811
8938
|
zone: Zone;
|
|
8812
8939
|
color: Color;
|
|
8813
8940
|
orientation: Orientation;
|
|
8814
8941
|
isResizing: boolean;
|
|
8815
8942
|
onResizeHighlight: (isLeft: boolean, isRight: boolean) => void;
|
|
8816
8943
|
}
|
|
8817
|
-
declare class Corner extends Component<Props$
|
|
8944
|
+
declare class Corner extends Component<Props$x, SpreadsheetChildEnv> {
|
|
8818
8945
|
static template: string;
|
|
8819
8946
|
static props: {
|
|
8820
8947
|
zone: ObjectConstructor;
|
|
@@ -8829,14 +8956,14 @@ declare class Corner extends Component<Props$v, SpreadsheetChildEnv> {
|
|
|
8829
8956
|
onMouseDown(ev: MouseEvent): void;
|
|
8830
8957
|
}
|
|
8831
8958
|
|
|
8832
|
-
interface Props$
|
|
8959
|
+
interface Props$w {
|
|
8833
8960
|
zone: Zone;
|
|
8834
8961
|
color: Color;
|
|
8835
8962
|
}
|
|
8836
8963
|
interface HighlightState {
|
|
8837
8964
|
shiftingMode: "isMoving" | "isResizing" | "none";
|
|
8838
8965
|
}
|
|
8839
|
-
declare class Highlight extends Component<Props$
|
|
8966
|
+
declare class Highlight extends Component<Props$w, SpreadsheetChildEnv> {
|
|
8840
8967
|
static template: string;
|
|
8841
8968
|
static props: {
|
|
8842
8969
|
zone: ObjectConstructor;
|
|
@@ -8853,7 +8980,7 @@ declare class Highlight extends Component<Props$u, SpreadsheetChildEnv> {
|
|
|
8853
8980
|
|
|
8854
8981
|
type ScrollDirection = "horizontal" | "vertical";
|
|
8855
8982
|
|
|
8856
|
-
interface Props$
|
|
8983
|
+
interface Props$v {
|
|
8857
8984
|
width: Pixel;
|
|
8858
8985
|
height: Pixel;
|
|
8859
8986
|
direction: ScrollDirection;
|
|
@@ -8861,7 +8988,7 @@ interface Props$t {
|
|
|
8861
8988
|
offset: Pixel;
|
|
8862
8989
|
onScroll: (offset: Pixel) => void;
|
|
8863
8990
|
}
|
|
8864
|
-
declare class ScrollBar extends Component<Props$
|
|
8991
|
+
declare class ScrollBar extends Component<Props$v> {
|
|
8865
8992
|
static props: {
|
|
8866
8993
|
width: {
|
|
8867
8994
|
type: NumberConstructor;
|
|
@@ -8889,10 +9016,10 @@ declare class ScrollBar extends Component<Props$t> {
|
|
|
8889
9016
|
onScroll(ev: any): void;
|
|
8890
9017
|
}
|
|
8891
9018
|
|
|
8892
|
-
interface Props$
|
|
9019
|
+
interface Props$u {
|
|
8893
9020
|
leftOffset: number;
|
|
8894
9021
|
}
|
|
8895
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
9022
|
+
declare class HorizontalScrollBar extends Component<Props$u, SpreadsheetChildEnv> {
|
|
8896
9023
|
static props: {
|
|
8897
9024
|
leftOffset: {
|
|
8898
9025
|
type: NumberConstructor;
|
|
@@ -8918,10 +9045,10 @@ declare class HorizontalScrollBar extends Component<Props$s, SpreadsheetChildEnv
|
|
|
8918
9045
|
onScroll(offset: any): void;
|
|
8919
9046
|
}
|
|
8920
9047
|
|
|
8921
|
-
interface Props$
|
|
9048
|
+
interface Props$t {
|
|
8922
9049
|
topOffset: number;
|
|
8923
9050
|
}
|
|
8924
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
9051
|
+
declare class VerticalScrollBar extends Component<Props$t, SpreadsheetChildEnv> {
|
|
8925
9052
|
static props: {
|
|
8926
9053
|
topOffset: {
|
|
8927
9054
|
type: NumberConstructor;
|
|
@@ -8947,13 +9074,13 @@ declare class VerticalScrollBar extends Component<Props$r, SpreadsheetChildEnv>
|
|
|
8947
9074
|
onScroll(offset: any): void;
|
|
8948
9075
|
}
|
|
8949
9076
|
|
|
8950
|
-
interface Props$
|
|
9077
|
+
interface Props$s {
|
|
8951
9078
|
table: Table;
|
|
8952
9079
|
}
|
|
8953
9080
|
interface State$7 {
|
|
8954
9081
|
highlightZone: Zone | undefined;
|
|
8955
9082
|
}
|
|
8956
|
-
declare class TableResizer extends Component<Props$
|
|
9083
|
+
declare class TableResizer extends Component<Props$s, SpreadsheetChildEnv> {
|
|
8957
9084
|
static template: string;
|
|
8958
9085
|
static props: {
|
|
8959
9086
|
table: ObjectConstructor;
|
|
@@ -8985,10 +9112,10 @@ declare class HoveredCellStore extends SpreadsheetStore {
|
|
|
8985
9112
|
* - a vertical resizer (same, for rows)
|
|
8986
9113
|
*/
|
|
8987
9114
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
8988
|
-
interface Props$
|
|
9115
|
+
interface Props$r {
|
|
8989
9116
|
exposeFocus: (focus: () => void) => void;
|
|
8990
9117
|
}
|
|
8991
|
-
declare class Grid extends Component<Props$
|
|
9118
|
+
declare class Grid extends Component<Props$r, SpreadsheetChildEnv> {
|
|
8992
9119
|
static template: string;
|
|
8993
9120
|
static props: {
|
|
8994
9121
|
exposeFocus: FunctionConstructor;
|
|
@@ -9097,7 +9224,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
9097
9224
|
private getChartDefinitionFromContextCreation;
|
|
9098
9225
|
}
|
|
9099
9226
|
|
|
9100
|
-
interface Props$
|
|
9227
|
+
interface Props$q {
|
|
9101
9228
|
figureId: UID;
|
|
9102
9229
|
chartPanelStore: MainChartPanelStore;
|
|
9103
9230
|
}
|
|
@@ -9105,7 +9232,7 @@ interface ChartTypePickerState {
|
|
|
9105
9232
|
popoverProps: PopoverProps | undefined;
|
|
9106
9233
|
popoverStyle: string;
|
|
9107
9234
|
}
|
|
9108
|
-
declare class ChartTypePicker extends Component<Props$
|
|
9235
|
+
declare class ChartTypePicker extends Component<Props$q, SpreadsheetChildEnv> {
|
|
9109
9236
|
static template: string;
|
|
9110
9237
|
static components: {
|
|
9111
9238
|
Section: typeof Section;
|
|
@@ -9140,11 +9267,11 @@ declare class ChartTypePicker extends Component<Props$o, SpreadsheetChildEnv> {
|
|
|
9140
9267
|
private closePopover;
|
|
9141
9268
|
}
|
|
9142
9269
|
|
|
9143
|
-
interface Props$
|
|
9270
|
+
interface Props$p {
|
|
9144
9271
|
onCloseSidePanel: () => void;
|
|
9145
9272
|
figureId: UID;
|
|
9146
9273
|
}
|
|
9147
|
-
declare class ChartPanel extends Component<Props$
|
|
9274
|
+
declare class ChartPanel extends Component<Props$p, SpreadsheetChildEnv> {
|
|
9148
9275
|
static template: string;
|
|
9149
9276
|
static components: {
|
|
9150
9277
|
Section: typeof Section;
|
|
@@ -9164,13 +9291,13 @@ declare class ChartPanel extends Component<Props$n, SpreadsheetChildEnv> {
|
|
|
9164
9291
|
private getChartDefinition;
|
|
9165
9292
|
}
|
|
9166
9293
|
|
|
9167
|
-
interface Props$
|
|
9294
|
+
interface Props$o {
|
|
9168
9295
|
figureId: UID;
|
|
9169
9296
|
definition: PieChartDefinition;
|
|
9170
9297
|
canUpdateChart: (figureID: UID, definition: Partial<PieChartDefinition>) => DispatchResult;
|
|
9171
9298
|
updateChart: (figureId: UID, definition: Partial<PieChartDefinition>) => DispatchResult;
|
|
9172
9299
|
}
|
|
9173
|
-
declare class PieChartDesignPanel extends Component<Props$
|
|
9300
|
+
declare class PieChartDesignPanel extends Component<Props$o, SpreadsheetChildEnv> {
|
|
9174
9301
|
static template: string;
|
|
9175
9302
|
static components: {
|
|
9176
9303
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -9187,13 +9314,12 @@ declare class PieChartDesignPanel extends Component<Props$m, SpreadsheetChildEnv
|
|
|
9187
9314
|
};
|
|
9188
9315
|
};
|
|
9189
9316
|
updateLegendPosition(ev: any): void;
|
|
9190
|
-
get showValuesLabel(): string;
|
|
9191
9317
|
}
|
|
9192
9318
|
|
|
9193
|
-
interface Props$
|
|
9319
|
+
interface Props$n {
|
|
9194
9320
|
items: ActionSpec[];
|
|
9195
9321
|
}
|
|
9196
|
-
declare class CogWheelMenu extends Component<Props$
|
|
9322
|
+
declare class CogWheelMenu extends Component<Props$n, SpreadsheetChildEnv> {
|
|
9197
9323
|
static template: string;
|
|
9198
9324
|
static components: {
|
|
9199
9325
|
Menu: typeof Menu;
|
|
@@ -9277,12 +9403,12 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
9277
9403
|
|
|
9278
9404
|
/** @odoo-module */
|
|
9279
9405
|
|
|
9280
|
-
interface Props$
|
|
9406
|
+
interface Props$m {
|
|
9281
9407
|
name: string;
|
|
9282
9408
|
displayName: string;
|
|
9283
9409
|
onChanged: (name: string) => void;
|
|
9284
9410
|
}
|
|
9285
|
-
declare class EditableName extends Component<Props$
|
|
9411
|
+
declare class EditableName extends Component<Props$m, SpreadsheetChildEnv> {
|
|
9286
9412
|
static template: string;
|
|
9287
9413
|
static props: {
|
|
9288
9414
|
name: StringConstructor;
|
|
@@ -9295,14 +9421,14 @@ declare class EditableName extends Component<Props$k, SpreadsheetChildEnv> {
|
|
|
9295
9421
|
save(): void;
|
|
9296
9422
|
}
|
|
9297
9423
|
|
|
9298
|
-
interface Props$
|
|
9424
|
+
interface Props$l {
|
|
9299
9425
|
deferUpdate: boolean;
|
|
9300
9426
|
isDirty: boolean;
|
|
9301
9427
|
toggleDeferUpdate: (value: boolean) => void;
|
|
9302
9428
|
discard: () => void;
|
|
9303
9429
|
apply: () => void;
|
|
9304
9430
|
}
|
|
9305
|
-
declare class PivotDeferUpdate extends Component<Props$
|
|
9431
|
+
declare class PivotDeferUpdate extends Component<Props$l, SpreadsheetChildEnv> {
|
|
9306
9432
|
static template: string;
|
|
9307
9433
|
static props: {
|
|
9308
9434
|
deferUpdate: BooleanConstructor;
|
|
@@ -9319,11 +9445,11 @@ declare class PivotDeferUpdate extends Component<Props$j, SpreadsheetChildEnv> {
|
|
|
9319
9445
|
get deferUpdatesTooltip(): string;
|
|
9320
9446
|
}
|
|
9321
9447
|
|
|
9322
|
-
interface Props$
|
|
9448
|
+
interface Props$k {
|
|
9323
9449
|
onFieldPicked: (field: string) => void;
|
|
9324
9450
|
fields: PivotField[];
|
|
9325
9451
|
}
|
|
9326
|
-
declare class AddDimensionButton extends Component<Props$
|
|
9452
|
+
declare class AddDimensionButton extends Component<Props$k, SpreadsheetChildEnv> {
|
|
9327
9453
|
static template: string;
|
|
9328
9454
|
static components: {
|
|
9329
9455
|
Popover: typeof Popover;
|
|
@@ -9332,6 +9458,10 @@ declare class AddDimensionButton extends Component<Props$i, SpreadsheetChildEnv>
|
|
|
9332
9458
|
static props: {
|
|
9333
9459
|
onFieldPicked: FunctionConstructor;
|
|
9334
9460
|
fields: ArrayConstructor;
|
|
9461
|
+
slots: {
|
|
9462
|
+
type: ObjectConstructor;
|
|
9463
|
+
optional: boolean;
|
|
9464
|
+
};
|
|
9335
9465
|
};
|
|
9336
9466
|
private buttonRef;
|
|
9337
9467
|
private popover;
|
|
@@ -9355,14 +9485,14 @@ declare class AddDimensionButton extends Component<Props$i, SpreadsheetChildEnv>
|
|
|
9355
9485
|
onKeyDown(ev: KeyboardEvent): void;
|
|
9356
9486
|
}
|
|
9357
9487
|
|
|
9358
|
-
interface Props$
|
|
9488
|
+
interface Props$j {
|
|
9359
9489
|
value: string;
|
|
9360
9490
|
onChange: (value: string) => void;
|
|
9361
9491
|
class?: string;
|
|
9362
9492
|
id?: string;
|
|
9363
9493
|
placeholder?: string;
|
|
9364
9494
|
}
|
|
9365
|
-
declare class TextInput extends Component<Props$
|
|
9495
|
+
declare class TextInput extends Component<Props$j, SpreadsheetChildEnv> {
|
|
9366
9496
|
static template: string;
|
|
9367
9497
|
static props: {
|
|
9368
9498
|
value: StringConstructor;
|
|
@@ -9382,16 +9512,18 @@ declare class TextInput extends Component<Props$h, SpreadsheetChildEnv> {
|
|
|
9382
9512
|
};
|
|
9383
9513
|
private inputRef;
|
|
9384
9514
|
setup(): void;
|
|
9385
|
-
|
|
9515
|
+
onKeyDown(ev: KeyboardEvent): void;
|
|
9386
9516
|
save(): void;
|
|
9517
|
+
focusInputAndSelectContent(): void;
|
|
9387
9518
|
}
|
|
9388
9519
|
|
|
9389
|
-
interface Props$
|
|
9390
|
-
dimension:
|
|
9391
|
-
onRemoved: (dimension:
|
|
9392
|
-
onNameUpdated?: (dimension:
|
|
9520
|
+
interface Props$i {
|
|
9521
|
+
dimension: PivotCoreDimension | PivotCoreMeasure;
|
|
9522
|
+
onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
|
|
9523
|
+
onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
|
|
9524
|
+
type: "row" | "col" | "measure";
|
|
9393
9525
|
}
|
|
9394
|
-
declare class PivotDimension extends Component<Props$
|
|
9526
|
+
declare class PivotDimension extends Component<Props$i, SpreadsheetChildEnv> {
|
|
9395
9527
|
static template: string;
|
|
9396
9528
|
static props: {
|
|
9397
9529
|
dimension: ObjectConstructor;
|
|
@@ -9409,18 +9541,19 @@ declare class PivotDimension extends Component<Props$g, SpreadsheetChildEnv> {
|
|
|
9409
9541
|
};
|
|
9410
9542
|
};
|
|
9411
9543
|
static components: {
|
|
9544
|
+
CogWheelMenu: typeof CogWheelMenu;
|
|
9412
9545
|
TextInput: typeof TextInput;
|
|
9413
9546
|
};
|
|
9414
9547
|
updateName(name: string): void;
|
|
9415
9548
|
}
|
|
9416
9549
|
|
|
9417
|
-
interface Props$
|
|
9550
|
+
interface Props$h {
|
|
9418
9551
|
dimension: PivotDimension$1;
|
|
9419
9552
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
9420
9553
|
availableGranularities: Set<string>;
|
|
9421
9554
|
allGranularities: string[];
|
|
9422
9555
|
}
|
|
9423
|
-
declare class PivotDimensionGranularity extends Component<Props$
|
|
9556
|
+
declare class PivotDimensionGranularity extends Component<Props$h, SpreadsheetChildEnv> {
|
|
9424
9557
|
static template: string;
|
|
9425
9558
|
static props: {
|
|
9426
9559
|
dimension: ObjectConstructor;
|
|
@@ -9438,14 +9571,18 @@ declare class PivotDimensionGranularity extends Component<Props$f, SpreadsheetCh
|
|
|
9438
9571
|
month_number: string;
|
|
9439
9572
|
iso_week_number: string;
|
|
9440
9573
|
day_of_month: string;
|
|
9574
|
+
day_of_week: string;
|
|
9575
|
+
hour_number: string;
|
|
9576
|
+
minute_number: string;
|
|
9577
|
+
second_number: string;
|
|
9441
9578
|
};
|
|
9442
9579
|
}
|
|
9443
9580
|
|
|
9444
|
-
interface Props$
|
|
9581
|
+
interface Props$g {
|
|
9445
9582
|
dimension: PivotDimension$1;
|
|
9446
9583
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
9447
9584
|
}
|
|
9448
|
-
declare class PivotDimensionOrder extends Component<Props$
|
|
9585
|
+
declare class PivotDimensionOrder extends Component<Props$g, SpreadsheetChildEnv> {
|
|
9449
9586
|
static template: string;
|
|
9450
9587
|
static props: {
|
|
9451
9588
|
dimension: ObjectConstructor;
|
|
@@ -9465,7 +9602,7 @@ declare function getMaxObjectId(o: object): number;
|
|
|
9465
9602
|
* e.g "create_date:month" => { name: "create_date", granularity: "month" }
|
|
9466
9603
|
*/
|
|
9467
9604
|
declare function parseDimension(dimension: string): PivotCoreDimension;
|
|
9468
|
-
declare function
|
|
9605
|
+
declare function isDateOrDatetimeField(field: PivotField): boolean;
|
|
9469
9606
|
/**
|
|
9470
9607
|
* Check if the fields in the domain part of
|
|
9471
9608
|
* a pivot function are valid according to the pivot definition.
|
|
@@ -9480,13 +9617,101 @@ declare function createPivotFormula(formulaId: string, cell: PivotTableCell): st
|
|
|
9480
9617
|
*/
|
|
9481
9618
|
declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type" | "displayName" | "granularity">, groupValue: any): CellValue;
|
|
9482
9619
|
|
|
9620
|
+
interface Props$f {
|
|
9621
|
+
onConfirm: (content: string) => void;
|
|
9622
|
+
composerContent: string;
|
|
9623
|
+
defaultRangeSheetId: UID;
|
|
9624
|
+
contextualAutocomplete?: AutoCompleteProviderDefinition;
|
|
9625
|
+
placeholder?: string;
|
|
9626
|
+
class?: string;
|
|
9627
|
+
invalid?: boolean;
|
|
9628
|
+
}
|
|
9629
|
+
declare class StandaloneComposer extends Component<Props$f, SpreadsheetChildEnv> {
|
|
9630
|
+
static template: string;
|
|
9631
|
+
static props: {
|
|
9632
|
+
composerContent: {
|
|
9633
|
+
type: StringConstructor;
|
|
9634
|
+
optional: boolean;
|
|
9635
|
+
};
|
|
9636
|
+
defaultRangeSheetId: {
|
|
9637
|
+
type: StringConstructor;
|
|
9638
|
+
optional: boolean;
|
|
9639
|
+
};
|
|
9640
|
+
onConfirm: FunctionConstructor;
|
|
9641
|
+
contextualAutocomplete: {
|
|
9642
|
+
type: ObjectConstructor;
|
|
9643
|
+
optional: boolean;
|
|
9644
|
+
};
|
|
9645
|
+
placeholder: {
|
|
9646
|
+
type: StringConstructor;
|
|
9647
|
+
optional: boolean;
|
|
9648
|
+
};
|
|
9649
|
+
class: {
|
|
9650
|
+
type: StringConstructor;
|
|
9651
|
+
optional: boolean;
|
|
9652
|
+
};
|
|
9653
|
+
invalid: {
|
|
9654
|
+
type: BooleanConstructor;
|
|
9655
|
+
optional: boolean;
|
|
9656
|
+
};
|
|
9657
|
+
};
|
|
9658
|
+
static components: {
|
|
9659
|
+
Composer: typeof Composer;
|
|
9660
|
+
};
|
|
9661
|
+
static defaultProps: {
|
|
9662
|
+
composerContent: string;
|
|
9663
|
+
};
|
|
9664
|
+
private composerFocusStore;
|
|
9665
|
+
private standaloneComposerStore;
|
|
9666
|
+
private composerInterface;
|
|
9667
|
+
readonly spreadsheetRect: Rect;
|
|
9668
|
+
setup(): void;
|
|
9669
|
+
get focus(): ComposerFocusType;
|
|
9670
|
+
get composerStyle(): string;
|
|
9671
|
+
get containerClass(): string;
|
|
9672
|
+
onFocus(selection: ComposerSelection): void;
|
|
9673
|
+
}
|
|
9674
|
+
|
|
9675
|
+
interface Props$e {
|
|
9676
|
+
pivotId: string;
|
|
9677
|
+
definition: PivotRuntimeDefinition;
|
|
9678
|
+
measure: PivotMeasure;
|
|
9679
|
+
onMeasureUpdated: (measure: PivotMeasure) => void;
|
|
9680
|
+
onRemoved: () => void;
|
|
9681
|
+
generateMeasureId: (fieldName: string, aggregator?: string) => string;
|
|
9682
|
+
}
|
|
9683
|
+
declare class PivotMeasureEditor extends Component<Props$e> {
|
|
9684
|
+
static template: string;
|
|
9685
|
+
static components: {
|
|
9686
|
+
PivotDimension: typeof PivotDimension;
|
|
9687
|
+
StandaloneComposer: typeof StandaloneComposer;
|
|
9688
|
+
};
|
|
9689
|
+
static props: {
|
|
9690
|
+
definition: ObjectConstructor;
|
|
9691
|
+
measure: ObjectConstructor;
|
|
9692
|
+
onMeasureUpdated: FunctionConstructor;
|
|
9693
|
+
onRemoved: FunctionConstructor;
|
|
9694
|
+
generateMeasureId: FunctionConstructor;
|
|
9695
|
+
aggregators: ObjectConstructor;
|
|
9696
|
+
pivotId: StringConstructor;
|
|
9697
|
+
};
|
|
9698
|
+
getMeasureAutocomplete(): AutoCompleteProviderDefinition;
|
|
9699
|
+
updateMeasureFormula(formula: string): void;
|
|
9700
|
+
updateAggregator(aggregator: string): void;
|
|
9701
|
+
updateName(measure: PivotMeasure, userDefinedName?: string): void;
|
|
9702
|
+
toggleMeasureVisibility(): void;
|
|
9703
|
+
openShowValuesAs(): void;
|
|
9704
|
+
}
|
|
9705
|
+
|
|
9483
9706
|
interface Props$d {
|
|
9484
9707
|
definition: PivotRuntimeDefinition;
|
|
9485
9708
|
onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
9486
9709
|
unusedGroupableFields: PivotField[];
|
|
9487
9710
|
measureFields: PivotField[];
|
|
9488
|
-
|
|
9489
|
-
|
|
9711
|
+
unusedGranularities: Record<string, Set<string>>;
|
|
9712
|
+
dateGranularities: string[];
|
|
9713
|
+
datetimeGranularities: string[];
|
|
9714
|
+
pivotId: UID;
|
|
9490
9715
|
}
|
|
9491
9716
|
declare class PivotLayoutConfigurator extends Component<Props$d, SpreadsheetChildEnv> {
|
|
9492
9717
|
static template: string;
|
|
@@ -9495,20 +9720,26 @@ declare class PivotLayoutConfigurator extends Component<Props$d, SpreadsheetChil
|
|
|
9495
9720
|
PivotDimension: typeof PivotDimension;
|
|
9496
9721
|
PivotDimensionOrder: typeof PivotDimensionOrder;
|
|
9497
9722
|
PivotDimensionGranularity: typeof PivotDimensionGranularity;
|
|
9723
|
+
PivotMeasureEditor: typeof PivotMeasureEditor;
|
|
9498
9724
|
};
|
|
9499
9725
|
static props: {
|
|
9500
9726
|
definition: ObjectConstructor;
|
|
9501
9727
|
onDimensionsUpdated: FunctionConstructor;
|
|
9502
9728
|
unusedGroupableFields: ArrayConstructor;
|
|
9503
9729
|
measureFields: ArrayConstructor;
|
|
9504
|
-
|
|
9505
|
-
|
|
9730
|
+
unusedGranularities: ObjectConstructor;
|
|
9731
|
+
dateGranularities: ArrayConstructor;
|
|
9732
|
+
datetimeGranularities: ArrayConstructor;
|
|
9733
|
+
pivotId: StringConstructor;
|
|
9506
9734
|
};
|
|
9507
9735
|
private dimensionsRef;
|
|
9508
9736
|
private dragAndDrop;
|
|
9509
9737
|
AGGREGATORS: {};
|
|
9510
|
-
|
|
9738
|
+
private composerFocus;
|
|
9739
|
+
isDateOrDatetimeField: typeof isDateOrDatetimeField;
|
|
9740
|
+
setup(): void;
|
|
9511
9741
|
startDragAndDrop(dimension: PivotDimension$1, event: MouseEvent): void;
|
|
9742
|
+
getGranularitiesFor(field: PivotField): string[];
|
|
9512
9743
|
startDragAndDropMeasures(measure: PivotMeasure, event: MouseEvent): void;
|
|
9513
9744
|
getDimensionElementsRects(): {
|
|
9514
9745
|
x: number;
|
|
@@ -9518,15 +9749,16 @@ declare class PivotLayoutConfigurator extends Component<Props$d, SpreadsheetChil
|
|
|
9518
9749
|
}[];
|
|
9519
9750
|
removeDimension(dimension: PivotDimension$1): void;
|
|
9520
9751
|
removeMeasureDimension(measure: PivotMeasure): void;
|
|
9521
|
-
onMeasureNameUpdated(updatedMeasure: PivotMeasure, userDefinedName?: string): void;
|
|
9522
9752
|
addColumnDimension(fieldName: string): void;
|
|
9523
9753
|
addRowDimension(fieldName: string): void;
|
|
9524
9754
|
addMeasureDimension(fieldName: string): void;
|
|
9755
|
+
updateMeasure(measure: PivotMeasure, newMeasure: PivotMeasure): void;
|
|
9525
9756
|
private getMeasureId;
|
|
9526
9757
|
private getDefaultMeasureAggregator;
|
|
9527
|
-
|
|
9758
|
+
addCalculatedMeasure(): void;
|
|
9528
9759
|
updateOrder(updateDimension: PivotDimension$1, order?: "asc" | "desc"): void;
|
|
9529
9760
|
updateGranularity(dimension: PivotDimension$1, granularity: Granularity): void;
|
|
9761
|
+
getMeasureDescription(measure: PivotMeasure): string;
|
|
9530
9762
|
}
|
|
9531
9763
|
|
|
9532
9764
|
declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
@@ -9534,6 +9766,8 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
9534
9766
|
mutators: readonly ["reset", "deferUpdates", "applyUpdate", "discardPendingUpdate", "update"];
|
|
9535
9767
|
private updatesAreDeferred;
|
|
9536
9768
|
private draft;
|
|
9769
|
+
private notification;
|
|
9770
|
+
private alreadyNotified;
|
|
9537
9771
|
constructor(get: Get, pivotId: UID);
|
|
9538
9772
|
handle(cmd: Command): void;
|
|
9539
9773
|
get fields(): PivotFields;
|
|
@@ -9542,15 +9776,17 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
9542
9776
|
get isDirty(): boolean;
|
|
9543
9777
|
get measureFields(): PivotField[];
|
|
9544
9778
|
get unusedGroupableFields(): PivotField[];
|
|
9545
|
-
get
|
|
9546
|
-
get
|
|
9779
|
+
get datetimeGranularities(): string[];
|
|
9780
|
+
get dateGranularities(): string[];
|
|
9781
|
+
get unusedGranularities(): Record<string, Set<string>>;
|
|
9547
9782
|
reset(pivotId: UID): void;
|
|
9548
9783
|
deferUpdates(shouldDefer: boolean): void;
|
|
9549
9784
|
applyUpdate(): void;
|
|
9550
9785
|
discardPendingUpdate(): void;
|
|
9551
9786
|
update(definitionUpdate: Partial<PivotCoreDefinition>): void;
|
|
9787
|
+
private isDynamicPivotInViewport;
|
|
9552
9788
|
private addDefaultDateTimeGranularity;
|
|
9553
|
-
private
|
|
9789
|
+
private getUnusedGranularities;
|
|
9554
9790
|
}
|
|
9555
9791
|
|
|
9556
9792
|
interface Props$c {
|
|
@@ -9907,6 +10143,7 @@ declare function getTrendDatasetForBarChart(config: TrendConfiguration, dataset:
|
|
|
9907
10143
|
animations?: chart_js_dist_types_utils._DeepPartialObject<chart_js.AnimationsSpec<"radar">> | undefined;
|
|
9908
10144
|
transitions?: chart_js_dist_types_utils._DeepPartialObject<chart_js.TransitionsSpec<"radar">> | undefined;
|
|
9909
10145
|
} | undefined;
|
|
10146
|
+
declare function formatTickValue(localeFormat: LocaleFormat): (value: any) => any;
|
|
9910
10147
|
|
|
9911
10148
|
/**
|
|
9912
10149
|
* Get a default chart js configuration
|
|
@@ -9995,6 +10232,38 @@ declare function getFirstPivotFunction(tokens: Token[]): {
|
|
|
9995
10232
|
*/
|
|
9996
10233
|
declare function getNumberOfPivotFunctions(tokens: Token[]): number;
|
|
9997
10234
|
|
|
10235
|
+
declare class PivotMeasureDisplayPanelStore extends SpreadsheetStore {
|
|
10236
|
+
private pivotId;
|
|
10237
|
+
private initialMeasure;
|
|
10238
|
+
mutators: readonly ["cancelMeasureDisplayEdition", "updateMeasureDisplayType", "updateMeasureDisplayField", "updateMeasureDisplayValue"];
|
|
10239
|
+
measureDisplay: PivotMeasureDisplay;
|
|
10240
|
+
constructor(get: Get, pivotId: UID, initialMeasure: PivotCoreMeasure);
|
|
10241
|
+
updateMeasureDisplayType(measureDisplayType: PivotMeasureDisplayType): void;
|
|
10242
|
+
updateMeasureDisplayField(fieldNameWithGranularity: string): void;
|
|
10243
|
+
updateMeasureDisplayValue(value: string): void;
|
|
10244
|
+
private updatePivotMeasureDisplay;
|
|
10245
|
+
private getMeasureDisplay;
|
|
10246
|
+
private getMeasureIndex;
|
|
10247
|
+
get doesDisplayNeedsField(): boolean;
|
|
10248
|
+
get fields(): {
|
|
10249
|
+
displayName: string;
|
|
10250
|
+
nameWithGranularity: string;
|
|
10251
|
+
type: string;
|
|
10252
|
+
isValid: boolean;
|
|
10253
|
+
fieldName: string;
|
|
10254
|
+
order?: "desc" | "asc" | undefined;
|
|
10255
|
+
granularity?: string | undefined;
|
|
10256
|
+
}[];
|
|
10257
|
+
get doesDisplayNeedsValue(): boolean;
|
|
10258
|
+
private isDisplayValueDependant;
|
|
10259
|
+
get values(): {
|
|
10260
|
+
value: string | number | boolean;
|
|
10261
|
+
label: string;
|
|
10262
|
+
}[];
|
|
10263
|
+
private getPossibleValues;
|
|
10264
|
+
cancelMeasureDisplayEdition(): void;
|
|
10265
|
+
}
|
|
10266
|
+
|
|
9998
10267
|
declare class ScatterChart extends AbstractChart {
|
|
9999
10268
|
readonly dataSets: DataSet[];
|
|
10000
10269
|
readonly labelRange?: Range | undefined;
|
|
@@ -10191,6 +10460,7 @@ declare class BottomBarSheet extends Component<Props$b, SpreadsheetChildEnv> {
|
|
|
10191
10460
|
};
|
|
10192
10461
|
static components: {
|
|
10193
10462
|
Ripple: typeof Ripple;
|
|
10463
|
+
ColorPicker: typeof ColorPicker;
|
|
10194
10464
|
};
|
|
10195
10465
|
static defaultProps: {
|
|
10196
10466
|
onMouseDown: () => void;
|
|
@@ -10217,9 +10487,12 @@ declare class BottomBarSheet extends Component<Props$b, SpreadsheetChildEnv> {
|
|
|
10217
10487
|
onContextMenu(ev: MouseEvent): void;
|
|
10218
10488
|
private getInputContent;
|
|
10219
10489
|
private setInputContent;
|
|
10490
|
+
onColorPicked(color: string): void;
|
|
10491
|
+
get colorPickerAnchorRect(): Rect;
|
|
10220
10492
|
get contextMenuRegistry(): MenuItemRegistry;
|
|
10221
10493
|
get isSheetActive(): boolean;
|
|
10222
10494
|
get sheetName(): string;
|
|
10495
|
+
get sheetColorStyle(): string;
|
|
10223
10496
|
}
|
|
10224
10497
|
|
|
10225
10498
|
interface Props$a {
|
|
@@ -10438,12 +10711,14 @@ declare const sortDescending: ActionSpec;
|
|
|
10438
10711
|
declare const createRemoveFilter: ActionSpec;
|
|
10439
10712
|
declare const createRemoveFilterTool: ActionSpec;
|
|
10440
10713
|
declare const splitToColumns: ActionSpec;
|
|
10441
|
-
declare const
|
|
10714
|
+
declare const reinsertDynamicPivotMenu: ActionSpec;
|
|
10715
|
+
declare const reinsertStaticPivotMenu: ActionSpec;
|
|
10442
10716
|
|
|
10443
10717
|
declare const ACTION_DATA_createRemoveFilter: typeof createRemoveFilter;
|
|
10444
10718
|
declare const ACTION_DATA_createRemoveFilterTool: typeof createRemoveFilterTool;
|
|
10445
10719
|
declare const ACTION_DATA_dataCleanup: typeof dataCleanup;
|
|
10446
|
-
declare const
|
|
10720
|
+
declare const ACTION_DATA_reinsertDynamicPivotMenu: typeof reinsertDynamicPivotMenu;
|
|
10721
|
+
declare const ACTION_DATA_reinsertStaticPivotMenu: typeof reinsertStaticPivotMenu;
|
|
10447
10722
|
declare const ACTION_DATA_removeDuplicates: typeof removeDuplicates;
|
|
10448
10723
|
declare const ACTION_DATA_sortAscending: typeof sortAscending;
|
|
10449
10724
|
declare const ACTION_DATA_sortDescending: typeof sortDescending;
|
|
@@ -10455,7 +10730,8 @@ declare namespace ACTION_DATA {
|
|
|
10455
10730
|
ACTION_DATA_createRemoveFilter as createRemoveFilter,
|
|
10456
10731
|
ACTION_DATA_createRemoveFilterTool as createRemoveFilterTool,
|
|
10457
10732
|
ACTION_DATA_dataCleanup as dataCleanup,
|
|
10458
|
-
|
|
10733
|
+
ACTION_DATA_reinsertDynamicPivotMenu as reinsertDynamicPivotMenu,
|
|
10734
|
+
ACTION_DATA_reinsertStaticPivotMenu as reinsertStaticPivotMenu,
|
|
10459
10735
|
ACTION_DATA_removeDuplicates as removeDuplicates,
|
|
10460
10736
|
ACTION_DATA_sortAscending as sortAscending,
|
|
10461
10737
|
ACTION_DATA_sortDescending as sortDescending,
|
|
@@ -10982,6 +11258,7 @@ declare const CellErrorType: {
|
|
|
10982
11258
|
readonly DivisionByZero: "#DIV/0!";
|
|
10983
11259
|
readonly SpilledBlocked: "#SPILL!";
|
|
10984
11260
|
readonly GenericError: "#ERROR";
|
|
11261
|
+
readonly NullError: "#NULL!";
|
|
10985
11262
|
};
|
|
10986
11263
|
declare class EvaluationError extends Error {
|
|
10987
11264
|
readonly value: string;
|
|
@@ -11056,7 +11333,7 @@ declare const registries: {
|
|
|
11056
11333
|
clipboardHandlersRegistries: {
|
|
11057
11334
|
figureHandlers: Registry<{
|
|
11058
11335
|
new (getters: Getters, dispatch: {
|
|
11059
|
-
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "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" | "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" | "SPLIT_PIVOT_FORMULA", C extends Extract<UpdateCellCommand, {
|
|
11336
|
+
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "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" | "COLOR_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" | "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" | "SET_FORMATTING_WITH_PIVOT" | "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" | "SPLIT_PIVOT_FORMULA", C extends Extract<UpdateCellCommand, {
|
|
11060
11337
|
type: T;
|
|
11061
11338
|
}> | Extract<UpdateCellPositionCommand, {
|
|
11062
11339
|
type: T;
|
|
@@ -11102,6 +11379,8 @@ declare const registries: {
|
|
|
11102
11379
|
type: T;
|
|
11103
11380
|
}> | Extract<RenameSheetCommand, {
|
|
11104
11381
|
type: T;
|
|
11382
|
+
}> | Extract<ColorSheetCommand, {
|
|
11383
|
+
type: T;
|
|
11105
11384
|
}> | Extract<HideSheetCommand, {
|
|
11106
11385
|
type: T;
|
|
11107
11386
|
}> | Extract<ShowSheetCommand, {
|
|
@@ -11236,6 +11515,8 @@ declare const registries: {
|
|
|
11236
11515
|
type: T;
|
|
11237
11516
|
}> | Extract<SetDecimalCommand, {
|
|
11238
11517
|
type: T;
|
|
11518
|
+
}> | Extract<SetContextualFormatCommand, {
|
|
11519
|
+
type: T;
|
|
11239
11520
|
}> | Extract<ResizeViewportCommand, {
|
|
11240
11521
|
type: T;
|
|
11241
11522
|
}> | Extract<SumSelectionCommand, {
|
|
@@ -11277,7 +11558,7 @@ declare const registries: {
|
|
|
11277
11558
|
}> | Extract<SplitPivotFormulaCommand, {
|
|
11278
11559
|
type: T;
|
|
11279
11560
|
}>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
|
|
11280
|
-
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "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" | "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" | "SPLIT_PIVOT_FORMULA", C_1 extends Extract<UpdateCellCommand, {
|
|
11561
|
+
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "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" | "COLOR_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" | "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" | "SET_FORMATTING_WITH_PIVOT" | "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" | "SPLIT_PIVOT_FORMULA", C_1 extends Extract<UpdateCellCommand, {
|
|
11281
11562
|
type: T_1;
|
|
11282
11563
|
}> | Extract<UpdateCellPositionCommand, {
|
|
11283
11564
|
type: T_1;
|
|
@@ -11323,6 +11604,8 @@ declare const registries: {
|
|
|
11323
11604
|
type: T_1;
|
|
11324
11605
|
}> | Extract<RenameSheetCommand, {
|
|
11325
11606
|
type: T_1;
|
|
11607
|
+
}> | Extract<ColorSheetCommand, {
|
|
11608
|
+
type: T_1;
|
|
11326
11609
|
}> | Extract<HideSheetCommand, {
|
|
11327
11610
|
type: T_1;
|
|
11328
11611
|
}> | Extract<ShowSheetCommand, {
|
|
@@ -11457,6 +11740,8 @@ declare const registries: {
|
|
|
11457
11740
|
type: T_1;
|
|
11458
11741
|
}> | Extract<SetDecimalCommand, {
|
|
11459
11742
|
type: T_1;
|
|
11743
|
+
}> | Extract<SetContextualFormatCommand, {
|
|
11744
|
+
type: T_1;
|
|
11460
11745
|
}> | Extract<ResizeViewportCommand, {
|
|
11461
11746
|
type: T_1;
|
|
11462
11747
|
}> | Extract<SumSelectionCommand, {
|
|
@@ -11502,7 +11787,7 @@ declare const registries: {
|
|
|
11502
11787
|
}>;
|
|
11503
11788
|
cellHandlers: Registry<{
|
|
11504
11789
|
new (getters: Getters, dispatch: {
|
|
11505
|
-
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "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" | "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" | "SPLIT_PIVOT_FORMULA", C extends Extract<UpdateCellCommand, {
|
|
11790
|
+
<T extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "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" | "COLOR_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" | "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" | "SET_FORMATTING_WITH_PIVOT" | "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" | "SPLIT_PIVOT_FORMULA", C extends Extract<UpdateCellCommand, {
|
|
11506
11791
|
type: T;
|
|
11507
11792
|
}> | Extract<UpdateCellPositionCommand, {
|
|
11508
11793
|
type: T;
|
|
@@ -11548,6 +11833,8 @@ declare const registries: {
|
|
|
11548
11833
|
type: T;
|
|
11549
11834
|
}> | Extract<RenameSheetCommand, {
|
|
11550
11835
|
type: T;
|
|
11836
|
+
}> | Extract<ColorSheetCommand, {
|
|
11837
|
+
type: T;
|
|
11551
11838
|
}> | Extract<HideSheetCommand, {
|
|
11552
11839
|
type: T;
|
|
11553
11840
|
}> | Extract<ShowSheetCommand, {
|
|
@@ -11682,6 +11969,8 @@ declare const registries: {
|
|
|
11682
11969
|
type: T;
|
|
11683
11970
|
}> | Extract<SetDecimalCommand, {
|
|
11684
11971
|
type: T;
|
|
11972
|
+
}> | Extract<SetContextualFormatCommand, {
|
|
11973
|
+
type: T;
|
|
11685
11974
|
}> | Extract<ResizeViewportCommand, {
|
|
11686
11975
|
type: T;
|
|
11687
11976
|
}> | Extract<SumSelectionCommand, {
|
|
@@ -11723,7 +12012,7 @@ declare const registries: {
|
|
|
11723
12012
|
}> | Extract<SplitPivotFormulaCommand, {
|
|
11724
12013
|
type: T;
|
|
11725
12014
|
}>>(type: {} extends Omit<C, "type"> ? T : never): DispatchResult;
|
|
11726
|
-
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "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" | "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" | "SPLIT_PIVOT_FORMULA", C_1 extends Extract<UpdateCellCommand, {
|
|
12015
|
+
<T_1 extends "CUT" | "COPY" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "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" | "COLOR_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" | "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" | "SET_FORMATTING_WITH_PIVOT" | "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" | "SPLIT_PIVOT_FORMULA", C_1 extends Extract<UpdateCellCommand, {
|
|
11727
12016
|
type: T_1;
|
|
11728
12017
|
}> | Extract<UpdateCellPositionCommand, {
|
|
11729
12018
|
type: T_1;
|
|
@@ -11769,6 +12058,8 @@ declare const registries: {
|
|
|
11769
12058
|
type: T_1;
|
|
11770
12059
|
}> | Extract<RenameSheetCommand, {
|
|
11771
12060
|
type: T_1;
|
|
12061
|
+
}> | Extract<ColorSheetCommand, {
|
|
12062
|
+
type: T_1;
|
|
11772
12063
|
}> | Extract<HideSheetCommand, {
|
|
11773
12064
|
type: T_1;
|
|
11774
12065
|
}> | Extract<ShowSheetCommand, {
|
|
@@ -11903,6 +12194,8 @@ declare const registries: {
|
|
|
11903
12194
|
type: T_1;
|
|
11904
12195
|
}> | Extract<SetDecimalCommand, {
|
|
11905
12196
|
type: T_1;
|
|
12197
|
+
}> | Extract<SetContextualFormatCommand, {
|
|
12198
|
+
type: T_1;
|
|
11906
12199
|
}> | Extract<ResizeViewportCommand, {
|
|
11907
12200
|
type: T_1;
|
|
11908
12201
|
}> | Extract<SumSelectionCommand, {
|
|
@@ -12007,7 +12300,7 @@ declare const helpers: {
|
|
|
12007
12300
|
getFirstPivotFunction: typeof getFirstPivotFunction;
|
|
12008
12301
|
getNumberOfPivotFunctions: typeof getNumberOfPivotFunctions;
|
|
12009
12302
|
parseDimension: typeof parseDimension;
|
|
12010
|
-
|
|
12303
|
+
isDateOrDatetimeField: typeof isDateOrDatetimeField;
|
|
12011
12304
|
makeFieldProposal: typeof makeFieldProposal;
|
|
12012
12305
|
insertTokenAfterArgSeparator: typeof insertTokenAfterArgSeparator;
|
|
12013
12306
|
insertTokenAfterLeftParenthesis: typeof insertTokenAfterLeftParenthesis;
|
|
@@ -12018,6 +12311,7 @@ declare const helpers: {
|
|
|
12018
12311
|
createPivotFormula: typeof createPivotFormula;
|
|
12019
12312
|
areDomainArgsFieldsValid: typeof areDomainArgsFieldsValid;
|
|
12020
12313
|
splitReference: typeof splitReference;
|
|
12314
|
+
formatTickValue: typeof formatTickValue;
|
|
12021
12315
|
};
|
|
12022
12316
|
declare const links: {
|
|
12023
12317
|
isMarkdownLink: typeof isMarkdownLink;
|
|
@@ -12090,6 +12384,7 @@ declare const stores: {
|
|
|
12090
12384
|
useLocalStore: typeof useLocalStore;
|
|
12091
12385
|
SidePanelStore: typeof SidePanelStore;
|
|
12092
12386
|
PivotSidePanelStore: typeof PivotSidePanelStore;
|
|
12387
|
+
PivotMeasureDisplayPanelStore: typeof PivotMeasureDisplayPanelStore;
|
|
12093
12388
|
};
|
|
12094
12389
|
|
|
12095
12390
|
declare function addFunction(functionName: string, functionDescription: AddFunctionDescription): {
|
|
@@ -12109,32 +12404,6 @@ declare const constants: {
|
|
|
12109
12404
|
styleId: string;
|
|
12110
12405
|
automaticAutofill: boolean;
|
|
12111
12406
|
};
|
|
12112
|
-
ChartTerms: {
|
|
12113
|
-
Series: string;
|
|
12114
|
-
BackgroundColor: string;
|
|
12115
|
-
StackedBarChart: string;
|
|
12116
|
-
StackedLineChart: string;
|
|
12117
|
-
StackedAreaChart: string;
|
|
12118
|
-
CumulativeData: string;
|
|
12119
|
-
TreatLabelsAsText: string;
|
|
12120
|
-
AggregatedChart: string;
|
|
12121
|
-
ShowValues: string;
|
|
12122
|
-
Errors: {
|
|
12123
|
-
Unexpected: string;
|
|
12124
|
-
InvalidDataSet: string;
|
|
12125
|
-
InvalidLabelRange: string;
|
|
12126
|
-
InvalidScorecardKeyValue: string;
|
|
12127
|
-
InvalidScorecardBaseline: string;
|
|
12128
|
-
InvalidGaugeDataRange: string;
|
|
12129
|
-
EmptyGaugeRangeMin: string;
|
|
12130
|
-
GaugeRangeMinNaN: string;
|
|
12131
|
-
EmptyGaugeRangeMax: string;
|
|
12132
|
-
GaugeRangeMaxNaN: string;
|
|
12133
|
-
GaugeRangeMinBiggerThanRangeMax: string;
|
|
12134
|
-
GaugeLowerInflectionPointNaN: string;
|
|
12135
|
-
GaugeUpperInflectionPointNaN: string;
|
|
12136
|
-
};
|
|
12137
|
-
};
|
|
12138
12407
|
TREND_LINE_XAXIS_ID: string;
|
|
12139
12408
|
CHART_AXIS_CHOICES: {
|
|
12140
12409
|
value: string;
|
|
@@ -12142,4 +12411,4 @@ declare const constants: {
|
|
|
12142
12411
|
}[];
|
|
12143
12412
|
};
|
|
12144
12413
|
|
|
12145
|
-
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, 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, CancelledReason, Cell, CellData, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartType, ChartWithAxisDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, 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, ComposerFocusType, 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, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, ExcelCellData, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, 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,
|
|
12414
|
+
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, 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, CancelledReason, Cell, CellData, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartType, ChartWithAxisDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, 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, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, 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, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluatedCell, EvaluationError, ExcelCellData, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GetSymbolValue, 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, PaneDivision, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, 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, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, 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, TrendConfiguration, TrendType, 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, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|