@odoo/o-spreadsheet 18.4.0-alpha.2 → 18.4.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/o-spreadsheet.cjs.js +31746 -30087
- package/dist/o-spreadsheet.d.ts +631 -437
- package/dist/o-spreadsheet.esm.js +31747 -30089
- package/dist/o-spreadsheet.iife.js +31733 -30074
- package/dist/o-spreadsheet.iife.min.js +805 -758
- package/dist/o_spreadsheet.xml +410 -249
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as chart_js from 'chart.js';
|
|
2
2
|
import { ChartConfiguration, ChartDataset, CoreChartOptions, Scriptable, Color as Color$1, ScriptableContext, FontSpec, Point, ChartType as ChartType$1 } from 'chart.js';
|
|
3
3
|
import * as ChartGeo from 'chartjs-chart-geo';
|
|
4
|
-
import * as GeoJSON$1 from 'geojson';
|
|
5
4
|
import * as _odoo_owl from '@odoo/owl';
|
|
6
5
|
import { ComponentConstructor, Component } from '@odoo/owl';
|
|
6
|
+
import * as GeoJSON$1 from 'geojson';
|
|
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
9
|
|
|
@@ -68,8 +68,7 @@ type XlsxHexColor = string & Alias;
|
|
|
68
68
|
|
|
69
69
|
type VerticalAxisPosition = "left" | "right";
|
|
70
70
|
type LegendPosition = "top" | "bottom" | "left" | "right" | "none";
|
|
71
|
-
|
|
72
|
-
interface ComboBarChartDefinition {
|
|
71
|
+
interface CommonChartDefinition {
|
|
73
72
|
readonly dataSets: CustomizedDataSet[];
|
|
74
73
|
readonly dataSetsHaveTitle: boolean;
|
|
75
74
|
readonly labelRange?: string;
|
|
@@ -81,6 +80,9 @@ interface ComboBarChartDefinition {
|
|
|
81
80
|
readonly showValues?: boolean;
|
|
82
81
|
}
|
|
83
82
|
|
|
83
|
+
interface ComboBarChartDefinition extends CommonChartDefinition {
|
|
84
|
+
}
|
|
85
|
+
|
|
84
86
|
interface BarChartDefinition extends ComboBarChartDefinition {
|
|
85
87
|
readonly type: "bar";
|
|
86
88
|
readonly stacked: boolean;
|
|
@@ -199,35 +201,21 @@ interface GeoChartRuntimeGenerationArgs extends ChartRuntimeGenerationArgs {
|
|
|
199
201
|
geoFeatureNameToId: (region: string, featureName: string) => string | undefined;
|
|
200
202
|
}
|
|
201
203
|
|
|
202
|
-
interface LineChartDefinition {
|
|
204
|
+
interface LineChartDefinition extends CommonChartDefinition {
|
|
203
205
|
readonly type: "line";
|
|
204
|
-
readonly dataSets: CustomizedDataSet[];
|
|
205
|
-
readonly dataSetsHaveTitle: boolean;
|
|
206
|
-
readonly labelRange?: string;
|
|
207
|
-
readonly title: TitleDesign;
|
|
208
|
-
readonly background?: Color;
|
|
209
|
-
readonly legendPosition: LegendPosition;
|
|
210
206
|
readonly labelsAsText: boolean;
|
|
211
207
|
readonly stacked: boolean;
|
|
212
208
|
readonly aggregated?: boolean;
|
|
213
209
|
readonly cumulative: boolean;
|
|
214
|
-
readonly axesDesign?: AxesDesign;
|
|
215
210
|
readonly fillArea?: boolean;
|
|
216
|
-
readonly showValues?: boolean;
|
|
217
211
|
}
|
|
218
212
|
type LineChartRuntime = {
|
|
219
213
|
chartJsConfig: ChartConfiguration;
|
|
220
214
|
background: Color;
|
|
221
215
|
};
|
|
222
216
|
|
|
223
|
-
interface PieChartDefinition {
|
|
217
|
+
interface PieChartDefinition extends CommonChartDefinition {
|
|
224
218
|
readonly type: "pie";
|
|
225
|
-
readonly dataSets: CustomizedDataSet[];
|
|
226
|
-
readonly dataSetsHaveTitle: boolean;
|
|
227
|
-
readonly labelRange?: string;
|
|
228
|
-
readonly title: TitleDesign;
|
|
229
|
-
readonly background?: Color;
|
|
230
|
-
readonly legendPosition: LegendPosition;
|
|
231
219
|
readonly aggregated?: boolean;
|
|
232
220
|
readonly isDoughnut?: boolean;
|
|
233
221
|
readonly showValues?: boolean;
|
|
@@ -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;
|
|
@@ -274,9 +254,10 @@ interface ScorecardChartDefinition {
|
|
|
274
254
|
readonly type: "scorecard";
|
|
275
255
|
readonly title: TitleDesign;
|
|
276
256
|
readonly keyValue?: string;
|
|
257
|
+
readonly keyDescr?: TitleDesign;
|
|
277
258
|
readonly baseline?: string;
|
|
278
259
|
readonly baselineMode: BaselineMode;
|
|
279
|
-
readonly baselineDescr?:
|
|
260
|
+
readonly baselineDescr?: TitleDesign;
|
|
280
261
|
readonly background?: Color;
|
|
281
262
|
readonly baselineColorUp: Color;
|
|
282
263
|
readonly baselineColorDown: Color;
|
|
@@ -291,6 +272,7 @@ interface ProgressBar {
|
|
|
291
272
|
interface ScorecardChartRuntime {
|
|
292
273
|
readonly title: TitleDesign;
|
|
293
274
|
readonly keyValue: string;
|
|
275
|
+
readonly keyDescr: string;
|
|
294
276
|
readonly baselineDisplay: string;
|
|
295
277
|
readonly baselineColor?: string;
|
|
296
278
|
readonly baselineArrow: BaselineArrowDirection;
|
|
@@ -298,7 +280,9 @@ interface ScorecardChartRuntime {
|
|
|
298
280
|
readonly background: Color;
|
|
299
281
|
readonly fontColor: Color;
|
|
300
282
|
readonly keyValueStyle?: Style;
|
|
283
|
+
readonly keyValueDescrStyle?: Style;
|
|
301
284
|
readonly baselineStyle?: Style;
|
|
285
|
+
readonly baselineDescrStyle?: Style;
|
|
302
286
|
readonly progressBar?: ProgressBar;
|
|
303
287
|
}
|
|
304
288
|
|
|
@@ -474,15 +458,9 @@ type TreeMapChartRuntime = {
|
|
|
474
458
|
background: Color;
|
|
475
459
|
};
|
|
476
460
|
|
|
477
|
-
interface WaterfallChartDefinition {
|
|
461
|
+
interface WaterfallChartDefinition extends CommonChartDefinition {
|
|
478
462
|
readonly type: "waterfall";
|
|
479
|
-
readonly dataSets: CustomizedDataSet[];
|
|
480
|
-
readonly dataSetsHaveTitle: boolean;
|
|
481
|
-
readonly labelRange?: string;
|
|
482
|
-
readonly title: TitleDesign;
|
|
483
|
-
readonly background?: Color;
|
|
484
463
|
readonly verticalAxisPosition: VerticalAxisPosition;
|
|
485
|
-
readonly legendPosition: LegendPosition;
|
|
486
464
|
readonly aggregated?: boolean;
|
|
487
465
|
readonly showSubTotals: boolean;
|
|
488
466
|
readonly showConnectorLines: boolean;
|
|
@@ -490,8 +468,6 @@ interface WaterfallChartDefinition {
|
|
|
490
468
|
readonly positiveValuesColor?: Color;
|
|
491
469
|
readonly negativeValuesColor?: Color;
|
|
492
470
|
readonly subTotalValuesColor?: Color;
|
|
493
|
-
readonly axesDesign?: AxesDesign;
|
|
494
|
-
readonly showValues?: boolean;
|
|
495
471
|
}
|
|
496
472
|
type WaterfallChartRuntime = {
|
|
497
473
|
chartJsConfig: ChartConfiguration;
|
|
@@ -557,6 +533,7 @@ type CustomizedDataSet = {
|
|
|
557
533
|
readonly trend?: TrendConfiguration;
|
|
558
534
|
} & DatasetDesign;
|
|
559
535
|
type AxisType = "category" | "linear" | "time";
|
|
536
|
+
type ChartDatasetOrientation = "rows" | "columns";
|
|
560
537
|
interface DataSet {
|
|
561
538
|
readonly labelCell?: Range;
|
|
562
539
|
readonly dataRange: Range;
|
|
@@ -773,6 +750,10 @@ interface Client {
|
|
|
773
750
|
id: ClientId;
|
|
774
751
|
name: string;
|
|
775
752
|
position?: ClientPosition;
|
|
753
|
+
color?: Color;
|
|
754
|
+
}
|
|
755
|
+
interface ClientWithPosition extends Client {
|
|
756
|
+
position: ClientPosition;
|
|
776
757
|
}
|
|
777
758
|
interface ClientPosition {
|
|
778
759
|
sheetId: UID;
|
|
@@ -948,7 +929,8 @@ interface Top10Rule extends SingleColorRule {
|
|
|
948
929
|
bottom: boolean;
|
|
949
930
|
rank: number;
|
|
950
931
|
}
|
|
951
|
-
type ConditionalFormattingOperatorValues = "
|
|
932
|
+
type ConditionalFormattingOperatorValues = "beginsWithText" | "isBetween" | "containsText" | "isEmpty" | "isNotEmpty" | "endsWithText" | "isEqual" | "isGreaterThan" | "isGreaterOrEqualTo" | "isLessThan" | "isLessOrEqualTo" | "isNotBetween" | "notContainsText" | "isNotEqual";
|
|
933
|
+
declare const availableConditionalFormatOperators: Set<ConditionalFormattingOperatorValues>;
|
|
952
934
|
|
|
953
935
|
declare const PREVIOUS_VALUE = "(previous)";
|
|
954
936
|
declare const NEXT_VALUE = "(next)";
|
|
@@ -984,12 +966,17 @@ interface CommonPivotCoreDefinition {
|
|
|
984
966
|
name: string;
|
|
985
967
|
deferUpdates?: boolean;
|
|
986
968
|
sortedColumn?: PivotSortedColumn;
|
|
969
|
+
collapsedDomains?: PivotCollapsedDomains;
|
|
987
970
|
}
|
|
988
971
|
interface PivotSortedColumn {
|
|
989
972
|
order: SortDirection;
|
|
990
973
|
domain: PivotDomain;
|
|
991
974
|
measure: string;
|
|
992
975
|
}
|
|
976
|
+
interface PivotCollapsedDomains {
|
|
977
|
+
COL: PivotDomain[];
|
|
978
|
+
ROW: PivotDomain[];
|
|
979
|
+
}
|
|
993
980
|
interface SpreadsheetPivotCoreDefinition extends CommonPivotCoreDefinition {
|
|
994
981
|
type: "SPREADSHEET";
|
|
995
982
|
dataSet?: {
|
|
@@ -1041,6 +1028,7 @@ interface PivotTableData {
|
|
|
1041
1028
|
interface PivotHeaderCell {
|
|
1042
1029
|
type: "HEADER";
|
|
1043
1030
|
domain: PivotDomain;
|
|
1031
|
+
dimension: Dimension;
|
|
1044
1032
|
}
|
|
1045
1033
|
interface PivotMeasureHeaderCell {
|
|
1046
1034
|
type: "MEASURE_HEADER";
|
|
@@ -1092,6 +1080,20 @@ interface DimensionTreeNode {
|
|
|
1092
1080
|
}
|
|
1093
1081
|
type DimensionTree = DimensionTreeNode[];
|
|
1094
1082
|
|
|
1083
|
+
interface GenericCriterion {
|
|
1084
|
+
type: GenericCriterionType;
|
|
1085
|
+
values: string[];
|
|
1086
|
+
}
|
|
1087
|
+
type GenericDateCriterion = GenericCriterion & {
|
|
1088
|
+
dateValue: DateCriterionValue;
|
|
1089
|
+
};
|
|
1090
|
+
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";
|
|
1091
|
+
type DateCriterionValue = "today" | "tomorrow" | "yesterday" | "lastWeek" | "lastMonth" | "lastYear" | "exactDate";
|
|
1092
|
+
type EvaluatedCriterion<T extends GenericCriterion = GenericCriterion> = Omit<T, "values"> & {
|
|
1093
|
+
values: CellValue[];
|
|
1094
|
+
};
|
|
1095
|
+
type EvaluatedDateCriterion = EvaluatedCriterion<GenericDateCriterion>;
|
|
1096
|
+
|
|
1095
1097
|
interface Table {
|
|
1096
1098
|
readonly id: TableId;
|
|
1097
1099
|
readonly range: Range;
|
|
@@ -1155,6 +1157,23 @@ interface TableStyle {
|
|
|
1155
1157
|
totalRow?: TableElementStyle;
|
|
1156
1158
|
}
|
|
1157
1159
|
type TableStyleTemplateName = "none" | "lightColoredText" | "lightAllBorders" | "mediumAllBorders" | "lightWithHeader" | "mediumBandedBorders" | "mediumMinimalBorders" | "darkNoBorders" | "mediumWhiteBorders" | "dark";
|
|
1160
|
+
declare const filterCriterions: GenericCriterionType[];
|
|
1161
|
+
type FilterCriterionType = (typeof filterCriterions)[number];
|
|
1162
|
+
declare const availableFiltersOperators: Set<FilterCriterionType>;
|
|
1163
|
+
declare const filterTextCriterionOperators: FilterCriterionType[];
|
|
1164
|
+
declare const filterNumberCriterionOperators: FilterCriterionType[];
|
|
1165
|
+
declare const filterDateCriterionOperators: FilterCriterionType[];
|
|
1166
|
+
interface ValuesFilter {
|
|
1167
|
+
filterType: "values";
|
|
1168
|
+
hiddenValues: string[];
|
|
1169
|
+
}
|
|
1170
|
+
interface CriterionFilter {
|
|
1171
|
+
filterType: "criterion";
|
|
1172
|
+
type: FilterCriterionType | "none";
|
|
1173
|
+
values: string[];
|
|
1174
|
+
dateValue?: DateCriterionValue;
|
|
1175
|
+
}
|
|
1176
|
+
type DataFilterValue = ValuesFilter | CriterionFilter;
|
|
1158
1177
|
|
|
1159
1178
|
interface Dependencies {
|
|
1160
1179
|
references: string[];
|
|
@@ -1202,7 +1221,7 @@ interface SheetData {
|
|
|
1202
1221
|
};
|
|
1203
1222
|
conditionalFormats: ConditionalFormat[];
|
|
1204
1223
|
dataValidationRules: DataValidationRuleData[];
|
|
1205
|
-
tables: TableData[];
|
|
1224
|
+
tables: TableData$1[];
|
|
1206
1225
|
areGridLinesVisible?: boolean;
|
|
1207
1226
|
isVisible: boolean;
|
|
1208
1227
|
panes?: PaneDivision;
|
|
@@ -1262,7 +1281,7 @@ interface ExcelHeaderData extends HeaderData {
|
|
|
1262
1281
|
outlineLevel?: number;
|
|
1263
1282
|
collapsed?: boolean;
|
|
1264
1283
|
}
|
|
1265
|
-
interface TableData {
|
|
1284
|
+
interface TableData$1 {
|
|
1266
1285
|
range: string;
|
|
1267
1286
|
config?: TableConfig;
|
|
1268
1287
|
type?: CoreTableType;
|
|
@@ -1311,7 +1330,7 @@ interface RevisionRedoneMessage extends AbstractMessage {
|
|
|
1311
1330
|
}
|
|
1312
1331
|
interface ClientJoinedMessage extends AbstractMessage {
|
|
1313
1332
|
type: "CLIENT_JOINED";
|
|
1314
|
-
client:
|
|
1333
|
+
client: ClientWithPosition;
|
|
1315
1334
|
}
|
|
1316
1335
|
interface ClientLeftMessage extends AbstractMessage {
|
|
1317
1336
|
type: "CLIENT_LEFT";
|
|
@@ -1319,7 +1338,7 @@ interface ClientLeftMessage extends AbstractMessage {
|
|
|
1319
1338
|
}
|
|
1320
1339
|
interface ClientMovedMessage extends AbstractMessage {
|
|
1321
1340
|
type: "CLIENT_MOVED";
|
|
1322
|
-
client:
|
|
1341
|
+
client: ClientWithPosition;
|
|
1323
1342
|
}
|
|
1324
1343
|
/**
|
|
1325
1344
|
* Send a snapshot of the spreadsheet to the collaborative server
|
|
@@ -1461,7 +1480,8 @@ declare class Session extends EventBus<CollaborativeEvent> {
|
|
|
1461
1480
|
* Send a snapshot of the spreadsheet to the collaboration server
|
|
1462
1481
|
*/
|
|
1463
1482
|
snapshot(data: WorkbookData): Promise<void>;
|
|
1464
|
-
|
|
1483
|
+
getCurrentClient(): Client;
|
|
1484
|
+
getClient(clientId: ClientId): Client;
|
|
1465
1485
|
getConnectedClients(): Set<Client>;
|
|
1466
1486
|
getRevisionId(): UID;
|
|
1467
1487
|
isFullySynchronized(): boolean;
|
|
@@ -1511,6 +1531,51 @@ declare class ColorGenerator {
|
|
|
1511
1531
|
next(): string;
|
|
1512
1532
|
}
|
|
1513
1533
|
|
|
1534
|
+
interface SearchOptions {
|
|
1535
|
+
matchCase: boolean;
|
|
1536
|
+
exactMatch: boolean;
|
|
1537
|
+
searchFormulas: boolean;
|
|
1538
|
+
searchScope: "allSheets" | "activeSheet" | "specificRange";
|
|
1539
|
+
specificRange?: Range;
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* Deep copy arrays, plain objects and primitive values.
|
|
1544
|
+
* Throws an error for other types such as class instances.
|
|
1545
|
+
* Sparse arrays remain sparse.
|
|
1546
|
+
*/
|
|
1547
|
+
declare function deepCopy<T>(obj: T): T;
|
|
1548
|
+
declare function unquote(string: string, quoteChar?: "'" | '"'): string;
|
|
1549
|
+
/** Replace the excel-excluded characters of a sheetName */
|
|
1550
|
+
declare function sanitizeSheetName(sheetName: string, replacementChar?: string): string;
|
|
1551
|
+
declare function isMarkdownLink(str: string): boolean;
|
|
1552
|
+
/**
|
|
1553
|
+
* Build a markdown link from a label and an url
|
|
1554
|
+
*/
|
|
1555
|
+
declare function markdownLink(label: string, url: string): string;
|
|
1556
|
+
declare function parseMarkdownLink(str: string): {
|
|
1557
|
+
url: string;
|
|
1558
|
+
label: string;
|
|
1559
|
+
};
|
|
1560
|
+
/**
|
|
1561
|
+
* This helper function can be used as a type guard when filtering arrays.
|
|
1562
|
+
* const foo: number[] = [1, 2, undefined, 4].filter(isDefined)
|
|
1563
|
+
*/
|
|
1564
|
+
declare function isDefined<T>(argument: T | undefined): argument is T;
|
|
1565
|
+
/**
|
|
1566
|
+
* Lazy value computed by the provided function.
|
|
1567
|
+
*/
|
|
1568
|
+
declare function lazy<T>(fn: (() => T) | T): Lazy<T>;
|
|
1569
|
+
/**
|
|
1570
|
+
* Compares two objects.
|
|
1571
|
+
*/
|
|
1572
|
+
declare function deepEquals(o1: any, o2: any): boolean;
|
|
1573
|
+
declare function getUniqueText(text: string, texts: string[], options?: {
|
|
1574
|
+
compute?: (text: string, increment: number) => string;
|
|
1575
|
+
start?: number;
|
|
1576
|
+
computeFirstOne?: boolean;
|
|
1577
|
+
}): string;
|
|
1578
|
+
|
|
1514
1579
|
/**
|
|
1515
1580
|
* Convert a (col) number to the corresponding letter.
|
|
1516
1581
|
*
|
|
@@ -1587,51 +1652,6 @@ declare function formatValue(value: CellValue, { format, locale, formatWidth }:
|
|
|
1587
1652
|
}): FormattedValue;
|
|
1588
1653
|
declare function createCurrencyFormat(currency: Partial<Currency>): Format;
|
|
1589
1654
|
|
|
1590
|
-
interface SearchOptions {
|
|
1591
|
-
matchCase: boolean;
|
|
1592
|
-
exactMatch: boolean;
|
|
1593
|
-
searchFormulas: boolean;
|
|
1594
|
-
searchScope: "allSheets" | "activeSheet" | "specificRange";
|
|
1595
|
-
specificRange?: Range;
|
|
1596
|
-
}
|
|
1597
|
-
|
|
1598
|
-
/**
|
|
1599
|
-
* Deep copy arrays, plain objects and primitive values.
|
|
1600
|
-
* Throws an error for other types such as class instances.
|
|
1601
|
-
* Sparse arrays remain sparse.
|
|
1602
|
-
*/
|
|
1603
|
-
declare function deepCopy<T>(obj: T): T;
|
|
1604
|
-
declare function unquote(string: string, quoteChar?: "'" | '"'): string;
|
|
1605
|
-
/** Replace the excel-excluded characters of a sheetName */
|
|
1606
|
-
declare function sanitizeSheetName(sheetName: string, replacementChar?: string): string;
|
|
1607
|
-
declare function isMarkdownLink(str: string): boolean;
|
|
1608
|
-
/**
|
|
1609
|
-
* Build a markdown link from a label and an url
|
|
1610
|
-
*/
|
|
1611
|
-
declare function markdownLink(label: string, url: string): string;
|
|
1612
|
-
declare function parseMarkdownLink(str: string): {
|
|
1613
|
-
url: string;
|
|
1614
|
-
label: string;
|
|
1615
|
-
};
|
|
1616
|
-
/**
|
|
1617
|
-
* This helper function can be used as a type guard when filtering arrays.
|
|
1618
|
-
* const foo: number[] = [1, 2, undefined, 4].filter(isDefined)
|
|
1619
|
-
*/
|
|
1620
|
-
declare function isDefined<T>(argument: T | undefined): argument is T;
|
|
1621
|
-
/**
|
|
1622
|
-
* Lazy value computed by the provided function.
|
|
1623
|
-
*/
|
|
1624
|
-
declare function lazy<T>(fn: (() => T) | T): Lazy<T>;
|
|
1625
|
-
/**
|
|
1626
|
-
* Compares two objects.
|
|
1627
|
-
*/
|
|
1628
|
-
declare function deepEquals(o1: any, o2: any): boolean;
|
|
1629
|
-
declare function getUniqueText(text: string, texts: string[], options?: {
|
|
1630
|
-
compute?: (text: string, increment: number) => string;
|
|
1631
|
-
start?: number;
|
|
1632
|
-
computeFirstOne?: boolean;
|
|
1633
|
-
}): string;
|
|
1634
|
-
|
|
1635
1655
|
/**
|
|
1636
1656
|
* Return true if the argument is a "number string".
|
|
1637
1657
|
*
|
|
@@ -2188,7 +2208,7 @@ declare class ClipboardPlugin extends UIPlugin {
|
|
|
2188
2208
|
}
|
|
2189
2209
|
|
|
2190
2210
|
declare class FilterEvaluationPlugin extends UIPlugin {
|
|
2191
|
-
static getters: readonly ["getFilterHiddenValues", "getFirstTableInSelection", "isRowFiltered", "isFilterActive"];
|
|
2211
|
+
static getters: readonly ["getFilterValue", "getFilterHiddenValues", "getFilterCriterionValue", "getFirstTableInSelection", "isRowFiltered", "isFilterActive"];
|
|
2192
2212
|
private filterValues;
|
|
2193
2213
|
hiddenRows: Record<UID, Set<number> | undefined>;
|
|
2194
2214
|
isEvaluationDirty: boolean;
|
|
@@ -2196,7 +2216,9 @@ declare class FilterEvaluationPlugin extends UIPlugin {
|
|
|
2196
2216
|
handle(cmd: Command): void;
|
|
2197
2217
|
finalize(): void;
|
|
2198
2218
|
isRowFiltered(sheetId: UID, row: number): boolean;
|
|
2219
|
+
getFilterValue(position: CellPosition): DataFilterValue | undefined;
|
|
2199
2220
|
getFilterHiddenValues(position: CellPosition): string[];
|
|
2221
|
+
getFilterCriterionValue(position: CellPosition): CriterionFilter;
|
|
2200
2222
|
isFilterActive(position: CellPosition): boolean;
|
|
2201
2223
|
getFirstTableInSelection(): Table | undefined;
|
|
2202
2224
|
private updateFilter;
|
|
@@ -2653,12 +2675,12 @@ interface ZoneDependentCommand {
|
|
|
2653
2675
|
zone: Zone;
|
|
2654
2676
|
}
|
|
2655
2677
|
declare function isZoneDependent(cmd: CoreCommand): cmd is Extract<CoreCommand, ZoneDependentCommand>;
|
|
2656
|
-
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" | "
|
|
2657
|
-
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" | "
|
|
2658
|
-
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" | "
|
|
2659
|
-
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" | "
|
|
2660
|
-
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" | "
|
|
2661
|
-
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" | "
|
|
2678
|
+
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">;
|
|
2679
|
+
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">;
|
|
2680
|
+
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">;
|
|
2681
|
+
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">;
|
|
2682
|
+
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">;
|
|
2683
|
+
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">;
|
|
2662
2684
|
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">;
|
|
2663
2685
|
declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
|
|
2664
2686
|
declare function canExecuteInReadonly(cmd: Command): boolean;
|
|
@@ -2878,7 +2900,7 @@ interface RemoveTableStyleCommand {
|
|
|
2878
2900
|
}
|
|
2879
2901
|
interface UpdateFilterCommand extends PositionDependentCommand {
|
|
2880
2902
|
type: "UPDATE_FILTER";
|
|
2881
|
-
|
|
2903
|
+
value: DataFilterValue;
|
|
2882
2904
|
}
|
|
2883
2905
|
interface SetFormattingCommand extends TargetDependentCommand {
|
|
2884
2906
|
type: "SET_FORMATTING";
|
|
@@ -3217,6 +3239,16 @@ interface PaintFormat extends TargetDependentCommand {
|
|
|
3217
3239
|
interface DeleteUnfilteredContentCommand extends TargetDependentCommand {
|
|
3218
3240
|
type: "DELETE_UNFILTERED_CONTENT";
|
|
3219
3241
|
}
|
|
3242
|
+
interface PivotStartPresenceTracking {
|
|
3243
|
+
type: "PIVOT_START_PRESENCE_TRACKING";
|
|
3244
|
+
pivotId: UID;
|
|
3245
|
+
}
|
|
3246
|
+
interface PivotStopPresenceTracking {
|
|
3247
|
+
type: "PIVOT_STOP_PRESENCE_TRACKING";
|
|
3248
|
+
}
|
|
3249
|
+
interface ToggleCheckboxCommand extends TargetDependentCommand {
|
|
3250
|
+
type: "TOGGLE_CHECKBOX";
|
|
3251
|
+
}
|
|
3220
3252
|
type CoreCommand =
|
|
3221
3253
|
/** CELLS */
|
|
3222
3254
|
UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | ClearCellsCommand | DeleteContentCommand
|
|
@@ -3248,7 +3280,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | ClearCellsCom
|
|
|
3248
3280
|
| UpdateLocaleCommand
|
|
3249
3281
|
/** PIVOT */
|
|
3250
3282
|
| AddPivotCommand | UpdatePivotCommand | InsertPivotCommand | RenamePivotCommand | RemovePivotCommand | DuplicatePivotCommand;
|
|
3251
|
-
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;
|
|
3283
|
+
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;
|
|
3252
3284
|
type Command = CoreCommand | LocalCommand;
|
|
3253
3285
|
/**
|
|
3254
3286
|
* Holds the result of a command dispatch.
|
|
@@ -3993,23 +4025,23 @@ interface DataValidationRule {
|
|
|
3993
4025
|
isBlocking?: boolean;
|
|
3994
4026
|
}
|
|
3995
4027
|
type TextContainsCriterion = {
|
|
3996
|
-
type: "
|
|
4028
|
+
type: "containsText";
|
|
3997
4029
|
values: string[];
|
|
3998
4030
|
};
|
|
3999
4031
|
type TextNotContainsCriterion = {
|
|
4000
|
-
type: "
|
|
4032
|
+
type: "notContainsText";
|
|
4001
4033
|
values: string[];
|
|
4002
4034
|
};
|
|
4003
4035
|
type TextIsCriterion = {
|
|
4004
|
-
type: "
|
|
4036
|
+
type: "isEqualText";
|
|
4005
4037
|
values: string[];
|
|
4006
4038
|
};
|
|
4007
4039
|
type TextIsEmailCriterion = {
|
|
4008
|
-
type: "
|
|
4040
|
+
type: "isEmail";
|
|
4009
4041
|
values: string[];
|
|
4010
4042
|
};
|
|
4011
4043
|
type TextIsLinkCriterion = {
|
|
4012
|
-
type: "
|
|
4044
|
+
type: "isLink";
|
|
4013
4045
|
values: string[];
|
|
4014
4046
|
};
|
|
4015
4047
|
type DateIsCriterion = {
|
|
@@ -4100,11 +4132,11 @@ type CustomFormulaCriterion = {
|
|
|
4100
4132
|
values: string[];
|
|
4101
4133
|
};
|
|
4102
4134
|
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;
|
|
4103
|
-
type DateCriterionValue = "today" | "tomorrow" | "yesterday" | "lastWeek" | "lastMonth" | "lastYear" | "exactDate";
|
|
4104
4135
|
type DataValidationCriterionType = DataValidationCriterion["type"];
|
|
4105
4136
|
type DataValidationDateCriterion = Extract<DataValidationCriterion, {
|
|
4106
4137
|
dateValue: DateCriterionValue;
|
|
4107
4138
|
}>;
|
|
4139
|
+
declare const availableDataValidationOperators: Set<DataValidationCriterionType>;
|
|
4108
4140
|
|
|
4109
4141
|
type ClipboardReadResult = {
|
|
4110
4142
|
status: "ok";
|
|
@@ -4199,6 +4231,7 @@ declare class DependencyContainer extends EventBus<StoreUpdateEvent> {
|
|
|
4199
4231
|
get<T>(Store: StoreConstructor<T>): T;
|
|
4200
4232
|
instantiate<T>(Store: StoreConstructor<T>, ...args: StoreParams<StoreConstructor<T>>): T;
|
|
4201
4233
|
resetStores(): void;
|
|
4234
|
+
dispose(): void;
|
|
4202
4235
|
}
|
|
4203
4236
|
|
|
4204
4237
|
/**
|
|
@@ -5472,10 +5505,7 @@ declare class EvaluationConditionalFormatPlugin extends CoreViewPlugin {
|
|
|
5472
5505
|
private applyDataBar;
|
|
5473
5506
|
/** Compute the color scale for the given range and CF rule, and apply in in the given computedStyle object */
|
|
5474
5507
|
private applyColorScale;
|
|
5475
|
-
|
|
5476
|
-
* Execute the predicate to know if a conditional formatting rule should be applied to a cell
|
|
5477
|
-
*/
|
|
5478
|
-
private rulePredicate;
|
|
5508
|
+
private getRuleResultForTarget;
|
|
5479
5509
|
}
|
|
5480
5510
|
|
|
5481
5511
|
interface InvalidValidationResult {
|
|
@@ -5514,6 +5544,80 @@ declare class EvaluationDataValidationPlugin extends CoreViewPlugin {
|
|
|
5514
5544
|
private getEvaluatedCriterionValues;
|
|
5515
5545
|
}
|
|
5516
5546
|
|
|
5547
|
+
/**
|
|
5548
|
+
* Registry
|
|
5549
|
+
*
|
|
5550
|
+
* The Registry class is basically just a mapping from a string key to an object.
|
|
5551
|
+
* It is really not much more than an object. It is however useful for the
|
|
5552
|
+
* following reasons:
|
|
5553
|
+
*
|
|
5554
|
+
* 1. it let us react and execute code when someone add something to the registry
|
|
5555
|
+
* (for example, the FunctionRegistry subclass this for this purpose)
|
|
5556
|
+
* 2. it throws an error when the get operation fails
|
|
5557
|
+
* 3. it provides a chained API to add items to the registry.
|
|
5558
|
+
*/
|
|
5559
|
+
declare class Registry<T> {
|
|
5560
|
+
content: {
|
|
5561
|
+
[key: string]: T;
|
|
5562
|
+
};
|
|
5563
|
+
/**
|
|
5564
|
+
* Add an item to the registry, you can only add if there is no item
|
|
5565
|
+
* already present in the registery with the given key
|
|
5566
|
+
*
|
|
5567
|
+
* Note that this also returns the registry, so another add method call can
|
|
5568
|
+
* be chained
|
|
5569
|
+
*/
|
|
5570
|
+
add(key: string, value: T): this;
|
|
5571
|
+
/**
|
|
5572
|
+
* Replace (or add) an item to the registry
|
|
5573
|
+
*
|
|
5574
|
+
* Note that this also returns the registry, so another add method call can
|
|
5575
|
+
* be chained
|
|
5576
|
+
*/
|
|
5577
|
+
replace(key: string, value: T): this;
|
|
5578
|
+
/**
|
|
5579
|
+
* Get an item from the registry
|
|
5580
|
+
*/
|
|
5581
|
+
get(key: string): T;
|
|
5582
|
+
/**
|
|
5583
|
+
* Check if the key is already in the registry
|
|
5584
|
+
*/
|
|
5585
|
+
contains(key: string): boolean;
|
|
5586
|
+
/**
|
|
5587
|
+
* Get a list of all elements in the registry
|
|
5588
|
+
*/
|
|
5589
|
+
getAll(): T[];
|
|
5590
|
+
/**
|
|
5591
|
+
* Get a list of all keys in the registry
|
|
5592
|
+
*/
|
|
5593
|
+
getKeys(): string[];
|
|
5594
|
+
/**
|
|
5595
|
+
* Remove an item from the registry
|
|
5596
|
+
*/
|
|
5597
|
+
remove(key: string): void;
|
|
5598
|
+
}
|
|
5599
|
+
|
|
5600
|
+
interface GridIcon {
|
|
5601
|
+
position: CellPosition;
|
|
5602
|
+
horizontalAlign: Exclude<Align, undefined>;
|
|
5603
|
+
size: number;
|
|
5604
|
+
margin: number;
|
|
5605
|
+
component?: ComponentConstructor<{
|
|
5606
|
+
cellPosition: CellPosition;
|
|
5607
|
+
}, SpreadsheetChildEnv>;
|
|
5608
|
+
svg?: ImageSVG;
|
|
5609
|
+
priority: number;
|
|
5610
|
+
}
|
|
5611
|
+
|
|
5612
|
+
declare class CellIconPlugin extends CoreViewPlugin {
|
|
5613
|
+
static getters: readonly ["doesCellHaveGridIcon", "getCellIcons"];
|
|
5614
|
+
private cellIconsCache;
|
|
5615
|
+
handle(cmd: Command): void;
|
|
5616
|
+
getCellIcons(position: CellPosition): GridIcon[];
|
|
5617
|
+
private computeCellIcons;
|
|
5618
|
+
doesCellHaveGridIcon(position: CellPosition): boolean;
|
|
5619
|
+
}
|
|
5620
|
+
|
|
5517
5621
|
declare class DynamicTablesPlugin extends CoreViewPlugin {
|
|
5518
5622
|
static getters: readonly ["canCreateDynamicTableOnZones", "doesZonesContainFilter", "getFilter", "getFilters", "getTable", "getTables", "getTablesOverlappingZones", "getFilterId", "getFilterHeaders", "isFilterHeader"];
|
|
5519
5623
|
tables: Record<UID, Table[]>;
|
|
@@ -5582,11 +5686,15 @@ declare class PivotRuntimeDefinition {
|
|
|
5582
5686
|
readonly columns: PivotDimension$1[];
|
|
5583
5687
|
readonly rows: PivotDimension$1[];
|
|
5584
5688
|
readonly sortedColumn?: PivotSortedColumn;
|
|
5689
|
+
readonly collapsedDomains?: PivotCollapsedDomains;
|
|
5585
5690
|
constructor(definition: CommonPivotCoreDefinition, fields: PivotFields);
|
|
5586
5691
|
getDimension(nameWithGranularity: string): PivotDimension$1;
|
|
5587
5692
|
getMeasure(id: string): PivotMeasure;
|
|
5588
5693
|
}
|
|
5589
5694
|
|
|
5695
|
+
interface CollapsiblePivotTableColumn extends PivotTableColumn {
|
|
5696
|
+
collapsedHeader?: boolean;
|
|
5697
|
+
}
|
|
5590
5698
|
/**
|
|
5591
5699
|
* Class used to ease the construction of a pivot table.
|
|
5592
5700
|
* Let's consider the following example, with:
|
|
@@ -5630,7 +5738,7 @@ declare class PivotRuntimeDefinition {
|
|
|
5630
5738
|
*
|
|
5631
5739
|
*/
|
|
5632
5740
|
declare class SpreadsheetPivotTable {
|
|
5633
|
-
readonly columns:
|
|
5741
|
+
readonly columns: CollapsiblePivotTableColumn[][];
|
|
5634
5742
|
rows: PivotTableRow[];
|
|
5635
5743
|
readonly measures: string[];
|
|
5636
5744
|
readonly fieldsType: Record<string, string | undefined>;
|
|
@@ -5641,7 +5749,9 @@ declare class SpreadsheetPivotTable {
|
|
|
5641
5749
|
private rowTree;
|
|
5642
5750
|
private colTree;
|
|
5643
5751
|
isSorted: boolean;
|
|
5644
|
-
constructor(columns:
|
|
5752
|
+
constructor(columns: CollapsiblePivotTableColumn[][], rows: PivotTableRow[], measures: string[], fieldsType: Record<string, string | undefined>, collapsedDomains?: PivotCollapsedDomains);
|
|
5753
|
+
private removeCollapsedColumns;
|
|
5754
|
+
private isParentCollapsed;
|
|
5645
5755
|
/**
|
|
5646
5756
|
* Get the number of columns leafs (i.e. the number of the last row of columns)
|
|
5647
5757
|
*/
|
|
@@ -5652,13 +5762,13 @@ declare class SpreadsheetPivotTable {
|
|
|
5652
5762
|
private isTotalRow;
|
|
5653
5763
|
private getPivotCell;
|
|
5654
5764
|
private getColHeaderDomain;
|
|
5765
|
+
private getDomain;
|
|
5655
5766
|
private getColDomain;
|
|
5656
5767
|
private getColMeasure;
|
|
5657
|
-
private getRowDomain;
|
|
5658
5768
|
buildRowsTree(): DimensionTree;
|
|
5659
5769
|
buildColumnsTree(): DimensionTree;
|
|
5660
5770
|
export(): {
|
|
5661
|
-
cols:
|
|
5771
|
+
cols: CollapsiblePivotTableColumn[][];
|
|
5662
5772
|
rows: PivotTableRow[];
|
|
5663
5773
|
measures: string[];
|
|
5664
5774
|
fieldsType: Record<string, string | undefined>;
|
|
@@ -5676,7 +5786,8 @@ interface Pivot<T = PivotRuntimeDefinition> {
|
|
|
5676
5786
|
init(params?: InitPivotParams): void;
|
|
5677
5787
|
isValid(): boolean;
|
|
5678
5788
|
onDefinitionChange(nextDefinition: PivotCoreDefinition): void;
|
|
5679
|
-
|
|
5789
|
+
getCollapsedTableStructure(): SpreadsheetPivotTable;
|
|
5790
|
+
getExpandedTableStructure(): SpreadsheetPivotTable;
|
|
5680
5791
|
getFields(): PivotFields;
|
|
5681
5792
|
getPivotHeaderValueAndFormat(domain: PivotDomain): FunctionResultObject;
|
|
5682
5793
|
getPivotCellValueAndFormat(measure: string, domain: PivotDomain): FunctionResultObject;
|
|
@@ -5898,19 +6009,20 @@ declare class AutomaticSumPlugin extends UIPlugin {
|
|
|
5898
6009
|
private transpose;
|
|
5899
6010
|
}
|
|
5900
6011
|
|
|
5901
|
-
interface ClientToDisplay extends
|
|
6012
|
+
interface ClientToDisplay extends ClientWithPosition {
|
|
5902
6013
|
color: Color;
|
|
5903
6014
|
}
|
|
5904
6015
|
declare class CollaborativePlugin extends UIPlugin {
|
|
5905
|
-
static getters: readonly ["getClientsToDisplay", "getClient", "getConnectedClients", "isFullySynchronized"];
|
|
6016
|
+
static getters: readonly ["getClientsToDisplay", "getClient", "getCurrentClient", "getConnectedClients", "isFullySynchronized"];
|
|
5906
6017
|
static layers: readonly ["Selection"];
|
|
5907
6018
|
private availableColors;
|
|
5908
6019
|
private colors;
|
|
5909
6020
|
private session;
|
|
5910
6021
|
constructor(config: UIPluginConfig);
|
|
5911
6022
|
private isPositionValid;
|
|
5912
|
-
getClient(): Client;
|
|
5913
|
-
|
|
6023
|
+
getClient(clientId: ClientId): Client;
|
|
6024
|
+
getCurrentClient(): Client;
|
|
6025
|
+
getConnectedClients(): Client[];
|
|
5914
6026
|
isFullySynchronized(): boolean;
|
|
5915
6027
|
/**
|
|
5916
6028
|
* Get the list of others connected clients which are present in the same sheet
|
|
@@ -5988,12 +6100,11 @@ declare class UIOptionsPlugin extends UIPlugin {
|
|
|
5988
6100
|
}
|
|
5989
6101
|
|
|
5990
6102
|
declare class SheetUIPlugin extends UIPlugin {
|
|
5991
|
-
static getters: readonly ["
|
|
6103
|
+
static getters: readonly ["getCellWidth", "getTextWidth", "getCellText", "getCellMultiLineText", "getContiguousZone"];
|
|
5992
6104
|
private ctx;
|
|
5993
6105
|
allowDispatch(cmd: LocalCommand): CommandResult | CommandResult[];
|
|
5994
6106
|
handle(cmd: Command): void;
|
|
5995
6107
|
getCellWidth(position: CellPosition): number;
|
|
5996
|
-
getCellIconSvg(position: CellPosition): ImageSVG | undefined;
|
|
5997
6108
|
getTextWidth(text: string, style: Style): Pixel;
|
|
5998
6109
|
getCellText(position: CellPosition, args?: {
|
|
5999
6110
|
showFormula?: boolean;
|
|
@@ -6007,7 +6118,6 @@ declare class SheetUIPlugin extends UIPlugin {
|
|
|
6007
6118
|
wrapText: boolean;
|
|
6008
6119
|
maxWidth: number;
|
|
6009
6120
|
}): string[];
|
|
6010
|
-
doesCellHaveGridIcon(position: CellPosition): boolean;
|
|
6011
6121
|
/**
|
|
6012
6122
|
* Expands the given zone until bordered by empty cells or reached the sheet boundaries.
|
|
6013
6123
|
*/
|
|
@@ -6042,6 +6152,13 @@ declare class CellComputedStylePlugin extends UIPlugin {
|
|
|
6042
6152
|
private computeCellStyle;
|
|
6043
6153
|
}
|
|
6044
6154
|
|
|
6155
|
+
declare class CheckboxTogglePlugin extends UIPlugin {
|
|
6156
|
+
static getters: readonly ["hasBooleanValidationInZones"];
|
|
6157
|
+
handle(cmd: Command): void;
|
|
6158
|
+
hasBooleanValidationInZones(zones: Zone[]): boolean;
|
|
6159
|
+
private toggleCheckbox;
|
|
6160
|
+
}
|
|
6161
|
+
|
|
6045
6162
|
/**
|
|
6046
6163
|
* Local History
|
|
6047
6164
|
*
|
|
@@ -6077,6 +6194,23 @@ declare class HistoryPlugin extends UIPlugin {
|
|
|
6077
6194
|
private getPossibleRevisionToRepeat;
|
|
6078
6195
|
}
|
|
6079
6196
|
|
|
6197
|
+
declare class PivotPresenceTracker {
|
|
6198
|
+
private trackedValues;
|
|
6199
|
+
private domainToArray;
|
|
6200
|
+
isValuePresent(measure: string, domain: PivotDomain): boolean;
|
|
6201
|
+
isHeaderPresent(domain: PivotDomain): boolean;
|
|
6202
|
+
trackValue(measure: string, domain: PivotDomain): void;
|
|
6203
|
+
trackHeader(domain: PivotDomain): void;
|
|
6204
|
+
}
|
|
6205
|
+
|
|
6206
|
+
declare class PivotPresencePlugin extends UIPlugin {
|
|
6207
|
+
static getters: readonly ["getPivotPresenceTracker"];
|
|
6208
|
+
private trackPresencePivotId?;
|
|
6209
|
+
private tracker?;
|
|
6210
|
+
handle(cmd: Command): void;
|
|
6211
|
+
getPivotPresenceTracker(pivotId: UID): PivotPresenceTracker | undefined;
|
|
6212
|
+
}
|
|
6213
|
+
|
|
6080
6214
|
declare class SplitToColumnsPlugin extends UIPlugin {
|
|
6081
6215
|
static getters: readonly ["getAutomaticSeparator"];
|
|
6082
6216
|
allowDispatch(cmd: Command): CommandResult | CommandResult[];
|
|
@@ -6201,7 +6335,7 @@ type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof Head
|
|
|
6201
6335
|
type Getters = {
|
|
6202
6336
|
isReadonly: () => boolean;
|
|
6203
6337
|
isDashboard: () => boolean;
|
|
6204
|
-
} & 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>;
|
|
6338
|
+
} & 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> & PluginGetters<typeof CellIconPlugin>;
|
|
6205
6339
|
|
|
6206
6340
|
type ArgType = "ANY" | "BOOLEAN" | "NUMBER" | "STRING" | "DATE" | "RANGE" | "RANGE<BOOLEAN>" | "RANGE<NUMBER>" | "RANGE<DATE>" | "RANGE<STRING>" | "RANGE<ANY>" | "META";
|
|
6207
6341
|
interface ArgDefinition {
|
|
@@ -6392,14 +6526,17 @@ interface Box extends Rect {
|
|
|
6392
6526
|
style: Style;
|
|
6393
6527
|
dataBarFill?: DataBarFill;
|
|
6394
6528
|
border?: Border$1;
|
|
6395
|
-
hasIcon?: boolean;
|
|
6396
6529
|
clipRect?: Rect;
|
|
6397
6530
|
isError?: boolean;
|
|
6398
|
-
image?: Image;
|
|
6399
6531
|
isMerge?: boolean;
|
|
6400
6532
|
verticalAlign?: VerticalAlign;
|
|
6401
6533
|
isOverflow?: boolean;
|
|
6402
6534
|
overlayColor: Color | undefined;
|
|
6535
|
+
icons: {
|
|
6536
|
+
left?: GridIcon;
|
|
6537
|
+
right?: GridIcon;
|
|
6538
|
+
center?: GridIcon;
|
|
6539
|
+
};
|
|
6403
6540
|
}
|
|
6404
6541
|
interface Image {
|
|
6405
6542
|
clipIcon: Rect | null;
|
|
@@ -6494,8 +6631,9 @@ type ScorecardChartConfig = {
|
|
|
6494
6631
|
position: PixelPosition;
|
|
6495
6632
|
};
|
|
6496
6633
|
baseline?: ScorecardChartElement;
|
|
6497
|
-
baselineDescr?: ScorecardChartElement
|
|
6634
|
+
baselineDescr?: ScorecardChartElement;
|
|
6498
6635
|
key?: ScorecardChartElement;
|
|
6636
|
+
keyDescr?: ScorecardChartElement;
|
|
6499
6637
|
progressBar?: {
|
|
6500
6638
|
position: PixelPosition;
|
|
6501
6639
|
dimension: DOMDimension;
|
|
@@ -6523,7 +6661,7 @@ interface ChartShowValuesPluginOptions {
|
|
|
6523
6661
|
showValues: boolean;
|
|
6524
6662
|
background?: Color;
|
|
6525
6663
|
horizontal?: boolean;
|
|
6526
|
-
callback: (value: number | string, axisId
|
|
6664
|
+
callback: (value: number | string, axisId: string) => string;
|
|
6527
6665
|
}
|
|
6528
6666
|
declare module "chart.js" {
|
|
6529
6667
|
interface PluginOptionsByType<TType extends ChartType$1> {
|
|
@@ -6531,59 +6669,6 @@ declare module "chart.js" {
|
|
|
6531
6669
|
}
|
|
6532
6670
|
}
|
|
6533
6671
|
|
|
6534
|
-
/**
|
|
6535
|
-
* Registry
|
|
6536
|
-
*
|
|
6537
|
-
* The Registry class is basically just a mapping from a string key to an object.
|
|
6538
|
-
* It is really not much more than an object. It is however useful for the
|
|
6539
|
-
* following reasons:
|
|
6540
|
-
*
|
|
6541
|
-
* 1. it let us react and execute code when someone add something to the registry
|
|
6542
|
-
* (for example, the FunctionRegistry subclass this for this purpose)
|
|
6543
|
-
* 2. it throws an error when the get operation fails
|
|
6544
|
-
* 3. it provides a chained API to add items to the registry.
|
|
6545
|
-
*/
|
|
6546
|
-
declare class Registry<T> {
|
|
6547
|
-
content: {
|
|
6548
|
-
[key: string]: T;
|
|
6549
|
-
};
|
|
6550
|
-
/**
|
|
6551
|
-
* Add an item to the registry, you can only add if there is no item
|
|
6552
|
-
* already present in the registery with the given key
|
|
6553
|
-
*
|
|
6554
|
-
* Note that this also returns the registry, so another add method call can
|
|
6555
|
-
* be chained
|
|
6556
|
-
*/
|
|
6557
|
-
add(key: string, value: T): this;
|
|
6558
|
-
/**
|
|
6559
|
-
* Replace (or add) an item to the registry
|
|
6560
|
-
*
|
|
6561
|
-
* Note that this also returns the registry, so another add method call can
|
|
6562
|
-
* be chained
|
|
6563
|
-
*/
|
|
6564
|
-
replace(key: string, value: T): this;
|
|
6565
|
-
/**
|
|
6566
|
-
* Get an item from the registry
|
|
6567
|
-
*/
|
|
6568
|
-
get(key: string): T;
|
|
6569
|
-
/**
|
|
6570
|
-
* Check if the key is already in the registry
|
|
6571
|
-
*/
|
|
6572
|
-
contains(key: string): boolean;
|
|
6573
|
-
/**
|
|
6574
|
-
* Get a list of all elements in the registry
|
|
6575
|
-
*/
|
|
6576
|
-
getAll(): T[];
|
|
6577
|
-
/**
|
|
6578
|
-
* Get a list of all keys in the registry
|
|
6579
|
-
*/
|
|
6580
|
-
getKeys(): string[];
|
|
6581
|
-
/**
|
|
6582
|
-
* Remove an item from the registry
|
|
6583
|
-
*/
|
|
6584
|
-
remove(key: string): void;
|
|
6585
|
-
}
|
|
6586
|
-
|
|
6587
6672
|
interface MigrationStep {
|
|
6588
6673
|
migrate: (data: any) => any;
|
|
6589
6674
|
}
|
|
@@ -6854,7 +6939,7 @@ interface ChartSubtypeProperties {
|
|
|
6854
6939
|
preview: string;
|
|
6855
6940
|
}
|
|
6856
6941
|
|
|
6857
|
-
interface Props$
|
|
6942
|
+
interface Props$1g {
|
|
6858
6943
|
label?: string;
|
|
6859
6944
|
value: boolean;
|
|
6860
6945
|
className?: string;
|
|
@@ -6863,7 +6948,7 @@ interface Props$1i {
|
|
|
6863
6948
|
disabled?: boolean;
|
|
6864
6949
|
onChange: (value: boolean) => void;
|
|
6865
6950
|
}
|
|
6866
|
-
declare class Checkbox extends Component<Props$
|
|
6951
|
+
declare class Checkbox extends Component<Props$1g, SpreadsheetChildEnv> {
|
|
6867
6952
|
static template: string;
|
|
6868
6953
|
static props: {
|
|
6869
6954
|
label: {
|
|
@@ -6898,10 +6983,10 @@ declare class Checkbox extends Component<Props$1i, SpreadsheetChildEnv> {
|
|
|
6898
6983
|
onChange(ev: InputEvent): void;
|
|
6899
6984
|
}
|
|
6900
6985
|
|
|
6901
|
-
interface Props$
|
|
6986
|
+
interface Props$1f {
|
|
6902
6987
|
class?: string;
|
|
6903
6988
|
}
|
|
6904
|
-
declare class Section extends Component<Props$
|
|
6989
|
+
declare class Section extends Component<Props$1f, SpreadsheetChildEnv> {
|
|
6905
6990
|
static template: string;
|
|
6906
6991
|
static props: {
|
|
6907
6992
|
class: {
|
|
@@ -7038,7 +7123,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
7038
7123
|
getIndex(rangeId: number | null): number | null;
|
|
7039
7124
|
}
|
|
7040
7125
|
|
|
7041
|
-
interface Props$
|
|
7126
|
+
interface Props$1e {
|
|
7042
7127
|
ranges: string[];
|
|
7043
7128
|
hasSingleRange?: boolean;
|
|
7044
7129
|
required?: boolean;
|
|
@@ -7066,7 +7151,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
7066
7151
|
* onSelectionChanged is called every time the input value
|
|
7067
7152
|
* changes.
|
|
7068
7153
|
*/
|
|
7069
|
-
declare class SelectionInput extends Component<Props$
|
|
7154
|
+
declare class SelectionInput extends Component<Props$1e, SpreadsheetChildEnv> {
|
|
7070
7155
|
static template: string;
|
|
7071
7156
|
static props: {
|
|
7072
7157
|
ranges: ArrayConstructor;
|
|
@@ -7143,7 +7228,7 @@ declare class SelectionInput extends Component<Props$1g, SpreadsheetChildEnv> {
|
|
|
7143
7228
|
confirm(): void;
|
|
7144
7229
|
}
|
|
7145
7230
|
|
|
7146
|
-
interface Props$
|
|
7231
|
+
interface Props$1d {
|
|
7147
7232
|
ranges: CustomizedDataSet[];
|
|
7148
7233
|
hasSingleRange?: boolean;
|
|
7149
7234
|
onSelectionChanged: (ranges: string[]) => void;
|
|
@@ -7152,8 +7237,11 @@ interface Props$1f {
|
|
|
7152
7237
|
onSelectionConfirmed: () => void;
|
|
7153
7238
|
maxNumberOfUsedRanges?: number;
|
|
7154
7239
|
title?: string;
|
|
7240
|
+
datasetOrientation?: ChartDatasetOrientation;
|
|
7241
|
+
canChangeDatasetOrientation?: boolean;
|
|
7242
|
+
onFlipAxis?: (structure: string) => void;
|
|
7155
7243
|
}
|
|
7156
|
-
declare class ChartDataSeries extends Component<Props$
|
|
7244
|
+
declare class ChartDataSeries extends Component<Props$1d, SpreadsheetChildEnv> {
|
|
7157
7245
|
static template: string;
|
|
7158
7246
|
static components: {
|
|
7159
7247
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7183,6 +7271,18 @@ declare class ChartDataSeries extends Component<Props$1f, SpreadsheetChildEnv> {
|
|
|
7183
7271
|
type: NumberConstructor;
|
|
7184
7272
|
optional: boolean;
|
|
7185
7273
|
};
|
|
7274
|
+
datasetOrientation: {
|
|
7275
|
+
type: StringConstructor;
|
|
7276
|
+
optional: boolean;
|
|
7277
|
+
};
|
|
7278
|
+
canChangeDatasetOrientation: {
|
|
7279
|
+
type: BooleanConstructor;
|
|
7280
|
+
optional: boolean;
|
|
7281
|
+
};
|
|
7282
|
+
onFlipAxis: {
|
|
7283
|
+
type: FunctionConstructor;
|
|
7284
|
+
optional: boolean;
|
|
7285
|
+
};
|
|
7186
7286
|
};
|
|
7187
7287
|
get ranges(): string[];
|
|
7188
7288
|
get disabledRanges(): boolean[];
|
|
@@ -7190,12 +7290,12 @@ declare class ChartDataSeries extends Component<Props$1f, SpreadsheetChildEnv> {
|
|
|
7190
7290
|
get title(): string;
|
|
7191
7291
|
}
|
|
7192
7292
|
|
|
7193
|
-
interface Props$
|
|
7293
|
+
interface Props$1c {
|
|
7194
7294
|
messages: string[];
|
|
7195
7295
|
msgType: "warning" | "error" | "info";
|
|
7196
7296
|
singleBox?: boolean;
|
|
7197
7297
|
}
|
|
7198
|
-
declare class ValidationMessages extends Component<Props$
|
|
7298
|
+
declare class ValidationMessages extends Component<Props$1c, SpreadsheetChildEnv> {
|
|
7199
7299
|
static template: string;
|
|
7200
7300
|
static props: {
|
|
7201
7301
|
messages: ArrayConstructor;
|
|
@@ -7209,10 +7309,10 @@ declare class ValidationMessages extends Component<Props$1e, SpreadsheetChildEnv
|
|
|
7209
7309
|
get alertBoxes(): string[][];
|
|
7210
7310
|
}
|
|
7211
7311
|
|
|
7212
|
-
interface Props$
|
|
7312
|
+
interface Props$1b {
|
|
7213
7313
|
messages: string[];
|
|
7214
7314
|
}
|
|
7215
|
-
declare class ChartErrorSection extends Component<Props$
|
|
7315
|
+
declare class ChartErrorSection extends Component<Props$1b, SpreadsheetChildEnv> {
|
|
7216
7316
|
static template: string;
|
|
7217
7317
|
static components: {
|
|
7218
7318
|
Section: typeof Section;
|
|
@@ -7226,7 +7326,7 @@ declare class ChartErrorSection extends Component<Props$1d, SpreadsheetChildEnv>
|
|
|
7226
7326
|
};
|
|
7227
7327
|
}
|
|
7228
7328
|
|
|
7229
|
-
interface Props$
|
|
7329
|
+
interface Props$1a {
|
|
7230
7330
|
title?: string;
|
|
7231
7331
|
range: string;
|
|
7232
7332
|
isInvalid: boolean;
|
|
@@ -7239,7 +7339,7 @@ interface Props$1c {
|
|
|
7239
7339
|
onChange: (value: boolean) => void;
|
|
7240
7340
|
}>;
|
|
7241
7341
|
}
|
|
7242
|
-
declare class ChartLabelRange extends Component<Props$
|
|
7342
|
+
declare class ChartLabelRange extends Component<Props$1a, SpreadsheetChildEnv> {
|
|
7243
7343
|
static template: string;
|
|
7244
7344
|
static components: {
|
|
7245
7345
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7260,10 +7360,10 @@ declare class ChartLabelRange extends Component<Props$1c, SpreadsheetChildEnv> {
|
|
|
7260
7360
|
optional: boolean;
|
|
7261
7361
|
};
|
|
7262
7362
|
};
|
|
7263
|
-
static defaultProps: Partial<Props$
|
|
7363
|
+
static defaultProps: Partial<Props$1a>;
|
|
7264
7364
|
}
|
|
7265
7365
|
|
|
7266
|
-
interface Props$
|
|
7366
|
+
interface Props$19 {
|
|
7267
7367
|
figureId: UID;
|
|
7268
7368
|
definition: ChartWithDataSetDefinition;
|
|
7269
7369
|
canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
@@ -7273,7 +7373,7 @@ interface ChartPanelState {
|
|
|
7273
7373
|
datasetDispatchResult?: DispatchResult;
|
|
7274
7374
|
labelsDispatchResult?: DispatchResult;
|
|
7275
7375
|
}
|
|
7276
|
-
declare class GenericChartConfigPanel extends Component<Props$
|
|
7376
|
+
declare class GenericChartConfigPanel extends Component<Props$19, SpreadsheetChildEnv> {
|
|
7277
7377
|
static template: string;
|
|
7278
7378
|
static components: {
|
|
7279
7379
|
ChartDataSeries: typeof ChartDataSeries;
|
|
@@ -7291,6 +7391,7 @@ declare class GenericChartConfigPanel extends Component<Props$1b, SpreadsheetChi
|
|
|
7291
7391
|
protected state: ChartPanelState;
|
|
7292
7392
|
protected dataSets: CustomizedDataSet[];
|
|
7293
7393
|
private labelRange;
|
|
7394
|
+
private datasetOrientation;
|
|
7294
7395
|
protected chartTerms: {
|
|
7295
7396
|
[key: string]: any;
|
|
7296
7397
|
GeoChart: {
|
|
@@ -7309,6 +7410,9 @@ declare class GenericChartConfigPanel extends Component<Props$1b, SpreadsheetChi
|
|
|
7309
7410
|
onChange: (aggregated: boolean) => void;
|
|
7310
7411
|
}[];
|
|
7311
7412
|
onUpdateDataSetsHaveTitle(dataSetsHaveTitle: boolean): void;
|
|
7413
|
+
get canChangeDatasetOrientation(): boolean;
|
|
7414
|
+
private computeDatasetOrientation;
|
|
7415
|
+
setDatasetOrientation(datasetOrientation: ChartDatasetOrientation): void;
|
|
7312
7416
|
/**
|
|
7313
7417
|
* Change the local dataSeriesRanges. The model should be updated when the
|
|
7314
7418
|
* button "confirm" is clicked
|
|
@@ -7317,6 +7421,7 @@ declare class GenericChartConfigPanel extends Component<Props$1b, SpreadsheetChi
|
|
|
7317
7421
|
onDataSeriesReordered(indexes: number[]): void;
|
|
7318
7422
|
onDataSeriesRemoved(index: number): void;
|
|
7319
7423
|
onDataSeriesConfirmed(): void;
|
|
7424
|
+
get splitRanges(): CustomizedDataSet[];
|
|
7320
7425
|
getDataSeriesRanges(): CustomizedDataSet[];
|
|
7321
7426
|
/**
|
|
7322
7427
|
* Change the local labelRange. The model should be updated when the
|
|
@@ -7328,6 +7433,7 @@ declare class GenericChartConfigPanel extends Component<Props$1b, SpreadsheetChi
|
|
|
7328
7433
|
onUpdateAggregated(aggregated: boolean): void;
|
|
7329
7434
|
calculateHeaderPosition(): number | undefined;
|
|
7330
7435
|
get maxNumberOfUsedRanges(): number | undefined;
|
|
7436
|
+
private transposeDataSet;
|
|
7331
7437
|
}
|
|
7332
7438
|
|
|
7333
7439
|
declare class BarConfigPanel extends GenericChartConfigPanel {
|
|
@@ -7336,11 +7442,11 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
|
|
|
7336
7442
|
onUpdateStacked(stacked: boolean): void;
|
|
7337
7443
|
}
|
|
7338
7444
|
|
|
7339
|
-
interface Props$
|
|
7445
|
+
interface Props$18 {
|
|
7340
7446
|
isCollapsed: boolean;
|
|
7341
7447
|
slots: any;
|
|
7342
7448
|
}
|
|
7343
|
-
declare class Collapse extends Component<Props$
|
|
7449
|
+
declare class Collapse extends Component<Props$18, SpreadsheetChildEnv> {
|
|
7344
7450
|
static template: string;
|
|
7345
7451
|
static props: {
|
|
7346
7452
|
isCollapsed: BooleanConstructor;
|
|
@@ -7379,12 +7485,12 @@ interface Choice$1 {
|
|
|
7379
7485
|
value: string;
|
|
7380
7486
|
label: string;
|
|
7381
7487
|
}
|
|
7382
|
-
interface Props$
|
|
7488
|
+
interface Props$17 {
|
|
7383
7489
|
choices: Choice$1[];
|
|
7384
7490
|
onChange: (value: string) => void;
|
|
7385
7491
|
selectedValue: string;
|
|
7386
7492
|
}
|
|
7387
|
-
declare class BadgeSelection extends Component<Props$
|
|
7493
|
+
declare class BadgeSelection extends Component<Props$17, SpreadsheetChildEnv> {
|
|
7388
7494
|
static template: string;
|
|
7389
7495
|
static props: {
|
|
7390
7496
|
choices: ArrayConstructor;
|
|
@@ -7393,14 +7499,14 @@ declare class BadgeSelection extends Component<Props$19, SpreadsheetChildEnv> {
|
|
|
7393
7499
|
};
|
|
7394
7500
|
}
|
|
7395
7501
|
|
|
7396
|
-
interface Props$
|
|
7502
|
+
interface Props$16 {
|
|
7397
7503
|
action: ActionSpec;
|
|
7398
7504
|
hasTriangleDownIcon?: boolean;
|
|
7399
7505
|
selectedColor?: string;
|
|
7400
7506
|
class?: string;
|
|
7401
7507
|
onClick?: (ev: MouseEvent) => void;
|
|
7402
7508
|
}
|
|
7403
|
-
declare class ActionButton extends Component<Props$
|
|
7509
|
+
declare class ActionButton extends Component<Props$16, SpreadsheetChildEnv> {
|
|
7404
7510
|
static template: string;
|
|
7405
7511
|
static props: {
|
|
7406
7512
|
action: ObjectConstructor;
|
|
@@ -7523,12 +7629,14 @@ declare class Popover extends Component<PopoverProps, SpreadsheetChildEnv> {
|
|
|
7523
7629
|
zIndex: ComponentsImportance;
|
|
7524
7630
|
};
|
|
7525
7631
|
private popoverRef;
|
|
7632
|
+
private popoverContentRef;
|
|
7526
7633
|
private currentPosition;
|
|
7527
7634
|
private currentDisplayValue;
|
|
7528
7635
|
private spreadsheetRect;
|
|
7529
7636
|
private containerRect;
|
|
7530
7637
|
setup(): void;
|
|
7531
7638
|
get popoverStyle(): string;
|
|
7639
|
+
private computePopoverPosition;
|
|
7532
7640
|
}
|
|
7533
7641
|
|
|
7534
7642
|
interface ColorPickerProps {
|
|
@@ -7585,7 +7693,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
7585
7693
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
7586
7694
|
}
|
|
7587
7695
|
|
|
7588
|
-
interface Props$
|
|
7696
|
+
interface Props$15 {
|
|
7589
7697
|
currentColor: string | undefined;
|
|
7590
7698
|
toggleColorPicker: () => void;
|
|
7591
7699
|
showColorPicker: boolean;
|
|
@@ -7596,7 +7704,7 @@ interface Props$17 {
|
|
|
7596
7704
|
dropdownMaxHeight?: Pixel;
|
|
7597
7705
|
class?: string;
|
|
7598
7706
|
}
|
|
7599
|
-
declare class ColorPickerWidget extends Component<Props$
|
|
7707
|
+
declare class ColorPickerWidget extends Component<Props$15, SpreadsheetChildEnv> {
|
|
7600
7708
|
static template: string;
|
|
7601
7709
|
static props: {
|
|
7602
7710
|
currentColor: {
|
|
@@ -7647,7 +7755,7 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
7647
7755
|
};
|
|
7648
7756
|
handle(cmd: Command): void;
|
|
7649
7757
|
open({ col, row }: Position$1, type: CellPopoverType): void;
|
|
7650
|
-
close():
|
|
7758
|
+
close(): "noStateChange" | undefined;
|
|
7651
7759
|
get persistentCellPopover(): OpenCellPopover | ClosedCellPopover;
|
|
7652
7760
|
get isOpen(): boolean;
|
|
7653
7761
|
get cellPopover(): ClosedCellPopover | PositionedCellPopoverComponent;
|
|
@@ -7657,14 +7765,14 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
7657
7765
|
interface State$4 {
|
|
7658
7766
|
isOpen: boolean;
|
|
7659
7767
|
}
|
|
7660
|
-
interface Props$
|
|
7768
|
+
interface Props$14 {
|
|
7661
7769
|
currentFontSize: number;
|
|
7662
7770
|
class: string;
|
|
7663
7771
|
onFontSizeChanged: (fontSize: number) => void;
|
|
7664
7772
|
onToggle?: () => void;
|
|
7665
7773
|
onFocusInput?: () => void;
|
|
7666
7774
|
}
|
|
7667
|
-
declare class FontSizeEditor extends Component<Props$
|
|
7775
|
+
declare class FontSizeEditor extends Component<Props$14, SpreadsheetChildEnv> {
|
|
7668
7776
|
static template: string;
|
|
7669
7777
|
static props: {
|
|
7670
7778
|
currentFontSize: NumberConstructor;
|
|
@@ -7702,7 +7810,7 @@ declare class FontSizeEditor extends Component<Props$16, SpreadsheetChildEnv> {
|
|
|
7702
7810
|
onInputKeydown(ev: KeyboardEvent): void;
|
|
7703
7811
|
}
|
|
7704
7812
|
|
|
7705
|
-
interface Props$
|
|
7813
|
+
interface Props$13 {
|
|
7706
7814
|
class?: string;
|
|
7707
7815
|
style: ChartStyle;
|
|
7708
7816
|
updateStyle: (style: ChartStyle) => void;
|
|
@@ -7711,7 +7819,7 @@ interface Props$15 {
|
|
|
7711
7819
|
hasHorizontalAlign?: boolean;
|
|
7712
7820
|
hasBackgroundColor?: boolean;
|
|
7713
7821
|
}
|
|
7714
|
-
declare class TextStyler extends Component<Props$
|
|
7822
|
+
declare class TextStyler extends Component<Props$13, SpreadsheetChildEnv> {
|
|
7715
7823
|
static template: string;
|
|
7716
7824
|
static components: {
|
|
7717
7825
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
@@ -7779,15 +7887,16 @@ declare class TextStyler extends Component<Props$15, SpreadsheetChildEnv> {
|
|
|
7779
7887
|
get verticalAlignActions(): ActionSpec[];
|
|
7780
7888
|
}
|
|
7781
7889
|
|
|
7782
|
-
interface Props$
|
|
7890
|
+
interface Props$12 {
|
|
7783
7891
|
title?: string;
|
|
7892
|
+
placeholder?: string;
|
|
7784
7893
|
updateTitle: (title: string) => void;
|
|
7785
7894
|
name?: string;
|
|
7786
7895
|
style: TitleDesign;
|
|
7787
7896
|
defaultStyle?: Partial<TitleDesign>;
|
|
7788
7897
|
updateStyle: (style: TitleDesign) => void;
|
|
7789
7898
|
}
|
|
7790
|
-
declare class ChartTitle extends Component<Props$
|
|
7899
|
+
declare class ChartTitle extends Component<Props$12, SpreadsheetChildEnv> {
|
|
7791
7900
|
static template: string;
|
|
7792
7901
|
static components: {
|
|
7793
7902
|
Section: typeof Section;
|
|
@@ -7798,10 +7907,13 @@ declare class ChartTitle extends Component<Props$14, SpreadsheetChildEnv> {
|
|
|
7798
7907
|
type: StringConstructor;
|
|
7799
7908
|
optional: boolean;
|
|
7800
7909
|
};
|
|
7910
|
+
placeholder: {
|
|
7911
|
+
type: StringConstructor;
|
|
7912
|
+
optional: boolean;
|
|
7913
|
+
};
|
|
7801
7914
|
updateTitle: FunctionConstructor;
|
|
7802
7915
|
name: {
|
|
7803
7916
|
type: StringConstructor;
|
|
7804
|
-
optional: boolean;
|
|
7805
7917
|
};
|
|
7806
7918
|
style: ObjectConstructor;
|
|
7807
7919
|
defaultStyle: {
|
|
@@ -7812,6 +7924,7 @@ declare class ChartTitle extends Component<Props$14, SpreadsheetChildEnv> {
|
|
|
7812
7924
|
};
|
|
7813
7925
|
static defaultProps: {
|
|
7814
7926
|
title: string;
|
|
7927
|
+
placeholder: string;
|
|
7815
7928
|
};
|
|
7816
7929
|
updateTitle(ev: InputEvent): void;
|
|
7817
7930
|
}
|
|
@@ -7820,13 +7933,13 @@ interface AxisDefinition {
|
|
|
7820
7933
|
id: string;
|
|
7821
7934
|
name: string;
|
|
7822
7935
|
}
|
|
7823
|
-
interface Props$
|
|
7936
|
+
interface Props$11 {
|
|
7824
7937
|
figureId: UID;
|
|
7825
7938
|
definition: ChartWithAxisDefinition;
|
|
7826
7939
|
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
7827
7940
|
axesList: AxisDefinition[];
|
|
7828
7941
|
}
|
|
7829
|
-
declare class AxisDesignEditor extends Component<Props$
|
|
7942
|
+
declare class AxisDesignEditor extends Component<Props$11, SpreadsheetChildEnv> {
|
|
7830
7943
|
static template: string;
|
|
7831
7944
|
static components: {
|
|
7832
7945
|
Section: typeof Section;
|
|
@@ -7858,14 +7971,14 @@ interface Choice {
|
|
|
7858
7971
|
value: unknown;
|
|
7859
7972
|
label: string;
|
|
7860
7973
|
}
|
|
7861
|
-
interface Props$
|
|
7974
|
+
interface Props$10 {
|
|
7862
7975
|
choices: Choice[];
|
|
7863
7976
|
onChange: (value: unknown) => void;
|
|
7864
7977
|
selectedValue: string;
|
|
7865
7978
|
name: string;
|
|
7866
7979
|
direction: "horizontal" | "vertical";
|
|
7867
7980
|
}
|
|
7868
|
-
declare class RadioSelection extends Component<Props$
|
|
7981
|
+
declare class RadioSelection extends Component<Props$10, SpreadsheetChildEnv> {
|
|
7869
7982
|
static template: string;
|
|
7870
7983
|
static props: {
|
|
7871
7984
|
choices: ArrayConstructor;
|
|
@@ -7884,13 +7997,13 @@ declare class RadioSelection extends Component<Props$12, SpreadsheetChildEnv> {
|
|
|
7884
7997
|
};
|
|
7885
7998
|
}
|
|
7886
7999
|
|
|
7887
|
-
interface Props
|
|
8000
|
+
interface Props$$ {
|
|
7888
8001
|
currentColor?: string;
|
|
7889
8002
|
onColorPicked: (color: string) => void;
|
|
7890
8003
|
title?: string;
|
|
7891
8004
|
disableNoColor?: boolean;
|
|
7892
8005
|
}
|
|
7893
|
-
declare class RoundColorPicker extends Component<Props
|
|
8006
|
+
declare class RoundColorPicker extends Component<Props$$, SpreadsheetChildEnv> {
|
|
7894
8007
|
static template: string;
|
|
7895
8008
|
static components: {
|
|
7896
8009
|
Section: typeof Section;
|
|
@@ -7923,13 +8036,13 @@ declare class RoundColorPicker extends Component<Props$11, SpreadsheetChildEnv>
|
|
|
7923
8036
|
get buttonStyle(): string;
|
|
7924
8037
|
}
|
|
7925
8038
|
|
|
7926
|
-
interface Props$
|
|
8039
|
+
interface Props$_ {
|
|
7927
8040
|
figureId: UID;
|
|
7928
8041
|
definition: ChartDefinition;
|
|
7929
8042
|
updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
7930
8043
|
defaultChartTitleFontSize?: number;
|
|
7931
8044
|
}
|
|
7932
|
-
declare class GeneralDesignEditor extends Component<Props$
|
|
8045
|
+
declare class GeneralDesignEditor extends Component<Props$_, SpreadsheetChildEnv> {
|
|
7933
8046
|
static template: string;
|
|
7934
8047
|
static components: {
|
|
7935
8048
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -7963,12 +8076,12 @@ declare class GeneralDesignEditor extends Component<Props$10, SpreadsheetChildEn
|
|
|
7963
8076
|
updateChartTitleStyle(style: TitleDesign): void;
|
|
7964
8077
|
}
|
|
7965
8078
|
|
|
7966
|
-
interface Props
|
|
8079
|
+
interface Props$Z {
|
|
7967
8080
|
figureId: UID;
|
|
7968
8081
|
definition: ChartWithDataSetDefinition;
|
|
7969
8082
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7970
8083
|
}
|
|
7971
|
-
declare class ChartLegend extends Component<Props
|
|
8084
|
+
declare class ChartLegend extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
7972
8085
|
static template: string;
|
|
7973
8086
|
static components: {
|
|
7974
8087
|
Section: typeof Section;
|
|
@@ -7981,13 +8094,13 @@ declare class ChartLegend extends Component<Props$$, SpreadsheetChildEnv> {
|
|
|
7981
8094
|
updateLegendPosition(ev: any): void;
|
|
7982
8095
|
}
|
|
7983
8096
|
|
|
7984
|
-
interface Props$
|
|
8097
|
+
interface Props$Y {
|
|
7985
8098
|
figureId: UID;
|
|
7986
8099
|
definition: ChartWithDataSetDefinition;
|
|
7987
8100
|
canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7988
8101
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7989
8102
|
}
|
|
7990
|
-
declare class SeriesDesignEditor extends Component<Props$
|
|
8103
|
+
declare class SeriesDesignEditor extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
7991
8104
|
static template: string;
|
|
7992
8105
|
static components: {
|
|
7993
8106
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -8015,13 +8128,13 @@ declare class SeriesDesignEditor extends Component<Props$_, SpreadsheetChildEnv>
|
|
|
8015
8128
|
getDataSeriesLabel(): string | undefined;
|
|
8016
8129
|
}
|
|
8017
8130
|
|
|
8018
|
-
interface Props$
|
|
8131
|
+
interface Props$X {
|
|
8019
8132
|
figureId: UID;
|
|
8020
8133
|
definition: ChartWithDataSetDefinition;
|
|
8021
8134
|
canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8022
8135
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8023
8136
|
}
|
|
8024
|
-
declare class SeriesWithAxisDesignEditor extends Component<Props$
|
|
8137
|
+
declare class SeriesWithAxisDesignEditor extends Component<Props$X, SpreadsheetChildEnv> {
|
|
8025
8138
|
static template: string;
|
|
8026
8139
|
static components: {
|
|
8027
8140
|
SeriesDesignEditor: typeof SeriesDesignEditor;
|
|
@@ -8062,13 +8175,13 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$Z, SpreadsheetC
|
|
|
8062
8175
|
updateTrendLineValue(index: number, config: any): void;
|
|
8063
8176
|
}
|
|
8064
8177
|
|
|
8065
|
-
interface Props$
|
|
8178
|
+
interface Props$W {
|
|
8066
8179
|
figureId: UID;
|
|
8067
8180
|
definition: ChartWithDataSetDefinition;
|
|
8068
8181
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8069
8182
|
updateChart: (figureId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8070
8183
|
}
|
|
8071
|
-
declare class ChartWithAxisDesignPanel<P extends Props$
|
|
8184
|
+
declare class ChartWithAxisDesignPanel<P extends Props$W = Props$W> extends Component<P, SpreadsheetChildEnv> {
|
|
8072
8185
|
static template: string;
|
|
8073
8186
|
static components: {
|
|
8074
8187
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -8088,13 +8201,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$Y = Props$Y> extends Comp
|
|
|
8088
8201
|
get axesList(): AxisDefinition[];
|
|
8089
8202
|
}
|
|
8090
8203
|
|
|
8091
|
-
interface Props$
|
|
8204
|
+
interface Props$V {
|
|
8092
8205
|
figureId: UID;
|
|
8093
8206
|
definition: GaugeChartDefinition;
|
|
8094
8207
|
canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8095
8208
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8096
8209
|
}
|
|
8097
|
-
declare class GaugeChartConfigPanel extends Component<Props$
|
|
8210
|
+
declare class GaugeChartConfigPanel extends Component<Props$V, SpreadsheetChildEnv> {
|
|
8098
8211
|
static template: string;
|
|
8099
8212
|
static components: {
|
|
8100
8213
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -8159,13 +8272,13 @@ interface EnrichedToken extends Token {
|
|
|
8159
8272
|
isInHoverContext?: boolean;
|
|
8160
8273
|
}
|
|
8161
8274
|
|
|
8162
|
-
interface Props$
|
|
8275
|
+
interface Props$U {
|
|
8163
8276
|
proposals: AutoCompleteProposal[];
|
|
8164
8277
|
selectedIndex: number | undefined;
|
|
8165
8278
|
onValueSelected: (value: string) => void;
|
|
8166
8279
|
onValueHovered: (index: string) => void;
|
|
8167
8280
|
}
|
|
8168
|
-
declare class TextValueProvider extends Component<Props$
|
|
8281
|
+
declare class TextValueProvider extends Component<Props$U> {
|
|
8169
8282
|
static template: string;
|
|
8170
8283
|
static props: {
|
|
8171
8284
|
proposals: ArrayConstructor;
|
|
@@ -8221,11 +8334,11 @@ declare class ContentEditableHelper {
|
|
|
8221
8334
|
getText(): string;
|
|
8222
8335
|
}
|
|
8223
8336
|
|
|
8224
|
-
interface Props$
|
|
8337
|
+
interface Props$T {
|
|
8225
8338
|
functionDescription: FunctionDescription;
|
|
8226
8339
|
argsToFocus: number[];
|
|
8227
8340
|
}
|
|
8228
|
-
declare class FunctionDescriptionProvider extends Component<Props$
|
|
8341
|
+
declare class FunctionDescriptionProvider extends Component<Props$T, SpreadsheetChildEnv> {
|
|
8229
8342
|
static template: string;
|
|
8230
8343
|
static props: {
|
|
8231
8344
|
functionDescription: ObjectConstructor;
|
|
@@ -8236,23 +8349,21 @@ declare class FunctionDescriptionProvider extends Component<Props$V, Spreadsheet
|
|
|
8236
8349
|
};
|
|
8237
8350
|
private state;
|
|
8238
8351
|
toggle(): void;
|
|
8239
|
-
getContext(): Props$
|
|
8352
|
+
getContext(): Props$T;
|
|
8240
8353
|
get formulaArgSeparator(): string;
|
|
8241
8354
|
}
|
|
8242
8355
|
|
|
8243
|
-
interface Props$
|
|
8356
|
+
interface Props$S {
|
|
8244
8357
|
anchorRect: Rect;
|
|
8245
8358
|
content: string;
|
|
8246
8359
|
}
|
|
8247
|
-
declare class SpeechBubble extends Component<Props$
|
|
8360
|
+
declare class SpeechBubble extends Component<Props$S, SpreadsheetChildEnv> {
|
|
8248
8361
|
static template: string;
|
|
8249
8362
|
static props: {
|
|
8250
8363
|
content: StringConstructor;
|
|
8251
8364
|
anchorRect: ObjectConstructor;
|
|
8252
8365
|
};
|
|
8253
|
-
static components: {
|
|
8254
|
-
Popover: typeof Popover;
|
|
8255
|
-
};
|
|
8366
|
+
static components: {};
|
|
8256
8367
|
private spreadsheetRect;
|
|
8257
8368
|
private bubbleRef;
|
|
8258
8369
|
setup(): void;
|
|
@@ -8643,7 +8754,7 @@ interface AutoCompleteProviderDefinition {
|
|
|
8643
8754
|
}, tokenAtCursor: EnrichedToken, text: string): void;
|
|
8644
8755
|
}
|
|
8645
8756
|
|
|
8646
|
-
interface Props$
|
|
8757
|
+
interface Props$R {
|
|
8647
8758
|
onConfirm: (content: string) => void;
|
|
8648
8759
|
composerContent: string;
|
|
8649
8760
|
defaultRangeSheetId: UID;
|
|
@@ -8655,7 +8766,7 @@ interface Props$T {
|
|
|
8655
8766
|
invalid?: boolean;
|
|
8656
8767
|
getContextualColoredSymbolToken?: (token: Token) => Color;
|
|
8657
8768
|
}
|
|
8658
|
-
declare class StandaloneComposer extends Component<Props$
|
|
8769
|
+
declare class StandaloneComposer extends Component<Props$R, SpreadsheetChildEnv> {
|
|
8659
8770
|
static template: string;
|
|
8660
8771
|
static props: {
|
|
8661
8772
|
composerContent: {
|
|
@@ -8718,13 +8829,13 @@ interface PanelState {
|
|
|
8718
8829
|
sectionRuleCancelledReasons?: CommandResult[];
|
|
8719
8830
|
sectionRule: SectionRule;
|
|
8720
8831
|
}
|
|
8721
|
-
interface Props$
|
|
8832
|
+
interface Props$Q {
|
|
8722
8833
|
figureId: UID;
|
|
8723
8834
|
definition: GaugeChartDefinition;
|
|
8724
8835
|
canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8725
8836
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8726
8837
|
}
|
|
8727
|
-
declare class GaugeChartDesignPanel extends Component<Props$
|
|
8838
|
+
declare class GaugeChartDesignPanel extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
8728
8839
|
static template: string;
|
|
8729
8840
|
static components: {
|
|
8730
8841
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -8774,13 +8885,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
8774
8885
|
onUpdateCumulative(cumulative: boolean): void;
|
|
8775
8886
|
}
|
|
8776
8887
|
|
|
8777
|
-
interface Props$
|
|
8888
|
+
interface Props$P {
|
|
8778
8889
|
figureId: UID;
|
|
8779
8890
|
definition: ScorecardChartDefinition;
|
|
8780
8891
|
canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8781
8892
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8782
8893
|
}
|
|
8783
|
-
declare class ScorecardChartConfigPanel extends Component<Props$
|
|
8894
|
+
declare class ScorecardChartConfigPanel extends Component<Props$P, SpreadsheetChildEnv> {
|
|
8784
8895
|
static template: string;
|
|
8785
8896
|
static components: {
|
|
8786
8897
|
SelectionInput: typeof SelectionInput;
|
|
@@ -8809,13 +8920,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$R, SpreadsheetCh
|
|
|
8809
8920
|
}
|
|
8810
8921
|
|
|
8811
8922
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
8812
|
-
interface Props$
|
|
8923
|
+
interface Props$O {
|
|
8813
8924
|
figureId: UID;
|
|
8814
8925
|
definition: ScorecardChartDefinition;
|
|
8815
8926
|
canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8816
8927
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8817
8928
|
}
|
|
8818
|
-
declare class ScorecardChartDesignPanel extends Component<Props$
|
|
8929
|
+
declare class ScorecardChartDesignPanel extends Component<Props$O, SpreadsheetChildEnv> {
|
|
8819
8930
|
static template: string;
|
|
8820
8931
|
static components: {
|
|
8821
8932
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -8823,6 +8934,7 @@ declare class ScorecardChartDesignPanel extends Component<Props$Q, SpreadsheetCh
|
|
|
8823
8934
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
8824
8935
|
Section: typeof Section;
|
|
8825
8936
|
Checkbox: typeof Checkbox;
|
|
8937
|
+
ChartTitle: typeof ChartTitle;
|
|
8826
8938
|
};
|
|
8827
8939
|
static props: {
|
|
8828
8940
|
figureId: StringConstructor;
|
|
@@ -8838,8 +8950,13 @@ declare class ScorecardChartDesignPanel extends Component<Props$Q, SpreadsheetCh
|
|
|
8838
8950
|
get defaultScorecardTitleFontSize(): number;
|
|
8839
8951
|
updateHumanizeNumbers(humanize: boolean): void;
|
|
8840
8952
|
translate(term: any): string;
|
|
8841
|
-
updateBaselineDescr(ev: any): void;
|
|
8842
8953
|
setColor(color: Color, colorPickerId: ColorPickerId): void;
|
|
8954
|
+
get keyStyle(): TitleDesign;
|
|
8955
|
+
get baselineStyle(): TitleDesign;
|
|
8956
|
+
setKeyText(text: string): void;
|
|
8957
|
+
updateKeyStyle(style: TitleDesign): void;
|
|
8958
|
+
setBaselineText(text: string): void;
|
|
8959
|
+
updateBaselineStyle(style: TitleDesign): void;
|
|
8843
8960
|
}
|
|
8844
8961
|
|
|
8845
8962
|
interface ChartSidePanel {
|
|
@@ -8954,25 +9071,31 @@ declare class ComposerFocusStore extends SpreadsheetStore {
|
|
|
8954
9071
|
activeComposer: ComposerInterface;
|
|
8955
9072
|
private _focusMode;
|
|
8956
9073
|
get focusMode(): ComposerFocusType;
|
|
8957
|
-
focusComposer(listener: ComposerInterface, args: Args):
|
|
8958
|
-
focusActiveComposer(args: Args):
|
|
9074
|
+
focusComposer(listener: ComposerInterface, args: Args): "noStateChange" | undefined;
|
|
9075
|
+
focusActiveComposer(args: Args): "noStateChange" | undefined;
|
|
8959
9076
|
/**
|
|
8960
9077
|
* Start the edition or update the content if it's already started.
|
|
8961
9078
|
*/
|
|
8962
9079
|
private setComposerContent;
|
|
8963
9080
|
}
|
|
8964
9081
|
|
|
8965
|
-
interface Props$
|
|
9082
|
+
interface Props$N {
|
|
8966
9083
|
figureUI: FigureUI;
|
|
9084
|
+
isFullScreen?: boolean;
|
|
8967
9085
|
}
|
|
8968
|
-
declare class ChartJsComponent extends Component<Props$
|
|
9086
|
+
declare class ChartJsComponent extends Component<Props$N, SpreadsheetChildEnv> {
|
|
8969
9087
|
static template: string;
|
|
8970
9088
|
static props: {
|
|
8971
9089
|
figureUI: ObjectConstructor;
|
|
9090
|
+
isFullScreen: {
|
|
9091
|
+
type: BooleanConstructor;
|
|
9092
|
+
optional: boolean;
|
|
9093
|
+
};
|
|
8972
9094
|
};
|
|
8973
9095
|
private canvas;
|
|
8974
9096
|
private chart?;
|
|
8975
9097
|
private currentRuntime;
|
|
9098
|
+
private animationStore;
|
|
8976
9099
|
private currentDevicePixelRatio;
|
|
8977
9100
|
get background(): string;
|
|
8978
9101
|
get canvasStyle(): string;
|
|
@@ -8980,12 +9103,15 @@ declare class ChartJsComponent extends Component<Props$P, SpreadsheetChildEnv> {
|
|
|
8980
9103
|
setup(): void;
|
|
8981
9104
|
private createChart;
|
|
8982
9105
|
private updateChartJs;
|
|
9106
|
+
private hasChartDataChanged;
|
|
9107
|
+
private enableAnimationInChartData;
|
|
9108
|
+
get animationFigureId(): string;
|
|
8983
9109
|
}
|
|
8984
9110
|
|
|
8985
|
-
interface Props$
|
|
9111
|
+
interface Props$M {
|
|
8986
9112
|
figureUI: FigureUI;
|
|
8987
9113
|
}
|
|
8988
|
-
declare class ScorecardChart$1 extends Component<Props$
|
|
9114
|
+
declare class ScorecardChart$1 extends Component<Props$M, SpreadsheetChildEnv> {
|
|
8989
9115
|
static template: string;
|
|
8990
9116
|
static props: {
|
|
8991
9117
|
figureUI: ObjectConstructor;
|
|
@@ -8998,7 +9124,7 @@ declare class ScorecardChart$1 extends Component<Props$O, SpreadsheetChildEnv> {
|
|
|
8998
9124
|
}
|
|
8999
9125
|
|
|
9000
9126
|
type MenuItemOrSeparator = Action | "separator";
|
|
9001
|
-
interface Props$
|
|
9127
|
+
interface Props$L {
|
|
9002
9128
|
anchorRect: Rect;
|
|
9003
9129
|
popoverPositioning: PopoverPropsPosition;
|
|
9004
9130
|
menuItems: Action[];
|
|
@@ -9018,7 +9144,7 @@ interface MenuState {
|
|
|
9018
9144
|
menuItems: Action[];
|
|
9019
9145
|
isHoveringChild?: boolean;
|
|
9020
9146
|
}
|
|
9021
|
-
declare class Menu extends Component<Props$
|
|
9147
|
+
declare class Menu extends Component<Props$L, SpreadsheetChildEnv> {
|
|
9022
9148
|
static template: string;
|
|
9023
9149
|
static props: {
|
|
9024
9150
|
anchorRect: ObjectConstructor;
|
|
@@ -9064,7 +9190,6 @@ declare class Menu extends Component<Props$N, SpreadsheetChildEnv> {
|
|
|
9064
9190
|
private subMenu;
|
|
9065
9191
|
private menuRef;
|
|
9066
9192
|
private hoveredMenu;
|
|
9067
|
-
private position;
|
|
9068
9193
|
private openingTimeOut;
|
|
9069
9194
|
setup(): void;
|
|
9070
9195
|
get menuItemsAndSeparators(): MenuItemOrSeparator[];
|
|
@@ -9099,14 +9224,14 @@ declare class Menu extends Component<Props$N, SpreadsheetChildEnv> {
|
|
|
9099
9224
|
}
|
|
9100
9225
|
|
|
9101
9226
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
9102
|
-
interface Props$
|
|
9227
|
+
interface Props$K {
|
|
9103
9228
|
figureUI: FigureUI;
|
|
9104
9229
|
style: string;
|
|
9105
9230
|
onFigureDeleted: () => void;
|
|
9106
9231
|
onMouseDown: (ev: MouseEvent) => void;
|
|
9107
9232
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
9108
9233
|
}
|
|
9109
|
-
declare class FigureComponent extends Component<Props$
|
|
9234
|
+
declare class FigureComponent extends Component<Props$K, SpreadsheetChildEnv> {
|
|
9110
9235
|
static template: string;
|
|
9111
9236
|
static props: {
|
|
9112
9237
|
figureUI: ObjectConstructor;
|
|
@@ -9138,7 +9263,6 @@ declare class FigureComponent extends Component<Props$M, SpreadsheetChildEnv> {
|
|
|
9138
9263
|
private menuState;
|
|
9139
9264
|
private figureRef;
|
|
9140
9265
|
private menuButtonRef;
|
|
9141
|
-
private menuButtonRect;
|
|
9142
9266
|
private borderWidth;
|
|
9143
9267
|
get isSelected(): boolean;
|
|
9144
9268
|
get figureRegistry(): Registry<FigureContent>;
|
|
@@ -9156,10 +9280,17 @@ declare class FigureComponent extends Component<Props$M, SpreadsheetChildEnv> {
|
|
|
9156
9280
|
private openContextMenu;
|
|
9157
9281
|
}
|
|
9158
9282
|
|
|
9159
|
-
interface Props$
|
|
9283
|
+
interface Props$J {
|
|
9160
9284
|
figureUI: FigureUI;
|
|
9161
9285
|
}
|
|
9162
|
-
|
|
9286
|
+
interface MenuItem {
|
|
9287
|
+
id: string;
|
|
9288
|
+
label: string;
|
|
9289
|
+
iconClass: string;
|
|
9290
|
+
onClick: () => void;
|
|
9291
|
+
isSelected?: boolean;
|
|
9292
|
+
}
|
|
9293
|
+
declare class ChartDashboardMenu extends Component<Props$J, SpreadsheetChildEnv> {
|
|
9163
9294
|
static template: string;
|
|
9164
9295
|
static components: {
|
|
9165
9296
|
Menu: typeof Menu;
|
|
@@ -9168,30 +9299,24 @@ declare class ChartDashboardMenu extends Component<Props$L, SpreadsheetChildEnv>
|
|
|
9168
9299
|
figureUI: ObjectConstructor;
|
|
9169
9300
|
};
|
|
9170
9301
|
private originalChartDefinition;
|
|
9302
|
+
private fullScreenFigureStore;
|
|
9171
9303
|
private menuState;
|
|
9172
9304
|
setup(): void;
|
|
9173
|
-
|
|
9174
|
-
|
|
9175
|
-
chartSubtype: string;
|
|
9176
|
-
displayName: string;
|
|
9177
|
-
chartType: ChartType;
|
|
9178
|
-
matcher?: (definition: ChartDefinition) => boolean;
|
|
9179
|
-
subtypeDefinition?: Partial<ChartDefinition>;
|
|
9180
|
-
category: "area" | "line" | "bar" | "pie" | "column" | "hierarchical" | "misc";
|
|
9181
|
-
preview: string;
|
|
9182
|
-
}[];
|
|
9305
|
+
getMenuItems(): MenuItem[];
|
|
9306
|
+
get changeChartTypeMenuItems(): MenuItem[];
|
|
9183
9307
|
getIconClasses(type: ChartType): "" | "fa fa-bar-chart" | "fa fa-line-chart" | "fa fa-pie-chart";
|
|
9184
9308
|
onTypeChange(type: ChartType): void;
|
|
9185
|
-
get selectedChartType(): "line" | "bar" | "scatter" | "pie" | "radar" | "treemap" | "funnel" | "
|
|
9309
|
+
get selectedChartType(): "line" | "bar" | "scatter" | "pie" | "radar" | "treemap" | "funnel" | "scorecard" | "gauge" | "combo" | "waterfall" | "pyramid" | "geo" | "sunburst";
|
|
9186
9310
|
get backgroundColor(): string;
|
|
9187
9311
|
openContextMenu(ev: MouseEvent): void;
|
|
9312
|
+
get fullScreenMenuItem(): MenuItem | undefined;
|
|
9188
9313
|
}
|
|
9189
9314
|
|
|
9190
|
-
interface Props$
|
|
9315
|
+
interface Props$I {
|
|
9191
9316
|
figureUI: FigureUI;
|
|
9192
9317
|
onFigureDeleted: () => void;
|
|
9193
9318
|
}
|
|
9194
|
-
declare class ChartFigure extends Component<Props$
|
|
9319
|
+
declare class ChartFigure extends Component<Props$I, SpreadsheetChildEnv> {
|
|
9195
9320
|
static template: string;
|
|
9196
9321
|
static props: {
|
|
9197
9322
|
figureUI: ObjectConstructor;
|
|
@@ -9210,11 +9335,11 @@ declare class DelayedHoveredCellStore extends SpreadsheetStore {
|
|
|
9210
9335
|
col: number | undefined;
|
|
9211
9336
|
row: number | undefined;
|
|
9212
9337
|
handle(cmd: Command): void;
|
|
9213
|
-
hover(position: Partial<Position$1>):
|
|
9214
|
-
clear():
|
|
9338
|
+
hover(position: Partial<Position$1>): "noStateChange" | undefined;
|
|
9339
|
+
clear(): "noStateChange" | undefined;
|
|
9215
9340
|
}
|
|
9216
9341
|
|
|
9217
|
-
interface Props$
|
|
9342
|
+
interface Props$H {
|
|
9218
9343
|
isVisible: boolean;
|
|
9219
9344
|
position: Position;
|
|
9220
9345
|
}
|
|
@@ -9226,7 +9351,7 @@ interface State$3 {
|
|
|
9226
9351
|
position: Position;
|
|
9227
9352
|
handler: boolean;
|
|
9228
9353
|
}
|
|
9229
|
-
declare class Autofill extends Component<Props$
|
|
9354
|
+
declare class Autofill extends Component<Props$H, SpreadsheetChildEnv> {
|
|
9230
9355
|
static template: string;
|
|
9231
9356
|
static props: {
|
|
9232
9357
|
position: ObjectConstructor;
|
|
@@ -9266,7 +9391,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
9266
9391
|
get tagStyle(): string;
|
|
9267
9392
|
}
|
|
9268
9393
|
|
|
9269
|
-
interface Props$
|
|
9394
|
+
interface Props$G {
|
|
9270
9395
|
gridDims: DOMDimension;
|
|
9271
9396
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
9272
9397
|
}
|
|
@@ -9274,7 +9399,7 @@ interface Props$I {
|
|
|
9274
9399
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
9275
9400
|
* It also applies the style of the cell to the composer input.
|
|
9276
9401
|
*/
|
|
9277
|
-
declare class GridComposer extends Component<Props$
|
|
9402
|
+
declare class GridComposer extends Component<Props$G, SpreadsheetChildEnv> {
|
|
9278
9403
|
static template: string;
|
|
9279
9404
|
static props: {
|
|
9280
9405
|
gridDims: ObjectConstructor;
|
|
@@ -9307,70 +9432,6 @@ declare class GridComposer extends Component<Props$I, SpreadsheetChildEnv> {
|
|
|
9307
9432
|
onFocus(): void;
|
|
9308
9433
|
}
|
|
9309
9434
|
|
|
9310
|
-
interface GridCellIconProps {
|
|
9311
|
-
cellPosition: CellPosition;
|
|
9312
|
-
horizontalAlign?: Align;
|
|
9313
|
-
verticalAlign?: VerticalAlign;
|
|
9314
|
-
}
|
|
9315
|
-
declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChildEnv> {
|
|
9316
|
-
static template: string;
|
|
9317
|
-
static props: {
|
|
9318
|
-
cellPosition: ObjectConstructor;
|
|
9319
|
-
horizontalAlign: {
|
|
9320
|
-
type: StringConstructor;
|
|
9321
|
-
optional: boolean;
|
|
9322
|
-
};
|
|
9323
|
-
verticalAlign: {
|
|
9324
|
-
type: StringConstructor;
|
|
9325
|
-
optional: boolean;
|
|
9326
|
-
};
|
|
9327
|
-
slots: ObjectConstructor;
|
|
9328
|
-
};
|
|
9329
|
-
get iconStyle(): string;
|
|
9330
|
-
private getIconVerticalPosition;
|
|
9331
|
-
private getIconHorizontalPosition;
|
|
9332
|
-
isPositionVisible(position: CellPosition): boolean;
|
|
9333
|
-
}
|
|
9334
|
-
|
|
9335
|
-
interface Props$H {
|
|
9336
|
-
cellPosition: CellPosition;
|
|
9337
|
-
}
|
|
9338
|
-
declare class DataValidationCheckbox extends Component<Props$H, SpreadsheetChildEnv> {
|
|
9339
|
-
static template: string;
|
|
9340
|
-
static components: {
|
|
9341
|
-
Checkbox: typeof Checkbox;
|
|
9342
|
-
};
|
|
9343
|
-
static props: {
|
|
9344
|
-
cellPosition: ObjectConstructor;
|
|
9345
|
-
};
|
|
9346
|
-
onCheckboxChange(value: boolean): void;
|
|
9347
|
-
get checkBoxValue(): boolean;
|
|
9348
|
-
get isDisabled(): boolean;
|
|
9349
|
-
}
|
|
9350
|
-
|
|
9351
|
-
interface Props$G {
|
|
9352
|
-
cellPosition: CellPosition;
|
|
9353
|
-
}
|
|
9354
|
-
declare class DataValidationListIcon extends Component<Props$G, SpreadsheetChildEnv> {
|
|
9355
|
-
static template: string;
|
|
9356
|
-
static props: {
|
|
9357
|
-
cellPosition: ObjectConstructor;
|
|
9358
|
-
};
|
|
9359
|
-
onClick(): void;
|
|
9360
|
-
}
|
|
9361
|
-
|
|
9362
|
-
declare class DataValidationOverlay extends Component<{}, SpreadsheetChildEnv> {
|
|
9363
|
-
static template: string;
|
|
9364
|
-
static props: {};
|
|
9365
|
-
static components: {
|
|
9366
|
-
GridCellIcon: typeof GridCellIcon;
|
|
9367
|
-
DataValidationCheckbox: typeof DataValidationCheckbox;
|
|
9368
|
-
DataValidationListIcon: typeof DataValidationListIcon;
|
|
9369
|
-
};
|
|
9370
|
-
get checkBoxCellPositions(): CellPosition[];
|
|
9371
|
-
get listIconsCellPositions(): CellPosition[];
|
|
9372
|
-
}
|
|
9373
|
-
|
|
9374
9435
|
type HFigureAxisType = "top" | "bottom" | "vCenter";
|
|
9375
9436
|
type VFigureAxisType = "right" | "left" | "hCenter";
|
|
9376
9437
|
interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
@@ -9498,34 +9559,9 @@ declare class FiguresContainer extends Component<Props$F, SpreadsheetChildEnv> {
|
|
|
9498
9559
|
}
|
|
9499
9560
|
|
|
9500
9561
|
interface Props$E {
|
|
9501
|
-
cellPosition: CellPosition;
|
|
9502
|
-
}
|
|
9503
|
-
declare class FilterIcon extends Component<Props$E, SpreadsheetChildEnv> {
|
|
9504
|
-
static template: string;
|
|
9505
|
-
static props: {
|
|
9506
|
-
cellPosition: ObjectConstructor;
|
|
9507
|
-
};
|
|
9508
|
-
protected cellPopovers: Store<CellPopoverStore>;
|
|
9509
|
-
setup(): void;
|
|
9510
|
-
onClick(): void;
|
|
9511
|
-
get isFilterActive(): boolean;
|
|
9512
|
-
get iconClass(): string;
|
|
9513
|
-
}
|
|
9514
|
-
|
|
9515
|
-
declare class FilterIconsOverlay extends Component<{}, SpreadsheetChildEnv> {
|
|
9516
|
-
static template: string;
|
|
9517
|
-
static props: {};
|
|
9518
|
-
static components: {
|
|
9519
|
-
GridCellIcon: typeof GridCellIcon;
|
|
9520
|
-
FilterIcon: typeof FilterIcon;
|
|
9521
|
-
};
|
|
9522
|
-
getFilterHeadersPositions(): CellPosition[];
|
|
9523
|
-
}
|
|
9524
|
-
|
|
9525
|
-
interface Props$D {
|
|
9526
9562
|
focusGrid: () => void;
|
|
9527
9563
|
}
|
|
9528
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
9564
|
+
declare class GridAddRowsFooter extends Component<Props$E, SpreadsheetChildEnv> {
|
|
9529
9565
|
static template: string;
|
|
9530
9566
|
static props: {
|
|
9531
9567
|
focusGrid: FunctionConstructor;
|
|
@@ -9549,7 +9585,36 @@ declare class GridAddRowsFooter extends Component<Props$D, SpreadsheetChildEnv>
|
|
|
9549
9585
|
private onExternalClick;
|
|
9550
9586
|
}
|
|
9551
9587
|
|
|
9552
|
-
interface
|
|
9588
|
+
interface GridCellIconProps {
|
|
9589
|
+
icon: GridIcon;
|
|
9590
|
+
verticalAlign?: VerticalAlign;
|
|
9591
|
+
}
|
|
9592
|
+
declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChildEnv> {
|
|
9593
|
+
static template: string;
|
|
9594
|
+
static props: {
|
|
9595
|
+
icon: ObjectConstructor;
|
|
9596
|
+
verticalAlign: {
|
|
9597
|
+
type: StringConstructor;
|
|
9598
|
+
optional: boolean;
|
|
9599
|
+
};
|
|
9600
|
+
slots: ObjectConstructor;
|
|
9601
|
+
};
|
|
9602
|
+
get iconStyle(): string;
|
|
9603
|
+
private getIconVerticalPosition;
|
|
9604
|
+
private getIconHorizontalPosition;
|
|
9605
|
+
isPositionVisible(position: CellPosition): boolean;
|
|
9606
|
+
}
|
|
9607
|
+
|
|
9608
|
+
declare class GridCellIconOverlay extends Component<{}, SpreadsheetChildEnv> {
|
|
9609
|
+
static template: string;
|
|
9610
|
+
static props: {};
|
|
9611
|
+
static components: {
|
|
9612
|
+
GridCellIcon: typeof GridCellIcon;
|
|
9613
|
+
};
|
|
9614
|
+
get icons(): GridIcon[];
|
|
9615
|
+
}
|
|
9616
|
+
|
|
9617
|
+
interface Props$D {
|
|
9553
9618
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
9554
9619
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: MouseEvent) => void;
|
|
9555
9620
|
onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
|
|
@@ -9558,7 +9623,7 @@ interface Props$C {
|
|
|
9558
9623
|
gridOverlayDimensions: string;
|
|
9559
9624
|
onFigureDeleted: () => void;
|
|
9560
9625
|
}
|
|
9561
|
-
declare class GridOverlay extends Component<Props$
|
|
9626
|
+
declare class GridOverlay extends Component<Props$D, SpreadsheetChildEnv> {
|
|
9562
9627
|
static template: string;
|
|
9563
9628
|
static props: {
|
|
9564
9629
|
onCellDoubleClicked: {
|
|
@@ -9590,9 +9655,8 @@ declare class GridOverlay extends Component<Props$C, SpreadsheetChildEnv> {
|
|
|
9590
9655
|
};
|
|
9591
9656
|
static components: {
|
|
9592
9657
|
FiguresContainer: typeof FiguresContainer;
|
|
9593
|
-
DataValidationOverlay: typeof DataValidationOverlay;
|
|
9594
9658
|
GridAddRowsFooter: typeof GridAddRowsFooter;
|
|
9595
|
-
|
|
9659
|
+
GridCellIconOverlay: typeof GridCellIconOverlay;
|
|
9596
9660
|
};
|
|
9597
9661
|
static defaultProps: {
|
|
9598
9662
|
onCellDoubleClicked: () => void;
|
|
@@ -9602,7 +9666,6 @@ declare class GridOverlay extends Component<Props$C, SpreadsheetChildEnv> {
|
|
|
9602
9666
|
onFigureDeleted: () => void;
|
|
9603
9667
|
};
|
|
9604
9668
|
private gridOverlay;
|
|
9605
|
-
private gridOverlayRect;
|
|
9606
9669
|
private cellPopovers;
|
|
9607
9670
|
private paintFormatStore;
|
|
9608
9671
|
setup(): void;
|
|
@@ -9615,12 +9678,12 @@ declare class GridOverlay extends Component<Props$C, SpreadsheetChildEnv> {
|
|
|
9615
9678
|
private getCartesianCoordinates;
|
|
9616
9679
|
}
|
|
9617
9680
|
|
|
9618
|
-
interface Props$
|
|
9681
|
+
interface Props$C {
|
|
9619
9682
|
gridRect: Rect;
|
|
9620
9683
|
onClosePopover: () => void;
|
|
9621
9684
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
9622
9685
|
}
|
|
9623
|
-
declare class GridPopover extends Component<Props$
|
|
9686
|
+
declare class GridPopover extends Component<Props$C, SpreadsheetChildEnv> {
|
|
9624
9687
|
static template: string;
|
|
9625
9688
|
static props: {
|
|
9626
9689
|
onClosePopover: FunctionConstructor;
|
|
@@ -9636,7 +9699,7 @@ declare class GridPopover extends Component<Props$B, SpreadsheetChildEnv> {
|
|
|
9636
9699
|
get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
|
|
9637
9700
|
}
|
|
9638
9701
|
|
|
9639
|
-
interface Props$
|
|
9702
|
+
interface Props$B {
|
|
9640
9703
|
headersGroups: ConsecutiveIndexes[];
|
|
9641
9704
|
offset: number;
|
|
9642
9705
|
headerRange: {
|
|
@@ -9644,7 +9707,7 @@ interface Props$A {
|
|
|
9644
9707
|
end: HeaderIndex;
|
|
9645
9708
|
};
|
|
9646
9709
|
}
|
|
9647
|
-
declare class UnhideRowHeaders extends Component<Props$
|
|
9710
|
+
declare class UnhideRowHeaders extends Component<Props$B, SpreadsheetChildEnv> {
|
|
9648
9711
|
static template: string;
|
|
9649
9712
|
static props: {
|
|
9650
9713
|
headersGroups: ArrayConstructor;
|
|
@@ -9663,7 +9726,7 @@ declare class UnhideRowHeaders extends Component<Props$A, SpreadsheetChildEnv> {
|
|
|
9663
9726
|
unhide(hiddenElements: HeaderIndex[]): void;
|
|
9664
9727
|
isVisible(header: HeaderIndex): boolean;
|
|
9665
9728
|
}
|
|
9666
|
-
declare class UnhideColumnHeaders extends Component<Props$
|
|
9729
|
+
declare class UnhideColumnHeaders extends Component<Props$B, SpreadsheetChildEnv> {
|
|
9667
9730
|
static template: string;
|
|
9668
9731
|
static props: {
|
|
9669
9732
|
headersGroups: ArrayConstructor;
|
|
@@ -9855,13 +9918,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
9855
9918
|
}
|
|
9856
9919
|
|
|
9857
9920
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
9858
|
-
interface Props$
|
|
9921
|
+
interface Props$A {
|
|
9859
9922
|
zone: Zone;
|
|
9860
9923
|
orientation: Orientation$1;
|
|
9861
9924
|
isMoving: boolean;
|
|
9862
9925
|
onMoveHighlight: (ev: PointerEvent) => void;
|
|
9863
9926
|
}
|
|
9864
|
-
declare class Border extends Component<Props$
|
|
9927
|
+
declare class Border extends Component<Props$A, SpreadsheetChildEnv> {
|
|
9865
9928
|
static template: string;
|
|
9866
9929
|
static props: {
|
|
9867
9930
|
zone: ObjectConstructor;
|
|
@@ -9874,14 +9937,14 @@ declare class Border extends Component<Props$z, SpreadsheetChildEnv> {
|
|
|
9874
9937
|
}
|
|
9875
9938
|
|
|
9876
9939
|
type Orientation = "nw" | "ne" | "sw" | "se";
|
|
9877
|
-
interface Props$
|
|
9940
|
+
interface Props$z {
|
|
9878
9941
|
zone: Zone;
|
|
9879
9942
|
color: Color;
|
|
9880
9943
|
orientation: Orientation;
|
|
9881
9944
|
isResizing: boolean;
|
|
9882
9945
|
onResizeHighlight: (ev: PointerEvent, isLeft: boolean, isTop: boolean) => void;
|
|
9883
9946
|
}
|
|
9884
|
-
declare class Corner extends Component<Props$
|
|
9947
|
+
declare class Corner extends Component<Props$z, SpreadsheetChildEnv> {
|
|
9885
9948
|
static template: string;
|
|
9886
9949
|
static props: {
|
|
9887
9950
|
zone: ObjectConstructor;
|
|
@@ -9896,14 +9959,14 @@ declare class Corner extends Component<Props$y, SpreadsheetChildEnv> {
|
|
|
9896
9959
|
onMouseDown(ev: PointerEvent): void;
|
|
9897
9960
|
}
|
|
9898
9961
|
|
|
9899
|
-
interface Props$
|
|
9962
|
+
interface Props$y {
|
|
9900
9963
|
zone: Zone;
|
|
9901
9964
|
color: Color;
|
|
9902
9965
|
}
|
|
9903
9966
|
interface HighlightState {
|
|
9904
9967
|
shiftingMode: "isMoving" | "isResizing" | "none";
|
|
9905
9968
|
}
|
|
9906
|
-
declare class Highlight extends Component<Props$
|
|
9969
|
+
declare class Highlight extends Component<Props$y, SpreadsheetChildEnv> {
|
|
9907
9970
|
static template: string;
|
|
9908
9971
|
static props: {
|
|
9909
9972
|
zone: ObjectConstructor;
|
|
@@ -9926,7 +9989,7 @@ declare class Highlight extends Component<Props$x, SpreadsheetChildEnv> {
|
|
|
9926
9989
|
|
|
9927
9990
|
type ScrollDirection = "horizontal" | "vertical";
|
|
9928
9991
|
|
|
9929
|
-
interface Props$
|
|
9992
|
+
interface Props$x {
|
|
9930
9993
|
width: Pixel;
|
|
9931
9994
|
height: Pixel;
|
|
9932
9995
|
direction: ScrollDirection;
|
|
@@ -9934,7 +9997,7 @@ interface Props$w {
|
|
|
9934
9997
|
offset: Pixel;
|
|
9935
9998
|
onScroll: (offset: Pixel) => void;
|
|
9936
9999
|
}
|
|
9937
|
-
declare class ScrollBar extends Component<Props$
|
|
10000
|
+
declare class ScrollBar extends Component<Props$x> {
|
|
9938
10001
|
static props: {
|
|
9939
10002
|
width: {
|
|
9940
10003
|
type: NumberConstructor;
|
|
@@ -9962,10 +10025,10 @@ declare class ScrollBar extends Component<Props$w> {
|
|
|
9962
10025
|
onScroll(ev: any): void;
|
|
9963
10026
|
}
|
|
9964
10027
|
|
|
9965
|
-
interface Props$
|
|
10028
|
+
interface Props$w {
|
|
9966
10029
|
leftOffset: number;
|
|
9967
10030
|
}
|
|
9968
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
10031
|
+
declare class HorizontalScrollBar extends Component<Props$w, SpreadsheetChildEnv> {
|
|
9969
10032
|
static props: {
|
|
9970
10033
|
leftOffset: {
|
|
9971
10034
|
type: NumberConstructor;
|
|
@@ -9991,10 +10054,10 @@ declare class HorizontalScrollBar extends Component<Props$v, SpreadsheetChildEnv
|
|
|
9991
10054
|
onScroll(offset: any): void;
|
|
9992
10055
|
}
|
|
9993
10056
|
|
|
9994
|
-
interface Props$
|
|
10057
|
+
interface Props$v {
|
|
9995
10058
|
topOffset: number;
|
|
9996
10059
|
}
|
|
9997
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
10060
|
+
declare class VerticalScrollBar extends Component<Props$v, SpreadsheetChildEnv> {
|
|
9998
10061
|
static props: {
|
|
9999
10062
|
topOffset: {
|
|
10000
10063
|
type: NumberConstructor;
|
|
@@ -10020,13 +10083,13 @@ declare class VerticalScrollBar extends Component<Props$u, SpreadsheetChildEnv>
|
|
|
10020
10083
|
onScroll(offset: any): void;
|
|
10021
10084
|
}
|
|
10022
10085
|
|
|
10023
|
-
interface Props$
|
|
10086
|
+
interface Props$u {
|
|
10024
10087
|
table: Table;
|
|
10025
10088
|
}
|
|
10026
10089
|
interface State$2 {
|
|
10027
10090
|
highlightZone: Zone | undefined;
|
|
10028
10091
|
}
|
|
10029
|
-
declare class TableResizer extends Component<Props$
|
|
10092
|
+
declare class TableResizer extends Component<Props$u, SpreadsheetChildEnv> {
|
|
10030
10093
|
static template: string;
|
|
10031
10094
|
static props: {
|
|
10032
10095
|
table: ObjectConstructor;
|
|
@@ -10055,10 +10118,10 @@ declare class TableResizer extends Component<Props$t, SpreadsheetChildEnv> {
|
|
|
10055
10118
|
* - a vertical resizer (same, for rows)
|
|
10056
10119
|
*/
|
|
10057
10120
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
10058
|
-
interface Props$
|
|
10121
|
+
interface Props$t {
|
|
10059
10122
|
exposeFocus: (focus: () => void) => void;
|
|
10060
10123
|
}
|
|
10061
|
-
declare class Grid extends Component<Props$
|
|
10124
|
+
declare class Grid extends Component<Props$t, SpreadsheetChildEnv> {
|
|
10062
10125
|
static template: string;
|
|
10063
10126
|
static props: {
|
|
10064
10127
|
exposeFocus: FunctionConstructor;
|
|
@@ -10086,6 +10149,7 @@ declare class Grid extends Component<Props$s, SpreadsheetChildEnv> {
|
|
|
10086
10149
|
private composerFocusStore;
|
|
10087
10150
|
private DOMFocusableElementStore;
|
|
10088
10151
|
private paintFormatStore;
|
|
10152
|
+
private clientFocusStore;
|
|
10089
10153
|
dragNDropGrid: {
|
|
10090
10154
|
start: (initialPointerCoordinates: {
|
|
10091
10155
|
clientX: number;
|
|
@@ -10093,7 +10157,6 @@ declare class Grid extends Component<Props$s, SpreadsheetChildEnv> {
|
|
|
10093
10157
|
}, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void) => void;
|
|
10094
10158
|
};
|
|
10095
10159
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
10096
|
-
canvasPosition: DOMCoordinates;
|
|
10097
10160
|
hoveredCell: Store<DelayedHoveredCellStore>;
|
|
10098
10161
|
sidePanel: Store<SidePanelStore>;
|
|
10099
10162
|
setup(): void;
|
|
@@ -10110,8 +10173,10 @@ declare class Grid extends Component<Props$s, SpreadsheetChildEnv> {
|
|
|
10110
10173
|
get isAutofillVisible(): boolean;
|
|
10111
10174
|
onGridResized({ height, width }: DOMDimension): void;
|
|
10112
10175
|
private moveCanvas;
|
|
10176
|
+
private processSpaceKey;
|
|
10113
10177
|
getClientPositionKey(client: Client): string;
|
|
10114
10178
|
isCellHovered(col: HeaderIndex, row: HeaderIndex): boolean;
|
|
10179
|
+
get focusedClients(): Set<string>;
|
|
10115
10180
|
private getGridRect;
|
|
10116
10181
|
onCellClicked(col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: PointerEvent): void;
|
|
10117
10182
|
onCellDoubleClicked(col: HeaderIndex, row: HeaderIndex): void;
|
|
@@ -10169,7 +10234,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
10169
10234
|
private getChartDefinitionFromContextCreation;
|
|
10170
10235
|
}
|
|
10171
10236
|
|
|
10172
|
-
interface Props$
|
|
10237
|
+
interface Props$s {
|
|
10173
10238
|
figureId: UID;
|
|
10174
10239
|
chartPanelStore: MainChartPanelStore;
|
|
10175
10240
|
}
|
|
@@ -10177,7 +10242,7 @@ interface ChartTypePickerState {
|
|
|
10177
10242
|
popoverProps: PopoverProps | undefined;
|
|
10178
10243
|
popoverStyle: string;
|
|
10179
10244
|
}
|
|
10180
|
-
declare class ChartTypePicker extends Component<Props$
|
|
10245
|
+
declare class ChartTypePicker extends Component<Props$s, SpreadsheetChildEnv> {
|
|
10181
10246
|
static template: string;
|
|
10182
10247
|
static components: {
|
|
10183
10248
|
Section: typeof Section;
|
|
@@ -10213,11 +10278,11 @@ declare class ChartTypePicker extends Component<Props$r, SpreadsheetChildEnv> {
|
|
|
10213
10278
|
private closePopover;
|
|
10214
10279
|
}
|
|
10215
10280
|
|
|
10216
|
-
interface Props$
|
|
10281
|
+
interface Props$r {
|
|
10217
10282
|
onCloseSidePanel: () => void;
|
|
10218
10283
|
figureId: UID;
|
|
10219
10284
|
}
|
|
10220
|
-
declare class ChartPanel extends Component<Props$
|
|
10285
|
+
declare class ChartPanel extends Component<Props$r, SpreadsheetChildEnv> {
|
|
10221
10286
|
static template: string;
|
|
10222
10287
|
static components: {
|
|
10223
10288
|
Section: typeof Section;
|
|
@@ -10237,11 +10302,11 @@ declare class ChartPanel extends Component<Props$q, SpreadsheetChildEnv> {
|
|
|
10237
10302
|
private getChartDefinition;
|
|
10238
10303
|
}
|
|
10239
10304
|
|
|
10240
|
-
interface Props$
|
|
10305
|
+
interface Props$q {
|
|
10241
10306
|
onValueChange: (value: number) => void;
|
|
10242
10307
|
value: number;
|
|
10243
10308
|
}
|
|
10244
|
-
declare class PieHoleSize extends Component<Props$
|
|
10309
|
+
declare class PieHoleSize extends Component<Props$q, SpreadsheetChildEnv> {
|
|
10245
10310
|
static template: string;
|
|
10246
10311
|
static components: {
|
|
10247
10312
|
Section: typeof Section;
|
|
@@ -10254,13 +10319,13 @@ declare class PieHoleSize extends Component<Props$p, SpreadsheetChildEnv> {
|
|
|
10254
10319
|
onChange(value: string): void;
|
|
10255
10320
|
}
|
|
10256
10321
|
|
|
10257
|
-
interface Props$
|
|
10322
|
+
interface Props$p {
|
|
10258
10323
|
figureId: UID;
|
|
10259
10324
|
definition: PieChartDefinition;
|
|
10260
10325
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10261
10326
|
updateChart: (figureId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10262
10327
|
}
|
|
10263
|
-
declare class PieChartDesignPanel extends Component<Props$
|
|
10328
|
+
declare class PieChartDesignPanel extends Component<Props$p, SpreadsheetChildEnv> {
|
|
10264
10329
|
static template: string;
|
|
10265
10330
|
static components: {
|
|
10266
10331
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -10281,10 +10346,10 @@ declare class PieChartDesignPanel extends Component<Props$o, SpreadsheetChildEnv
|
|
|
10281
10346
|
onPieHoleSizeChange(pieHolePercentage: number): void;
|
|
10282
10347
|
}
|
|
10283
10348
|
|
|
10284
|
-
interface Props$
|
|
10349
|
+
interface Props$o {
|
|
10285
10350
|
items: ActionSpec[];
|
|
10286
10351
|
}
|
|
10287
|
-
declare class CogWheelMenu extends Component<Props$
|
|
10352
|
+
declare class CogWheelMenu extends Component<Props$o, SpreadsheetChildEnv> {
|
|
10288
10353
|
static template: string;
|
|
10289
10354
|
static components: {
|
|
10290
10355
|
Menu: typeof Menu;
|
|
@@ -10367,14 +10432,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
10367
10432
|
get highlights(): Highlight$1[];
|
|
10368
10433
|
}
|
|
10369
10434
|
|
|
10370
|
-
interface Props$
|
|
10435
|
+
interface Props$n {
|
|
10371
10436
|
deferUpdate: boolean;
|
|
10372
10437
|
isDirty: boolean;
|
|
10373
10438
|
toggleDeferUpdate: (value: boolean) => void;
|
|
10374
10439
|
discard: () => void;
|
|
10375
10440
|
apply: () => void;
|
|
10376
10441
|
}
|
|
10377
|
-
declare class PivotDeferUpdate extends Component<Props$
|
|
10442
|
+
declare class PivotDeferUpdate extends Component<Props$n, SpreadsheetChildEnv> {
|
|
10378
10443
|
static template: string;
|
|
10379
10444
|
static props: {
|
|
10380
10445
|
deferUpdate: BooleanConstructor;
|
|
@@ -10391,11 +10456,11 @@ declare class PivotDeferUpdate extends Component<Props$m, SpreadsheetChildEnv> {
|
|
|
10391
10456
|
get deferUpdatesTooltip(): string;
|
|
10392
10457
|
}
|
|
10393
10458
|
|
|
10394
|
-
interface Props$
|
|
10459
|
+
interface Props$m {
|
|
10395
10460
|
onFieldPicked: (field: string) => void;
|
|
10396
10461
|
fields: PivotField[];
|
|
10397
10462
|
}
|
|
10398
|
-
declare class AddDimensionButton extends Component<Props$
|
|
10463
|
+
declare class AddDimensionButton extends Component<Props$m, SpreadsheetChildEnv> {
|
|
10399
10464
|
static template: string;
|
|
10400
10465
|
static components: {
|
|
10401
10466
|
Popover: typeof Popover;
|
|
@@ -10431,7 +10496,7 @@ declare class AddDimensionButton extends Component<Props$l, SpreadsheetChildEnv>
|
|
|
10431
10496
|
onKeyDown(ev: KeyboardEvent): void;
|
|
10432
10497
|
}
|
|
10433
10498
|
|
|
10434
|
-
interface Props$
|
|
10499
|
+
interface Props$l {
|
|
10435
10500
|
value: string;
|
|
10436
10501
|
onChange: (value: string) => void;
|
|
10437
10502
|
class?: string;
|
|
@@ -10439,7 +10504,7 @@ interface Props$k {
|
|
|
10439
10504
|
placeholder?: string;
|
|
10440
10505
|
autofocus?: boolean;
|
|
10441
10506
|
}
|
|
10442
|
-
declare class TextInput extends Component<Props$
|
|
10507
|
+
declare class TextInput extends Component<Props$l, SpreadsheetChildEnv> {
|
|
10443
10508
|
static template: string;
|
|
10444
10509
|
static props: {
|
|
10445
10510
|
value: StringConstructor;
|
|
@@ -10469,13 +10534,13 @@ declare class TextInput extends Component<Props$k, SpreadsheetChildEnv> {
|
|
|
10469
10534
|
onMouseUp(ev: MouseEvent): void;
|
|
10470
10535
|
}
|
|
10471
10536
|
|
|
10472
|
-
interface Props$
|
|
10537
|
+
interface Props$k {
|
|
10473
10538
|
dimension: PivotCoreDimension | PivotCoreMeasure;
|
|
10474
10539
|
onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
|
|
10475
10540
|
onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
|
|
10476
10541
|
type: "row" | "col" | "measure";
|
|
10477
10542
|
}
|
|
10478
|
-
declare class PivotDimension extends Component<Props$
|
|
10543
|
+
declare class PivotDimension extends Component<Props$k, SpreadsheetChildEnv> {
|
|
10479
10544
|
static template: string;
|
|
10480
10545
|
static props: {
|
|
10481
10546
|
dimension: ObjectConstructor;
|
|
@@ -10499,13 +10564,13 @@ declare class PivotDimension extends Component<Props$j, SpreadsheetChildEnv> {
|
|
|
10499
10564
|
updateName(name: string): void;
|
|
10500
10565
|
}
|
|
10501
10566
|
|
|
10502
|
-
interface Props$
|
|
10567
|
+
interface Props$j {
|
|
10503
10568
|
dimension: PivotDimension$1;
|
|
10504
10569
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
10505
10570
|
availableGranularities: Set<string>;
|
|
10506
10571
|
allGranularities: string[];
|
|
10507
10572
|
}
|
|
10508
|
-
declare class PivotDimensionGranularity extends Component<Props$
|
|
10573
|
+
declare class PivotDimensionGranularity extends Component<Props$j, SpreadsheetChildEnv> {
|
|
10509
10574
|
static template: string;
|
|
10510
10575
|
static props: {
|
|
10511
10576
|
dimension: ObjectConstructor;
|
|
@@ -10530,11 +10595,11 @@ declare class PivotDimensionGranularity extends Component<Props$i, SpreadsheetCh
|
|
|
10530
10595
|
};
|
|
10531
10596
|
}
|
|
10532
10597
|
|
|
10533
|
-
interface Props$
|
|
10598
|
+
interface Props$i {
|
|
10534
10599
|
dimension: PivotDimension$1;
|
|
10535
10600
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
10536
10601
|
}
|
|
10537
|
-
declare class PivotDimensionOrder extends Component<Props$
|
|
10602
|
+
declare class PivotDimensionOrder extends Component<Props$i, SpreadsheetChildEnv> {
|
|
10538
10603
|
static template: string;
|
|
10539
10604
|
static props: {
|
|
10540
10605
|
dimension: ObjectConstructor;
|
|
@@ -10570,7 +10635,7 @@ declare function createPivotFormula(formulaId: string, cell: PivotTableCell): st
|
|
|
10570
10635
|
declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type" | "displayName" | "granularity">, groupValue: any): CellValue;
|
|
10571
10636
|
declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
|
|
10572
10637
|
|
|
10573
|
-
interface Props$
|
|
10638
|
+
interface Props$h {
|
|
10574
10639
|
pivotId: string;
|
|
10575
10640
|
definition: PivotRuntimeDefinition;
|
|
10576
10641
|
measure: PivotMeasure;
|
|
@@ -10578,7 +10643,7 @@ interface Props$g {
|
|
|
10578
10643
|
onRemoved: () => void;
|
|
10579
10644
|
generateMeasureId: (fieldName: string, aggregator?: string) => string;
|
|
10580
10645
|
}
|
|
10581
|
-
declare class PivotMeasureEditor extends Component<Props$
|
|
10646
|
+
declare class PivotMeasureEditor extends Component<Props$h> {
|
|
10582
10647
|
static template: string;
|
|
10583
10648
|
static components: {
|
|
10584
10649
|
PivotDimension: typeof PivotDimension;
|
|
@@ -10600,13 +10665,14 @@ declare class PivotMeasureEditor extends Component<Props$g> {
|
|
|
10600
10665
|
toggleMeasureVisibility(): void;
|
|
10601
10666
|
openShowValuesAs(): void;
|
|
10602
10667
|
getColoredSymbolToken(token: Token): Color | undefined;
|
|
10668
|
+
get isCalculatedMeasureInvalid(): boolean;
|
|
10603
10669
|
}
|
|
10604
10670
|
|
|
10605
|
-
interface Props$
|
|
10671
|
+
interface Props$g {
|
|
10606
10672
|
definition: PivotRuntimeDefinition;
|
|
10607
10673
|
pivotId: UID;
|
|
10608
10674
|
}
|
|
10609
|
-
declare class PivotSortSection extends Component<Props$
|
|
10675
|
+
declare class PivotSortSection extends Component<Props$g, SpreadsheetChildEnv> {
|
|
10610
10676
|
static template: string;
|
|
10611
10677
|
static components: {
|
|
10612
10678
|
Section: typeof Section;
|
|
@@ -10623,7 +10689,7 @@ declare class PivotSortSection extends Component<Props$f, SpreadsheetChildEnv> {
|
|
|
10623
10689
|
}[];
|
|
10624
10690
|
}
|
|
10625
10691
|
|
|
10626
|
-
interface Props$
|
|
10692
|
+
interface Props$f {
|
|
10627
10693
|
definition: PivotRuntimeDefinition;
|
|
10628
10694
|
onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
10629
10695
|
unusedGroupableFields: PivotField[];
|
|
@@ -10634,7 +10700,7 @@ interface Props$e {
|
|
|
10634
10700
|
getScrollableContainerEl?: () => HTMLElement;
|
|
10635
10701
|
pivotId: UID;
|
|
10636
10702
|
}
|
|
10637
|
-
declare class PivotLayoutConfigurator extends Component<Props$
|
|
10703
|
+
declare class PivotLayoutConfigurator extends Component<Props$f, SpreadsheetChildEnv> {
|
|
10638
10704
|
static template: string;
|
|
10639
10705
|
static components: {
|
|
10640
10706
|
AddDimensionButton: typeof AddDimensionButton;
|
|
@@ -10722,13 +10788,14 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
10722
10788
|
* the measure is not in the new definition or the columns have changed.
|
|
10723
10789
|
*/
|
|
10724
10790
|
private shouldKeepSortedColumn;
|
|
10791
|
+
private areDomainFieldsValid;
|
|
10725
10792
|
}
|
|
10726
10793
|
|
|
10727
|
-
interface Props$
|
|
10794
|
+
interface Props$e {
|
|
10728
10795
|
pivotId: UID;
|
|
10729
10796
|
flipAxis: () => void;
|
|
10730
10797
|
}
|
|
10731
|
-
declare class PivotTitleSection extends Component<Props$
|
|
10798
|
+
declare class PivotTitleSection extends Component<Props$e, SpreadsheetChildEnv> {
|
|
10732
10799
|
static template: string;
|
|
10733
10800
|
static components: {
|
|
10734
10801
|
CogWheelMenu: typeof CogWheelMenu;
|
|
@@ -10825,6 +10892,107 @@ declare function getFirstPivotFunction(tokens: Token[]): {
|
|
|
10825
10892
|
*/
|
|
10826
10893
|
declare function getNumberOfPivotFunctions(tokens: Token[]): number;
|
|
10827
10894
|
|
|
10895
|
+
declare class FullScreenChart extends Component<{}, SpreadsheetChildEnv> {
|
|
10896
|
+
static template: string;
|
|
10897
|
+
static props: {};
|
|
10898
|
+
static components: {
|
|
10899
|
+
ChartDashboardMenu: typeof ChartDashboardMenu;
|
|
10900
|
+
};
|
|
10901
|
+
private fullScreenChartStore;
|
|
10902
|
+
private ref;
|
|
10903
|
+
spreadsheetRect: Rect;
|
|
10904
|
+
figureRegistry: Registry<FigureContent>;
|
|
10905
|
+
setup(): void;
|
|
10906
|
+
get figureUI(): FigureUI | undefined;
|
|
10907
|
+
exitFullScreen(): void;
|
|
10908
|
+
onKeyDown(ev: KeyboardEvent): void;
|
|
10909
|
+
get chartComponent(): (new (...args: any) => Component) | undefined;
|
|
10910
|
+
}
|
|
10911
|
+
|
|
10912
|
+
interface PivotDialogColumn {
|
|
10913
|
+
formula: string;
|
|
10914
|
+
value: string;
|
|
10915
|
+
isMissing: boolean;
|
|
10916
|
+
style?: string;
|
|
10917
|
+
span: number;
|
|
10918
|
+
}
|
|
10919
|
+
interface PivotDialogRow {
|
|
10920
|
+
formula: string;
|
|
10921
|
+
value: string;
|
|
10922
|
+
isMissing: boolean;
|
|
10923
|
+
style?: string;
|
|
10924
|
+
}
|
|
10925
|
+
interface PivotDialogValue {
|
|
10926
|
+
formula: string;
|
|
10927
|
+
value: string;
|
|
10928
|
+
isMissing: boolean;
|
|
10929
|
+
}
|
|
10930
|
+
interface Props$d {
|
|
10931
|
+
pivotId: UID;
|
|
10932
|
+
onCellClicked: (formula: string) => void;
|
|
10933
|
+
}
|
|
10934
|
+
interface TableData {
|
|
10935
|
+
columns: PivotDialogColumn[][];
|
|
10936
|
+
rows: PivotDialogRow[];
|
|
10937
|
+
values: PivotDialogValue[][];
|
|
10938
|
+
}
|
|
10939
|
+
declare class PivotHTMLRenderer extends Component<Props$d, SpreadsheetChildEnv> {
|
|
10940
|
+
static template: string;
|
|
10941
|
+
static components: {
|
|
10942
|
+
Checkbox: typeof Checkbox;
|
|
10943
|
+
};
|
|
10944
|
+
static props: {
|
|
10945
|
+
pivotId: StringConstructor;
|
|
10946
|
+
onCellClicked: FunctionConstructor;
|
|
10947
|
+
};
|
|
10948
|
+
private pivot;
|
|
10949
|
+
data: TableData;
|
|
10950
|
+
private state;
|
|
10951
|
+
setup(): void;
|
|
10952
|
+
get tracker(): PivotPresenceTracker | undefined;
|
|
10953
|
+
/**
|
|
10954
|
+
* Retrieve the data to display in the Pivot Table
|
|
10955
|
+
* In the case when showMissingValuesOnly is false, the returned value
|
|
10956
|
+
* is the complete data
|
|
10957
|
+
* In the case when showMissingValuesOnly is true, the returned value is
|
|
10958
|
+
* the data which contains only missing values in the rows and cols. In
|
|
10959
|
+
* the rows, we also return the parent rows of rows which contains missing
|
|
10960
|
+
* values, to give context to the user.
|
|
10961
|
+
*
|
|
10962
|
+
*/
|
|
10963
|
+
getTableData(): TableData;
|
|
10964
|
+
/**
|
|
10965
|
+
* Retrieve the parents of the given row
|
|
10966
|
+
* ex:
|
|
10967
|
+
* Australia
|
|
10968
|
+
* January
|
|
10969
|
+
* February
|
|
10970
|
+
* The parent of "January" is "Australia"
|
|
10971
|
+
*/
|
|
10972
|
+
private addRecursiveRow;
|
|
10973
|
+
/**
|
|
10974
|
+
* Create the columns to be used, based on the indexes of the columns in
|
|
10975
|
+
* which a missing value is present
|
|
10976
|
+
*
|
|
10977
|
+
*/
|
|
10978
|
+
private buildColumnsMissing;
|
|
10979
|
+
/**
|
|
10980
|
+
* Create the rows to be used, based on the indexes of the rows in
|
|
10981
|
+
* which a missing value is present.
|
|
10982
|
+
*/
|
|
10983
|
+
private buildRowsMissing;
|
|
10984
|
+
/**
|
|
10985
|
+
* Create the value to be used, based on the indexes of the columns and
|
|
10986
|
+
* rows in which a missing value is present.
|
|
10987
|
+
*/
|
|
10988
|
+
private buildValuesMissing;
|
|
10989
|
+
private getColumnsIndexes;
|
|
10990
|
+
private getRowsIndexes;
|
|
10991
|
+
_buildColHeaders(id: UID, table: SpreadsheetPivotTable): PivotDialogColumn[][];
|
|
10992
|
+
_buildRowHeaders(id: UID, table: SpreadsheetPivotTable): PivotDialogRow[];
|
|
10993
|
+
_buildValues(id: UID, table: SpreadsheetPivotTable): PivotDialogValue[][];
|
|
10994
|
+
}
|
|
10995
|
+
|
|
10828
10996
|
interface Props$c {
|
|
10829
10997
|
figureId: UID;
|
|
10830
10998
|
definition: ComboChartDefinition;
|
|
@@ -11045,7 +11213,7 @@ declare class HoveredTableStore extends SpreadsheetStore {
|
|
|
11045
11213
|
row: number | undefined;
|
|
11046
11214
|
overlayColors: PositionMap<Color>;
|
|
11047
11215
|
handle(cmd: Command): void;
|
|
11048
|
-
hover(position: Partial<Position$1>):
|
|
11216
|
+
hover(position: Partial<Position$1>): "noStateChange" | undefined;
|
|
11049
11217
|
clear(): void;
|
|
11050
11218
|
private computeOverlay;
|
|
11051
11219
|
}
|
|
@@ -11148,9 +11316,10 @@ declare class PieChart extends AbstractChart {
|
|
|
11148
11316
|
|
|
11149
11317
|
declare class ScorecardChart extends AbstractChart {
|
|
11150
11318
|
readonly keyValue?: Range;
|
|
11319
|
+
readonly keyDescr?: TitleDesign;
|
|
11151
11320
|
readonly baseline?: Range;
|
|
11152
11321
|
readonly baselineMode: BaselineMode;
|
|
11153
|
-
readonly baselineDescr?:
|
|
11322
|
+
readonly baselineDescr?: TitleDesign;
|
|
11154
11323
|
readonly progressBar: boolean;
|
|
11155
11324
|
readonly background?: Color;
|
|
11156
11325
|
readonly baselineColorUp: Color;
|
|
@@ -11220,16 +11389,36 @@ declare function createEmptyExcelSheet(sheetId: UID, name: string): ExcelSheetDa
|
|
|
11220
11389
|
|
|
11221
11390
|
declare function genericRepeat<T extends Command>(getters: Getters, command: T): T;
|
|
11222
11391
|
|
|
11392
|
+
declare class ClientFocusStore extends SpreadsheetStore {
|
|
11393
|
+
mutators: readonly ["focusClient", "unfocusClient", "showClientTag", "hideClientTag", "jumpToClient"];
|
|
11394
|
+
private _showClientTag;
|
|
11395
|
+
private clientFocusTimeout;
|
|
11396
|
+
constructor(get: Get);
|
|
11397
|
+
get focusedClients(): Set<ClientId>;
|
|
11398
|
+
jumpToClient(clientId: ClientId): void;
|
|
11399
|
+
showClientTag(): void;
|
|
11400
|
+
hideClientTag(): void;
|
|
11401
|
+
focusClient(clientId: ClientId): void;
|
|
11402
|
+
unfocusClient(clientId: ClientId): void;
|
|
11403
|
+
}
|
|
11404
|
+
|
|
11223
11405
|
interface Renderer {
|
|
11224
11406
|
drawLayer(ctx: GridRenderingContext, layer: LayerName): void;
|
|
11225
11407
|
renderingLayers: Readonly<LayerName[]>;
|
|
11226
11408
|
}
|
|
11227
11409
|
declare class RendererStore {
|
|
11228
|
-
mutators: readonly ["register", "unRegister"];
|
|
11410
|
+
mutators: readonly ["register", "unRegister", "drawLayer"];
|
|
11229
11411
|
private renderers;
|
|
11230
11412
|
register(renderer: Renderer): void;
|
|
11231
11413
|
unRegister(renderer: Renderer): void;
|
|
11232
|
-
drawLayer(context: GridRenderingContext, layer: LayerName):
|
|
11414
|
+
drawLayer(context: GridRenderingContext, layer: LayerName): string;
|
|
11415
|
+
}
|
|
11416
|
+
|
|
11417
|
+
declare class LocalTransportService implements TransportService<CollaborationMessage> {
|
|
11418
|
+
private listeners;
|
|
11419
|
+
sendMessage(message: CollaborationMessage): Promise<void>;
|
|
11420
|
+
onNewMessage(id: UID, callback: NewMessageCallback<CollaborationMessage>): void;
|
|
11421
|
+
leave(id: UID): void;
|
|
11233
11422
|
}
|
|
11234
11423
|
|
|
11235
11424
|
interface RippleProps {
|
|
@@ -11510,6 +11699,7 @@ declare class SpreadsheetDashboard extends Component<Props$3, SpreadsheetChildEn
|
|
|
11510
11699
|
canvasPosition: DOMCoordinates;
|
|
11511
11700
|
hoveredCell: Store<DelayedHoveredCellStore>;
|
|
11512
11701
|
clickableCellsStore: Store<ClickableCellsStore>;
|
|
11702
|
+
private gridRef;
|
|
11513
11703
|
setup(): void;
|
|
11514
11704
|
get gridContainer(): string;
|
|
11515
11705
|
get gridOverlayDimensions(): string;
|
|
@@ -11764,6 +11954,7 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
|
|
|
11764
11954
|
SidePanel: typeof SidePanel;
|
|
11765
11955
|
SpreadsheetDashboard: typeof SpreadsheetDashboard;
|
|
11766
11956
|
HeaderGroupContainer: typeof HeaderGroupContainer;
|
|
11957
|
+
FullScreenChart: typeof FullScreenChart;
|
|
11767
11958
|
};
|
|
11768
11959
|
sidePanel: Store<SidePanelStore>;
|
|
11769
11960
|
spreadsheetRef: {
|
|
@@ -11827,7 +12018,7 @@ declare const registries: {
|
|
|
11827
12018
|
linkMenuRegistry: MenuItemRegistry;
|
|
11828
12019
|
functionRegistry: FunctionRegistry;
|
|
11829
12020
|
featurePluginRegistry: Registry<UIPluginConstructor>;
|
|
11830
|
-
iconsOnCellRegistry: Registry<(getters: Getters, position: CellPosition) =>
|
|
12021
|
+
iconsOnCellRegistry: Registry<(getters: Getters, position: CellPosition) => GridIcon | undefined>;
|
|
11831
12022
|
statefulUIPluginRegistry: Registry<UIPluginConstructor>;
|
|
11832
12023
|
coreViewsPluginRegistry: Registry<CoreViewPluginConstructor>;
|
|
11833
12024
|
corePluginRegistry: Registry<CorePluginConstructor>;
|
|
@@ -11988,6 +12179,7 @@ declare const components: {
|
|
|
11988
12179
|
PivotDimensionOrder: typeof PivotDimensionOrder;
|
|
11989
12180
|
PivotDimension: typeof PivotDimension;
|
|
11990
12181
|
PivotLayoutConfigurator: typeof PivotLayoutConfigurator;
|
|
12182
|
+
PivotHTMLRenderer: typeof PivotHTMLRenderer;
|
|
11991
12183
|
PivotDeferUpdate: typeof PivotDeferUpdate;
|
|
11992
12184
|
PivotTitleSection: typeof PivotTitleSection;
|
|
11993
12185
|
CogWheelMenu: typeof CogWheelMenu;
|
|
@@ -11996,6 +12188,7 @@ declare const components: {
|
|
|
11996
12188
|
RadioSelection: typeof RadioSelection;
|
|
11997
12189
|
GeoChartRegionSelectSection: typeof GeoChartRegionSelectSection;
|
|
11998
12190
|
ChartDashboardMenu: typeof ChartDashboardMenu;
|
|
12191
|
+
FullScreenChart: typeof FullScreenChart;
|
|
11999
12192
|
};
|
|
12000
12193
|
declare const hooks: {
|
|
12001
12194
|
useDragAndDropListItems: typeof useDragAndDropListItems;
|
|
@@ -12022,6 +12215,7 @@ declare const stores: {
|
|
|
12022
12215
|
SidePanelStore: typeof SidePanelStore;
|
|
12023
12216
|
PivotSidePanelStore: typeof PivotSidePanelStore;
|
|
12024
12217
|
PivotMeasureDisplayPanelStore: typeof PivotMeasureDisplayPanelStore;
|
|
12218
|
+
ClientFocusStore: typeof ClientFocusStore;
|
|
12025
12219
|
};
|
|
12026
12220
|
|
|
12027
12221
|
declare function addFunction(functionName: string, functionDescription: AddFunctionDescription): {
|
|
@@ -12070,7 +12264,7 @@ declare const chartHelpers: {
|
|
|
12070
12264
|
labels: string[];
|
|
12071
12265
|
};
|
|
12072
12266
|
getLineChartDatasets(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"line">[];
|
|
12073
|
-
getScatterChartDatasets(definition: GenericDefinition<ScatterChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset[];
|
|
12267
|
+
getScatterChartDatasets(definition: GenericDefinition<ScatterChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"line">[];
|
|
12074
12268
|
getPieChartDatasets(definition: GenericDefinition<PieChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"pie">[];
|
|
12075
12269
|
getComboChartDatasets(definition: GenericDefinition<ComboChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"bar" | "line">[];
|
|
12076
12270
|
getRadarChartDatasets(definition: GenericDefinition<RadarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"radar">[];
|
|
@@ -12547,7 +12741,7 @@ declare const chartHelpers: {
|
|
|
12547
12741
|
useLeftAxis: boolean;
|
|
12548
12742
|
useRightAxis: boolean;
|
|
12549
12743
|
};
|
|
12550
|
-
formatChartDatasetValue(axisFormats: ChartAxisFormats, locale: Locale): (value: any, axisId: string
|
|
12744
|
+
formatChartDatasetValue(axisFormats: ChartAxisFormats, locale: Locale): (value: any, axisId: string) => any;
|
|
12551
12745
|
formatTickValue(localeFormat: LocaleFormat): (value: any) => any;
|
|
12552
12746
|
getPieColors(colors: ColorGenerator, dataSetsValues: DatasetValues[]): Color[];
|
|
12553
12747
|
truncateLabel(label: string | undefined): string;
|
|
@@ -12598,4 +12792,4 @@ declare const chartHelpers: {
|
|
|
12598
12792
|
WaterfallChart: typeof WaterfallChart;
|
|
12599
12793
|
};
|
|
12600
12794
|
|
|
12601
|
-
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 };
|
|
12795
|
+
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, ClientWithPosition, 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, LocalTransportService, 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, PivotCollapsedDomains, 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 };
|