@odoo/o-spreadsheet 18.4.0-alpha.1 → 18.4.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/o-spreadsheet.cjs.js +39895 -37986
- package/dist/o-spreadsheet.d.ts +490 -238
- package/dist/o-spreadsheet.esm.js +39896 -37987
- package/dist/o-spreadsheet.iife.js +39832 -37923
- package/dist/o-spreadsheet.iife.min.js +715 -676
- package/dist/o_spreadsheet.xml +405 -205
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ import * as _odoo_owl from '@odoo/owl';
|
|
|
6
6
|
import { ComponentConstructor, Component } from '@odoo/owl';
|
|
7
7
|
import * as chart_js_dist_types_utils from 'chart.js/dist/types/utils';
|
|
8
8
|
import * as chart_js_dist_types_geometric from 'chart.js/dist/types/geometric';
|
|
9
|
-
import * as chart_js_dist_types_basic from 'chart.js/dist/types/basic';
|
|
10
9
|
|
|
11
10
|
interface FigureInfo {
|
|
12
11
|
id: UID;
|
|
@@ -69,8 +68,7 @@ type XlsxHexColor = string & Alias;
|
|
|
69
68
|
|
|
70
69
|
type VerticalAxisPosition = "left" | "right";
|
|
71
70
|
type LegendPosition = "top" | "bottom" | "left" | "right" | "none";
|
|
72
|
-
|
|
73
|
-
interface ComboBarChartDefinition {
|
|
71
|
+
interface CommonChartDefinition {
|
|
74
72
|
readonly dataSets: CustomizedDataSet[];
|
|
75
73
|
readonly dataSetsHaveTitle: boolean;
|
|
76
74
|
readonly labelRange?: string;
|
|
@@ -82,6 +80,9 @@ interface ComboBarChartDefinition {
|
|
|
82
80
|
readonly showValues?: boolean;
|
|
83
81
|
}
|
|
84
82
|
|
|
83
|
+
interface ComboBarChartDefinition extends CommonChartDefinition {
|
|
84
|
+
}
|
|
85
|
+
|
|
85
86
|
interface BarChartDefinition extends ComboBarChartDefinition {
|
|
86
87
|
readonly type: "bar";
|
|
87
88
|
readonly stacked: boolean;
|
|
@@ -200,41 +201,28 @@ interface GeoChartRuntimeGenerationArgs extends ChartRuntimeGenerationArgs {
|
|
|
200
201
|
geoFeatureNameToId: (region: string, featureName: string) => string | undefined;
|
|
201
202
|
}
|
|
202
203
|
|
|
203
|
-
interface LineChartDefinition {
|
|
204
|
+
interface LineChartDefinition extends CommonChartDefinition {
|
|
204
205
|
readonly type: "line";
|
|
205
|
-
readonly dataSets: CustomizedDataSet[];
|
|
206
|
-
readonly dataSetsHaveTitle: boolean;
|
|
207
|
-
readonly labelRange?: string;
|
|
208
|
-
readonly title: TitleDesign;
|
|
209
|
-
readonly background?: Color;
|
|
210
|
-
readonly legendPosition: LegendPosition;
|
|
211
206
|
readonly labelsAsText: boolean;
|
|
212
207
|
readonly stacked: boolean;
|
|
213
208
|
readonly aggregated?: boolean;
|
|
214
209
|
readonly cumulative: boolean;
|
|
215
|
-
readonly axesDesign?: AxesDesign;
|
|
216
210
|
readonly fillArea?: boolean;
|
|
217
|
-
readonly showValues?: boolean;
|
|
218
211
|
}
|
|
219
212
|
type LineChartRuntime = {
|
|
220
213
|
chartJsConfig: ChartConfiguration;
|
|
221
214
|
background: Color;
|
|
222
215
|
};
|
|
223
216
|
|
|
224
|
-
interface PieChartDefinition {
|
|
217
|
+
interface PieChartDefinition extends CommonChartDefinition {
|
|
225
218
|
readonly type: "pie";
|
|
226
|
-
readonly dataSets: CustomizedDataSet[];
|
|
227
|
-
readonly dataSetsHaveTitle: boolean;
|
|
228
|
-
readonly labelRange?: string;
|
|
229
|
-
readonly title: TitleDesign;
|
|
230
|
-
readonly background?: Color;
|
|
231
|
-
readonly legendPosition: LegendPosition;
|
|
232
219
|
readonly aggregated?: boolean;
|
|
233
220
|
readonly isDoughnut?: boolean;
|
|
234
221
|
readonly showValues?: boolean;
|
|
222
|
+
readonly pieHolePercentage?: number;
|
|
235
223
|
}
|
|
236
224
|
type PieChartRuntime = {
|
|
237
|
-
chartJsConfig: ChartConfiguration
|
|
225
|
+
chartJsConfig: ChartConfiguration<"pie" | "doughnut">;
|
|
238
226
|
background: Color;
|
|
239
227
|
};
|
|
240
228
|
|
|
@@ -246,19 +234,11 @@ type PyramidChartRuntime = {
|
|
|
246
234
|
background: Color;
|
|
247
235
|
};
|
|
248
236
|
|
|
249
|
-
interface RadarChartDefinition {
|
|
250
|
-
readonly dataSets: CustomizedDataSet[];
|
|
251
|
-
readonly dataSetsHaveTitle: boolean;
|
|
252
|
-
readonly labelRange?: string;
|
|
253
|
-
readonly title: TitleDesign;
|
|
254
|
-
readonly background?: Color;
|
|
255
|
-
readonly legendPosition: LegendPosition;
|
|
256
|
-
readonly aggregated?: boolean;
|
|
237
|
+
interface RadarChartDefinition extends CommonChartDefinition {
|
|
257
238
|
readonly type: "radar";
|
|
239
|
+
readonly aggregated?: boolean;
|
|
258
240
|
readonly stacked: boolean;
|
|
259
|
-
readonly axesDesign?: AxesDesign;
|
|
260
241
|
readonly fillArea?: boolean;
|
|
261
|
-
readonly showValues?: boolean;
|
|
262
242
|
}
|
|
263
243
|
type RadarChartRuntime = {
|
|
264
244
|
chartJsConfig: ChartConfiguration;
|
|
@@ -314,6 +294,7 @@ interface SunburstChartDefinition {
|
|
|
314
294
|
readonly showLabels?: boolean;
|
|
315
295
|
readonly valuesDesign?: ChartStyle;
|
|
316
296
|
readonly groupColors?: (Color | undefined | null)[];
|
|
297
|
+
readonly pieHolePercentage?: number;
|
|
317
298
|
}
|
|
318
299
|
type SunburstChartRuntime = {
|
|
319
300
|
chartJsConfig: ChartConfiguration<"doughnut">;
|
|
@@ -473,15 +454,9 @@ type TreeMapChartRuntime = {
|
|
|
473
454
|
background: Color;
|
|
474
455
|
};
|
|
475
456
|
|
|
476
|
-
interface WaterfallChartDefinition {
|
|
457
|
+
interface WaterfallChartDefinition extends CommonChartDefinition {
|
|
477
458
|
readonly type: "waterfall";
|
|
478
|
-
readonly dataSets: CustomizedDataSet[];
|
|
479
|
-
readonly dataSetsHaveTitle: boolean;
|
|
480
|
-
readonly labelRange?: string;
|
|
481
|
-
readonly title: TitleDesign;
|
|
482
|
-
readonly background?: Color;
|
|
483
459
|
readonly verticalAxisPosition: VerticalAxisPosition;
|
|
484
|
-
readonly legendPosition: LegendPosition;
|
|
485
460
|
readonly aggregated?: boolean;
|
|
486
461
|
readonly showSubTotals: boolean;
|
|
487
462
|
readonly showConnectorLines: boolean;
|
|
@@ -489,8 +464,6 @@ interface WaterfallChartDefinition {
|
|
|
489
464
|
readonly positiveValuesColor?: Color;
|
|
490
465
|
readonly negativeValuesColor?: Color;
|
|
491
466
|
readonly subTotalValuesColor?: Color;
|
|
492
|
-
readonly axesDesign?: AxesDesign;
|
|
493
|
-
readonly showValues?: boolean;
|
|
494
467
|
}
|
|
495
468
|
type WaterfallChartRuntime = {
|
|
496
469
|
chartJsConfig: ChartConfiguration;
|
|
@@ -556,6 +529,7 @@ type CustomizedDataSet = {
|
|
|
556
529
|
readonly trend?: TrendConfiguration;
|
|
557
530
|
} & DatasetDesign;
|
|
558
531
|
type AxisType = "category" | "linear" | "time";
|
|
532
|
+
type ChartDatasetOrientation = "rows" | "columns";
|
|
559
533
|
interface DataSet {
|
|
560
534
|
readonly labelCell?: Range;
|
|
561
535
|
readonly dataRange: Range;
|
|
@@ -635,6 +609,7 @@ interface ChartRuntimeGenerationArgs {
|
|
|
635
609
|
locale: Locale;
|
|
636
610
|
trendDataSetsValues?: (Point[] | undefined)[];
|
|
637
611
|
axisType?: AxisType;
|
|
612
|
+
topPadding?: number;
|
|
638
613
|
}
|
|
639
614
|
/** Generic definition of chart to create a runtime: omit the chart type and the dataRange of the dataSets*/
|
|
640
615
|
type GenericDefinition<T extends ChartWithDataSetDefinition> = Partial<Omit<T, "dataSets" | "type">> & {
|
|
@@ -946,7 +921,8 @@ interface Top10Rule extends SingleColorRule {
|
|
|
946
921
|
bottom: boolean;
|
|
947
922
|
rank: number;
|
|
948
923
|
}
|
|
949
|
-
type ConditionalFormattingOperatorValues = "
|
|
924
|
+
type ConditionalFormattingOperatorValues = "beginsWithText" | "isBetween" | "containsText" | "isEmpty" | "isNotEmpty" | "endsWithText" | "isEqual" | "isGreaterThan" | "isGreaterOrEqualTo" | "isLessThan" | "isLessOrEqualTo" | "isNotBetween" | "notContainsText" | "isNotEqual";
|
|
925
|
+
declare const availableConditionalFormatOperators: Set<ConditionalFormattingOperatorValues>;
|
|
950
926
|
|
|
951
927
|
declare const PREVIOUS_VALUE = "(previous)";
|
|
952
928
|
declare const NEXT_VALUE = "(next)";
|
|
@@ -1090,6 +1066,20 @@ interface DimensionTreeNode {
|
|
|
1090
1066
|
}
|
|
1091
1067
|
type DimensionTree = DimensionTreeNode[];
|
|
1092
1068
|
|
|
1069
|
+
interface GenericCriterion {
|
|
1070
|
+
type: GenericCriterionType;
|
|
1071
|
+
values: string[];
|
|
1072
|
+
}
|
|
1073
|
+
type GenericDateCriterion = GenericCriterion & {
|
|
1074
|
+
dateValue: DateCriterionValue;
|
|
1075
|
+
};
|
|
1076
|
+
type GenericCriterionType = "containsText" | "notContainsText" | "isEqualText" | "isEmail" | "isLink" | "dateIs" | "dateIsBefore" | "dateIsOnOrBefore" | "dateIsAfter" | "dateIsOnOrAfter" | "dateIsBetween" | "dateIsNotBetween" | "dateIsValid" | "isEqual" | "isNotEqual" | "isGreaterThan" | "isGreaterOrEqualTo" | "isLessThan" | "isLessOrEqualTo" | "isBetween" | "isNotBetween" | "isBoolean" | "isValueInList" | "isValueInRange" | "customFormula" | "beginsWithText" | "endsWithText" | "isNotEmpty" | "isEmpty";
|
|
1077
|
+
type DateCriterionValue = "today" | "tomorrow" | "yesterday" | "lastWeek" | "lastMonth" | "lastYear" | "exactDate";
|
|
1078
|
+
type EvaluatedCriterion<T extends GenericCriterion = GenericCriterion> = Omit<T, "values"> & {
|
|
1079
|
+
values: CellValue[];
|
|
1080
|
+
};
|
|
1081
|
+
type EvaluatedDateCriterion = EvaluatedCriterion<GenericDateCriterion>;
|
|
1082
|
+
|
|
1093
1083
|
interface Table {
|
|
1094
1084
|
readonly id: TableId;
|
|
1095
1085
|
readonly range: Range;
|
|
@@ -1153,6 +1143,23 @@ interface TableStyle {
|
|
|
1153
1143
|
totalRow?: TableElementStyle;
|
|
1154
1144
|
}
|
|
1155
1145
|
type TableStyleTemplateName = "none" | "lightColoredText" | "lightAllBorders" | "mediumAllBorders" | "lightWithHeader" | "mediumBandedBorders" | "mediumMinimalBorders" | "darkNoBorders" | "mediumWhiteBorders" | "dark";
|
|
1146
|
+
declare const filterCriterions: GenericCriterionType[];
|
|
1147
|
+
type FilterCriterionType = (typeof filterCriterions)[number];
|
|
1148
|
+
declare const availableFiltersOperators: Set<FilterCriterionType>;
|
|
1149
|
+
declare const filterTextCriterionOperators: FilterCriterionType[];
|
|
1150
|
+
declare const filterNumberCriterionOperators: FilterCriterionType[];
|
|
1151
|
+
declare const filterDateCriterionOperators: FilterCriterionType[];
|
|
1152
|
+
interface ValuesFilter {
|
|
1153
|
+
filterType: "values";
|
|
1154
|
+
hiddenValues: string[];
|
|
1155
|
+
}
|
|
1156
|
+
interface CriterionFilter {
|
|
1157
|
+
filterType: "criterion";
|
|
1158
|
+
type: FilterCriterionType | "none";
|
|
1159
|
+
values: string[];
|
|
1160
|
+
dateValue?: DateCriterionValue;
|
|
1161
|
+
}
|
|
1162
|
+
type DataFilterValue = ValuesFilter | CriterionFilter;
|
|
1156
1163
|
|
|
1157
1164
|
interface Dependencies {
|
|
1158
1165
|
references: string[];
|
|
@@ -1200,7 +1207,7 @@ interface SheetData {
|
|
|
1200
1207
|
};
|
|
1201
1208
|
conditionalFormats: ConditionalFormat[];
|
|
1202
1209
|
dataValidationRules: DataValidationRuleData[];
|
|
1203
|
-
tables: TableData[];
|
|
1210
|
+
tables: TableData$1[];
|
|
1204
1211
|
areGridLinesVisible?: boolean;
|
|
1205
1212
|
isVisible: boolean;
|
|
1206
1213
|
panes?: PaneDivision;
|
|
@@ -1260,7 +1267,7 @@ interface ExcelHeaderData extends HeaderData {
|
|
|
1260
1267
|
outlineLevel?: number;
|
|
1261
1268
|
collapsed?: boolean;
|
|
1262
1269
|
}
|
|
1263
|
-
interface TableData {
|
|
1270
|
+
interface TableData$1 {
|
|
1264
1271
|
range: string;
|
|
1265
1272
|
config?: TableConfig;
|
|
1266
1273
|
type?: CoreTableType;
|
|
@@ -2186,7 +2193,7 @@ declare class ClipboardPlugin extends UIPlugin {
|
|
|
2186
2193
|
}
|
|
2187
2194
|
|
|
2188
2195
|
declare class FilterEvaluationPlugin extends UIPlugin {
|
|
2189
|
-
static getters: readonly ["getFilterHiddenValues", "getFirstTableInSelection", "isRowFiltered", "isFilterActive"];
|
|
2196
|
+
static getters: readonly ["getFilterValue", "getFilterHiddenValues", "getFilterCriterionValue", "getFirstTableInSelection", "isRowFiltered", "isFilterActive"];
|
|
2190
2197
|
private filterValues;
|
|
2191
2198
|
hiddenRows: Record<UID, Set<number> | undefined>;
|
|
2192
2199
|
isEvaluationDirty: boolean;
|
|
@@ -2194,7 +2201,9 @@ declare class FilterEvaluationPlugin extends UIPlugin {
|
|
|
2194
2201
|
handle(cmd: Command): void;
|
|
2195
2202
|
finalize(): void;
|
|
2196
2203
|
isRowFiltered(sheetId: UID, row: number): boolean;
|
|
2204
|
+
getFilterValue(position: CellPosition): DataFilterValue | undefined;
|
|
2197
2205
|
getFilterHiddenValues(position: CellPosition): string[];
|
|
2206
|
+
getFilterCriterionValue(position: CellPosition): CriterionFilter;
|
|
2198
2207
|
isFilterActive(position: CellPosition): boolean;
|
|
2199
2208
|
getFirstTableInSelection(): Table | undefined;
|
|
2200
2209
|
private updateFilter;
|
|
@@ -2651,12 +2660,12 @@ interface ZoneDependentCommand {
|
|
|
2651
2660
|
zone: Zone;
|
|
2652
2661
|
}
|
|
2653
2662
|
declare function isZoneDependent(cmd: CoreCommand): cmd is Extract<CoreCommand, ZoneDependentCommand>;
|
|
2654
|
-
declare const invalidateEvaluationCommands: 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" | "SET_BORDERS_ON_TARGET" | "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" | "COPY" | "CUT" | "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" | "
|
|
2655
|
-
declare const invalidateChartEvaluationCommands: 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" | "SET_BORDERS_ON_TARGET" | "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" | "COPY" | "CUT" | "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" | "
|
|
2656
|
-
declare const invalidateDependenciesCommands: 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" | "SET_BORDERS_ON_TARGET" | "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" | "COPY" | "CUT" | "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" | "
|
|
2657
|
-
declare const invalidateCFEvaluationCommands: 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" | "SET_BORDERS_ON_TARGET" | "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" | "COPY" | "CUT" | "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" | "
|
|
2658
|
-
declare const invalidateBordersCommands: 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" | "SET_BORDERS_ON_TARGET" | "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" | "COPY" | "CUT" | "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" | "
|
|
2659
|
-
declare const readonlyAllowedCommands: 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" | "SET_BORDERS_ON_TARGET" | "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" | "COPY" | "CUT" | "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" | "
|
|
2663
|
+
declare const invalidateEvaluationCommands: Set<"ACTIVATE_SHEET" | "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" | "SET_BORDERS_ON_TARGET" | "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" | "COPY" | "CUT" | "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" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "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" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX">;
|
|
2664
|
+
declare const invalidateChartEvaluationCommands: Set<"ACTIVATE_SHEET" | "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" | "SET_BORDERS_ON_TARGET" | "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" | "COPY" | "CUT" | "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" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "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" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX">;
|
|
2665
|
+
declare const invalidateDependenciesCommands: Set<"ACTIVATE_SHEET" | "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" | "SET_BORDERS_ON_TARGET" | "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" | "COPY" | "CUT" | "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" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "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" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX">;
|
|
2666
|
+
declare const invalidateCFEvaluationCommands: Set<"ACTIVATE_SHEET" | "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" | "SET_BORDERS_ON_TARGET" | "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" | "COPY" | "CUT" | "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" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "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" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX">;
|
|
2667
|
+
declare const invalidateBordersCommands: Set<"ACTIVATE_SHEET" | "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" | "SET_BORDERS_ON_TARGET" | "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" | "COPY" | "CUT" | "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" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "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" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX">;
|
|
2668
|
+
declare const readonlyAllowedCommands: Set<"ACTIVATE_SHEET" | "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" | "SET_BORDERS_ON_TARGET" | "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" | "COPY" | "CUT" | "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" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "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" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX">;
|
|
2660
2669
|
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" | "SET_BORDERS_ON_TARGET" | "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">;
|
|
2661
2670
|
declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
|
|
2662
2671
|
declare function canExecuteInReadonly(cmd: Command): boolean;
|
|
@@ -2755,6 +2764,7 @@ interface DeleteSheetCommand extends SheetDependentCommand, SheetEditingCommand
|
|
|
2755
2764
|
interface DuplicateSheetCommand extends SheetDependentCommand {
|
|
2756
2765
|
type: "DUPLICATE_SHEET";
|
|
2757
2766
|
sheetIdTo: UID;
|
|
2767
|
+
sheetNameTo: string;
|
|
2758
2768
|
}
|
|
2759
2769
|
interface MoveSheetCommand extends SheetDependentCommand {
|
|
2760
2770
|
type: "MOVE_SHEET";
|
|
@@ -2875,7 +2885,7 @@ interface RemoveTableStyleCommand {
|
|
|
2875
2885
|
}
|
|
2876
2886
|
interface UpdateFilterCommand extends PositionDependentCommand {
|
|
2877
2887
|
type: "UPDATE_FILTER";
|
|
2878
|
-
|
|
2888
|
+
value: DataFilterValue;
|
|
2879
2889
|
}
|
|
2880
2890
|
interface SetFormattingCommand extends TargetDependentCommand {
|
|
2881
2891
|
type: "SET_FORMATTING";
|
|
@@ -3214,6 +3224,16 @@ interface PaintFormat extends TargetDependentCommand {
|
|
|
3214
3224
|
interface DeleteUnfilteredContentCommand extends TargetDependentCommand {
|
|
3215
3225
|
type: "DELETE_UNFILTERED_CONTENT";
|
|
3216
3226
|
}
|
|
3227
|
+
interface PivotStartPresenceTracking {
|
|
3228
|
+
type: "PIVOT_START_PRESENCE_TRACKING";
|
|
3229
|
+
pivotId: UID;
|
|
3230
|
+
}
|
|
3231
|
+
interface PivotStopPresenceTracking {
|
|
3232
|
+
type: "PIVOT_STOP_PRESENCE_TRACKING";
|
|
3233
|
+
}
|
|
3234
|
+
interface ToggleCheckboxCommand extends TargetDependentCommand {
|
|
3235
|
+
type: "TOGGLE_CHECKBOX";
|
|
3236
|
+
}
|
|
3217
3237
|
type CoreCommand =
|
|
3218
3238
|
/** CELLS */
|
|
3219
3239
|
UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | ClearCellsCommand | DeleteContentCommand
|
|
@@ -3245,7 +3265,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | ClearCellsCom
|
|
|
3245
3265
|
| UpdateLocaleCommand
|
|
3246
3266
|
/** PIVOT */
|
|
3247
3267
|
| AddPivotCommand | UpdatePivotCommand | InsertPivotCommand | RenamePivotCommand | RemovePivotCommand | DuplicatePivotCommand;
|
|
3248
|
-
type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | EvaluateChartsCommand | 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 | PaintFormat | DeleteUnfilteredContentCommand;
|
|
3268
|
+
type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | EvaluateChartsCommand | 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 | PaintFormat | DeleteUnfilteredContentCommand | PivotStartPresenceTracking | PivotStopPresenceTracking | ToggleCheckboxCommand;
|
|
3249
3269
|
type Command = CoreCommand | LocalCommand;
|
|
3250
3270
|
/**
|
|
3251
3271
|
* Holds the result of a command dispatch.
|
|
@@ -3990,23 +4010,23 @@ interface DataValidationRule {
|
|
|
3990
4010
|
isBlocking?: boolean;
|
|
3991
4011
|
}
|
|
3992
4012
|
type TextContainsCriterion = {
|
|
3993
|
-
type: "
|
|
4013
|
+
type: "containsText";
|
|
3994
4014
|
values: string[];
|
|
3995
4015
|
};
|
|
3996
4016
|
type TextNotContainsCriterion = {
|
|
3997
|
-
type: "
|
|
4017
|
+
type: "notContainsText";
|
|
3998
4018
|
values: string[];
|
|
3999
4019
|
};
|
|
4000
4020
|
type TextIsCriterion = {
|
|
4001
|
-
type: "
|
|
4021
|
+
type: "isEqualText";
|
|
4002
4022
|
values: string[];
|
|
4003
4023
|
};
|
|
4004
4024
|
type TextIsEmailCriterion = {
|
|
4005
|
-
type: "
|
|
4025
|
+
type: "isEmail";
|
|
4006
4026
|
values: string[];
|
|
4007
4027
|
};
|
|
4008
4028
|
type TextIsLinkCriterion = {
|
|
4009
|
-
type: "
|
|
4029
|
+
type: "isLink";
|
|
4010
4030
|
values: string[];
|
|
4011
4031
|
};
|
|
4012
4032
|
type DateIsCriterion = {
|
|
@@ -4097,11 +4117,11 @@ type CustomFormulaCriterion = {
|
|
|
4097
4117
|
values: string[];
|
|
4098
4118
|
};
|
|
4099
4119
|
type DataValidationCriterion = TextContainsCriterion | TextNotContainsCriterion | TextIsCriterion | TextIsEmailCriterion | TextIsLinkCriterion | IsBetweenCriterion | DateIsCriterion | DateIsBeforeCriterion | DateIsOnOrBeforeCriterion | DateIsAfterCriterion | DateIsOnOrAfterCriterion | DateIsBetweenCriterion | DateIsNotBetweenCriterion | DateIsValidCriterion | IsEqualCriterion | IsNotEqualCriterion | IsGreaterThanCriterion | IsGreaterOrEqualToCriterion | IsLessThanCriterion | IsLessOrEqualToCriterion | IsNotBetweenCriterion | IsCheckboxCriterion | IsValueInListCriterion | IsValueInRangeCriterion | CustomFormulaCriterion;
|
|
4100
|
-
type DateCriterionValue = "today" | "tomorrow" | "yesterday" | "lastWeek" | "lastMonth" | "lastYear" | "exactDate";
|
|
4101
4120
|
type DataValidationCriterionType = DataValidationCriterion["type"];
|
|
4102
4121
|
type DataValidationDateCriterion = Extract<DataValidationCriterion, {
|
|
4103
4122
|
dateValue: DateCriterionValue;
|
|
4104
4123
|
}>;
|
|
4124
|
+
declare const availableDataValidationOperators: Set<DataValidationCriterionType>;
|
|
4105
4125
|
|
|
4106
4126
|
type ClipboardReadResult = {
|
|
4107
4127
|
status: "ok";
|
|
@@ -4673,6 +4693,7 @@ declare class ChartPlugin extends CorePlugin<ChartState> implements ChartState {
|
|
|
4673
4693
|
private addChart;
|
|
4674
4694
|
private checkChartDuplicate;
|
|
4675
4695
|
private checkChartExists;
|
|
4696
|
+
private checkChartChanged;
|
|
4676
4697
|
}
|
|
4677
4698
|
|
|
4678
4699
|
interface ConditionalFormatState {
|
|
@@ -5097,7 +5118,7 @@ interface SheetState {
|
|
|
5097
5118
|
readonly cellPosition: Record<UID, CellPosition | undefined>;
|
|
5098
5119
|
}
|
|
5099
5120
|
declare class SheetPlugin extends CorePlugin<SheetState> implements SheetState {
|
|
5100
|
-
static getters: readonly ["getSheetName", "tryGetSheetName", "getSheet", "tryGetSheet", "getSheetIdByName", "getSheetIds", "getVisibleSheetIds", "isSheetVisible", "doesHeaderExist", "doesHeadersExist", "getCell", "getCellPosition", "getColsZone", "getRowCells", "getRowsZone", "getNumberCols", "getNumberRows", "getNumberHeaders", "getGridLinesVisibility", "getNextSheetName", "getSheetSize", "getSheetZone", "getPaneDivisions", "checkZonesExistInSheet", "getCommandZones", "getUnboundedZone", "checkElementsIncludeAllNonFrozenHeaders"];
|
|
5121
|
+
static getters: readonly ["getSheetName", "tryGetSheetName", "getSheet", "tryGetSheet", "getSheetIdByName", "getSheetIds", "getVisibleSheetIds", "isSheetVisible", "doesHeaderExist", "doesHeadersExist", "getCell", "getCellPosition", "getColsZone", "getRowCells", "getRowsZone", "getNumberCols", "getNumberRows", "getNumberHeaders", "getGridLinesVisibility", "getNextSheetName", "getSheetSize", "getSheetZone", "getPaneDivisions", "checkZonesExistInSheet", "getCommandZones", "getUnboundedZone", "checkElementsIncludeAllNonFrozenHeaders", "getDuplicateSheetName"];
|
|
5101
5122
|
readonly sheetIdsMapName: Record<string, UID | undefined>;
|
|
5102
5123
|
readonly orderedSheetIds: UID[];
|
|
5103
5124
|
readonly sheets: Record<UID, Sheet | undefined>;
|
|
@@ -5174,7 +5195,7 @@ declare class SheetPlugin extends CorePlugin<SheetState> implements SheetState {
|
|
|
5174
5195
|
private hideSheet;
|
|
5175
5196
|
private showSheet;
|
|
5176
5197
|
private duplicateSheet;
|
|
5177
|
-
|
|
5198
|
+
getDuplicateSheetName(sheetName: string): string;
|
|
5178
5199
|
private deleteSheet;
|
|
5179
5200
|
/**
|
|
5180
5201
|
* Delete column. This requires a lot of handling:
|
|
@@ -5468,10 +5489,7 @@ declare class EvaluationConditionalFormatPlugin extends CoreViewPlugin {
|
|
|
5468
5489
|
private applyDataBar;
|
|
5469
5490
|
/** Compute the color scale for the given range and CF rule, and apply in in the given computedStyle object */
|
|
5470
5491
|
private applyColorScale;
|
|
5471
|
-
|
|
5472
|
-
* Execute the predicate to know if a conditional formatting rule should be applied to a cell
|
|
5473
|
-
*/
|
|
5474
|
-
private rulePredicate;
|
|
5492
|
+
private getRuleResultForTarget;
|
|
5475
5493
|
}
|
|
5476
5494
|
|
|
5477
5495
|
interface InvalidValidationResult {
|
|
@@ -6038,6 +6056,13 @@ declare class CellComputedStylePlugin extends UIPlugin {
|
|
|
6038
6056
|
private computeCellStyle;
|
|
6039
6057
|
}
|
|
6040
6058
|
|
|
6059
|
+
declare class CheckboxTogglePlugin extends UIPlugin {
|
|
6060
|
+
static getters: readonly ["hasBooleanValidationInZones"];
|
|
6061
|
+
handle(cmd: Command): void;
|
|
6062
|
+
hasBooleanValidationInZones(zones: Zone[]): boolean;
|
|
6063
|
+
private toggleCheckbox;
|
|
6064
|
+
}
|
|
6065
|
+
|
|
6041
6066
|
/**
|
|
6042
6067
|
* Local History
|
|
6043
6068
|
*
|
|
@@ -6073,6 +6098,23 @@ declare class HistoryPlugin extends UIPlugin {
|
|
|
6073
6098
|
private getPossibleRevisionToRepeat;
|
|
6074
6099
|
}
|
|
6075
6100
|
|
|
6101
|
+
declare class PivotPresenceTracker {
|
|
6102
|
+
private trackedValues;
|
|
6103
|
+
private domainToArray;
|
|
6104
|
+
isValuePresent(measure: string, domain: PivotDomain): boolean;
|
|
6105
|
+
isHeaderPresent(domain: PivotDomain): boolean;
|
|
6106
|
+
trackValue(measure: string, domain: PivotDomain): void;
|
|
6107
|
+
trackHeader(domain: PivotDomain): void;
|
|
6108
|
+
}
|
|
6109
|
+
|
|
6110
|
+
declare class PivotPresencePlugin extends UIPlugin {
|
|
6111
|
+
static getters: readonly ["getPivotPresenceTracker"];
|
|
6112
|
+
private trackPresencePivotId?;
|
|
6113
|
+
private tracker?;
|
|
6114
|
+
handle(cmd: Command): void;
|
|
6115
|
+
getPivotPresenceTracker(pivotId: UID): PivotPresenceTracker | undefined;
|
|
6116
|
+
}
|
|
6117
|
+
|
|
6076
6118
|
declare class SplitToColumnsPlugin extends UIPlugin {
|
|
6077
6119
|
static getters: readonly ["getAutomaticSeparator"];
|
|
6078
6120
|
allowDispatch(cmd: Command): CommandResult | CommandResult[];
|
|
@@ -6197,7 +6239,7 @@ type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof Head
|
|
|
6197
6239
|
type Getters = {
|
|
6198
6240
|
isReadonly: () => boolean;
|
|
6199
6241
|
isDashboard: () => boolean;
|
|
6200
|
-
} & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin> & PluginGetters<typeof TableStylePlugin> & PluginGetters<typeof CellComputedStylePlugin> & PluginGetters<typeof DynamicTablesPlugin> & PluginGetters<typeof PivotUIPlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof GeoFeaturePlugin>;
|
|
6242
|
+
} & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin> & PluginGetters<typeof TableStylePlugin> & PluginGetters<typeof CellComputedStylePlugin> & PluginGetters<typeof DynamicTablesPlugin> & PluginGetters<typeof PivotUIPlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof GeoFeaturePlugin> & PluginGetters<typeof PivotPresencePlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof CheckboxTogglePlugin>;
|
|
6201
6243
|
|
|
6202
6244
|
type ArgType = "ANY" | "BOOLEAN" | "NUMBER" | "STRING" | "DATE" | "RANGE" | "RANGE<BOOLEAN>" | "RANGE<NUMBER>" | "RANGE<DATE>" | "RANGE<STRING>" | "RANGE<ANY>" | "META";
|
|
6203
6245
|
interface ArgDefinition {
|
|
@@ -6519,7 +6561,7 @@ interface ChartShowValuesPluginOptions {
|
|
|
6519
6561
|
showValues: boolean;
|
|
6520
6562
|
background?: Color;
|
|
6521
6563
|
horizontal?: boolean;
|
|
6522
|
-
callback: (value: number | string, axisId
|
|
6564
|
+
callback: (value: number | string, axisId: string) => string;
|
|
6523
6565
|
}
|
|
6524
6566
|
declare module "chart.js" {
|
|
6525
6567
|
interface PluginOptionsByType<TType extends ChartType$1> {
|
|
@@ -6544,12 +6586,20 @@ declare class Registry<T> {
|
|
|
6544
6586
|
[key: string]: T;
|
|
6545
6587
|
};
|
|
6546
6588
|
/**
|
|
6547
|
-
* Add an item to the registry
|
|
6589
|
+
* Add an item to the registry, you can only add if there is no item
|
|
6590
|
+
* already present in the registery with the given key
|
|
6548
6591
|
*
|
|
6549
6592
|
* Note that this also returns the registry, so another add method call can
|
|
6550
6593
|
* be chained
|
|
6551
6594
|
*/
|
|
6552
|
-
add(key: string, value: T):
|
|
6595
|
+
add(key: string, value: T): this;
|
|
6596
|
+
/**
|
|
6597
|
+
* Replace (or add) an item to the registry
|
|
6598
|
+
*
|
|
6599
|
+
* Note that this also returns the registry, so another add method call can
|
|
6600
|
+
* be chained
|
|
6601
|
+
*/
|
|
6602
|
+
replace(key: string, value: T): this;
|
|
6553
6603
|
/**
|
|
6554
6604
|
* Get an item from the registry
|
|
6555
6605
|
*/
|
|
@@ -6815,6 +6865,7 @@ interface ChartBuilder {
|
|
|
6815
6865
|
transformDefinition(definition: ChartDefinition, executed: AddColumnsRowsCommand | RemoveColumnsRowsCommand): ChartDefinition;
|
|
6816
6866
|
getChartDefinitionFromContextCreation(context: ChartCreationContext): ChartDefinition;
|
|
6817
6867
|
sequence: number;
|
|
6868
|
+
dataSeriesLimit?: number;
|
|
6818
6869
|
}
|
|
6819
6870
|
type ChartUICategory = keyof typeof chartCategories;
|
|
6820
6871
|
declare const chartCategories: {
|
|
@@ -6841,7 +6892,7 @@ interface ChartSubtypeProperties {
|
|
|
6841
6892
|
preview: string;
|
|
6842
6893
|
}
|
|
6843
6894
|
|
|
6844
|
-
interface Props$
|
|
6895
|
+
interface Props$1j {
|
|
6845
6896
|
label?: string;
|
|
6846
6897
|
value: boolean;
|
|
6847
6898
|
className?: string;
|
|
@@ -6850,7 +6901,7 @@ interface Props$1g {
|
|
|
6850
6901
|
disabled?: boolean;
|
|
6851
6902
|
onChange: (value: boolean) => void;
|
|
6852
6903
|
}
|
|
6853
|
-
declare class Checkbox extends Component<Props$
|
|
6904
|
+
declare class Checkbox extends Component<Props$1j, SpreadsheetChildEnv> {
|
|
6854
6905
|
static template: string;
|
|
6855
6906
|
static props: {
|
|
6856
6907
|
label: {
|
|
@@ -6885,10 +6936,10 @@ declare class Checkbox extends Component<Props$1g, SpreadsheetChildEnv> {
|
|
|
6885
6936
|
onChange(ev: InputEvent): void;
|
|
6886
6937
|
}
|
|
6887
6938
|
|
|
6888
|
-
interface Props$
|
|
6939
|
+
interface Props$1i {
|
|
6889
6940
|
class?: string;
|
|
6890
6941
|
}
|
|
6891
|
-
declare class Section extends Component<Props$
|
|
6942
|
+
declare class Section extends Component<Props$1i, SpreadsheetChildEnv> {
|
|
6892
6943
|
static template: string;
|
|
6893
6944
|
static props: {
|
|
6894
6945
|
class: {
|
|
@@ -6944,7 +6995,8 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
6944
6995
|
private initialRanges;
|
|
6945
6996
|
private readonly inputHasSingleRange;
|
|
6946
6997
|
colors: Color[];
|
|
6947
|
-
|
|
6998
|
+
disabledRanges: boolean[];
|
|
6999
|
+
mutators: readonly ["resetWithRanges", "focusById", "unfocus", "addEmptyRange", "removeRange", "changeRange", "reset", "confirm", "updateColors", "updateDisabledRanges"];
|
|
6948
7000
|
private ranges;
|
|
6949
7001
|
focusedRangeIndex: number | null;
|
|
6950
7002
|
private inputSheetId;
|
|
@@ -6956,13 +7008,14 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
6956
7008
|
readonly renderingLayers: readonly ["Highlights"];
|
|
6957
7009
|
readonly highlights: Highlight$1[];
|
|
6958
7010
|
};
|
|
6959
|
-
constructor(get: Get, initialRanges?: string[], inputHasSingleRange?: boolean, colors?: Color[]);
|
|
7011
|
+
constructor(get: Get, initialRanges?: string[], inputHasSingleRange?: boolean, colors?: Color[], disabledRanges?: boolean[]);
|
|
6960
7012
|
handleEvent(event: SelectionEvent): void;
|
|
6961
7013
|
handle(cmd: Command): void;
|
|
6962
7014
|
changeRange(rangeId: number, value: string): void;
|
|
6963
7015
|
addEmptyRange(): void;
|
|
6964
7016
|
removeRange(rangeId: number): void;
|
|
6965
7017
|
updateColors(colors: Color[]): void;
|
|
7018
|
+
updateDisabledRanges(disabledRanges: boolean[]): void;
|
|
6966
7019
|
confirm(): void;
|
|
6967
7020
|
reset(): void;
|
|
6968
7021
|
get selectionInputValues(): string[];
|
|
@@ -6973,6 +7026,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
6973
7026
|
get selectionInputs(): (RangeInputValue & {
|
|
6974
7027
|
isFocused: boolean;
|
|
6975
7028
|
isValidRange: boolean;
|
|
7029
|
+
disabled?: boolean;
|
|
6976
7030
|
})[];
|
|
6977
7031
|
get isResettable(): boolean;
|
|
6978
7032
|
get isConfirmable(): boolean;
|
|
@@ -7022,7 +7076,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
7022
7076
|
getIndex(rangeId: number | null): number | null;
|
|
7023
7077
|
}
|
|
7024
7078
|
|
|
7025
|
-
interface Props$
|
|
7079
|
+
interface Props$1h {
|
|
7026
7080
|
ranges: string[];
|
|
7027
7081
|
hasSingleRange?: boolean;
|
|
7028
7082
|
required?: boolean;
|
|
@@ -7033,11 +7087,14 @@ interface Props$1e {
|
|
|
7033
7087
|
onSelectionRemoved?: (index: number) => void;
|
|
7034
7088
|
onSelectionConfirmed?: () => void;
|
|
7035
7089
|
colors?: Color[];
|
|
7090
|
+
disabledRanges?: boolean[];
|
|
7091
|
+
disabledRangeTitle?: string;
|
|
7036
7092
|
}
|
|
7037
7093
|
interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
7038
7094
|
isFocused: boolean;
|
|
7039
7095
|
isValidRange: boolean;
|
|
7040
7096
|
color?: Color;
|
|
7097
|
+
disabled?: boolean;
|
|
7041
7098
|
}
|
|
7042
7099
|
/**
|
|
7043
7100
|
* This component can be used when the user needs to input some
|
|
@@ -7047,7 +7104,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
7047
7104
|
* onSelectionChanged is called every time the input value
|
|
7048
7105
|
* changes.
|
|
7049
7106
|
*/
|
|
7050
|
-
declare class SelectionInput extends Component<Props$
|
|
7107
|
+
declare class SelectionInput extends Component<Props$1h, SpreadsheetChildEnv> {
|
|
7051
7108
|
static template: string;
|
|
7052
7109
|
static props: {
|
|
7053
7110
|
ranges: ArrayConstructor;
|
|
@@ -7088,6 +7145,15 @@ declare class SelectionInput extends Component<Props$1e, SpreadsheetChildEnv> {
|
|
|
7088
7145
|
optional: boolean;
|
|
7089
7146
|
default: never[];
|
|
7090
7147
|
};
|
|
7148
|
+
disabledRanges: {
|
|
7149
|
+
type: ArrayConstructor;
|
|
7150
|
+
optional: boolean;
|
|
7151
|
+
default: never[];
|
|
7152
|
+
};
|
|
7153
|
+
disabledRangeTitle: {
|
|
7154
|
+
type: StringConstructor;
|
|
7155
|
+
optional: boolean;
|
|
7156
|
+
};
|
|
7091
7157
|
};
|
|
7092
7158
|
private state;
|
|
7093
7159
|
private dragAndDrop;
|
|
@@ -7099,6 +7165,7 @@ declare class SelectionInput extends Component<Props$1e, SpreadsheetChildEnv> {
|
|
|
7099
7165
|
get isInvalid(): boolean;
|
|
7100
7166
|
get isConfirmable(): boolean;
|
|
7101
7167
|
get isResettable(): boolean;
|
|
7168
|
+
get hasDisabledRanges(): boolean;
|
|
7102
7169
|
setup(): void;
|
|
7103
7170
|
startDragAndDrop(rangeId: number, event: MouseEvent): void;
|
|
7104
7171
|
getRangeElementsRects(): DOMRect[];
|
|
@@ -7114,16 +7181,20 @@ declare class SelectionInput extends Component<Props$1e, SpreadsheetChildEnv> {
|
|
|
7114
7181
|
confirm(): void;
|
|
7115
7182
|
}
|
|
7116
7183
|
|
|
7117
|
-
interface Props$
|
|
7184
|
+
interface Props$1g {
|
|
7118
7185
|
ranges: CustomizedDataSet[];
|
|
7119
7186
|
hasSingleRange?: boolean;
|
|
7120
7187
|
onSelectionChanged: (ranges: string[]) => void;
|
|
7121
7188
|
onSelectionReordered?: (indexes: number[]) => void;
|
|
7122
7189
|
onSelectionRemoved?: (index: number) => void;
|
|
7123
7190
|
onSelectionConfirmed: () => void;
|
|
7191
|
+
maxNumberOfUsedRanges?: number;
|
|
7124
7192
|
title?: string;
|
|
7193
|
+
datasetOrientation?: ChartDatasetOrientation;
|
|
7194
|
+
canChangeDatasetOrientation?: boolean;
|
|
7195
|
+
onFlipAxis?: (structure: string) => void;
|
|
7125
7196
|
}
|
|
7126
|
-
declare class ChartDataSeries extends Component<Props$
|
|
7197
|
+
declare class ChartDataSeries extends Component<Props$1g, SpreadsheetChildEnv> {
|
|
7127
7198
|
static template: string;
|
|
7128
7199
|
static components: {
|
|
7129
7200
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7149,18 +7220,35 @@ declare class ChartDataSeries extends Component<Props$1d, SpreadsheetChildEnv> {
|
|
|
7149
7220
|
type: StringConstructor;
|
|
7150
7221
|
optional: boolean;
|
|
7151
7222
|
};
|
|
7223
|
+
maxNumberOfUsedRanges: {
|
|
7224
|
+
type: NumberConstructor;
|
|
7225
|
+
optional: boolean;
|
|
7226
|
+
};
|
|
7227
|
+
datasetOrientation: {
|
|
7228
|
+
type: StringConstructor;
|
|
7229
|
+
optional: boolean;
|
|
7230
|
+
};
|
|
7231
|
+
canChangeDatasetOrientation: {
|
|
7232
|
+
type: BooleanConstructor;
|
|
7233
|
+
optional: boolean;
|
|
7234
|
+
};
|
|
7235
|
+
onFlipAxis: {
|
|
7236
|
+
type: FunctionConstructor;
|
|
7237
|
+
optional: boolean;
|
|
7238
|
+
};
|
|
7152
7239
|
};
|
|
7153
7240
|
get ranges(): string[];
|
|
7241
|
+
get disabledRanges(): boolean[];
|
|
7154
7242
|
get colors(): (Color | undefined)[];
|
|
7155
7243
|
get title(): string;
|
|
7156
7244
|
}
|
|
7157
7245
|
|
|
7158
|
-
interface Props$
|
|
7246
|
+
interface Props$1f {
|
|
7159
7247
|
messages: string[];
|
|
7160
7248
|
msgType: "warning" | "error" | "info";
|
|
7161
7249
|
singleBox?: boolean;
|
|
7162
7250
|
}
|
|
7163
|
-
declare class ValidationMessages extends Component<Props$
|
|
7251
|
+
declare class ValidationMessages extends Component<Props$1f, SpreadsheetChildEnv> {
|
|
7164
7252
|
static template: string;
|
|
7165
7253
|
static props: {
|
|
7166
7254
|
messages: ArrayConstructor;
|
|
@@ -7174,10 +7262,10 @@ declare class ValidationMessages extends Component<Props$1c, SpreadsheetChildEnv
|
|
|
7174
7262
|
get alertBoxes(): string[][];
|
|
7175
7263
|
}
|
|
7176
7264
|
|
|
7177
|
-
interface Props$
|
|
7265
|
+
interface Props$1e {
|
|
7178
7266
|
messages: string[];
|
|
7179
7267
|
}
|
|
7180
|
-
declare class ChartErrorSection extends Component<Props$
|
|
7268
|
+
declare class ChartErrorSection extends Component<Props$1e, SpreadsheetChildEnv> {
|
|
7181
7269
|
static template: string;
|
|
7182
7270
|
static components: {
|
|
7183
7271
|
Section: typeof Section;
|
|
@@ -7191,7 +7279,7 @@ declare class ChartErrorSection extends Component<Props$1b, SpreadsheetChildEnv>
|
|
|
7191
7279
|
};
|
|
7192
7280
|
}
|
|
7193
7281
|
|
|
7194
|
-
interface Props$
|
|
7282
|
+
interface Props$1d {
|
|
7195
7283
|
title?: string;
|
|
7196
7284
|
range: string;
|
|
7197
7285
|
isInvalid: boolean;
|
|
@@ -7204,7 +7292,7 @@ interface Props$1a {
|
|
|
7204
7292
|
onChange: (value: boolean) => void;
|
|
7205
7293
|
}>;
|
|
7206
7294
|
}
|
|
7207
|
-
declare class ChartLabelRange extends Component<Props$
|
|
7295
|
+
declare class ChartLabelRange extends Component<Props$1d, SpreadsheetChildEnv> {
|
|
7208
7296
|
static template: string;
|
|
7209
7297
|
static components: {
|
|
7210
7298
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7225,10 +7313,10 @@ declare class ChartLabelRange extends Component<Props$1a, SpreadsheetChildEnv> {
|
|
|
7225
7313
|
optional: boolean;
|
|
7226
7314
|
};
|
|
7227
7315
|
};
|
|
7228
|
-
static defaultProps: Partial<Props$
|
|
7316
|
+
static defaultProps: Partial<Props$1d>;
|
|
7229
7317
|
}
|
|
7230
7318
|
|
|
7231
|
-
interface Props$
|
|
7319
|
+
interface Props$1c {
|
|
7232
7320
|
figureId: UID;
|
|
7233
7321
|
definition: ChartWithDataSetDefinition;
|
|
7234
7322
|
canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
@@ -7238,7 +7326,7 @@ interface ChartPanelState {
|
|
|
7238
7326
|
datasetDispatchResult?: DispatchResult;
|
|
7239
7327
|
labelsDispatchResult?: DispatchResult;
|
|
7240
7328
|
}
|
|
7241
|
-
declare class GenericChartConfigPanel extends Component<Props$
|
|
7329
|
+
declare class GenericChartConfigPanel extends Component<Props$1c, SpreadsheetChildEnv> {
|
|
7242
7330
|
static template: string;
|
|
7243
7331
|
static components: {
|
|
7244
7332
|
ChartDataSeries: typeof ChartDataSeries;
|
|
@@ -7256,6 +7344,7 @@ declare class GenericChartConfigPanel extends Component<Props$19, SpreadsheetChi
|
|
|
7256
7344
|
protected state: ChartPanelState;
|
|
7257
7345
|
protected dataSets: CustomizedDataSet[];
|
|
7258
7346
|
private labelRange;
|
|
7347
|
+
private datasetOrientation;
|
|
7259
7348
|
protected chartTerms: {
|
|
7260
7349
|
[key: string]: any;
|
|
7261
7350
|
GeoChart: {
|
|
@@ -7274,6 +7363,9 @@ declare class GenericChartConfigPanel extends Component<Props$19, SpreadsheetChi
|
|
|
7274
7363
|
onChange: (aggregated: boolean) => void;
|
|
7275
7364
|
}[];
|
|
7276
7365
|
onUpdateDataSetsHaveTitle(dataSetsHaveTitle: boolean): void;
|
|
7366
|
+
get canChangeDatasetOrientation(): boolean;
|
|
7367
|
+
private computeDatasetOrientation;
|
|
7368
|
+
setDatasetOrientation(datasetOrientation: ChartDatasetOrientation): void;
|
|
7277
7369
|
/**
|
|
7278
7370
|
* Change the local dataSeriesRanges. The model should be updated when the
|
|
7279
7371
|
* button "confirm" is clicked
|
|
@@ -7282,6 +7374,7 @@ declare class GenericChartConfigPanel extends Component<Props$19, SpreadsheetChi
|
|
|
7282
7374
|
onDataSeriesReordered(indexes: number[]): void;
|
|
7283
7375
|
onDataSeriesRemoved(index: number): void;
|
|
7284
7376
|
onDataSeriesConfirmed(): void;
|
|
7377
|
+
get splitRanges(): CustomizedDataSet[];
|
|
7285
7378
|
getDataSeriesRanges(): CustomizedDataSet[];
|
|
7286
7379
|
/**
|
|
7287
7380
|
* Change the local labelRange. The model should be updated when the
|
|
@@ -7292,6 +7385,8 @@ declare class GenericChartConfigPanel extends Component<Props$19, SpreadsheetChi
|
|
|
7292
7385
|
getLabelRange(): string;
|
|
7293
7386
|
onUpdateAggregated(aggregated: boolean): void;
|
|
7294
7387
|
calculateHeaderPosition(): number | undefined;
|
|
7388
|
+
get maxNumberOfUsedRanges(): number | undefined;
|
|
7389
|
+
private transposeDataSet;
|
|
7295
7390
|
}
|
|
7296
7391
|
|
|
7297
7392
|
declare class BarConfigPanel extends GenericChartConfigPanel {
|
|
@@ -7300,11 +7395,11 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
|
|
|
7300
7395
|
onUpdateStacked(stacked: boolean): void;
|
|
7301
7396
|
}
|
|
7302
7397
|
|
|
7303
|
-
interface Props$
|
|
7398
|
+
interface Props$1b {
|
|
7304
7399
|
isCollapsed: boolean;
|
|
7305
7400
|
slots: any;
|
|
7306
7401
|
}
|
|
7307
|
-
declare class Collapse extends Component<Props$
|
|
7402
|
+
declare class Collapse extends Component<Props$1b, SpreadsheetChildEnv> {
|
|
7308
7403
|
static template: string;
|
|
7309
7404
|
static props: {
|
|
7310
7405
|
isCollapsed: BooleanConstructor;
|
|
@@ -7343,12 +7438,12 @@ interface Choice$1 {
|
|
|
7343
7438
|
value: string;
|
|
7344
7439
|
label: string;
|
|
7345
7440
|
}
|
|
7346
|
-
interface Props$
|
|
7441
|
+
interface Props$1a {
|
|
7347
7442
|
choices: Choice$1[];
|
|
7348
7443
|
onChange: (value: string) => void;
|
|
7349
7444
|
selectedValue: string;
|
|
7350
7445
|
}
|
|
7351
|
-
declare class BadgeSelection extends Component<Props$
|
|
7446
|
+
declare class BadgeSelection extends Component<Props$1a, SpreadsheetChildEnv> {
|
|
7352
7447
|
static template: string;
|
|
7353
7448
|
static props: {
|
|
7354
7449
|
choices: ArrayConstructor;
|
|
@@ -7357,14 +7452,14 @@ declare class BadgeSelection extends Component<Props$17, SpreadsheetChildEnv> {
|
|
|
7357
7452
|
};
|
|
7358
7453
|
}
|
|
7359
7454
|
|
|
7360
|
-
interface Props$
|
|
7455
|
+
interface Props$19 {
|
|
7361
7456
|
action: ActionSpec;
|
|
7362
7457
|
hasTriangleDownIcon?: boolean;
|
|
7363
7458
|
selectedColor?: string;
|
|
7364
7459
|
class?: string;
|
|
7365
7460
|
onClick?: (ev: MouseEvent) => void;
|
|
7366
7461
|
}
|
|
7367
|
-
declare class ActionButton extends Component<Props$
|
|
7462
|
+
declare class ActionButton extends Component<Props$19, SpreadsheetChildEnv> {
|
|
7368
7463
|
static template: string;
|
|
7369
7464
|
static props: {
|
|
7370
7465
|
action: ObjectConstructor;
|
|
@@ -7487,12 +7582,14 @@ declare class Popover extends Component<PopoverProps, SpreadsheetChildEnv> {
|
|
|
7487
7582
|
zIndex: ComponentsImportance;
|
|
7488
7583
|
};
|
|
7489
7584
|
private popoverRef;
|
|
7585
|
+
private popoverContentRef;
|
|
7490
7586
|
private currentPosition;
|
|
7491
7587
|
private currentDisplayValue;
|
|
7492
7588
|
private spreadsheetRect;
|
|
7493
7589
|
private containerRect;
|
|
7494
7590
|
setup(): void;
|
|
7495
7591
|
get popoverStyle(): string;
|
|
7592
|
+
private computePopoverPosition;
|
|
7496
7593
|
}
|
|
7497
7594
|
|
|
7498
7595
|
interface ColorPickerProps {
|
|
@@ -7549,7 +7646,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
7549
7646
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
7550
7647
|
}
|
|
7551
7648
|
|
|
7552
|
-
interface Props$
|
|
7649
|
+
interface Props$18 {
|
|
7553
7650
|
currentColor: string | undefined;
|
|
7554
7651
|
toggleColorPicker: () => void;
|
|
7555
7652
|
showColorPicker: boolean;
|
|
@@ -7560,7 +7657,7 @@ interface Props$15 {
|
|
|
7560
7657
|
dropdownMaxHeight?: Pixel;
|
|
7561
7658
|
class?: string;
|
|
7562
7659
|
}
|
|
7563
|
-
declare class ColorPickerWidget extends Component<Props$
|
|
7660
|
+
declare class ColorPickerWidget extends Component<Props$18, SpreadsheetChildEnv> {
|
|
7564
7661
|
static template: string;
|
|
7565
7662
|
static props: {
|
|
7566
7663
|
currentColor: {
|
|
@@ -7611,7 +7708,7 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
7611
7708
|
};
|
|
7612
7709
|
handle(cmd: Command): void;
|
|
7613
7710
|
open({ col, row }: Position$1, type: CellPopoverType): void;
|
|
7614
|
-
close():
|
|
7711
|
+
close(): "noStateChange" | undefined;
|
|
7615
7712
|
get persistentCellPopover(): OpenCellPopover | ClosedCellPopover;
|
|
7616
7713
|
get isOpen(): boolean;
|
|
7617
7714
|
get cellPopover(): ClosedCellPopover | PositionedCellPopoverComponent;
|
|
@@ -7621,14 +7718,14 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
7621
7718
|
interface State$4 {
|
|
7622
7719
|
isOpen: boolean;
|
|
7623
7720
|
}
|
|
7624
|
-
interface Props$
|
|
7721
|
+
interface Props$17 {
|
|
7625
7722
|
currentFontSize: number;
|
|
7626
7723
|
class: string;
|
|
7627
7724
|
onFontSizeChanged: (fontSize: number) => void;
|
|
7628
7725
|
onToggle?: () => void;
|
|
7629
7726
|
onFocusInput?: () => void;
|
|
7630
7727
|
}
|
|
7631
|
-
declare class FontSizeEditor extends Component<Props$
|
|
7728
|
+
declare class FontSizeEditor extends Component<Props$17, SpreadsheetChildEnv> {
|
|
7632
7729
|
static template: string;
|
|
7633
7730
|
static props: {
|
|
7634
7731
|
currentFontSize: NumberConstructor;
|
|
@@ -7666,7 +7763,7 @@ declare class FontSizeEditor extends Component<Props$14, SpreadsheetChildEnv> {
|
|
|
7666
7763
|
onInputKeydown(ev: KeyboardEvent): void;
|
|
7667
7764
|
}
|
|
7668
7765
|
|
|
7669
|
-
interface Props$
|
|
7766
|
+
interface Props$16 {
|
|
7670
7767
|
class?: string;
|
|
7671
7768
|
style: ChartStyle;
|
|
7672
7769
|
updateStyle: (style: ChartStyle) => void;
|
|
@@ -7675,7 +7772,7 @@ interface Props$13 {
|
|
|
7675
7772
|
hasHorizontalAlign?: boolean;
|
|
7676
7773
|
hasBackgroundColor?: boolean;
|
|
7677
7774
|
}
|
|
7678
|
-
declare class TextStyler extends Component<Props$
|
|
7775
|
+
declare class TextStyler extends Component<Props$16, SpreadsheetChildEnv> {
|
|
7679
7776
|
static template: string;
|
|
7680
7777
|
static components: {
|
|
7681
7778
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
@@ -7743,7 +7840,7 @@ declare class TextStyler extends Component<Props$13, SpreadsheetChildEnv> {
|
|
|
7743
7840
|
get verticalAlignActions(): ActionSpec[];
|
|
7744
7841
|
}
|
|
7745
7842
|
|
|
7746
|
-
interface Props$
|
|
7843
|
+
interface Props$15 {
|
|
7747
7844
|
title?: string;
|
|
7748
7845
|
updateTitle: (title: string) => void;
|
|
7749
7846
|
name?: string;
|
|
@@ -7751,7 +7848,7 @@ interface Props$12 {
|
|
|
7751
7848
|
defaultStyle?: Partial<TitleDesign>;
|
|
7752
7849
|
updateStyle: (style: TitleDesign) => void;
|
|
7753
7850
|
}
|
|
7754
|
-
declare class ChartTitle extends Component<Props$
|
|
7851
|
+
declare class ChartTitle extends Component<Props$15, SpreadsheetChildEnv> {
|
|
7755
7852
|
static template: string;
|
|
7756
7853
|
static components: {
|
|
7757
7854
|
Section: typeof Section;
|
|
@@ -7784,13 +7881,13 @@ interface AxisDefinition {
|
|
|
7784
7881
|
id: string;
|
|
7785
7882
|
name: string;
|
|
7786
7883
|
}
|
|
7787
|
-
interface Props$
|
|
7884
|
+
interface Props$14 {
|
|
7788
7885
|
figureId: UID;
|
|
7789
7886
|
definition: ChartWithAxisDefinition;
|
|
7790
7887
|
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
7791
7888
|
axesList: AxisDefinition[];
|
|
7792
7889
|
}
|
|
7793
|
-
declare class AxisDesignEditor extends Component<Props$
|
|
7890
|
+
declare class AxisDesignEditor extends Component<Props$14, SpreadsheetChildEnv> {
|
|
7794
7891
|
static template: string;
|
|
7795
7892
|
static components: {
|
|
7796
7893
|
Section: typeof Section;
|
|
@@ -7822,14 +7919,14 @@ interface Choice {
|
|
|
7822
7919
|
value: unknown;
|
|
7823
7920
|
label: string;
|
|
7824
7921
|
}
|
|
7825
|
-
interface Props$
|
|
7922
|
+
interface Props$13 {
|
|
7826
7923
|
choices: Choice[];
|
|
7827
7924
|
onChange: (value: unknown) => void;
|
|
7828
7925
|
selectedValue: string;
|
|
7829
7926
|
name: string;
|
|
7830
7927
|
direction: "horizontal" | "vertical";
|
|
7831
7928
|
}
|
|
7832
|
-
declare class RadioSelection extends Component<Props$
|
|
7929
|
+
declare class RadioSelection extends Component<Props$13, SpreadsheetChildEnv> {
|
|
7833
7930
|
static template: string;
|
|
7834
7931
|
static props: {
|
|
7835
7932
|
choices: ArrayConstructor;
|
|
@@ -7848,13 +7945,13 @@ declare class RadioSelection extends Component<Props$10, SpreadsheetChildEnv> {
|
|
|
7848
7945
|
};
|
|
7849
7946
|
}
|
|
7850
7947
|
|
|
7851
|
-
interface Props
|
|
7948
|
+
interface Props$12 {
|
|
7852
7949
|
currentColor?: string;
|
|
7853
7950
|
onColorPicked: (color: string) => void;
|
|
7854
7951
|
title?: string;
|
|
7855
7952
|
disableNoColor?: boolean;
|
|
7856
7953
|
}
|
|
7857
|
-
declare class RoundColorPicker extends Component<Props
|
|
7954
|
+
declare class RoundColorPicker extends Component<Props$12, SpreadsheetChildEnv> {
|
|
7858
7955
|
static template: string;
|
|
7859
7956
|
static components: {
|
|
7860
7957
|
Section: typeof Section;
|
|
@@ -7887,13 +7984,13 @@ declare class RoundColorPicker extends Component<Props$$, SpreadsheetChildEnv> {
|
|
|
7887
7984
|
get buttonStyle(): string;
|
|
7888
7985
|
}
|
|
7889
7986
|
|
|
7890
|
-
interface Props$
|
|
7987
|
+
interface Props$11 {
|
|
7891
7988
|
figureId: UID;
|
|
7892
7989
|
definition: ChartDefinition;
|
|
7893
7990
|
updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
7894
7991
|
defaultChartTitleFontSize?: number;
|
|
7895
7992
|
}
|
|
7896
|
-
declare class GeneralDesignEditor extends Component<Props$
|
|
7993
|
+
declare class GeneralDesignEditor extends Component<Props$11, SpreadsheetChildEnv> {
|
|
7897
7994
|
static template: string;
|
|
7898
7995
|
static components: {
|
|
7899
7996
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -7927,12 +8024,12 @@ declare class GeneralDesignEditor extends Component<Props$_, SpreadsheetChildEnv
|
|
|
7927
8024
|
updateChartTitleStyle(style: TitleDesign): void;
|
|
7928
8025
|
}
|
|
7929
8026
|
|
|
7930
|
-
interface Props$
|
|
8027
|
+
interface Props$10 {
|
|
7931
8028
|
figureId: UID;
|
|
7932
8029
|
definition: ChartWithDataSetDefinition;
|
|
7933
8030
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7934
8031
|
}
|
|
7935
|
-
declare class ChartLegend extends Component<Props$
|
|
8032
|
+
declare class ChartLegend extends Component<Props$10, SpreadsheetChildEnv> {
|
|
7936
8033
|
static template: string;
|
|
7937
8034
|
static components: {
|
|
7938
8035
|
Section: typeof Section;
|
|
@@ -7945,13 +8042,13 @@ declare class ChartLegend extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
|
7945
8042
|
updateLegendPosition(ev: any): void;
|
|
7946
8043
|
}
|
|
7947
8044
|
|
|
7948
|
-
interface Props
|
|
8045
|
+
interface Props$$ {
|
|
7949
8046
|
figureId: UID;
|
|
7950
8047
|
definition: ChartWithDataSetDefinition;
|
|
7951
8048
|
canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7952
8049
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7953
8050
|
}
|
|
7954
|
-
declare class SeriesDesignEditor extends Component<Props
|
|
8051
|
+
declare class SeriesDesignEditor extends Component<Props$$, SpreadsheetChildEnv> {
|
|
7955
8052
|
static template: string;
|
|
7956
8053
|
static components: {
|
|
7957
8054
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -7979,13 +8076,13 @@ declare class SeriesDesignEditor extends Component<Props$Y, SpreadsheetChildEnv>
|
|
|
7979
8076
|
getDataSeriesLabel(): string | undefined;
|
|
7980
8077
|
}
|
|
7981
8078
|
|
|
7982
|
-
interface Props$
|
|
8079
|
+
interface Props$_ {
|
|
7983
8080
|
figureId: UID;
|
|
7984
8081
|
definition: ChartWithDataSetDefinition;
|
|
7985
8082
|
canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7986
8083
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7987
8084
|
}
|
|
7988
|
-
declare class SeriesWithAxisDesignEditor extends Component<Props$
|
|
8085
|
+
declare class SeriesWithAxisDesignEditor extends Component<Props$_, SpreadsheetChildEnv> {
|
|
7989
8086
|
static template: string;
|
|
7990
8087
|
static components: {
|
|
7991
8088
|
SeriesDesignEditor: typeof SeriesDesignEditor;
|
|
@@ -8026,13 +8123,13 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$X, SpreadsheetC
|
|
|
8026
8123
|
updateTrendLineValue(index: number, config: any): void;
|
|
8027
8124
|
}
|
|
8028
8125
|
|
|
8029
|
-
interface Props$
|
|
8126
|
+
interface Props$Z {
|
|
8030
8127
|
figureId: UID;
|
|
8031
8128
|
definition: ChartWithDataSetDefinition;
|
|
8032
8129
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8033
8130
|
updateChart: (figureId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8034
8131
|
}
|
|
8035
|
-
declare class ChartWithAxisDesignPanel<P extends Props$
|
|
8132
|
+
declare class ChartWithAxisDesignPanel<P extends Props$Z = Props$Z> extends Component<P, SpreadsheetChildEnv> {
|
|
8036
8133
|
static template: string;
|
|
8037
8134
|
static components: {
|
|
8038
8135
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -8052,13 +8149,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$W = Props$W> extends Comp
|
|
|
8052
8149
|
get axesList(): AxisDefinition[];
|
|
8053
8150
|
}
|
|
8054
8151
|
|
|
8055
|
-
interface Props$
|
|
8152
|
+
interface Props$Y {
|
|
8056
8153
|
figureId: UID;
|
|
8057
8154
|
definition: GaugeChartDefinition;
|
|
8058
8155
|
canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8059
8156
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8060
8157
|
}
|
|
8061
|
-
declare class GaugeChartConfigPanel extends Component<Props$
|
|
8158
|
+
declare class GaugeChartConfigPanel extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
8062
8159
|
static template: string;
|
|
8063
8160
|
static components: {
|
|
8064
8161
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -8123,13 +8220,13 @@ interface EnrichedToken extends Token {
|
|
|
8123
8220
|
isInHoverContext?: boolean;
|
|
8124
8221
|
}
|
|
8125
8222
|
|
|
8126
|
-
interface Props$
|
|
8223
|
+
interface Props$X {
|
|
8127
8224
|
proposals: AutoCompleteProposal[];
|
|
8128
8225
|
selectedIndex: number | undefined;
|
|
8129
8226
|
onValueSelected: (value: string) => void;
|
|
8130
8227
|
onValueHovered: (index: string) => void;
|
|
8131
8228
|
}
|
|
8132
|
-
declare class TextValueProvider extends Component<Props$
|
|
8229
|
+
declare class TextValueProvider extends Component<Props$X> {
|
|
8133
8230
|
static template: string;
|
|
8134
8231
|
static props: {
|
|
8135
8232
|
proposals: ArrayConstructor;
|
|
@@ -8185,11 +8282,11 @@ declare class ContentEditableHelper {
|
|
|
8185
8282
|
getText(): string;
|
|
8186
8283
|
}
|
|
8187
8284
|
|
|
8188
|
-
interface Props$
|
|
8285
|
+
interface Props$W {
|
|
8189
8286
|
functionDescription: FunctionDescription;
|
|
8190
8287
|
argsToFocus: number[];
|
|
8191
8288
|
}
|
|
8192
|
-
declare class FunctionDescriptionProvider extends Component<Props$
|
|
8289
|
+
declare class FunctionDescriptionProvider extends Component<Props$W, SpreadsheetChildEnv> {
|
|
8193
8290
|
static template: string;
|
|
8194
8291
|
static props: {
|
|
8195
8292
|
functionDescription: ObjectConstructor;
|
|
@@ -8200,23 +8297,21 @@ declare class FunctionDescriptionProvider extends Component<Props$T, Spreadsheet
|
|
|
8200
8297
|
};
|
|
8201
8298
|
private state;
|
|
8202
8299
|
toggle(): void;
|
|
8203
|
-
getContext(): Props$
|
|
8300
|
+
getContext(): Props$W;
|
|
8204
8301
|
get formulaArgSeparator(): string;
|
|
8205
8302
|
}
|
|
8206
8303
|
|
|
8207
|
-
interface Props$
|
|
8304
|
+
interface Props$V {
|
|
8208
8305
|
anchorRect: Rect;
|
|
8209
8306
|
content: string;
|
|
8210
8307
|
}
|
|
8211
|
-
declare class SpeechBubble extends Component<Props$
|
|
8308
|
+
declare class SpeechBubble extends Component<Props$V, SpreadsheetChildEnv> {
|
|
8212
8309
|
static template: string;
|
|
8213
8310
|
static props: {
|
|
8214
8311
|
content: StringConstructor;
|
|
8215
8312
|
anchorRect: ObjectConstructor;
|
|
8216
8313
|
};
|
|
8217
|
-
static components: {
|
|
8218
|
-
Popover: typeof Popover;
|
|
8219
|
-
};
|
|
8314
|
+
static components: {};
|
|
8220
8315
|
private spreadsheetRect;
|
|
8221
8316
|
private bubbleRef;
|
|
8222
8317
|
setup(): void;
|
|
@@ -8524,6 +8619,7 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
|
|
|
8524
8619
|
onContextMenu(ev: MouseEvent): void;
|
|
8525
8620
|
closeAssistant(): void;
|
|
8526
8621
|
openAssistant(): void;
|
|
8622
|
+
onWheel(event: WheelEvent): void;
|
|
8527
8623
|
private processContent;
|
|
8528
8624
|
/**
|
|
8529
8625
|
* Get the HTML content corresponding to the current composer token, divided by lines.
|
|
@@ -8606,7 +8702,7 @@ interface AutoCompleteProviderDefinition {
|
|
|
8606
8702
|
}, tokenAtCursor: EnrichedToken, text: string): void;
|
|
8607
8703
|
}
|
|
8608
8704
|
|
|
8609
|
-
interface Props$
|
|
8705
|
+
interface Props$U {
|
|
8610
8706
|
onConfirm: (content: string) => void;
|
|
8611
8707
|
composerContent: string;
|
|
8612
8708
|
defaultRangeSheetId: UID;
|
|
@@ -8618,7 +8714,7 @@ interface Props$R {
|
|
|
8618
8714
|
invalid?: boolean;
|
|
8619
8715
|
getContextualColoredSymbolToken?: (token: Token) => Color;
|
|
8620
8716
|
}
|
|
8621
|
-
declare class StandaloneComposer extends Component<Props$
|
|
8717
|
+
declare class StandaloneComposer extends Component<Props$U, SpreadsheetChildEnv> {
|
|
8622
8718
|
static template: string;
|
|
8623
8719
|
static props: {
|
|
8624
8720
|
composerContent: {
|
|
@@ -8681,13 +8777,13 @@ interface PanelState {
|
|
|
8681
8777
|
sectionRuleCancelledReasons?: CommandResult[];
|
|
8682
8778
|
sectionRule: SectionRule;
|
|
8683
8779
|
}
|
|
8684
|
-
interface Props$
|
|
8780
|
+
interface Props$T {
|
|
8685
8781
|
figureId: UID;
|
|
8686
8782
|
definition: GaugeChartDefinition;
|
|
8687
8783
|
canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8688
8784
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8689
8785
|
}
|
|
8690
|
-
declare class GaugeChartDesignPanel extends Component<Props$
|
|
8786
|
+
declare class GaugeChartDesignPanel extends Component<Props$T, SpreadsheetChildEnv> {
|
|
8691
8787
|
static template: string;
|
|
8692
8788
|
static components: {
|
|
8693
8789
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -8737,13 +8833,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
8737
8833
|
onUpdateCumulative(cumulative: boolean): void;
|
|
8738
8834
|
}
|
|
8739
8835
|
|
|
8740
|
-
interface Props$
|
|
8836
|
+
interface Props$S {
|
|
8741
8837
|
figureId: UID;
|
|
8742
8838
|
definition: ScorecardChartDefinition;
|
|
8743
8839
|
canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8744
8840
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8745
8841
|
}
|
|
8746
|
-
declare class ScorecardChartConfigPanel extends Component<Props$
|
|
8842
|
+
declare class ScorecardChartConfigPanel extends Component<Props$S, SpreadsheetChildEnv> {
|
|
8747
8843
|
static template: string;
|
|
8748
8844
|
static components: {
|
|
8749
8845
|
SelectionInput: typeof SelectionInput;
|
|
@@ -8772,13 +8868,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$P, SpreadsheetCh
|
|
|
8772
8868
|
}
|
|
8773
8869
|
|
|
8774
8870
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
8775
|
-
interface Props$
|
|
8871
|
+
interface Props$R {
|
|
8776
8872
|
figureId: UID;
|
|
8777
8873
|
definition: ScorecardChartDefinition;
|
|
8778
8874
|
canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8779
8875
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8780
8876
|
}
|
|
8781
|
-
declare class ScorecardChartDesignPanel extends Component<Props$
|
|
8877
|
+
declare class ScorecardChartDesignPanel extends Component<Props$R, SpreadsheetChildEnv> {
|
|
8782
8878
|
static template: string;
|
|
8783
8879
|
static components: {
|
|
8784
8880
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -8873,15 +8969,15 @@ declare class MenuItemRegistry extends Registry<ActionSpec> {
|
|
|
8873
8969
|
/**
|
|
8874
8970
|
* @override
|
|
8875
8971
|
*/
|
|
8876
|
-
|
|
8972
|
+
replace(key: string, value: ActionSpec): this;
|
|
8877
8973
|
/**
|
|
8878
8974
|
* Add a subitem to an existing item
|
|
8879
8975
|
* @param path Path of items to add this subitem
|
|
8880
8976
|
* @param value Subitem to add
|
|
8881
8977
|
*/
|
|
8882
|
-
addChild(key: string, path: string[], value: ActionSpec | ActionBuilder
|
|
8883
|
-
|
|
8884
|
-
|
|
8978
|
+
addChild(key: string, path: string[], value: ActionSpec | ActionBuilder): this;
|
|
8979
|
+
replaceChild(key: string, path: string[], value: ActionSpec | ActionBuilder): this;
|
|
8980
|
+
private _replaceChild;
|
|
8885
8981
|
getMenuItems(): Action[];
|
|
8886
8982
|
}
|
|
8887
8983
|
|
|
@@ -8917,18 +9013,18 @@ declare class ComposerFocusStore extends SpreadsheetStore {
|
|
|
8917
9013
|
activeComposer: ComposerInterface;
|
|
8918
9014
|
private _focusMode;
|
|
8919
9015
|
get focusMode(): ComposerFocusType;
|
|
8920
|
-
focusComposer(listener: ComposerInterface, args: Args):
|
|
8921
|
-
focusActiveComposer(args: Args):
|
|
9016
|
+
focusComposer(listener: ComposerInterface, args: Args): "noStateChange" | undefined;
|
|
9017
|
+
focusActiveComposer(args: Args): "noStateChange" | undefined;
|
|
8922
9018
|
/**
|
|
8923
9019
|
* Start the edition or update the content if it's already started.
|
|
8924
9020
|
*/
|
|
8925
9021
|
private setComposerContent;
|
|
8926
9022
|
}
|
|
8927
9023
|
|
|
8928
|
-
interface Props$
|
|
9024
|
+
interface Props$Q {
|
|
8929
9025
|
figureUI: FigureUI;
|
|
8930
9026
|
}
|
|
8931
|
-
declare class ChartJsComponent extends Component<Props$
|
|
9027
|
+
declare class ChartJsComponent extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
8932
9028
|
static template: string;
|
|
8933
9029
|
static props: {
|
|
8934
9030
|
figureUI: ObjectConstructor;
|
|
@@ -8945,10 +9041,10 @@ declare class ChartJsComponent extends Component<Props$N, SpreadsheetChildEnv> {
|
|
|
8945
9041
|
private updateChartJs;
|
|
8946
9042
|
}
|
|
8947
9043
|
|
|
8948
|
-
interface Props$
|
|
9044
|
+
interface Props$P {
|
|
8949
9045
|
figureUI: FigureUI;
|
|
8950
9046
|
}
|
|
8951
|
-
declare class ScorecardChart$1 extends Component<Props$
|
|
9047
|
+
declare class ScorecardChart$1 extends Component<Props$P, SpreadsheetChildEnv> {
|
|
8952
9048
|
static template: string;
|
|
8953
9049
|
static props: {
|
|
8954
9050
|
figureUI: ObjectConstructor;
|
|
@@ -8961,7 +9057,7 @@ declare class ScorecardChart$1 extends Component<Props$M, SpreadsheetChildEnv> {
|
|
|
8961
9057
|
}
|
|
8962
9058
|
|
|
8963
9059
|
type MenuItemOrSeparator = Action | "separator";
|
|
8964
|
-
interface Props$
|
|
9060
|
+
interface Props$O {
|
|
8965
9061
|
anchorRect: Rect;
|
|
8966
9062
|
popoverPositioning: PopoverPropsPosition;
|
|
8967
9063
|
menuItems: Action[];
|
|
@@ -8981,7 +9077,7 @@ interface MenuState {
|
|
|
8981
9077
|
menuItems: Action[];
|
|
8982
9078
|
isHoveringChild?: boolean;
|
|
8983
9079
|
}
|
|
8984
|
-
declare class Menu extends Component<Props$
|
|
9080
|
+
declare class Menu extends Component<Props$O, SpreadsheetChildEnv> {
|
|
8985
9081
|
static template: string;
|
|
8986
9082
|
static props: {
|
|
8987
9083
|
anchorRect: ObjectConstructor;
|
|
@@ -9027,7 +9123,6 @@ declare class Menu extends Component<Props$L, SpreadsheetChildEnv> {
|
|
|
9027
9123
|
private subMenu;
|
|
9028
9124
|
private menuRef;
|
|
9029
9125
|
private hoveredMenu;
|
|
9030
|
-
private position;
|
|
9031
9126
|
private openingTimeOut;
|
|
9032
9127
|
setup(): void;
|
|
9033
9128
|
get menuItemsAndSeparators(): MenuItemOrSeparator[];
|
|
@@ -9062,14 +9157,14 @@ declare class Menu extends Component<Props$L, SpreadsheetChildEnv> {
|
|
|
9062
9157
|
}
|
|
9063
9158
|
|
|
9064
9159
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
9065
|
-
interface Props$
|
|
9160
|
+
interface Props$N {
|
|
9066
9161
|
figureUI: FigureUI;
|
|
9067
9162
|
style: string;
|
|
9068
9163
|
onFigureDeleted: () => void;
|
|
9069
9164
|
onMouseDown: (ev: MouseEvent) => void;
|
|
9070
9165
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
9071
9166
|
}
|
|
9072
|
-
declare class FigureComponent extends Component<Props$
|
|
9167
|
+
declare class FigureComponent extends Component<Props$N, SpreadsheetChildEnv> {
|
|
9073
9168
|
static template: string;
|
|
9074
9169
|
static props: {
|
|
9075
9170
|
figureUI: ObjectConstructor;
|
|
@@ -9101,7 +9196,6 @@ declare class FigureComponent extends Component<Props$K, SpreadsheetChildEnv> {
|
|
|
9101
9196
|
private menuState;
|
|
9102
9197
|
private figureRef;
|
|
9103
9198
|
private menuButtonRef;
|
|
9104
|
-
private menuButtonRect;
|
|
9105
9199
|
private borderWidth;
|
|
9106
9200
|
get isSelected(): boolean;
|
|
9107
9201
|
get figureRegistry(): Registry<FigureContent>;
|
|
@@ -9119,17 +9213,50 @@ declare class FigureComponent extends Component<Props$K, SpreadsheetChildEnv> {
|
|
|
9119
9213
|
private openContextMenu;
|
|
9120
9214
|
}
|
|
9121
9215
|
|
|
9122
|
-
interface Props$
|
|
9216
|
+
interface Props$M {
|
|
9217
|
+
figureUI: FigureUI;
|
|
9218
|
+
}
|
|
9219
|
+
declare class ChartDashboardMenu extends Component<Props$M, SpreadsheetChildEnv> {
|
|
9220
|
+
static template: string;
|
|
9221
|
+
static components: {
|
|
9222
|
+
Menu: typeof Menu;
|
|
9223
|
+
};
|
|
9224
|
+
static props: {
|
|
9225
|
+
figureUI: ObjectConstructor;
|
|
9226
|
+
};
|
|
9227
|
+
private originalChartDefinition;
|
|
9228
|
+
private menuState;
|
|
9229
|
+
setup(): void;
|
|
9230
|
+
getAvailableTypes(): {
|
|
9231
|
+
icon: string;
|
|
9232
|
+
chartSubtype: string;
|
|
9233
|
+
displayName: string;
|
|
9234
|
+
chartType: ChartType;
|
|
9235
|
+
matcher?: (definition: ChartDefinition) => boolean;
|
|
9236
|
+
subtypeDefinition?: Partial<ChartDefinition>;
|
|
9237
|
+
category: "area" | "line" | "bar" | "pie" | "column" | "hierarchical" | "misc";
|
|
9238
|
+
preview: string;
|
|
9239
|
+
}[];
|
|
9240
|
+
getIconClasses(type: ChartType): "" | "fa fa-bar-chart" | "fa fa-line-chart" | "fa fa-pie-chart";
|
|
9241
|
+
onTypeChange(type: ChartType): void;
|
|
9242
|
+
get selectedChartType(): "line" | "bar" | "scatter" | "pie" | "radar" | "treemap" | "funnel" | "scorecard" | "gauge" | "combo" | "waterfall" | "pyramid" | "geo" | "sunburst";
|
|
9243
|
+
get backgroundColor(): string;
|
|
9244
|
+
openContextMenu(ev: MouseEvent): void;
|
|
9245
|
+
}
|
|
9246
|
+
|
|
9247
|
+
interface Props$L {
|
|
9123
9248
|
figureUI: FigureUI;
|
|
9124
9249
|
onFigureDeleted: () => void;
|
|
9125
9250
|
}
|
|
9126
|
-
declare class ChartFigure extends Component<Props$
|
|
9251
|
+
declare class ChartFigure extends Component<Props$L, SpreadsheetChildEnv> {
|
|
9127
9252
|
static template: string;
|
|
9128
9253
|
static props: {
|
|
9129
9254
|
figureUI: ObjectConstructor;
|
|
9130
9255
|
onFigureDeleted: FunctionConstructor;
|
|
9131
9256
|
};
|
|
9132
|
-
static components: {
|
|
9257
|
+
static components: {
|
|
9258
|
+
ChartDashboardMenu: typeof ChartDashboardMenu;
|
|
9259
|
+
};
|
|
9133
9260
|
onDoubleClick(): void;
|
|
9134
9261
|
get chartType(): ChartType;
|
|
9135
9262
|
get chartComponent(): new (...args: any) => Component;
|
|
@@ -9140,11 +9267,11 @@ declare class DelayedHoveredCellStore extends SpreadsheetStore {
|
|
|
9140
9267
|
col: number | undefined;
|
|
9141
9268
|
row: number | undefined;
|
|
9142
9269
|
handle(cmd: Command): void;
|
|
9143
|
-
hover(position: Partial<Position$1>):
|
|
9144
|
-
clear():
|
|
9270
|
+
hover(position: Partial<Position$1>): "noStateChange" | undefined;
|
|
9271
|
+
clear(): "noStateChange" | undefined;
|
|
9145
9272
|
}
|
|
9146
9273
|
|
|
9147
|
-
interface Props$
|
|
9274
|
+
interface Props$K {
|
|
9148
9275
|
isVisible: boolean;
|
|
9149
9276
|
position: Position;
|
|
9150
9277
|
}
|
|
@@ -9156,7 +9283,7 @@ interface State$3 {
|
|
|
9156
9283
|
position: Position;
|
|
9157
9284
|
handler: boolean;
|
|
9158
9285
|
}
|
|
9159
|
-
declare class Autofill extends Component<Props$
|
|
9286
|
+
declare class Autofill extends Component<Props$K, SpreadsheetChildEnv> {
|
|
9160
9287
|
static template: string;
|
|
9161
9288
|
static props: {
|
|
9162
9289
|
position: ObjectConstructor;
|
|
@@ -9196,7 +9323,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
9196
9323
|
get tagStyle(): string;
|
|
9197
9324
|
}
|
|
9198
9325
|
|
|
9199
|
-
interface Props$
|
|
9326
|
+
interface Props$J {
|
|
9200
9327
|
gridDims: DOMDimension;
|
|
9201
9328
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
9202
9329
|
}
|
|
@@ -9204,7 +9331,7 @@ interface Props$H {
|
|
|
9204
9331
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
9205
9332
|
* It also applies the style of the cell to the composer input.
|
|
9206
9333
|
*/
|
|
9207
|
-
declare class GridComposer extends Component<Props$
|
|
9334
|
+
declare class GridComposer extends Component<Props$J, SpreadsheetChildEnv> {
|
|
9208
9335
|
static template: string;
|
|
9209
9336
|
static props: {
|
|
9210
9337
|
gridDims: ObjectConstructor;
|
|
@@ -9262,10 +9389,10 @@ declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChild
|
|
|
9262
9389
|
isPositionVisible(position: CellPosition): boolean;
|
|
9263
9390
|
}
|
|
9264
9391
|
|
|
9265
|
-
interface Props$
|
|
9392
|
+
interface Props$I {
|
|
9266
9393
|
cellPosition: CellPosition;
|
|
9267
9394
|
}
|
|
9268
|
-
declare class DataValidationCheckbox extends Component<Props$
|
|
9395
|
+
declare class DataValidationCheckbox extends Component<Props$I, SpreadsheetChildEnv> {
|
|
9269
9396
|
static template: string;
|
|
9270
9397
|
static components: {
|
|
9271
9398
|
Checkbox: typeof Checkbox;
|
|
@@ -9278,10 +9405,10 @@ declare class DataValidationCheckbox extends Component<Props$G, SpreadsheetChild
|
|
|
9278
9405
|
get isDisabled(): boolean;
|
|
9279
9406
|
}
|
|
9280
9407
|
|
|
9281
|
-
interface Props$
|
|
9408
|
+
interface Props$H {
|
|
9282
9409
|
cellPosition: CellPosition;
|
|
9283
9410
|
}
|
|
9284
|
-
declare class DataValidationListIcon extends Component<Props$
|
|
9411
|
+
declare class DataValidationListIcon extends Component<Props$H, SpreadsheetChildEnv> {
|
|
9285
9412
|
static template: string;
|
|
9286
9413
|
static props: {
|
|
9287
9414
|
cellPosition: ObjectConstructor;
|
|
@@ -9311,7 +9438,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
9311
9438
|
}
|
|
9312
9439
|
|
|
9313
9440
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
9314
|
-
interface Props$
|
|
9441
|
+
interface Props$G {
|
|
9315
9442
|
onFigureDeleted: () => void;
|
|
9316
9443
|
}
|
|
9317
9444
|
interface Container {
|
|
@@ -9391,7 +9518,7 @@ interface DndState {
|
|
|
9391
9518
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
9392
9519
|
*
|
|
9393
9520
|
*/
|
|
9394
|
-
declare class FiguresContainer extends Component<Props$
|
|
9521
|
+
declare class FiguresContainer extends Component<Props$G, SpreadsheetChildEnv> {
|
|
9395
9522
|
static template: string;
|
|
9396
9523
|
static props: {
|
|
9397
9524
|
onFigureDeleted: FunctionConstructor;
|
|
@@ -9427,10 +9554,10 @@ declare class FiguresContainer extends Component<Props$E, SpreadsheetChildEnv> {
|
|
|
9427
9554
|
private getSnapLineStyle;
|
|
9428
9555
|
}
|
|
9429
9556
|
|
|
9430
|
-
interface Props$
|
|
9557
|
+
interface Props$F {
|
|
9431
9558
|
cellPosition: CellPosition;
|
|
9432
9559
|
}
|
|
9433
|
-
declare class FilterIcon extends Component<Props$
|
|
9560
|
+
declare class FilterIcon extends Component<Props$F, SpreadsheetChildEnv> {
|
|
9434
9561
|
static template: string;
|
|
9435
9562
|
static props: {
|
|
9436
9563
|
cellPosition: ObjectConstructor;
|
|
@@ -9452,10 +9579,10 @@ declare class FilterIconsOverlay extends Component<{}, SpreadsheetChildEnv> {
|
|
|
9452
9579
|
getFilterHeadersPositions(): CellPosition[];
|
|
9453
9580
|
}
|
|
9454
9581
|
|
|
9455
|
-
interface Props$
|
|
9582
|
+
interface Props$E {
|
|
9456
9583
|
focusGrid: () => void;
|
|
9457
9584
|
}
|
|
9458
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
9585
|
+
declare class GridAddRowsFooter extends Component<Props$E, SpreadsheetChildEnv> {
|
|
9459
9586
|
static template: string;
|
|
9460
9587
|
static props: {
|
|
9461
9588
|
focusGrid: FunctionConstructor;
|
|
@@ -9479,7 +9606,7 @@ declare class GridAddRowsFooter extends Component<Props$C, SpreadsheetChildEnv>
|
|
|
9479
9606
|
private onExternalClick;
|
|
9480
9607
|
}
|
|
9481
9608
|
|
|
9482
|
-
interface Props$
|
|
9609
|
+
interface Props$D {
|
|
9483
9610
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
9484
9611
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: MouseEvent) => void;
|
|
9485
9612
|
onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
|
|
@@ -9488,7 +9615,7 @@ interface Props$B {
|
|
|
9488
9615
|
gridOverlayDimensions: string;
|
|
9489
9616
|
onFigureDeleted: () => void;
|
|
9490
9617
|
}
|
|
9491
|
-
declare class GridOverlay extends Component<Props$
|
|
9618
|
+
declare class GridOverlay extends Component<Props$D, SpreadsheetChildEnv> {
|
|
9492
9619
|
static template: string;
|
|
9493
9620
|
static props: {
|
|
9494
9621
|
onCellDoubleClicked: {
|
|
@@ -9532,7 +9659,6 @@ declare class GridOverlay extends Component<Props$B, SpreadsheetChildEnv> {
|
|
|
9532
9659
|
onFigureDeleted: () => void;
|
|
9533
9660
|
};
|
|
9534
9661
|
private gridOverlay;
|
|
9535
|
-
private gridOverlayRect;
|
|
9536
9662
|
private cellPopovers;
|
|
9537
9663
|
private paintFormatStore;
|
|
9538
9664
|
setup(): void;
|
|
@@ -9545,12 +9671,12 @@ declare class GridOverlay extends Component<Props$B, SpreadsheetChildEnv> {
|
|
|
9545
9671
|
private getCartesianCoordinates;
|
|
9546
9672
|
}
|
|
9547
9673
|
|
|
9548
|
-
interface Props$
|
|
9674
|
+
interface Props$C {
|
|
9549
9675
|
gridRect: Rect;
|
|
9550
9676
|
onClosePopover: () => void;
|
|
9551
9677
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
9552
9678
|
}
|
|
9553
|
-
declare class GridPopover extends Component<Props$
|
|
9679
|
+
declare class GridPopover extends Component<Props$C, SpreadsheetChildEnv> {
|
|
9554
9680
|
static template: string;
|
|
9555
9681
|
static props: {
|
|
9556
9682
|
onClosePopover: FunctionConstructor;
|
|
@@ -9566,7 +9692,7 @@ declare class GridPopover extends Component<Props$A, SpreadsheetChildEnv> {
|
|
|
9566
9692
|
get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
|
|
9567
9693
|
}
|
|
9568
9694
|
|
|
9569
|
-
interface Props$
|
|
9695
|
+
interface Props$B {
|
|
9570
9696
|
headersGroups: ConsecutiveIndexes[];
|
|
9571
9697
|
offset: number;
|
|
9572
9698
|
headerRange: {
|
|
@@ -9574,7 +9700,7 @@ interface Props$z {
|
|
|
9574
9700
|
end: HeaderIndex;
|
|
9575
9701
|
};
|
|
9576
9702
|
}
|
|
9577
|
-
declare class UnhideRowHeaders extends Component<Props$
|
|
9703
|
+
declare class UnhideRowHeaders extends Component<Props$B, SpreadsheetChildEnv> {
|
|
9578
9704
|
static template: string;
|
|
9579
9705
|
static props: {
|
|
9580
9706
|
headersGroups: ArrayConstructor;
|
|
@@ -9593,7 +9719,7 @@ declare class UnhideRowHeaders extends Component<Props$z, SpreadsheetChildEnv> {
|
|
|
9593
9719
|
unhide(hiddenElements: HeaderIndex[]): void;
|
|
9594
9720
|
isVisible(header: HeaderIndex): boolean;
|
|
9595
9721
|
}
|
|
9596
|
-
declare class UnhideColumnHeaders extends Component<Props$
|
|
9722
|
+
declare class UnhideColumnHeaders extends Component<Props$B, SpreadsheetChildEnv> {
|
|
9597
9723
|
static template: string;
|
|
9598
9724
|
static props: {
|
|
9599
9725
|
headersGroups: ArrayConstructor;
|
|
@@ -9785,13 +9911,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
9785
9911
|
}
|
|
9786
9912
|
|
|
9787
9913
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
9788
|
-
interface Props$
|
|
9914
|
+
interface Props$A {
|
|
9789
9915
|
zone: Zone;
|
|
9790
9916
|
orientation: Orientation$1;
|
|
9791
9917
|
isMoving: boolean;
|
|
9792
9918
|
onMoveHighlight: (ev: PointerEvent) => void;
|
|
9793
9919
|
}
|
|
9794
|
-
declare class Border extends Component<Props$
|
|
9920
|
+
declare class Border extends Component<Props$A, SpreadsheetChildEnv> {
|
|
9795
9921
|
static template: string;
|
|
9796
9922
|
static props: {
|
|
9797
9923
|
zone: ObjectConstructor;
|
|
@@ -9804,14 +9930,14 @@ declare class Border extends Component<Props$y, SpreadsheetChildEnv> {
|
|
|
9804
9930
|
}
|
|
9805
9931
|
|
|
9806
9932
|
type Orientation = "nw" | "ne" | "sw" | "se";
|
|
9807
|
-
interface Props$
|
|
9933
|
+
interface Props$z {
|
|
9808
9934
|
zone: Zone;
|
|
9809
9935
|
color: Color;
|
|
9810
9936
|
orientation: Orientation;
|
|
9811
9937
|
isResizing: boolean;
|
|
9812
9938
|
onResizeHighlight: (ev: PointerEvent, isLeft: boolean, isTop: boolean) => void;
|
|
9813
9939
|
}
|
|
9814
|
-
declare class Corner extends Component<Props$
|
|
9940
|
+
declare class Corner extends Component<Props$z, SpreadsheetChildEnv> {
|
|
9815
9941
|
static template: string;
|
|
9816
9942
|
static props: {
|
|
9817
9943
|
zone: ObjectConstructor;
|
|
@@ -9826,14 +9952,14 @@ declare class Corner extends Component<Props$x, SpreadsheetChildEnv> {
|
|
|
9826
9952
|
onMouseDown(ev: PointerEvent): void;
|
|
9827
9953
|
}
|
|
9828
9954
|
|
|
9829
|
-
interface Props$
|
|
9955
|
+
interface Props$y {
|
|
9830
9956
|
zone: Zone;
|
|
9831
9957
|
color: Color;
|
|
9832
9958
|
}
|
|
9833
9959
|
interface HighlightState {
|
|
9834
9960
|
shiftingMode: "isMoving" | "isResizing" | "none";
|
|
9835
9961
|
}
|
|
9836
|
-
declare class Highlight extends Component<Props$
|
|
9962
|
+
declare class Highlight extends Component<Props$y, SpreadsheetChildEnv> {
|
|
9837
9963
|
static template: string;
|
|
9838
9964
|
static props: {
|
|
9839
9965
|
zone: ObjectConstructor;
|
|
@@ -9856,7 +9982,7 @@ declare class Highlight extends Component<Props$w, SpreadsheetChildEnv> {
|
|
|
9856
9982
|
|
|
9857
9983
|
type ScrollDirection = "horizontal" | "vertical";
|
|
9858
9984
|
|
|
9859
|
-
interface Props$
|
|
9985
|
+
interface Props$x {
|
|
9860
9986
|
width: Pixel;
|
|
9861
9987
|
height: Pixel;
|
|
9862
9988
|
direction: ScrollDirection;
|
|
@@ -9864,7 +9990,7 @@ interface Props$v {
|
|
|
9864
9990
|
offset: Pixel;
|
|
9865
9991
|
onScroll: (offset: Pixel) => void;
|
|
9866
9992
|
}
|
|
9867
|
-
declare class ScrollBar extends Component<Props$
|
|
9993
|
+
declare class ScrollBar extends Component<Props$x> {
|
|
9868
9994
|
static props: {
|
|
9869
9995
|
width: {
|
|
9870
9996
|
type: NumberConstructor;
|
|
@@ -9892,10 +10018,10 @@ declare class ScrollBar extends Component<Props$v> {
|
|
|
9892
10018
|
onScroll(ev: any): void;
|
|
9893
10019
|
}
|
|
9894
10020
|
|
|
9895
|
-
interface Props$
|
|
10021
|
+
interface Props$w {
|
|
9896
10022
|
leftOffset: number;
|
|
9897
10023
|
}
|
|
9898
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
10024
|
+
declare class HorizontalScrollBar extends Component<Props$w, SpreadsheetChildEnv> {
|
|
9899
10025
|
static props: {
|
|
9900
10026
|
leftOffset: {
|
|
9901
10027
|
type: NumberConstructor;
|
|
@@ -9921,10 +10047,10 @@ declare class HorizontalScrollBar extends Component<Props$u, SpreadsheetChildEnv
|
|
|
9921
10047
|
onScroll(offset: any): void;
|
|
9922
10048
|
}
|
|
9923
10049
|
|
|
9924
|
-
interface Props$
|
|
10050
|
+
interface Props$v {
|
|
9925
10051
|
topOffset: number;
|
|
9926
10052
|
}
|
|
9927
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
10053
|
+
declare class VerticalScrollBar extends Component<Props$v, SpreadsheetChildEnv> {
|
|
9928
10054
|
static props: {
|
|
9929
10055
|
topOffset: {
|
|
9930
10056
|
type: NumberConstructor;
|
|
@@ -9950,13 +10076,13 @@ declare class VerticalScrollBar extends Component<Props$t, SpreadsheetChildEnv>
|
|
|
9950
10076
|
onScroll(offset: any): void;
|
|
9951
10077
|
}
|
|
9952
10078
|
|
|
9953
|
-
interface Props$
|
|
10079
|
+
interface Props$u {
|
|
9954
10080
|
table: Table;
|
|
9955
10081
|
}
|
|
9956
10082
|
interface State$2 {
|
|
9957
10083
|
highlightZone: Zone | undefined;
|
|
9958
10084
|
}
|
|
9959
|
-
declare class TableResizer extends Component<Props$
|
|
10085
|
+
declare class TableResizer extends Component<Props$u, SpreadsheetChildEnv> {
|
|
9960
10086
|
static template: string;
|
|
9961
10087
|
static props: {
|
|
9962
10088
|
table: ObjectConstructor;
|
|
@@ -9985,10 +10111,10 @@ declare class TableResizer extends Component<Props$s, SpreadsheetChildEnv> {
|
|
|
9985
10111
|
* - a vertical resizer (same, for rows)
|
|
9986
10112
|
*/
|
|
9987
10113
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
9988
|
-
interface Props$
|
|
10114
|
+
interface Props$t {
|
|
9989
10115
|
exposeFocus: (focus: () => void) => void;
|
|
9990
10116
|
}
|
|
9991
|
-
declare class Grid extends Component<Props$
|
|
10117
|
+
declare class Grid extends Component<Props$t, SpreadsheetChildEnv> {
|
|
9992
10118
|
static template: string;
|
|
9993
10119
|
static props: {
|
|
9994
10120
|
exposeFocus: FunctionConstructor;
|
|
@@ -10023,7 +10149,6 @@ declare class Grid extends Component<Props$r, SpreadsheetChildEnv> {
|
|
|
10023
10149
|
}, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void) => void;
|
|
10024
10150
|
};
|
|
10025
10151
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
10026
|
-
canvasPosition: DOMCoordinates;
|
|
10027
10152
|
hoveredCell: Store<DelayedHoveredCellStore>;
|
|
10028
10153
|
sidePanel: Store<SidePanelStore>;
|
|
10029
10154
|
setup(): void;
|
|
@@ -10040,6 +10165,7 @@ declare class Grid extends Component<Props$r, SpreadsheetChildEnv> {
|
|
|
10040
10165
|
get isAutofillVisible(): boolean;
|
|
10041
10166
|
onGridResized({ height, width }: DOMDimension): void;
|
|
10042
10167
|
private moveCanvas;
|
|
10168
|
+
private processSpaceKey;
|
|
10043
10169
|
getClientPositionKey(client: Client): string;
|
|
10044
10170
|
isCellHovered(col: HeaderIndex, row: HeaderIndex): boolean;
|
|
10045
10171
|
private getGridRect;
|
|
@@ -10099,7 +10225,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
10099
10225
|
private getChartDefinitionFromContextCreation;
|
|
10100
10226
|
}
|
|
10101
10227
|
|
|
10102
|
-
interface Props$
|
|
10228
|
+
interface Props$s {
|
|
10103
10229
|
figureId: UID;
|
|
10104
10230
|
chartPanelStore: MainChartPanelStore;
|
|
10105
10231
|
}
|
|
@@ -10107,7 +10233,7 @@ interface ChartTypePickerState {
|
|
|
10107
10233
|
popoverProps: PopoverProps | undefined;
|
|
10108
10234
|
popoverStyle: string;
|
|
10109
10235
|
}
|
|
10110
|
-
declare class ChartTypePicker extends Component<Props$
|
|
10236
|
+
declare class ChartTypePicker extends Component<Props$s, SpreadsheetChildEnv> {
|
|
10111
10237
|
static template: string;
|
|
10112
10238
|
static components: {
|
|
10113
10239
|
Section: typeof Section;
|
|
@@ -10143,11 +10269,11 @@ declare class ChartTypePicker extends Component<Props$q, SpreadsheetChildEnv> {
|
|
|
10143
10269
|
private closePopover;
|
|
10144
10270
|
}
|
|
10145
10271
|
|
|
10146
|
-
interface Props$
|
|
10272
|
+
interface Props$r {
|
|
10147
10273
|
onCloseSidePanel: () => void;
|
|
10148
10274
|
figureId: UID;
|
|
10149
10275
|
}
|
|
10150
|
-
declare class ChartPanel extends Component<Props$
|
|
10276
|
+
declare class ChartPanel extends Component<Props$r, SpreadsheetChildEnv> {
|
|
10151
10277
|
static template: string;
|
|
10152
10278
|
static components: {
|
|
10153
10279
|
Section: typeof Section;
|
|
@@ -10167,19 +10293,37 @@ declare class ChartPanel extends Component<Props$p, SpreadsheetChildEnv> {
|
|
|
10167
10293
|
private getChartDefinition;
|
|
10168
10294
|
}
|
|
10169
10295
|
|
|
10170
|
-
interface Props$
|
|
10296
|
+
interface Props$q {
|
|
10297
|
+
onValueChange: (value: number) => void;
|
|
10298
|
+
value: number;
|
|
10299
|
+
}
|
|
10300
|
+
declare class PieHoleSize extends Component<Props$q, SpreadsheetChildEnv> {
|
|
10301
|
+
static template: string;
|
|
10302
|
+
static components: {
|
|
10303
|
+
Section: typeof Section;
|
|
10304
|
+
};
|
|
10305
|
+
static props: {
|
|
10306
|
+
onValueChange: FunctionConstructor;
|
|
10307
|
+
value: NumberConstructor;
|
|
10308
|
+
};
|
|
10309
|
+
debouncedOnChange: DebouncedFunction<(value: string) => void>;
|
|
10310
|
+
onChange(value: string): void;
|
|
10311
|
+
}
|
|
10312
|
+
|
|
10313
|
+
interface Props$p {
|
|
10171
10314
|
figureId: UID;
|
|
10172
10315
|
definition: PieChartDefinition;
|
|
10173
10316
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10174
10317
|
updateChart: (figureId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10175
10318
|
}
|
|
10176
|
-
declare class PieChartDesignPanel extends Component<Props$
|
|
10319
|
+
declare class PieChartDesignPanel extends Component<Props$p, SpreadsheetChildEnv> {
|
|
10177
10320
|
static template: string;
|
|
10178
10321
|
static components: {
|
|
10179
10322
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
10180
10323
|
Section: typeof Section;
|
|
10181
10324
|
Checkbox: typeof Checkbox;
|
|
10182
10325
|
ChartLegend: typeof ChartLegend;
|
|
10326
|
+
PieHoleSize: typeof PieHoleSize;
|
|
10183
10327
|
};
|
|
10184
10328
|
static props: {
|
|
10185
10329
|
figureId: StringConstructor;
|
|
@@ -10190,12 +10334,13 @@ declare class PieChartDesignPanel extends Component<Props$o, SpreadsheetChildEnv
|
|
|
10190
10334
|
optional: boolean;
|
|
10191
10335
|
};
|
|
10192
10336
|
};
|
|
10337
|
+
onPieHoleSizeChange(pieHolePercentage: number): void;
|
|
10193
10338
|
}
|
|
10194
10339
|
|
|
10195
|
-
interface Props$
|
|
10340
|
+
interface Props$o {
|
|
10196
10341
|
items: ActionSpec[];
|
|
10197
10342
|
}
|
|
10198
|
-
declare class CogWheelMenu extends Component<Props$
|
|
10343
|
+
declare class CogWheelMenu extends Component<Props$o, SpreadsheetChildEnv> {
|
|
10199
10344
|
static template: string;
|
|
10200
10345
|
static components: {
|
|
10201
10346
|
Menu: typeof Menu;
|
|
@@ -10278,14 +10423,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
10278
10423
|
get highlights(): Highlight$1[];
|
|
10279
10424
|
}
|
|
10280
10425
|
|
|
10281
|
-
interface Props$
|
|
10426
|
+
interface Props$n {
|
|
10282
10427
|
deferUpdate: boolean;
|
|
10283
10428
|
isDirty: boolean;
|
|
10284
10429
|
toggleDeferUpdate: (value: boolean) => void;
|
|
10285
10430
|
discard: () => void;
|
|
10286
10431
|
apply: () => void;
|
|
10287
10432
|
}
|
|
10288
|
-
declare class PivotDeferUpdate extends Component<Props$
|
|
10433
|
+
declare class PivotDeferUpdate extends Component<Props$n, SpreadsheetChildEnv> {
|
|
10289
10434
|
static template: string;
|
|
10290
10435
|
static props: {
|
|
10291
10436
|
deferUpdate: BooleanConstructor;
|
|
@@ -10302,11 +10447,11 @@ declare class PivotDeferUpdate extends Component<Props$m, SpreadsheetChildEnv> {
|
|
|
10302
10447
|
get deferUpdatesTooltip(): string;
|
|
10303
10448
|
}
|
|
10304
10449
|
|
|
10305
|
-
interface Props$
|
|
10450
|
+
interface Props$m {
|
|
10306
10451
|
onFieldPicked: (field: string) => void;
|
|
10307
10452
|
fields: PivotField[];
|
|
10308
10453
|
}
|
|
10309
|
-
declare class AddDimensionButton extends Component<Props$
|
|
10454
|
+
declare class AddDimensionButton extends Component<Props$m, SpreadsheetChildEnv> {
|
|
10310
10455
|
static template: string;
|
|
10311
10456
|
static components: {
|
|
10312
10457
|
Popover: typeof Popover;
|
|
@@ -10342,7 +10487,7 @@ declare class AddDimensionButton extends Component<Props$l, SpreadsheetChildEnv>
|
|
|
10342
10487
|
onKeyDown(ev: KeyboardEvent): void;
|
|
10343
10488
|
}
|
|
10344
10489
|
|
|
10345
|
-
interface Props$
|
|
10490
|
+
interface Props$l {
|
|
10346
10491
|
value: string;
|
|
10347
10492
|
onChange: (value: string) => void;
|
|
10348
10493
|
class?: string;
|
|
@@ -10350,7 +10495,7 @@ interface Props$k {
|
|
|
10350
10495
|
placeholder?: string;
|
|
10351
10496
|
autofocus?: boolean;
|
|
10352
10497
|
}
|
|
10353
|
-
declare class TextInput extends Component<Props$
|
|
10498
|
+
declare class TextInput extends Component<Props$l, SpreadsheetChildEnv> {
|
|
10354
10499
|
static template: string;
|
|
10355
10500
|
static props: {
|
|
10356
10501
|
value: StringConstructor;
|
|
@@ -10380,13 +10525,13 @@ declare class TextInput extends Component<Props$k, SpreadsheetChildEnv> {
|
|
|
10380
10525
|
onMouseUp(ev: MouseEvent): void;
|
|
10381
10526
|
}
|
|
10382
10527
|
|
|
10383
|
-
interface Props$
|
|
10528
|
+
interface Props$k {
|
|
10384
10529
|
dimension: PivotCoreDimension | PivotCoreMeasure;
|
|
10385
10530
|
onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
|
|
10386
10531
|
onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
|
|
10387
10532
|
type: "row" | "col" | "measure";
|
|
10388
10533
|
}
|
|
10389
|
-
declare class PivotDimension extends Component<Props$
|
|
10534
|
+
declare class PivotDimension extends Component<Props$k, SpreadsheetChildEnv> {
|
|
10390
10535
|
static template: string;
|
|
10391
10536
|
static props: {
|
|
10392
10537
|
dimension: ObjectConstructor;
|
|
@@ -10410,13 +10555,13 @@ declare class PivotDimension extends Component<Props$j, SpreadsheetChildEnv> {
|
|
|
10410
10555
|
updateName(name: string): void;
|
|
10411
10556
|
}
|
|
10412
10557
|
|
|
10413
|
-
interface Props$
|
|
10558
|
+
interface Props$j {
|
|
10414
10559
|
dimension: PivotDimension$1;
|
|
10415
10560
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
10416
10561
|
availableGranularities: Set<string>;
|
|
10417
10562
|
allGranularities: string[];
|
|
10418
10563
|
}
|
|
10419
|
-
declare class PivotDimensionGranularity extends Component<Props$
|
|
10564
|
+
declare class PivotDimensionGranularity extends Component<Props$j, SpreadsheetChildEnv> {
|
|
10420
10565
|
static template: string;
|
|
10421
10566
|
static props: {
|
|
10422
10567
|
dimension: ObjectConstructor;
|
|
@@ -10441,11 +10586,11 @@ declare class PivotDimensionGranularity extends Component<Props$i, SpreadsheetCh
|
|
|
10441
10586
|
};
|
|
10442
10587
|
}
|
|
10443
10588
|
|
|
10444
|
-
interface Props$
|
|
10589
|
+
interface Props$i {
|
|
10445
10590
|
dimension: PivotDimension$1;
|
|
10446
10591
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
10447
10592
|
}
|
|
10448
|
-
declare class PivotDimensionOrder extends Component<Props$
|
|
10593
|
+
declare class PivotDimensionOrder extends Component<Props$i, SpreadsheetChildEnv> {
|
|
10449
10594
|
static template: string;
|
|
10450
10595
|
static props: {
|
|
10451
10596
|
dimension: ObjectConstructor;
|
|
@@ -10481,7 +10626,7 @@ declare function createPivotFormula(formulaId: string, cell: PivotTableCell): st
|
|
|
10481
10626
|
declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type" | "displayName" | "granularity">, groupValue: any): CellValue;
|
|
10482
10627
|
declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
|
|
10483
10628
|
|
|
10484
|
-
interface Props$
|
|
10629
|
+
interface Props$h {
|
|
10485
10630
|
pivotId: string;
|
|
10486
10631
|
definition: PivotRuntimeDefinition;
|
|
10487
10632
|
measure: PivotMeasure;
|
|
@@ -10489,7 +10634,7 @@ interface Props$g {
|
|
|
10489
10634
|
onRemoved: () => void;
|
|
10490
10635
|
generateMeasureId: (fieldName: string, aggregator?: string) => string;
|
|
10491
10636
|
}
|
|
10492
|
-
declare class PivotMeasureEditor extends Component<Props$
|
|
10637
|
+
declare class PivotMeasureEditor extends Component<Props$h> {
|
|
10493
10638
|
static template: string;
|
|
10494
10639
|
static components: {
|
|
10495
10640
|
PivotDimension: typeof PivotDimension;
|
|
@@ -10513,11 +10658,11 @@ declare class PivotMeasureEditor extends Component<Props$g> {
|
|
|
10513
10658
|
getColoredSymbolToken(token: Token): Color | undefined;
|
|
10514
10659
|
}
|
|
10515
10660
|
|
|
10516
|
-
interface Props$
|
|
10661
|
+
interface Props$g {
|
|
10517
10662
|
definition: PivotRuntimeDefinition;
|
|
10518
10663
|
pivotId: UID;
|
|
10519
10664
|
}
|
|
10520
|
-
declare class PivotSortSection extends Component<Props$
|
|
10665
|
+
declare class PivotSortSection extends Component<Props$g, SpreadsheetChildEnv> {
|
|
10521
10666
|
static template: string;
|
|
10522
10667
|
static components: {
|
|
10523
10668
|
Section: typeof Section;
|
|
@@ -10534,7 +10679,7 @@ declare class PivotSortSection extends Component<Props$f, SpreadsheetChildEnv> {
|
|
|
10534
10679
|
}[];
|
|
10535
10680
|
}
|
|
10536
10681
|
|
|
10537
|
-
interface Props$
|
|
10682
|
+
interface Props$f {
|
|
10538
10683
|
definition: PivotRuntimeDefinition;
|
|
10539
10684
|
onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
10540
10685
|
unusedGroupableFields: PivotField[];
|
|
@@ -10545,7 +10690,7 @@ interface Props$e {
|
|
|
10545
10690
|
getScrollableContainerEl?: () => HTMLElement;
|
|
10546
10691
|
pivotId: UID;
|
|
10547
10692
|
}
|
|
10548
|
-
declare class PivotLayoutConfigurator extends Component<Props$
|
|
10693
|
+
declare class PivotLayoutConfigurator extends Component<Props$f, SpreadsheetChildEnv> {
|
|
10549
10694
|
static template: string;
|
|
10550
10695
|
static components: {
|
|
10551
10696
|
AddDimensionButton: typeof AddDimensionButton;
|
|
@@ -10635,11 +10780,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
10635
10780
|
private shouldKeepSortedColumn;
|
|
10636
10781
|
}
|
|
10637
10782
|
|
|
10638
|
-
interface Props$
|
|
10783
|
+
interface Props$e {
|
|
10639
10784
|
pivotId: UID;
|
|
10640
10785
|
flipAxis: () => void;
|
|
10641
10786
|
}
|
|
10642
|
-
declare class PivotTitleSection extends Component<Props$
|
|
10787
|
+
declare class PivotTitleSection extends Component<Props$e, SpreadsheetChildEnv> {
|
|
10643
10788
|
static template: string;
|
|
10644
10789
|
static components: {
|
|
10645
10790
|
CogWheelMenu: typeof CogWheelMenu;
|
|
@@ -10689,6 +10834,7 @@ declare class FunctionRegistry extends Registry<FunctionDescription> {
|
|
|
10689
10834
|
[key: string]: ComputeFunction<Matrix<FunctionResultObject> | FunctionResultObject>;
|
|
10690
10835
|
};
|
|
10691
10836
|
add(name: string, addDescr: AddFunctionDescription): this;
|
|
10837
|
+
replace(name: string, addDescr: AddFunctionDescription): this;
|
|
10692
10838
|
}
|
|
10693
10839
|
|
|
10694
10840
|
/**
|
|
@@ -10735,6 +10881,90 @@ declare function getFirstPivotFunction(tokens: Token[]): {
|
|
|
10735
10881
|
*/
|
|
10736
10882
|
declare function getNumberOfPivotFunctions(tokens: Token[]): number;
|
|
10737
10883
|
|
|
10884
|
+
interface PivotDialogColumn {
|
|
10885
|
+
formula: string;
|
|
10886
|
+
value: string;
|
|
10887
|
+
isMissing: boolean;
|
|
10888
|
+
style?: string;
|
|
10889
|
+
span: number;
|
|
10890
|
+
}
|
|
10891
|
+
interface PivotDialogRow {
|
|
10892
|
+
formula: string;
|
|
10893
|
+
value: string;
|
|
10894
|
+
isMissing: boolean;
|
|
10895
|
+
style?: string;
|
|
10896
|
+
}
|
|
10897
|
+
interface PivotDialogValue {
|
|
10898
|
+
formula: string;
|
|
10899
|
+
value: string;
|
|
10900
|
+
isMissing: boolean;
|
|
10901
|
+
}
|
|
10902
|
+
interface Props$d {
|
|
10903
|
+
pivotId: UID;
|
|
10904
|
+
onCellClicked: (formula: string) => void;
|
|
10905
|
+
}
|
|
10906
|
+
interface TableData {
|
|
10907
|
+
columns: PivotDialogColumn[][];
|
|
10908
|
+
rows: PivotDialogRow[];
|
|
10909
|
+
values: PivotDialogValue[][];
|
|
10910
|
+
}
|
|
10911
|
+
declare class PivotHTMLRenderer extends Component<Props$d, SpreadsheetChildEnv> {
|
|
10912
|
+
static template: string;
|
|
10913
|
+
static components: {
|
|
10914
|
+
Checkbox: typeof Checkbox;
|
|
10915
|
+
};
|
|
10916
|
+
static props: {
|
|
10917
|
+
pivotId: StringConstructor;
|
|
10918
|
+
onCellClicked: FunctionConstructor;
|
|
10919
|
+
};
|
|
10920
|
+
private pivot;
|
|
10921
|
+
data: TableData;
|
|
10922
|
+
private state;
|
|
10923
|
+
setup(): void;
|
|
10924
|
+
get tracker(): PivotPresenceTracker | undefined;
|
|
10925
|
+
/**
|
|
10926
|
+
* Retrieve the data to display in the Pivot Table
|
|
10927
|
+
* In the case when showMissingValuesOnly is false, the returned value
|
|
10928
|
+
* is the complete data
|
|
10929
|
+
* In the case when showMissingValuesOnly is true, the returned value is
|
|
10930
|
+
* the data which contains only missing values in the rows and cols. In
|
|
10931
|
+
* the rows, we also return the parent rows of rows which contains missing
|
|
10932
|
+
* values, to give context to the user.
|
|
10933
|
+
*
|
|
10934
|
+
*/
|
|
10935
|
+
getTableData(): TableData;
|
|
10936
|
+
/**
|
|
10937
|
+
* Retrieve the parents of the given row
|
|
10938
|
+
* ex:
|
|
10939
|
+
* Australia
|
|
10940
|
+
* January
|
|
10941
|
+
* February
|
|
10942
|
+
* The parent of "January" is "Australia"
|
|
10943
|
+
*/
|
|
10944
|
+
private addRecursiveRow;
|
|
10945
|
+
/**
|
|
10946
|
+
* Create the columns to be used, based on the indexes of the columns in
|
|
10947
|
+
* which a missing value is present
|
|
10948
|
+
*
|
|
10949
|
+
*/
|
|
10950
|
+
private buildColumnsMissing;
|
|
10951
|
+
/**
|
|
10952
|
+
* Create the rows to be used, based on the indexes of the rows in
|
|
10953
|
+
* which a missing value is present.
|
|
10954
|
+
*/
|
|
10955
|
+
private buildRowsMissing;
|
|
10956
|
+
/**
|
|
10957
|
+
* Create the value to be used, based on the indexes of the columns and
|
|
10958
|
+
* rows in which a missing value is present.
|
|
10959
|
+
*/
|
|
10960
|
+
private buildValuesMissing;
|
|
10961
|
+
private getColumnsIndexes;
|
|
10962
|
+
private getRowsIndexes;
|
|
10963
|
+
_buildColHeaders(id: UID, table: SpreadsheetPivotTable): PivotDialogColumn[][];
|
|
10964
|
+
_buildRowHeaders(id: UID, table: SpreadsheetPivotTable): PivotDialogRow[];
|
|
10965
|
+
_buildValues(id: UID, table: SpreadsheetPivotTable): PivotDialogValue[][];
|
|
10966
|
+
}
|
|
10967
|
+
|
|
10738
10968
|
interface Props$c {
|
|
10739
10969
|
figureId: UID;
|
|
10740
10970
|
definition: ComboChartDefinition;
|
|
@@ -10955,7 +11185,7 @@ declare class HoveredTableStore extends SpreadsheetStore {
|
|
|
10955
11185
|
row: number | undefined;
|
|
10956
11186
|
overlayColors: PositionMap<Color>;
|
|
10957
11187
|
handle(cmd: Command): void;
|
|
10958
|
-
hover(position: Partial<Position$1>):
|
|
11188
|
+
hover(position: Partial<Position$1>): "noStateChange" | undefined;
|
|
10959
11189
|
clear(): void;
|
|
10960
11190
|
private computeOverlay;
|
|
10961
11191
|
}
|
|
@@ -11042,6 +11272,7 @@ declare class PieChart extends AbstractChart {
|
|
|
11042
11272
|
readonly dataSetsHaveTitle: boolean;
|
|
11043
11273
|
readonly isDoughnut?: boolean;
|
|
11044
11274
|
readonly showValues?: boolean;
|
|
11275
|
+
readonly pieHolePercentage?: number;
|
|
11045
11276
|
constructor(definition: PieChartDefinition, sheetId: UID, getters: CoreGetters);
|
|
11046
11277
|
static transformDefinition(definition: PieChartDefinition, executed: AddColumnsRowsCommand | RemoveColumnsRowsCommand): PieChartDefinition;
|
|
11047
11278
|
static validateChartDefinition(validator: Validator, definition: PieChartDefinition): CommandResult | CommandResult[];
|
|
@@ -11134,11 +11365,11 @@ interface Renderer {
|
|
|
11134
11365
|
renderingLayers: Readonly<LayerName[]>;
|
|
11135
11366
|
}
|
|
11136
11367
|
declare class RendererStore {
|
|
11137
|
-
mutators: readonly ["register", "unRegister"];
|
|
11368
|
+
mutators: readonly ["register", "unRegister", "drawLayer"];
|
|
11138
11369
|
private renderers;
|
|
11139
11370
|
register(renderer: Renderer): void;
|
|
11140
11371
|
unRegister(renderer: Renderer): void;
|
|
11141
|
-
drawLayer(context: GridRenderingContext, layer: LayerName):
|
|
11372
|
+
drawLayer(context: GridRenderingContext, layer: LayerName): string;
|
|
11142
11373
|
}
|
|
11143
11374
|
|
|
11144
11375
|
interface RippleProps {
|
|
@@ -11419,6 +11650,7 @@ declare class SpreadsheetDashboard extends Component<Props$3, SpreadsheetChildEn
|
|
|
11419
11650
|
canvasPosition: DOMCoordinates;
|
|
11420
11651
|
hoveredCell: Store<DelayedHoveredCellStore>;
|
|
11421
11652
|
clickableCellsStore: Store<ClickableCellsStore>;
|
|
11653
|
+
private gridRef;
|
|
11422
11654
|
setup(): void;
|
|
11423
11655
|
get gridContainer(): string;
|
|
11424
11656
|
get gridOverlayDimensions(): string;
|
|
@@ -11527,8 +11759,8 @@ declare class ToolBarRegistry {
|
|
|
11527
11759
|
content: {
|
|
11528
11760
|
[key: string]: ToolBarItem[];
|
|
11529
11761
|
};
|
|
11530
|
-
add(key: string):
|
|
11531
|
-
addChild(key: string, value: ToolBarItem):
|
|
11762
|
+
add(key: string): this;
|
|
11763
|
+
addChild(key: string, value: ToolBarItem): this;
|
|
11532
11764
|
getEntries(id: string): ToolBarItem[];
|
|
11533
11765
|
getCategories(): string[];
|
|
11534
11766
|
}
|
|
@@ -11753,11 +11985,12 @@ declare const registries: {
|
|
|
11753
11985
|
[key: string]: Function;
|
|
11754
11986
|
};
|
|
11755
11987
|
uuidGenerator: UuidGenerator;
|
|
11756
|
-
|
|
11988
|
+
replace(name: string, value: Omit<TopbarComponent, "id">): /*elided*/ any;
|
|
11757
11989
|
getAllOrdered(): TopbarComponent[];
|
|
11758
11990
|
content: {
|
|
11759
11991
|
[key: string]: TopbarComponent;
|
|
11760
11992
|
};
|
|
11993
|
+
add(key: string, value: TopbarComponent): /*elided*/ any;
|
|
11761
11994
|
get(key: string): TopbarComponent;
|
|
11762
11995
|
contains(key: string): boolean;
|
|
11763
11996
|
getAll(): TopbarComponent[];
|
|
@@ -11783,7 +12016,10 @@ declare const registries: {
|
|
|
11783
12016
|
supportedPivotPositionalFormulaRegistry: Registry<boolean>;
|
|
11784
12017
|
pivotToFunctionValueRegistry: Registry<(value: CellValue, granularity?: string) => string>;
|
|
11785
12018
|
migrationStepRegistry: Registry<MigrationStep>;
|
|
11786
|
-
chartJsExtensionRegistry: Registry<
|
|
12019
|
+
chartJsExtensionRegistry: Registry<{
|
|
12020
|
+
register: (chart: typeof window.Chart) => void;
|
|
12021
|
+
unregister: (chart: typeof window.Chart) => void;
|
|
12022
|
+
}>;
|
|
11787
12023
|
};
|
|
11788
12024
|
declare const helpers: {
|
|
11789
12025
|
arg: typeof arg;
|
|
@@ -11893,6 +12129,7 @@ declare const components: {
|
|
|
11893
12129
|
PivotDimensionOrder: typeof PivotDimensionOrder;
|
|
11894
12130
|
PivotDimension: typeof PivotDimension;
|
|
11895
12131
|
PivotLayoutConfigurator: typeof PivotLayoutConfigurator;
|
|
12132
|
+
PivotHTMLRenderer: typeof PivotHTMLRenderer;
|
|
11896
12133
|
PivotDeferUpdate: typeof PivotDeferUpdate;
|
|
11897
12134
|
PivotTitleSection: typeof PivotTitleSection;
|
|
11898
12135
|
CogWheelMenu: typeof CogWheelMenu;
|
|
@@ -11900,6 +12137,7 @@ declare const components: {
|
|
|
11900
12137
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11901
12138
|
RadioSelection: typeof RadioSelection;
|
|
11902
12139
|
GeoChartRegionSelectSection: typeof GeoChartRegionSelectSection;
|
|
12140
|
+
ChartDashboardMenu: typeof ChartDashboardMenu;
|
|
11903
12141
|
};
|
|
11904
12142
|
declare const hooks: {
|
|
11905
12143
|
useDragAndDropListItems: typeof useDragAndDropListItems;
|
|
@@ -11958,7 +12196,7 @@ declare const chartHelpers: {
|
|
|
11958
12196
|
getLineChartData(definition: GenericDefinition<LineChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
|
|
11959
12197
|
getPieChartData(definition: GenericDefinition<PieChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
|
|
11960
12198
|
getRadarChartData(definition: GenericDefinition<RadarChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
|
|
11961
|
-
getGeoChartData(definition: GeoChartDefinition,
|
|
12199
|
+
getGeoChartData(definition: GeoChartDefinition, fullDataSets: DataSet[], labelRange: Range | undefined, getters: Getters): GeoChartRuntimeGenerationArgs;
|
|
11962
12200
|
getFunnelChartData(definition: GenericDefinition<FunnelChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
|
|
11963
12201
|
getHierarchalChartData(definition: SunburstChartDefinition | TreeMapChartDefinition, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
|
|
11964
12202
|
getTrendDatasetForBarChart(config: TrendConfiguration, data: any[]): chart_js.Point[] | undefined;
|
|
@@ -11967,13 +12205,14 @@ declare const chartHelpers: {
|
|
|
11967
12205
|
getData(getters: Getters, ds: DataSet): (CellValue | undefined)[];
|
|
11968
12206
|
getChartLabelFormat(getters: Getters, range: Range | undefined, shouldRemoveFirstLabel: boolean): Format | undefined;
|
|
11969
12207
|
makeDatasetsCumulative(datasets: DatasetValues[], order: "asc" | "desc"): DatasetValues[];
|
|
12208
|
+
getTopPaddingForDashboard(definition: GenericDefinition<PieChartDefinition | LineChartDefinition | BarChartDefinition>, getters: Getters): 0 | 30;
|
|
11970
12209
|
getBarChartDatasets(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"bar" | "line">[];
|
|
11971
12210
|
getWaterfallDatasetAndLabels(definition: GenericDefinition<WaterfallChartDefinition>, args: ChartRuntimeGenerationArgs): {
|
|
11972
12211
|
datasets: chart_js.ChartDataset[];
|
|
11973
12212
|
labels: string[];
|
|
11974
12213
|
};
|
|
11975
12214
|
getLineChartDatasets(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"line">[];
|
|
11976
|
-
getScatterChartDatasets(definition: GenericDefinition<ScatterChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset[];
|
|
12215
|
+
getScatterChartDatasets(definition: GenericDefinition<ScatterChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"line">[];
|
|
11977
12216
|
getPieChartDatasets(definition: GenericDefinition<PieChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"pie">[];
|
|
11978
12217
|
getComboChartDatasets(definition: GenericDefinition<ComboChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"bar" | "line">[];
|
|
11979
12218
|
getRadarChartDatasets(definition: GenericDefinition<RadarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"radar">[];
|
|
@@ -11984,7 +12223,7 @@ declare const chartHelpers: {
|
|
|
11984
12223
|
getTreeMapChartDatasets(definition: TreeMapChartDefinition, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"treemap">[];
|
|
11985
12224
|
getChartColorsGenerator(definition: GenericDefinition<ChartWithDataSetDefinition>, dataSetsSize: number): ColorGenerator;
|
|
11986
12225
|
GHOST_SUNBURST_VALUE: "nullValue";
|
|
11987
|
-
getChartLayout(definition: GenericDefinition<ChartWithDataSetDefinition
|
|
12226
|
+
getChartLayout(definition: GenericDefinition<ChartWithDataSetDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<Partial<{
|
|
11988
12227
|
autoPadding: boolean;
|
|
11989
12228
|
padding: chart_js.Scriptable<chart_js_dist_types_geometric.Padding, chart_js.ScriptableContext<keyof chart_js.ChartTypeRegistry>>;
|
|
11990
12229
|
}>> | undefined;
|
|
@@ -12450,7 +12689,7 @@ declare const chartHelpers: {
|
|
|
12450
12689
|
useLeftAxis: boolean;
|
|
12451
12690
|
useRightAxis: boolean;
|
|
12452
12691
|
};
|
|
12453
|
-
formatChartDatasetValue(axisFormats: ChartAxisFormats, locale: Locale): (value: any, axisId: string
|
|
12692
|
+
formatChartDatasetValue(axisFormats: ChartAxisFormats, locale: Locale): (value: any, axisId: string) => any;
|
|
12454
12693
|
formatTickValue(localeFormat: LocaleFormat): (value: any) => any;
|
|
12455
12694
|
getPieColors(colors: ColorGenerator, dataSetsValues: DatasetValues[]): Color[];
|
|
12456
12695
|
truncateLabel(label: string | undefined): string;
|
|
@@ -12474,7 +12713,20 @@ declare const chartHelpers: {
|
|
|
12474
12713
|
getSmartChartDefinition(zone: Zone, getters: Getters): ChartDefinition;
|
|
12475
12714
|
chartToImageUrl(runtime: ChartRuntime, figure: Figure, type: ChartType): string | undefined;
|
|
12476
12715
|
chartToImageFile(runtime: ChartRuntime, figure: Figure, type: ChartType): Promise<File | undefined>;
|
|
12477
|
-
CHART_COMMON_OPTIONS:
|
|
12716
|
+
CHART_COMMON_OPTIONS: {
|
|
12717
|
+
responsive: true;
|
|
12718
|
+
maintainAspectRatio: false;
|
|
12719
|
+
elements: {
|
|
12720
|
+
line: {
|
|
12721
|
+
fill: false;
|
|
12722
|
+
};
|
|
12723
|
+
point: {
|
|
12724
|
+
hitRadius: number;
|
|
12725
|
+
};
|
|
12726
|
+
};
|
|
12727
|
+
animation: false;
|
|
12728
|
+
events: ("click" | "mousemove" | "mouseout" | "mouseup" | "touchmove" | "touchstart")[];
|
|
12729
|
+
};
|
|
12478
12730
|
createGaugeChartRuntime(chart: GaugeChart, getters: Getters): GaugeChartRuntime;
|
|
12479
12731
|
GaugeChart: typeof GaugeChart;
|
|
12480
12732
|
createLineChartRuntime(chart: LineChart, getters: Getters): ChartJSRuntime;
|
|
@@ -12488,4 +12740,4 @@ declare const chartHelpers: {
|
|
|
12488
12740
|
WaterfallChart: typeof WaterfallChart;
|
|
12489
12741
|
};
|
|
12490
12742
|
|
|
12491
|
-
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, 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, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, 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, CoreViewPlugin, 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, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartTrendConfiguration, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelTrendlineType, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericDefinition, 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, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeAdapter$1 as RangeAdapter, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, 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, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, 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, chartHelpers, 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 };
|
|
12743
|
+
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, 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, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, 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, CoreViewPlugin, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, CriterionFilter, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataFilterValue, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluatedCriterion, EvaluatedDateCriterion, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartTrendConfiguration, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelTrendlineType, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterCriterionType, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericCriterion, GenericCriterionType, GenericDateCriterion, GenericDefinition, 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, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeAdapter$1 as RangeAdapter, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, 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, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, 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$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, ToggleCheckboxCommand, 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, ValuesFilter, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, filterDateCriterionOperators, filterNumberCriterionOperators, filterTextCriterionOperators, 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 };
|