@odoo/o-spreadsheet 18.4.0-alpha.3 → 18.4.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/o-spreadsheet.cjs.js +20213 -19445
- package/dist/o-spreadsheet.d.ts +470 -342
- package/dist/o-spreadsheet.esm.js +20213 -19446
- package/dist/o-spreadsheet.iife.js +20401 -19633
- package/dist/o-spreadsheet.iife.min.js +467 -456
- package/dist/o_spreadsheet.xml +152 -182
- package/package.json +1 -1
- package/readme.md +17 -20
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
|
|
|
@@ -96,6 +96,7 @@ type BarChartRuntime = {
|
|
|
96
96
|
interface ComboChartDefinition extends ComboBarChartDefinition {
|
|
97
97
|
readonly dataSets: ComboChartDataSet[];
|
|
98
98
|
readonly type: "combo";
|
|
99
|
+
readonly hideDataMarkers?: boolean;
|
|
99
100
|
}
|
|
100
101
|
type ComboChartDataSet = CustomizedDataSet & {
|
|
101
102
|
type?: "bar" | "line";
|
|
@@ -208,6 +209,7 @@ interface LineChartDefinition extends CommonChartDefinition {
|
|
|
208
209
|
readonly aggregated?: boolean;
|
|
209
210
|
readonly cumulative: boolean;
|
|
210
211
|
readonly fillArea?: boolean;
|
|
212
|
+
readonly hideDataMarkers?: boolean;
|
|
211
213
|
}
|
|
212
214
|
type LineChartRuntime = {
|
|
213
215
|
chartJsConfig: ChartConfiguration;
|
|
@@ -239,6 +241,7 @@ interface RadarChartDefinition extends CommonChartDefinition {
|
|
|
239
241
|
readonly aggregated?: boolean;
|
|
240
242
|
readonly stacked: boolean;
|
|
241
243
|
readonly fillArea?: boolean;
|
|
244
|
+
readonly hideDataMarkers?: boolean;
|
|
242
245
|
}
|
|
243
246
|
type RadarChartRuntime = {
|
|
244
247
|
chartJsConfig: ChartConfiguration;
|
|
@@ -254,9 +257,10 @@ interface ScorecardChartDefinition {
|
|
|
254
257
|
readonly type: "scorecard";
|
|
255
258
|
readonly title: TitleDesign;
|
|
256
259
|
readonly keyValue?: string;
|
|
260
|
+
readonly keyDescr?: TitleDesign;
|
|
257
261
|
readonly baseline?: string;
|
|
258
262
|
readonly baselineMode: BaselineMode;
|
|
259
|
-
readonly baselineDescr?:
|
|
263
|
+
readonly baselineDescr?: TitleDesign;
|
|
260
264
|
readonly background?: Color;
|
|
261
265
|
readonly baselineColorUp: Color;
|
|
262
266
|
readonly baselineColorDown: Color;
|
|
@@ -271,6 +275,7 @@ interface ProgressBar {
|
|
|
271
275
|
interface ScorecardChartRuntime {
|
|
272
276
|
readonly title: TitleDesign;
|
|
273
277
|
readonly keyValue: string;
|
|
278
|
+
readonly keyDescr: string;
|
|
274
279
|
readonly baselineDisplay: string;
|
|
275
280
|
readonly baselineColor?: string;
|
|
276
281
|
readonly baselineArrow: BaselineArrowDirection;
|
|
@@ -278,7 +283,9 @@ interface ScorecardChartRuntime {
|
|
|
278
283
|
readonly background: Color;
|
|
279
284
|
readonly fontColor: Color;
|
|
280
285
|
readonly keyValueStyle?: Style;
|
|
286
|
+
readonly keyValueDescrStyle?: Style;
|
|
281
287
|
readonly baselineStyle?: Style;
|
|
288
|
+
readonly baselineDescrStyle?: Style;
|
|
282
289
|
readonly progressBar?: ProgressBar;
|
|
283
290
|
}
|
|
284
291
|
|
|
@@ -593,6 +600,7 @@ interface ChartCreationContext {
|
|
|
593
600
|
readonly showValues?: boolean;
|
|
594
601
|
readonly funnelColors?: FunnelChartColors;
|
|
595
602
|
readonly showLabels?: boolean;
|
|
603
|
+
readonly hideDataMarkers?: boolean;
|
|
596
604
|
readonly valuesDesign?: ChartStyle;
|
|
597
605
|
readonly groupColors?: (Color | undefined | null)[];
|
|
598
606
|
readonly showHeaders?: boolean;
|
|
@@ -746,6 +754,10 @@ interface Client {
|
|
|
746
754
|
id: ClientId;
|
|
747
755
|
name: string;
|
|
748
756
|
position?: ClientPosition;
|
|
757
|
+
color?: Color;
|
|
758
|
+
}
|
|
759
|
+
interface ClientWithPosition extends Client {
|
|
760
|
+
position: ClientPosition;
|
|
749
761
|
}
|
|
750
762
|
interface ClientPosition {
|
|
751
763
|
sheetId: UID;
|
|
@@ -958,12 +970,17 @@ interface CommonPivotCoreDefinition {
|
|
|
958
970
|
name: string;
|
|
959
971
|
deferUpdates?: boolean;
|
|
960
972
|
sortedColumn?: PivotSortedColumn;
|
|
973
|
+
collapsedDomains?: PivotCollapsedDomains;
|
|
961
974
|
}
|
|
962
975
|
interface PivotSortedColumn {
|
|
963
976
|
order: SortDirection;
|
|
964
977
|
domain: PivotDomain;
|
|
965
978
|
measure: string;
|
|
966
979
|
}
|
|
980
|
+
interface PivotCollapsedDomains {
|
|
981
|
+
COL: PivotDomain[];
|
|
982
|
+
ROW: PivotDomain[];
|
|
983
|
+
}
|
|
967
984
|
interface SpreadsheetPivotCoreDefinition extends CommonPivotCoreDefinition {
|
|
968
985
|
type: "SPREADSHEET";
|
|
969
986
|
dataSet?: {
|
|
@@ -1015,6 +1032,7 @@ interface PivotTableData {
|
|
|
1015
1032
|
interface PivotHeaderCell {
|
|
1016
1033
|
type: "HEADER";
|
|
1017
1034
|
domain: PivotDomain;
|
|
1035
|
+
dimension: Dimension;
|
|
1018
1036
|
}
|
|
1019
1037
|
interface PivotMeasureHeaderCell {
|
|
1020
1038
|
type: "MEASURE_HEADER";
|
|
@@ -1316,7 +1334,7 @@ interface RevisionRedoneMessage extends AbstractMessage {
|
|
|
1316
1334
|
}
|
|
1317
1335
|
interface ClientJoinedMessage extends AbstractMessage {
|
|
1318
1336
|
type: "CLIENT_JOINED";
|
|
1319
|
-
client:
|
|
1337
|
+
client: ClientWithPosition;
|
|
1320
1338
|
}
|
|
1321
1339
|
interface ClientLeftMessage extends AbstractMessage {
|
|
1322
1340
|
type: "CLIENT_LEFT";
|
|
@@ -1324,7 +1342,7 @@ interface ClientLeftMessage extends AbstractMessage {
|
|
|
1324
1342
|
}
|
|
1325
1343
|
interface ClientMovedMessage extends AbstractMessage {
|
|
1326
1344
|
type: "CLIENT_MOVED";
|
|
1327
|
-
client:
|
|
1345
|
+
client: ClientWithPosition;
|
|
1328
1346
|
}
|
|
1329
1347
|
/**
|
|
1330
1348
|
* Send a snapshot of the spreadsheet to the collaborative server
|
|
@@ -1466,7 +1484,8 @@ declare class Session extends EventBus<CollaborativeEvent> {
|
|
|
1466
1484
|
* Send a snapshot of the spreadsheet to the collaboration server
|
|
1467
1485
|
*/
|
|
1468
1486
|
snapshot(data: WorkbookData): Promise<void>;
|
|
1469
|
-
|
|
1487
|
+
getCurrentClient(): Client;
|
|
1488
|
+
getClient(clientId: ClientId): Client;
|
|
1470
1489
|
getConnectedClients(): Set<Client>;
|
|
1471
1490
|
getRevisionId(): UID;
|
|
1472
1491
|
isFullySynchronized(): boolean;
|
|
@@ -1516,6 +1535,51 @@ declare class ColorGenerator {
|
|
|
1516
1535
|
next(): string;
|
|
1517
1536
|
}
|
|
1518
1537
|
|
|
1538
|
+
interface SearchOptions {
|
|
1539
|
+
matchCase: boolean;
|
|
1540
|
+
exactMatch: boolean;
|
|
1541
|
+
searchFormulas: boolean;
|
|
1542
|
+
searchScope: "allSheets" | "activeSheet" | "specificRange";
|
|
1543
|
+
specificRange?: Range;
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* Deep copy arrays, plain objects and primitive values.
|
|
1548
|
+
* Throws an error for other types such as class instances.
|
|
1549
|
+
* Sparse arrays remain sparse.
|
|
1550
|
+
*/
|
|
1551
|
+
declare function deepCopy<T>(obj: T): T;
|
|
1552
|
+
declare function unquote(string: string, quoteChar?: "'" | '"'): string;
|
|
1553
|
+
/** Replace the excel-excluded characters of a sheetName */
|
|
1554
|
+
declare function sanitizeSheetName(sheetName: string, replacementChar?: string): string;
|
|
1555
|
+
declare function isMarkdownLink(str: string): boolean;
|
|
1556
|
+
/**
|
|
1557
|
+
* Build a markdown link from a label and an url
|
|
1558
|
+
*/
|
|
1559
|
+
declare function markdownLink(label: string, url: string): string;
|
|
1560
|
+
declare function parseMarkdownLink(str: string): {
|
|
1561
|
+
url: string;
|
|
1562
|
+
label: string;
|
|
1563
|
+
};
|
|
1564
|
+
/**
|
|
1565
|
+
* This helper function can be used as a type guard when filtering arrays.
|
|
1566
|
+
* const foo: number[] = [1, 2, undefined, 4].filter(isDefined)
|
|
1567
|
+
*/
|
|
1568
|
+
declare function isDefined<T>(argument: T | undefined): argument is T;
|
|
1569
|
+
/**
|
|
1570
|
+
* Lazy value computed by the provided function.
|
|
1571
|
+
*/
|
|
1572
|
+
declare function lazy<T>(fn: (() => T) | T): Lazy<T>;
|
|
1573
|
+
/**
|
|
1574
|
+
* Compares two objects.
|
|
1575
|
+
*/
|
|
1576
|
+
declare function deepEquals(o1: any, o2: any): boolean;
|
|
1577
|
+
declare function getUniqueText(text: string, texts: string[], options?: {
|
|
1578
|
+
compute?: (text: string, increment: number) => string;
|
|
1579
|
+
start?: number;
|
|
1580
|
+
computeFirstOne?: boolean;
|
|
1581
|
+
}): string;
|
|
1582
|
+
|
|
1519
1583
|
/**
|
|
1520
1584
|
* Convert a (col) number to the corresponding letter.
|
|
1521
1585
|
*
|
|
@@ -1592,51 +1656,6 @@ declare function formatValue(value: CellValue, { format, locale, formatWidth }:
|
|
|
1592
1656
|
}): FormattedValue;
|
|
1593
1657
|
declare function createCurrencyFormat(currency: Partial<Currency>): Format;
|
|
1594
1658
|
|
|
1595
|
-
interface SearchOptions {
|
|
1596
|
-
matchCase: boolean;
|
|
1597
|
-
exactMatch: boolean;
|
|
1598
|
-
searchFormulas: boolean;
|
|
1599
|
-
searchScope: "allSheets" | "activeSheet" | "specificRange";
|
|
1600
|
-
specificRange?: Range;
|
|
1601
|
-
}
|
|
1602
|
-
|
|
1603
|
-
/**
|
|
1604
|
-
* Deep copy arrays, plain objects and primitive values.
|
|
1605
|
-
* Throws an error for other types such as class instances.
|
|
1606
|
-
* Sparse arrays remain sparse.
|
|
1607
|
-
*/
|
|
1608
|
-
declare function deepCopy<T>(obj: T): T;
|
|
1609
|
-
declare function unquote(string: string, quoteChar?: "'" | '"'): string;
|
|
1610
|
-
/** Replace the excel-excluded characters of a sheetName */
|
|
1611
|
-
declare function sanitizeSheetName(sheetName: string, replacementChar?: string): string;
|
|
1612
|
-
declare function isMarkdownLink(str: string): boolean;
|
|
1613
|
-
/**
|
|
1614
|
-
* Build a markdown link from a label and an url
|
|
1615
|
-
*/
|
|
1616
|
-
declare function markdownLink(label: string, url: string): string;
|
|
1617
|
-
declare function parseMarkdownLink(str: string): {
|
|
1618
|
-
url: string;
|
|
1619
|
-
label: string;
|
|
1620
|
-
};
|
|
1621
|
-
/**
|
|
1622
|
-
* This helper function can be used as a type guard when filtering arrays.
|
|
1623
|
-
* const foo: number[] = [1, 2, undefined, 4].filter(isDefined)
|
|
1624
|
-
*/
|
|
1625
|
-
declare function isDefined<T>(argument: T | undefined): argument is T;
|
|
1626
|
-
/**
|
|
1627
|
-
* Lazy value computed by the provided function.
|
|
1628
|
-
*/
|
|
1629
|
-
declare function lazy<T>(fn: (() => T) | T): Lazy<T>;
|
|
1630
|
-
/**
|
|
1631
|
-
* Compares two objects.
|
|
1632
|
-
*/
|
|
1633
|
-
declare function deepEquals(o1: any, o2: any): boolean;
|
|
1634
|
-
declare function getUniqueText(text: string, texts: string[], options?: {
|
|
1635
|
-
compute?: (text: string, increment: number) => string;
|
|
1636
|
-
start?: number;
|
|
1637
|
-
computeFirstOne?: boolean;
|
|
1638
|
-
}): string;
|
|
1639
|
-
|
|
1640
1659
|
/**
|
|
1641
1660
|
* Return true if the argument is a "number string".
|
|
1642
1661
|
*
|
|
@@ -4216,6 +4235,7 @@ declare class DependencyContainer extends EventBus<StoreUpdateEvent> {
|
|
|
4216
4235
|
get<T>(Store: StoreConstructor<T>): T;
|
|
4217
4236
|
instantiate<T>(Store: StoreConstructor<T>, ...args: StoreParams<StoreConstructor<T>>): T;
|
|
4218
4237
|
resetStores(): void;
|
|
4238
|
+
dispose(): void;
|
|
4219
4239
|
}
|
|
4220
4240
|
|
|
4221
4241
|
/**
|
|
@@ -4623,7 +4643,7 @@ declare abstract class AbstractChart {
|
|
|
4623
4643
|
* Get a new chart definition transformed with the executed command. This
|
|
4624
4644
|
* functions will be called during operational transform process
|
|
4625
4645
|
*/
|
|
4626
|
-
static transformDefinition(definition: ChartDefinition,
|
|
4646
|
+
static transformDefinition(chartSheetId: UID, definition: ChartDefinition, applyChange: RangeAdapter$1): ChartDefinition;
|
|
4627
4647
|
/**
|
|
4628
4648
|
* Get an empty definition based on the given context
|
|
4629
4649
|
*/
|
|
@@ -5528,6 +5548,80 @@ declare class EvaluationDataValidationPlugin extends CoreViewPlugin {
|
|
|
5528
5548
|
private getEvaluatedCriterionValues;
|
|
5529
5549
|
}
|
|
5530
5550
|
|
|
5551
|
+
/**
|
|
5552
|
+
* Registry
|
|
5553
|
+
*
|
|
5554
|
+
* The Registry class is basically just a mapping from a string key to an object.
|
|
5555
|
+
* It is really not much more than an object. It is however useful for the
|
|
5556
|
+
* following reasons:
|
|
5557
|
+
*
|
|
5558
|
+
* 1. it let us react and execute code when someone add something to the registry
|
|
5559
|
+
* (for example, the FunctionRegistry subclass this for this purpose)
|
|
5560
|
+
* 2. it throws an error when the get operation fails
|
|
5561
|
+
* 3. it provides a chained API to add items to the registry.
|
|
5562
|
+
*/
|
|
5563
|
+
declare class Registry<T> {
|
|
5564
|
+
content: {
|
|
5565
|
+
[key: string]: T;
|
|
5566
|
+
};
|
|
5567
|
+
/**
|
|
5568
|
+
* Add an item to the registry, you can only add if there is no item
|
|
5569
|
+
* already present in the registery with the given key
|
|
5570
|
+
*
|
|
5571
|
+
* Note that this also returns the registry, so another add method call can
|
|
5572
|
+
* be chained
|
|
5573
|
+
*/
|
|
5574
|
+
add(key: string, value: T): this;
|
|
5575
|
+
/**
|
|
5576
|
+
* Replace (or add) an item to the registry
|
|
5577
|
+
*
|
|
5578
|
+
* Note that this also returns the registry, so another add method call can
|
|
5579
|
+
* be chained
|
|
5580
|
+
*/
|
|
5581
|
+
replace(key: string, value: T): this;
|
|
5582
|
+
/**
|
|
5583
|
+
* Get an item from the registry
|
|
5584
|
+
*/
|
|
5585
|
+
get(key: string): T;
|
|
5586
|
+
/**
|
|
5587
|
+
* Check if the key is already in the registry
|
|
5588
|
+
*/
|
|
5589
|
+
contains(key: string): boolean;
|
|
5590
|
+
/**
|
|
5591
|
+
* Get a list of all elements in the registry
|
|
5592
|
+
*/
|
|
5593
|
+
getAll(): T[];
|
|
5594
|
+
/**
|
|
5595
|
+
* Get a list of all keys in the registry
|
|
5596
|
+
*/
|
|
5597
|
+
getKeys(): string[];
|
|
5598
|
+
/**
|
|
5599
|
+
* Remove an item from the registry
|
|
5600
|
+
*/
|
|
5601
|
+
remove(key: string): void;
|
|
5602
|
+
}
|
|
5603
|
+
|
|
5604
|
+
interface GridIcon {
|
|
5605
|
+
position: CellPosition;
|
|
5606
|
+
horizontalAlign: Exclude<Align, undefined>;
|
|
5607
|
+
size: number;
|
|
5608
|
+
margin: number;
|
|
5609
|
+
component?: ComponentConstructor<{
|
|
5610
|
+
cellPosition: CellPosition;
|
|
5611
|
+
}, SpreadsheetChildEnv>;
|
|
5612
|
+
svg?: ImageSVG;
|
|
5613
|
+
priority: number;
|
|
5614
|
+
}
|
|
5615
|
+
|
|
5616
|
+
declare class CellIconPlugin extends CoreViewPlugin {
|
|
5617
|
+
static getters: readonly ["doesCellHaveGridIcon", "getCellIcons"];
|
|
5618
|
+
private cellIconsCache;
|
|
5619
|
+
handle(cmd: Command): void;
|
|
5620
|
+
getCellIcons(position: CellPosition): GridIcon[];
|
|
5621
|
+
private computeCellIcons;
|
|
5622
|
+
doesCellHaveGridIcon(position: CellPosition): boolean;
|
|
5623
|
+
}
|
|
5624
|
+
|
|
5531
5625
|
declare class DynamicTablesPlugin extends CoreViewPlugin {
|
|
5532
5626
|
static getters: readonly ["canCreateDynamicTableOnZones", "doesZonesContainFilter", "getFilter", "getFilters", "getTable", "getTables", "getTablesOverlappingZones", "getFilterId", "getFilterHeaders", "isFilterHeader"];
|
|
5533
5627
|
tables: Record<UID, Table[]>;
|
|
@@ -5596,11 +5690,15 @@ declare class PivotRuntimeDefinition {
|
|
|
5596
5690
|
readonly columns: PivotDimension$1[];
|
|
5597
5691
|
readonly rows: PivotDimension$1[];
|
|
5598
5692
|
readonly sortedColumn?: PivotSortedColumn;
|
|
5693
|
+
readonly collapsedDomains?: PivotCollapsedDomains;
|
|
5599
5694
|
constructor(definition: CommonPivotCoreDefinition, fields: PivotFields);
|
|
5600
5695
|
getDimension(nameWithGranularity: string): PivotDimension$1;
|
|
5601
5696
|
getMeasure(id: string): PivotMeasure;
|
|
5602
5697
|
}
|
|
5603
5698
|
|
|
5699
|
+
interface CollapsiblePivotTableColumn extends PivotTableColumn {
|
|
5700
|
+
collapsedHeader?: boolean;
|
|
5701
|
+
}
|
|
5604
5702
|
/**
|
|
5605
5703
|
* Class used to ease the construction of a pivot table.
|
|
5606
5704
|
* Let's consider the following example, with:
|
|
@@ -5644,7 +5742,7 @@ declare class PivotRuntimeDefinition {
|
|
|
5644
5742
|
*
|
|
5645
5743
|
*/
|
|
5646
5744
|
declare class SpreadsheetPivotTable {
|
|
5647
|
-
readonly columns:
|
|
5745
|
+
readonly columns: CollapsiblePivotTableColumn[][];
|
|
5648
5746
|
rows: PivotTableRow[];
|
|
5649
5747
|
readonly measures: string[];
|
|
5650
5748
|
readonly fieldsType: Record<string, string | undefined>;
|
|
@@ -5655,7 +5753,9 @@ declare class SpreadsheetPivotTable {
|
|
|
5655
5753
|
private rowTree;
|
|
5656
5754
|
private colTree;
|
|
5657
5755
|
isSorted: boolean;
|
|
5658
|
-
constructor(columns:
|
|
5756
|
+
constructor(columns: CollapsiblePivotTableColumn[][], rows: PivotTableRow[], measures: string[], fieldsType: Record<string, string | undefined>, collapsedDomains?: PivotCollapsedDomains);
|
|
5757
|
+
private removeCollapsedColumns;
|
|
5758
|
+
private isParentCollapsed;
|
|
5659
5759
|
/**
|
|
5660
5760
|
* Get the number of columns leafs (i.e. the number of the last row of columns)
|
|
5661
5761
|
*/
|
|
@@ -5666,13 +5766,13 @@ declare class SpreadsheetPivotTable {
|
|
|
5666
5766
|
private isTotalRow;
|
|
5667
5767
|
private getPivotCell;
|
|
5668
5768
|
private getColHeaderDomain;
|
|
5769
|
+
private getDomain;
|
|
5669
5770
|
private getColDomain;
|
|
5670
5771
|
private getColMeasure;
|
|
5671
|
-
private getRowDomain;
|
|
5672
5772
|
buildRowsTree(): DimensionTree;
|
|
5673
5773
|
buildColumnsTree(): DimensionTree;
|
|
5674
5774
|
export(): {
|
|
5675
|
-
cols:
|
|
5775
|
+
cols: CollapsiblePivotTableColumn[][];
|
|
5676
5776
|
rows: PivotTableRow[];
|
|
5677
5777
|
measures: string[];
|
|
5678
5778
|
fieldsType: Record<string, string | undefined>;
|
|
@@ -5690,7 +5790,8 @@ interface Pivot<T = PivotRuntimeDefinition> {
|
|
|
5690
5790
|
init(params?: InitPivotParams): void;
|
|
5691
5791
|
isValid(): boolean;
|
|
5692
5792
|
onDefinitionChange(nextDefinition: PivotCoreDefinition): void;
|
|
5693
|
-
|
|
5793
|
+
getCollapsedTableStructure(): SpreadsheetPivotTable;
|
|
5794
|
+
getExpandedTableStructure(): SpreadsheetPivotTable;
|
|
5694
5795
|
getFields(): PivotFields;
|
|
5695
5796
|
getPivotHeaderValueAndFormat(domain: PivotDomain): FunctionResultObject;
|
|
5696
5797
|
getPivotCellValueAndFormat(measure: string, domain: PivotDomain): FunctionResultObject;
|
|
@@ -5912,19 +6013,20 @@ declare class AutomaticSumPlugin extends UIPlugin {
|
|
|
5912
6013
|
private transpose;
|
|
5913
6014
|
}
|
|
5914
6015
|
|
|
5915
|
-
interface ClientToDisplay extends
|
|
6016
|
+
interface ClientToDisplay extends ClientWithPosition {
|
|
5916
6017
|
color: Color;
|
|
5917
6018
|
}
|
|
5918
6019
|
declare class CollaborativePlugin extends UIPlugin {
|
|
5919
|
-
static getters: readonly ["getClientsToDisplay", "getClient", "getConnectedClients", "isFullySynchronized"];
|
|
6020
|
+
static getters: readonly ["getClientsToDisplay", "getClient", "getCurrentClient", "getConnectedClients", "isFullySynchronized"];
|
|
5920
6021
|
static layers: readonly ["Selection"];
|
|
5921
6022
|
private availableColors;
|
|
5922
6023
|
private colors;
|
|
5923
6024
|
private session;
|
|
5924
6025
|
constructor(config: UIPluginConfig);
|
|
5925
6026
|
private isPositionValid;
|
|
5926
|
-
getClient(): Client;
|
|
5927
|
-
|
|
6027
|
+
getClient(clientId: ClientId): Client;
|
|
6028
|
+
getCurrentClient(): Client;
|
|
6029
|
+
getConnectedClients(): Client[];
|
|
5928
6030
|
isFullySynchronized(): boolean;
|
|
5929
6031
|
/**
|
|
5930
6032
|
* Get the list of others connected clients which are present in the same sheet
|
|
@@ -6002,12 +6104,11 @@ declare class UIOptionsPlugin extends UIPlugin {
|
|
|
6002
6104
|
}
|
|
6003
6105
|
|
|
6004
6106
|
declare class SheetUIPlugin extends UIPlugin {
|
|
6005
|
-
static getters: readonly ["
|
|
6107
|
+
static getters: readonly ["getCellWidth", "getTextWidth", "getCellText", "getCellMultiLineText", "getContiguousZone"];
|
|
6006
6108
|
private ctx;
|
|
6007
6109
|
allowDispatch(cmd: LocalCommand): CommandResult | CommandResult[];
|
|
6008
6110
|
handle(cmd: Command): void;
|
|
6009
6111
|
getCellWidth(position: CellPosition): number;
|
|
6010
|
-
getCellIconSvg(position: CellPosition): ImageSVG | undefined;
|
|
6011
6112
|
getTextWidth(text: string, style: Style): Pixel;
|
|
6012
6113
|
getCellText(position: CellPosition, args?: {
|
|
6013
6114
|
showFormula?: boolean;
|
|
@@ -6021,7 +6122,6 @@ declare class SheetUIPlugin extends UIPlugin {
|
|
|
6021
6122
|
wrapText: boolean;
|
|
6022
6123
|
maxWidth: number;
|
|
6023
6124
|
}): string[];
|
|
6024
|
-
doesCellHaveGridIcon(position: CellPosition): boolean;
|
|
6025
6125
|
/**
|
|
6026
6126
|
* Expands the given zone until bordered by empty cells or reached the sheet boundaries.
|
|
6027
6127
|
*/
|
|
@@ -6239,7 +6339,7 @@ type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof Head
|
|
|
6239
6339
|
type Getters = {
|
|
6240
6340
|
isReadonly: () => boolean;
|
|
6241
6341
|
isDashboard: () => boolean;
|
|
6242
|
-
} & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin> & PluginGetters<typeof TableStylePlugin> & PluginGetters<typeof CellComputedStylePlugin> & PluginGetters<typeof DynamicTablesPlugin> & PluginGetters<typeof PivotUIPlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof GeoFeaturePlugin> & PluginGetters<typeof PivotPresencePlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof CheckboxTogglePlugin>;
|
|
6342
|
+
} & 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>;
|
|
6243
6343
|
|
|
6244
6344
|
type ArgType = "ANY" | "BOOLEAN" | "NUMBER" | "STRING" | "DATE" | "RANGE" | "RANGE<BOOLEAN>" | "RANGE<NUMBER>" | "RANGE<DATE>" | "RANGE<STRING>" | "RANGE<ANY>" | "META";
|
|
6245
6345
|
interface ArgDefinition {
|
|
@@ -6430,14 +6530,17 @@ interface Box extends Rect {
|
|
|
6430
6530
|
style: Style;
|
|
6431
6531
|
dataBarFill?: DataBarFill;
|
|
6432
6532
|
border?: Border$1;
|
|
6433
|
-
hasIcon?: boolean;
|
|
6434
6533
|
clipRect?: Rect;
|
|
6435
6534
|
isError?: boolean;
|
|
6436
|
-
image?: Image;
|
|
6437
6535
|
isMerge?: boolean;
|
|
6438
6536
|
verticalAlign?: VerticalAlign;
|
|
6439
6537
|
isOverflow?: boolean;
|
|
6440
6538
|
overlayColor: Color | undefined;
|
|
6539
|
+
icons: {
|
|
6540
|
+
left?: GridIcon;
|
|
6541
|
+
right?: GridIcon;
|
|
6542
|
+
center?: GridIcon;
|
|
6543
|
+
};
|
|
6441
6544
|
}
|
|
6442
6545
|
interface Image {
|
|
6443
6546
|
clipIcon: Rect | null;
|
|
@@ -6532,8 +6635,9 @@ type ScorecardChartConfig = {
|
|
|
6532
6635
|
position: PixelPosition;
|
|
6533
6636
|
};
|
|
6534
6637
|
baseline?: ScorecardChartElement;
|
|
6535
|
-
baselineDescr?: ScorecardChartElement
|
|
6638
|
+
baselineDescr?: ScorecardChartElement;
|
|
6536
6639
|
key?: ScorecardChartElement;
|
|
6640
|
+
keyDescr?: ScorecardChartElement;
|
|
6537
6641
|
progressBar?: {
|
|
6538
6642
|
position: PixelPosition;
|
|
6539
6643
|
dimension: DOMDimension;
|
|
@@ -6569,59 +6673,6 @@ declare module "chart.js" {
|
|
|
6569
6673
|
}
|
|
6570
6674
|
}
|
|
6571
6675
|
|
|
6572
|
-
/**
|
|
6573
|
-
* Registry
|
|
6574
|
-
*
|
|
6575
|
-
* The Registry class is basically just a mapping from a string key to an object.
|
|
6576
|
-
* It is really not much more than an object. It is however useful for the
|
|
6577
|
-
* following reasons:
|
|
6578
|
-
*
|
|
6579
|
-
* 1. it let us react and execute code when someone add something to the registry
|
|
6580
|
-
* (for example, the FunctionRegistry subclass this for this purpose)
|
|
6581
|
-
* 2. it throws an error when the get operation fails
|
|
6582
|
-
* 3. it provides a chained API to add items to the registry.
|
|
6583
|
-
*/
|
|
6584
|
-
declare class Registry<T> {
|
|
6585
|
-
content: {
|
|
6586
|
-
[key: string]: T;
|
|
6587
|
-
};
|
|
6588
|
-
/**
|
|
6589
|
-
* Add an item to the registry, you can only add if there is no item
|
|
6590
|
-
* already present in the registery with the given key
|
|
6591
|
-
*
|
|
6592
|
-
* Note that this also returns the registry, so another add method call can
|
|
6593
|
-
* be chained
|
|
6594
|
-
*/
|
|
6595
|
-
add(key: string, value: T): this;
|
|
6596
|
-
/**
|
|
6597
|
-
* Replace (or add) an item to the registry
|
|
6598
|
-
*
|
|
6599
|
-
* Note that this also returns the registry, so another add method call can
|
|
6600
|
-
* be chained
|
|
6601
|
-
*/
|
|
6602
|
-
replace(key: string, value: T): this;
|
|
6603
|
-
/**
|
|
6604
|
-
* Get an item from the registry
|
|
6605
|
-
*/
|
|
6606
|
-
get(key: string): T;
|
|
6607
|
-
/**
|
|
6608
|
-
* Check if the key is already in the registry
|
|
6609
|
-
*/
|
|
6610
|
-
contains(key: string): boolean;
|
|
6611
|
-
/**
|
|
6612
|
-
* Get a list of all elements in the registry
|
|
6613
|
-
*/
|
|
6614
|
-
getAll(): T[];
|
|
6615
|
-
/**
|
|
6616
|
-
* Get a list of all keys in the registry
|
|
6617
|
-
*/
|
|
6618
|
-
getKeys(): string[];
|
|
6619
|
-
/**
|
|
6620
|
-
* Remove an item from the registry
|
|
6621
|
-
*/
|
|
6622
|
-
remove(key: string): void;
|
|
6623
|
-
}
|
|
6624
|
-
|
|
6625
6676
|
interface MigrationStep {
|
|
6626
6677
|
migrate: (data: any) => any;
|
|
6627
6678
|
}
|
|
@@ -6862,7 +6913,7 @@ interface ChartBuilder {
|
|
|
6862
6913
|
createChart: (definition: ChartDefinition, sheetId: UID, getters: CoreGetters) => AbstractChart;
|
|
6863
6914
|
getChartRuntime: (chart: AbstractChart, getters: Getters) => ChartRuntime;
|
|
6864
6915
|
validateChartDefinition(validator: Validator, definition: ChartDefinition): CommandResult | CommandResult[];
|
|
6865
|
-
transformDefinition(definition: ChartDefinition,
|
|
6916
|
+
transformDefinition(chartSheetId: UID, definition: ChartDefinition, applyRange: RangeAdapter$1): ChartDefinition;
|
|
6866
6917
|
getChartDefinitionFromContextCreation(context: ChartCreationContext): ChartDefinition;
|
|
6867
6918
|
sequence: number;
|
|
6868
6919
|
dataSeriesLimit?: number;
|
|
@@ -7842,6 +7893,7 @@ declare class TextStyler extends Component<Props$16, SpreadsheetChildEnv> {
|
|
|
7842
7893
|
|
|
7843
7894
|
interface Props$15 {
|
|
7844
7895
|
title?: string;
|
|
7896
|
+
placeholder?: string;
|
|
7845
7897
|
updateTitle: (title: string) => void;
|
|
7846
7898
|
name?: string;
|
|
7847
7899
|
style: TitleDesign;
|
|
@@ -7859,10 +7911,13 @@ declare class ChartTitle extends Component<Props$15, SpreadsheetChildEnv> {
|
|
|
7859
7911
|
type: StringConstructor;
|
|
7860
7912
|
optional: boolean;
|
|
7861
7913
|
};
|
|
7914
|
+
placeholder: {
|
|
7915
|
+
type: StringConstructor;
|
|
7916
|
+
optional: boolean;
|
|
7917
|
+
};
|
|
7862
7918
|
updateTitle: FunctionConstructor;
|
|
7863
7919
|
name: {
|
|
7864
7920
|
type: StringConstructor;
|
|
7865
|
-
optional: boolean;
|
|
7866
7921
|
};
|
|
7867
7922
|
style: ObjectConstructor;
|
|
7868
7923
|
defaultStyle: {
|
|
@@ -7873,6 +7928,7 @@ declare class ChartTitle extends Component<Props$15, SpreadsheetChildEnv> {
|
|
|
7873
7928
|
};
|
|
7874
7929
|
static defaultProps: {
|
|
7875
7930
|
title: string;
|
|
7931
|
+
placeholder: string;
|
|
7876
7932
|
};
|
|
7877
7933
|
updateTitle(ev: InputEvent): void;
|
|
7878
7934
|
}
|
|
@@ -7988,6 +8044,7 @@ interface Props$11 {
|
|
|
7988
8044
|
figureId: UID;
|
|
7989
8045
|
definition: ChartDefinition;
|
|
7990
8046
|
updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
8047
|
+
canUpdateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
7991
8048
|
defaultChartTitleFontSize?: number;
|
|
7992
8049
|
}
|
|
7993
8050
|
declare class GeneralDesignEditor extends Component<Props$11, SpreadsheetChildEnv> {
|
|
@@ -8003,6 +8060,7 @@ declare class GeneralDesignEditor extends Component<Props$11, SpreadsheetChildEn
|
|
|
8003
8060
|
figureId: StringConstructor;
|
|
8004
8061
|
definition: ObjectConstructor;
|
|
8005
8062
|
updateChart: FunctionConstructor;
|
|
8063
|
+
canUpdateChart: FunctionConstructor;
|
|
8006
8064
|
defaultChartTitleFontSize: {
|
|
8007
8065
|
type: NumberConstructor;
|
|
8008
8066
|
optional: boolean;
|
|
@@ -8028,6 +8086,7 @@ interface Props$10 {
|
|
|
8028
8086
|
figureId: UID;
|
|
8029
8087
|
definition: ChartWithDataSetDefinition;
|
|
8030
8088
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8089
|
+
canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8031
8090
|
}
|
|
8032
8091
|
declare class ChartLegend extends Component<Props$10, SpreadsheetChildEnv> {
|
|
8033
8092
|
static template: string;
|
|
@@ -8038,6 +8097,7 @@ declare class ChartLegend extends Component<Props$10, SpreadsheetChildEnv> {
|
|
|
8038
8097
|
figureId: StringConstructor;
|
|
8039
8098
|
definition: ObjectConstructor;
|
|
8040
8099
|
updateChart: FunctionConstructor;
|
|
8100
|
+
canUpdateChart: FunctionConstructor;
|
|
8041
8101
|
};
|
|
8042
8102
|
updateLegendPosition(ev: any): void;
|
|
8043
8103
|
}
|
|
@@ -8124,21 +8184,45 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$_, SpreadsheetC
|
|
|
8124
8184
|
}
|
|
8125
8185
|
|
|
8126
8186
|
interface Props$Z {
|
|
8187
|
+
figureId: UID;
|
|
8188
|
+
definition: ChartWithDataSetDefinition;
|
|
8189
|
+
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8190
|
+
canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8191
|
+
defaultValue?: boolean;
|
|
8192
|
+
}
|
|
8193
|
+
declare class ChartShowValues extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
8194
|
+
static template: string;
|
|
8195
|
+
static components: {
|
|
8196
|
+
Checkbox: typeof Checkbox;
|
|
8197
|
+
};
|
|
8198
|
+
static props: {
|
|
8199
|
+
figureId: StringConstructor;
|
|
8200
|
+
definition: ObjectConstructor;
|
|
8201
|
+
updateChart: FunctionConstructor;
|
|
8202
|
+
canUpdateChart: FunctionConstructor;
|
|
8203
|
+
defaultValue: {
|
|
8204
|
+
type: BooleanConstructor;
|
|
8205
|
+
optional: boolean;
|
|
8206
|
+
};
|
|
8207
|
+
};
|
|
8208
|
+
}
|
|
8209
|
+
|
|
8210
|
+
interface Props$Y {
|
|
8127
8211
|
figureId: UID;
|
|
8128
8212
|
definition: ChartWithDataSetDefinition;
|
|
8129
8213
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8130
8214
|
updateChart: (figureId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8131
8215
|
}
|
|
8132
|
-
declare class ChartWithAxisDesignPanel<P extends Props$
|
|
8216
|
+
declare class ChartWithAxisDesignPanel<P extends Props$Y = Props$Y> extends Component<P, SpreadsheetChildEnv> {
|
|
8133
8217
|
static template: string;
|
|
8134
8218
|
static components: {
|
|
8135
8219
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
8136
8220
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
8137
8221
|
Section: typeof Section;
|
|
8138
8222
|
AxisDesignEditor: typeof AxisDesignEditor;
|
|
8139
|
-
Checkbox: typeof Checkbox;
|
|
8140
8223
|
SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
|
|
8141
8224
|
ChartLegend: typeof ChartLegend;
|
|
8225
|
+
ChartShowValues: typeof ChartShowValues;
|
|
8142
8226
|
};
|
|
8143
8227
|
static props: {
|
|
8144
8228
|
figureId: StringConstructor;
|
|
@@ -8149,13 +8233,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$Z = Props$Z> extends Comp
|
|
|
8149
8233
|
get axesList(): AxisDefinition[];
|
|
8150
8234
|
}
|
|
8151
8235
|
|
|
8152
|
-
interface Props$
|
|
8236
|
+
interface Props$X {
|
|
8153
8237
|
figureId: UID;
|
|
8154
8238
|
definition: GaugeChartDefinition;
|
|
8155
8239
|
canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8156
8240
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8157
8241
|
}
|
|
8158
|
-
declare class GaugeChartConfigPanel extends Component<Props$
|
|
8242
|
+
declare class GaugeChartConfigPanel extends Component<Props$X, SpreadsheetChildEnv> {
|
|
8159
8243
|
static template: string;
|
|
8160
8244
|
static components: {
|
|
8161
8245
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -8220,13 +8304,13 @@ interface EnrichedToken extends Token {
|
|
|
8220
8304
|
isInHoverContext?: boolean;
|
|
8221
8305
|
}
|
|
8222
8306
|
|
|
8223
|
-
interface Props$
|
|
8307
|
+
interface Props$W {
|
|
8224
8308
|
proposals: AutoCompleteProposal[];
|
|
8225
8309
|
selectedIndex: number | undefined;
|
|
8226
8310
|
onValueSelected: (value: string) => void;
|
|
8227
8311
|
onValueHovered: (index: string) => void;
|
|
8228
8312
|
}
|
|
8229
|
-
declare class TextValueProvider extends Component<Props$
|
|
8313
|
+
declare class TextValueProvider extends Component<Props$W> {
|
|
8230
8314
|
static template: string;
|
|
8231
8315
|
static props: {
|
|
8232
8316
|
proposals: ArrayConstructor;
|
|
@@ -8282,11 +8366,11 @@ declare class ContentEditableHelper {
|
|
|
8282
8366
|
getText(): string;
|
|
8283
8367
|
}
|
|
8284
8368
|
|
|
8285
|
-
interface Props$
|
|
8369
|
+
interface Props$V {
|
|
8286
8370
|
functionDescription: FunctionDescription;
|
|
8287
8371
|
argsToFocus: number[];
|
|
8288
8372
|
}
|
|
8289
|
-
declare class FunctionDescriptionProvider extends Component<Props$
|
|
8373
|
+
declare class FunctionDescriptionProvider extends Component<Props$V, SpreadsheetChildEnv> {
|
|
8290
8374
|
static template: string;
|
|
8291
8375
|
static props: {
|
|
8292
8376
|
functionDescription: ObjectConstructor;
|
|
@@ -8297,15 +8381,15 @@ declare class FunctionDescriptionProvider extends Component<Props$W, Spreadsheet
|
|
|
8297
8381
|
};
|
|
8298
8382
|
private state;
|
|
8299
8383
|
toggle(): void;
|
|
8300
|
-
getContext(): Props$
|
|
8384
|
+
getContext(): Props$V;
|
|
8301
8385
|
get formulaArgSeparator(): string;
|
|
8302
8386
|
}
|
|
8303
8387
|
|
|
8304
|
-
interface Props$
|
|
8388
|
+
interface Props$U {
|
|
8305
8389
|
anchorRect: Rect;
|
|
8306
8390
|
content: string;
|
|
8307
8391
|
}
|
|
8308
|
-
declare class SpeechBubble extends Component<Props$
|
|
8392
|
+
declare class SpeechBubble extends Component<Props$U, SpreadsheetChildEnv> {
|
|
8309
8393
|
static template: string;
|
|
8310
8394
|
static props: {
|
|
8311
8395
|
content: StringConstructor;
|
|
@@ -8702,7 +8786,7 @@ interface AutoCompleteProviderDefinition {
|
|
|
8702
8786
|
}, tokenAtCursor: EnrichedToken, text: string): void;
|
|
8703
8787
|
}
|
|
8704
8788
|
|
|
8705
|
-
interface Props$
|
|
8789
|
+
interface Props$T {
|
|
8706
8790
|
onConfirm: (content: string) => void;
|
|
8707
8791
|
composerContent: string;
|
|
8708
8792
|
defaultRangeSheetId: UID;
|
|
@@ -8714,7 +8798,7 @@ interface Props$U {
|
|
|
8714
8798
|
invalid?: boolean;
|
|
8715
8799
|
getContextualColoredSymbolToken?: (token: Token) => Color;
|
|
8716
8800
|
}
|
|
8717
|
-
declare class StandaloneComposer extends Component<Props$
|
|
8801
|
+
declare class StandaloneComposer extends Component<Props$T, SpreadsheetChildEnv> {
|
|
8718
8802
|
static template: string;
|
|
8719
8803
|
static props: {
|
|
8720
8804
|
composerContent: {
|
|
@@ -8777,13 +8861,13 @@ interface PanelState {
|
|
|
8777
8861
|
sectionRuleCancelledReasons?: CommandResult[];
|
|
8778
8862
|
sectionRule: SectionRule;
|
|
8779
8863
|
}
|
|
8780
|
-
interface Props$
|
|
8864
|
+
interface Props$S {
|
|
8781
8865
|
figureId: UID;
|
|
8782
8866
|
definition: GaugeChartDefinition;
|
|
8783
8867
|
canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8784
8868
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8785
8869
|
}
|
|
8786
|
-
declare class GaugeChartDesignPanel extends Component<Props$
|
|
8870
|
+
declare class GaugeChartDesignPanel extends Component<Props$S, SpreadsheetChildEnv> {
|
|
8787
8871
|
static template: string;
|
|
8788
8872
|
static components: {
|
|
8789
8873
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -8833,13 +8917,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
8833
8917
|
onUpdateCumulative(cumulative: boolean): void;
|
|
8834
8918
|
}
|
|
8835
8919
|
|
|
8836
|
-
interface Props$
|
|
8920
|
+
interface Props$R {
|
|
8837
8921
|
figureId: UID;
|
|
8838
8922
|
definition: ScorecardChartDefinition;
|
|
8839
8923
|
canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8840
8924
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8841
8925
|
}
|
|
8842
|
-
declare class ScorecardChartConfigPanel extends Component<Props$
|
|
8926
|
+
declare class ScorecardChartConfigPanel extends Component<Props$R, SpreadsheetChildEnv> {
|
|
8843
8927
|
static template: string;
|
|
8844
8928
|
static components: {
|
|
8845
8929
|
SelectionInput: typeof SelectionInput;
|
|
@@ -8868,13 +8952,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$S, SpreadsheetCh
|
|
|
8868
8952
|
}
|
|
8869
8953
|
|
|
8870
8954
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
8871
|
-
interface Props$
|
|
8955
|
+
interface Props$Q {
|
|
8872
8956
|
figureId: UID;
|
|
8873
8957
|
definition: ScorecardChartDefinition;
|
|
8874
8958
|
canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8875
8959
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8876
8960
|
}
|
|
8877
|
-
declare class ScorecardChartDesignPanel extends Component<Props$
|
|
8961
|
+
declare class ScorecardChartDesignPanel extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
8878
8962
|
static template: string;
|
|
8879
8963
|
static components: {
|
|
8880
8964
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -8882,6 +8966,7 @@ declare class ScorecardChartDesignPanel extends Component<Props$R, SpreadsheetCh
|
|
|
8882
8966
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
8883
8967
|
Section: typeof Section;
|
|
8884
8968
|
Checkbox: typeof Checkbox;
|
|
8969
|
+
ChartTitle: typeof ChartTitle;
|
|
8885
8970
|
};
|
|
8886
8971
|
static props: {
|
|
8887
8972
|
figureId: StringConstructor;
|
|
@@ -8897,8 +8982,13 @@ declare class ScorecardChartDesignPanel extends Component<Props$R, SpreadsheetCh
|
|
|
8897
8982
|
get defaultScorecardTitleFontSize(): number;
|
|
8898
8983
|
updateHumanizeNumbers(humanize: boolean): void;
|
|
8899
8984
|
translate(term: any): string;
|
|
8900
|
-
updateBaselineDescr(ev: any): void;
|
|
8901
8985
|
setColor(color: Color, colorPickerId: ColorPickerId): void;
|
|
8986
|
+
get keyStyle(): TitleDesign;
|
|
8987
|
+
get baselineStyle(): TitleDesign;
|
|
8988
|
+
setKeyText(text: string): void;
|
|
8989
|
+
updateKeyStyle(style: TitleDesign): void;
|
|
8990
|
+
setBaselineText(text: string): void;
|
|
8991
|
+
updateBaselineStyle(style: TitleDesign): void;
|
|
8902
8992
|
}
|
|
8903
8993
|
|
|
8904
8994
|
interface ChartSidePanel {
|
|
@@ -9021,17 +9111,23 @@ declare class ComposerFocusStore extends SpreadsheetStore {
|
|
|
9021
9111
|
private setComposerContent;
|
|
9022
9112
|
}
|
|
9023
9113
|
|
|
9024
|
-
interface Props$
|
|
9114
|
+
interface Props$P {
|
|
9025
9115
|
figureUI: FigureUI;
|
|
9116
|
+
isFullScreen?: boolean;
|
|
9026
9117
|
}
|
|
9027
|
-
declare class ChartJsComponent extends Component<Props$
|
|
9118
|
+
declare class ChartJsComponent extends Component<Props$P, SpreadsheetChildEnv> {
|
|
9028
9119
|
static template: string;
|
|
9029
9120
|
static props: {
|
|
9030
9121
|
figureUI: ObjectConstructor;
|
|
9122
|
+
isFullScreen: {
|
|
9123
|
+
type: BooleanConstructor;
|
|
9124
|
+
optional: boolean;
|
|
9125
|
+
};
|
|
9031
9126
|
};
|
|
9032
9127
|
private canvas;
|
|
9033
9128
|
private chart?;
|
|
9034
9129
|
private currentRuntime;
|
|
9130
|
+
private animationStore;
|
|
9035
9131
|
private currentDevicePixelRatio;
|
|
9036
9132
|
get background(): string;
|
|
9037
9133
|
get canvasStyle(): string;
|
|
@@ -9039,12 +9135,15 @@ declare class ChartJsComponent extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
|
9039
9135
|
setup(): void;
|
|
9040
9136
|
private createChart;
|
|
9041
9137
|
private updateChartJs;
|
|
9138
|
+
private hasChartDataChanged;
|
|
9139
|
+
private enableAnimationInChartData;
|
|
9140
|
+
get animationFigureId(): string;
|
|
9042
9141
|
}
|
|
9043
9142
|
|
|
9044
|
-
interface Props$
|
|
9143
|
+
interface Props$O {
|
|
9045
9144
|
figureUI: FigureUI;
|
|
9046
9145
|
}
|
|
9047
|
-
declare class ScorecardChart$1 extends Component<Props$
|
|
9146
|
+
declare class ScorecardChart$1 extends Component<Props$O, SpreadsheetChildEnv> {
|
|
9048
9147
|
static template: string;
|
|
9049
9148
|
static props: {
|
|
9050
9149
|
figureUI: ObjectConstructor;
|
|
@@ -9057,7 +9156,7 @@ declare class ScorecardChart$1 extends Component<Props$P, SpreadsheetChildEnv> {
|
|
|
9057
9156
|
}
|
|
9058
9157
|
|
|
9059
9158
|
type MenuItemOrSeparator = Action | "separator";
|
|
9060
|
-
interface Props$
|
|
9159
|
+
interface Props$N {
|
|
9061
9160
|
anchorRect: Rect;
|
|
9062
9161
|
popoverPositioning: PopoverPropsPosition;
|
|
9063
9162
|
menuItems: Action[];
|
|
@@ -9077,7 +9176,7 @@ interface MenuState {
|
|
|
9077
9176
|
menuItems: Action[];
|
|
9078
9177
|
isHoveringChild?: boolean;
|
|
9079
9178
|
}
|
|
9080
|
-
declare class Menu extends Component<Props$
|
|
9179
|
+
declare class Menu extends Component<Props$N, SpreadsheetChildEnv> {
|
|
9081
9180
|
static template: string;
|
|
9082
9181
|
static props: {
|
|
9083
9182
|
anchorRect: ObjectConstructor;
|
|
@@ -9157,14 +9256,14 @@ declare class Menu extends Component<Props$O, SpreadsheetChildEnv> {
|
|
|
9157
9256
|
}
|
|
9158
9257
|
|
|
9159
9258
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
9160
|
-
interface Props$
|
|
9259
|
+
interface Props$M {
|
|
9161
9260
|
figureUI: FigureUI;
|
|
9162
9261
|
style: string;
|
|
9163
9262
|
onFigureDeleted: () => void;
|
|
9164
9263
|
onMouseDown: (ev: MouseEvent) => void;
|
|
9165
9264
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
9166
9265
|
}
|
|
9167
|
-
declare class FigureComponent extends Component<Props$
|
|
9266
|
+
declare class FigureComponent extends Component<Props$M, SpreadsheetChildEnv> {
|
|
9168
9267
|
static template: string;
|
|
9169
9268
|
static props: {
|
|
9170
9269
|
figureUI: ObjectConstructor;
|
|
@@ -9213,10 +9312,17 @@ declare class FigureComponent extends Component<Props$N, SpreadsheetChildEnv> {
|
|
|
9213
9312
|
private openContextMenu;
|
|
9214
9313
|
}
|
|
9215
9314
|
|
|
9216
|
-
interface Props$
|
|
9315
|
+
interface Props$L {
|
|
9217
9316
|
figureUI: FigureUI;
|
|
9218
9317
|
}
|
|
9219
|
-
|
|
9318
|
+
interface MenuItem {
|
|
9319
|
+
id: string;
|
|
9320
|
+
label: string;
|
|
9321
|
+
iconClass: string;
|
|
9322
|
+
onClick: () => void;
|
|
9323
|
+
isSelected?: boolean;
|
|
9324
|
+
}
|
|
9325
|
+
declare class ChartDashboardMenu extends Component<Props$L, SpreadsheetChildEnv> {
|
|
9220
9326
|
static template: string;
|
|
9221
9327
|
static components: {
|
|
9222
9328
|
Menu: typeof Menu;
|
|
@@ -9225,30 +9331,24 @@ declare class ChartDashboardMenu extends Component<Props$M, SpreadsheetChildEnv>
|
|
|
9225
9331
|
figureUI: ObjectConstructor;
|
|
9226
9332
|
};
|
|
9227
9333
|
private originalChartDefinition;
|
|
9334
|
+
private fullScreenFigureStore;
|
|
9228
9335
|
private menuState;
|
|
9229
9336
|
setup(): void;
|
|
9230
|
-
|
|
9231
|
-
|
|
9232
|
-
chartSubtype: string;
|
|
9233
|
-
displayName: string;
|
|
9234
|
-
chartType: ChartType;
|
|
9235
|
-
matcher?: (definition: ChartDefinition) => boolean;
|
|
9236
|
-
subtypeDefinition?: Partial<ChartDefinition>;
|
|
9237
|
-
category: "area" | "line" | "bar" | "pie" | "column" | "hierarchical" | "misc";
|
|
9238
|
-
preview: string;
|
|
9239
|
-
}[];
|
|
9337
|
+
getMenuItems(): MenuItem[];
|
|
9338
|
+
get changeChartTypeMenuItems(): MenuItem[];
|
|
9240
9339
|
getIconClasses(type: ChartType): "" | "fa fa-bar-chart" | "fa fa-line-chart" | "fa fa-pie-chart";
|
|
9241
9340
|
onTypeChange(type: ChartType): void;
|
|
9242
9341
|
get selectedChartType(): "line" | "bar" | "scatter" | "pie" | "radar" | "treemap" | "funnel" | "scorecard" | "gauge" | "combo" | "waterfall" | "pyramid" | "geo" | "sunburst";
|
|
9243
9342
|
get backgroundColor(): string;
|
|
9244
9343
|
openContextMenu(ev: MouseEvent): void;
|
|
9344
|
+
get fullScreenMenuItem(): MenuItem | undefined;
|
|
9245
9345
|
}
|
|
9246
9346
|
|
|
9247
|
-
interface Props$
|
|
9347
|
+
interface Props$K {
|
|
9248
9348
|
figureUI: FigureUI;
|
|
9249
9349
|
onFigureDeleted: () => void;
|
|
9250
9350
|
}
|
|
9251
|
-
declare class ChartFigure extends Component<Props$
|
|
9351
|
+
declare class ChartFigure extends Component<Props$K, SpreadsheetChildEnv> {
|
|
9252
9352
|
static template: string;
|
|
9253
9353
|
static props: {
|
|
9254
9354
|
figureUI: ObjectConstructor;
|
|
@@ -9271,7 +9371,7 @@ declare class DelayedHoveredCellStore extends SpreadsheetStore {
|
|
|
9271
9371
|
clear(): "noStateChange" | undefined;
|
|
9272
9372
|
}
|
|
9273
9373
|
|
|
9274
|
-
interface Props$
|
|
9374
|
+
interface Props$J {
|
|
9275
9375
|
isVisible: boolean;
|
|
9276
9376
|
position: Position;
|
|
9277
9377
|
}
|
|
@@ -9283,7 +9383,7 @@ interface State$3 {
|
|
|
9283
9383
|
position: Position;
|
|
9284
9384
|
handler: boolean;
|
|
9285
9385
|
}
|
|
9286
|
-
declare class Autofill extends Component<Props$
|
|
9386
|
+
declare class Autofill extends Component<Props$J, SpreadsheetChildEnv> {
|
|
9287
9387
|
static template: string;
|
|
9288
9388
|
static props: {
|
|
9289
9389
|
position: ObjectConstructor;
|
|
@@ -9323,7 +9423,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
9323
9423
|
get tagStyle(): string;
|
|
9324
9424
|
}
|
|
9325
9425
|
|
|
9326
|
-
interface Props$
|
|
9426
|
+
interface Props$I {
|
|
9327
9427
|
gridDims: DOMDimension;
|
|
9328
9428
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
9329
9429
|
}
|
|
@@ -9331,7 +9431,7 @@ interface Props$J {
|
|
|
9331
9431
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
9332
9432
|
* It also applies the style of the cell to the composer input.
|
|
9333
9433
|
*/
|
|
9334
|
-
declare class GridComposer extends Component<Props$
|
|
9434
|
+
declare class GridComposer extends Component<Props$I, SpreadsheetChildEnv> {
|
|
9335
9435
|
static template: string;
|
|
9336
9436
|
static props: {
|
|
9337
9437
|
gridDims: ObjectConstructor;
|
|
@@ -9364,70 +9464,6 @@ declare class GridComposer extends Component<Props$J, SpreadsheetChildEnv> {
|
|
|
9364
9464
|
onFocus(): void;
|
|
9365
9465
|
}
|
|
9366
9466
|
|
|
9367
|
-
interface GridCellIconProps {
|
|
9368
|
-
cellPosition: CellPosition;
|
|
9369
|
-
horizontalAlign?: Align;
|
|
9370
|
-
verticalAlign?: VerticalAlign;
|
|
9371
|
-
}
|
|
9372
|
-
declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChildEnv> {
|
|
9373
|
-
static template: string;
|
|
9374
|
-
static props: {
|
|
9375
|
-
cellPosition: ObjectConstructor;
|
|
9376
|
-
horizontalAlign: {
|
|
9377
|
-
type: StringConstructor;
|
|
9378
|
-
optional: boolean;
|
|
9379
|
-
};
|
|
9380
|
-
verticalAlign: {
|
|
9381
|
-
type: StringConstructor;
|
|
9382
|
-
optional: boolean;
|
|
9383
|
-
};
|
|
9384
|
-
slots: ObjectConstructor;
|
|
9385
|
-
};
|
|
9386
|
-
get iconStyle(): string;
|
|
9387
|
-
private getIconVerticalPosition;
|
|
9388
|
-
private getIconHorizontalPosition;
|
|
9389
|
-
isPositionVisible(position: CellPosition): boolean;
|
|
9390
|
-
}
|
|
9391
|
-
|
|
9392
|
-
interface Props$I {
|
|
9393
|
-
cellPosition: CellPosition;
|
|
9394
|
-
}
|
|
9395
|
-
declare class DataValidationCheckbox extends Component<Props$I, SpreadsheetChildEnv> {
|
|
9396
|
-
static template: string;
|
|
9397
|
-
static components: {
|
|
9398
|
-
Checkbox: typeof Checkbox;
|
|
9399
|
-
};
|
|
9400
|
-
static props: {
|
|
9401
|
-
cellPosition: ObjectConstructor;
|
|
9402
|
-
};
|
|
9403
|
-
onCheckboxChange(value: boolean): void;
|
|
9404
|
-
get checkBoxValue(): boolean;
|
|
9405
|
-
get isDisabled(): boolean;
|
|
9406
|
-
}
|
|
9407
|
-
|
|
9408
|
-
interface Props$H {
|
|
9409
|
-
cellPosition: CellPosition;
|
|
9410
|
-
}
|
|
9411
|
-
declare class DataValidationListIcon extends Component<Props$H, SpreadsheetChildEnv> {
|
|
9412
|
-
static template: string;
|
|
9413
|
-
static props: {
|
|
9414
|
-
cellPosition: ObjectConstructor;
|
|
9415
|
-
};
|
|
9416
|
-
onClick(): void;
|
|
9417
|
-
}
|
|
9418
|
-
|
|
9419
|
-
declare class DataValidationOverlay extends Component<{}, SpreadsheetChildEnv> {
|
|
9420
|
-
static template: string;
|
|
9421
|
-
static props: {};
|
|
9422
|
-
static components: {
|
|
9423
|
-
GridCellIcon: typeof GridCellIcon;
|
|
9424
|
-
DataValidationCheckbox: typeof DataValidationCheckbox;
|
|
9425
|
-
DataValidationListIcon: typeof DataValidationListIcon;
|
|
9426
|
-
};
|
|
9427
|
-
get checkBoxCellPositions(): CellPosition[];
|
|
9428
|
-
get listIconsCellPositions(): CellPosition[];
|
|
9429
|
-
}
|
|
9430
|
-
|
|
9431
9467
|
type HFigureAxisType = "top" | "bottom" | "vCenter";
|
|
9432
9468
|
type VFigureAxisType = "right" | "left" | "hCenter";
|
|
9433
9469
|
interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
@@ -9438,7 +9474,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
9438
9474
|
}
|
|
9439
9475
|
|
|
9440
9476
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
9441
|
-
interface Props$
|
|
9477
|
+
interface Props$H {
|
|
9442
9478
|
onFigureDeleted: () => void;
|
|
9443
9479
|
}
|
|
9444
9480
|
interface Container {
|
|
@@ -9518,7 +9554,7 @@ interface DndState {
|
|
|
9518
9554
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
9519
9555
|
*
|
|
9520
9556
|
*/
|
|
9521
|
-
declare class FiguresContainer extends Component<Props$
|
|
9557
|
+
declare class FiguresContainer extends Component<Props$H, SpreadsheetChildEnv> {
|
|
9522
9558
|
static template: string;
|
|
9523
9559
|
static props: {
|
|
9524
9560
|
onFigureDeleted: FunctionConstructor;
|
|
@@ -9554,35 +9590,10 @@ declare class FiguresContainer extends Component<Props$G, SpreadsheetChildEnv> {
|
|
|
9554
9590
|
private getSnapLineStyle;
|
|
9555
9591
|
}
|
|
9556
9592
|
|
|
9557
|
-
interface Props$
|
|
9558
|
-
cellPosition: CellPosition;
|
|
9559
|
-
}
|
|
9560
|
-
declare class FilterIcon extends Component<Props$F, SpreadsheetChildEnv> {
|
|
9561
|
-
static template: string;
|
|
9562
|
-
static props: {
|
|
9563
|
-
cellPosition: ObjectConstructor;
|
|
9564
|
-
};
|
|
9565
|
-
protected cellPopovers: Store<CellPopoverStore>;
|
|
9566
|
-
setup(): void;
|
|
9567
|
-
onClick(): void;
|
|
9568
|
-
get isFilterActive(): boolean;
|
|
9569
|
-
get iconClass(): string;
|
|
9570
|
-
}
|
|
9571
|
-
|
|
9572
|
-
declare class FilterIconsOverlay extends Component<{}, SpreadsheetChildEnv> {
|
|
9573
|
-
static template: string;
|
|
9574
|
-
static props: {};
|
|
9575
|
-
static components: {
|
|
9576
|
-
GridCellIcon: typeof GridCellIcon;
|
|
9577
|
-
FilterIcon: typeof FilterIcon;
|
|
9578
|
-
};
|
|
9579
|
-
getFilterHeadersPositions(): CellPosition[];
|
|
9580
|
-
}
|
|
9581
|
-
|
|
9582
|
-
interface Props$E {
|
|
9593
|
+
interface Props$G {
|
|
9583
9594
|
focusGrid: () => void;
|
|
9584
9595
|
}
|
|
9585
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
9596
|
+
declare class GridAddRowsFooter extends Component<Props$G, SpreadsheetChildEnv> {
|
|
9586
9597
|
static template: string;
|
|
9587
9598
|
static props: {
|
|
9588
9599
|
focusGrid: FunctionConstructor;
|
|
@@ -9606,7 +9617,36 @@ declare class GridAddRowsFooter extends Component<Props$E, SpreadsheetChildEnv>
|
|
|
9606
9617
|
private onExternalClick;
|
|
9607
9618
|
}
|
|
9608
9619
|
|
|
9609
|
-
interface
|
|
9620
|
+
interface GridCellIconProps {
|
|
9621
|
+
icon: GridIcon;
|
|
9622
|
+
verticalAlign?: VerticalAlign;
|
|
9623
|
+
}
|
|
9624
|
+
declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChildEnv> {
|
|
9625
|
+
static template: string;
|
|
9626
|
+
static props: {
|
|
9627
|
+
icon: ObjectConstructor;
|
|
9628
|
+
verticalAlign: {
|
|
9629
|
+
type: StringConstructor;
|
|
9630
|
+
optional: boolean;
|
|
9631
|
+
};
|
|
9632
|
+
slots: ObjectConstructor;
|
|
9633
|
+
};
|
|
9634
|
+
get iconStyle(): string;
|
|
9635
|
+
private getIconVerticalPosition;
|
|
9636
|
+
private getIconHorizontalPosition;
|
|
9637
|
+
isPositionVisible(position: CellPosition): boolean;
|
|
9638
|
+
}
|
|
9639
|
+
|
|
9640
|
+
declare class GridCellIconOverlay extends Component<{}, SpreadsheetChildEnv> {
|
|
9641
|
+
static template: string;
|
|
9642
|
+
static props: {};
|
|
9643
|
+
static components: {
|
|
9644
|
+
GridCellIcon: typeof GridCellIcon;
|
|
9645
|
+
};
|
|
9646
|
+
get icons(): GridIcon[];
|
|
9647
|
+
}
|
|
9648
|
+
|
|
9649
|
+
interface Props$F {
|
|
9610
9650
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
9611
9651
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: MouseEvent) => void;
|
|
9612
9652
|
onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
|
|
@@ -9615,7 +9655,7 @@ interface Props$D {
|
|
|
9615
9655
|
gridOverlayDimensions: string;
|
|
9616
9656
|
onFigureDeleted: () => void;
|
|
9617
9657
|
}
|
|
9618
|
-
declare class GridOverlay extends Component<Props$
|
|
9658
|
+
declare class GridOverlay extends Component<Props$F, SpreadsheetChildEnv> {
|
|
9619
9659
|
static template: string;
|
|
9620
9660
|
static props: {
|
|
9621
9661
|
onCellDoubleClicked: {
|
|
@@ -9647,9 +9687,8 @@ declare class GridOverlay extends Component<Props$D, SpreadsheetChildEnv> {
|
|
|
9647
9687
|
};
|
|
9648
9688
|
static components: {
|
|
9649
9689
|
FiguresContainer: typeof FiguresContainer;
|
|
9650
|
-
DataValidationOverlay: typeof DataValidationOverlay;
|
|
9651
9690
|
GridAddRowsFooter: typeof GridAddRowsFooter;
|
|
9652
|
-
|
|
9691
|
+
GridCellIconOverlay: typeof GridCellIconOverlay;
|
|
9653
9692
|
};
|
|
9654
9693
|
static defaultProps: {
|
|
9655
9694
|
onCellDoubleClicked: () => void;
|
|
@@ -9671,12 +9710,12 @@ declare class GridOverlay extends Component<Props$D, SpreadsheetChildEnv> {
|
|
|
9671
9710
|
private getCartesianCoordinates;
|
|
9672
9711
|
}
|
|
9673
9712
|
|
|
9674
|
-
interface Props$
|
|
9713
|
+
interface Props$E {
|
|
9675
9714
|
gridRect: Rect;
|
|
9676
9715
|
onClosePopover: () => void;
|
|
9677
9716
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
9678
9717
|
}
|
|
9679
|
-
declare class GridPopover extends Component<Props$
|
|
9718
|
+
declare class GridPopover extends Component<Props$E, SpreadsheetChildEnv> {
|
|
9680
9719
|
static template: string;
|
|
9681
9720
|
static props: {
|
|
9682
9721
|
onClosePopover: FunctionConstructor;
|
|
@@ -9692,7 +9731,7 @@ declare class GridPopover extends Component<Props$C, SpreadsheetChildEnv> {
|
|
|
9692
9731
|
get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
|
|
9693
9732
|
}
|
|
9694
9733
|
|
|
9695
|
-
interface Props$
|
|
9734
|
+
interface Props$D {
|
|
9696
9735
|
headersGroups: ConsecutiveIndexes[];
|
|
9697
9736
|
offset: number;
|
|
9698
9737
|
headerRange: {
|
|
@@ -9700,7 +9739,7 @@ interface Props$B {
|
|
|
9700
9739
|
end: HeaderIndex;
|
|
9701
9740
|
};
|
|
9702
9741
|
}
|
|
9703
|
-
declare class UnhideRowHeaders extends Component<Props$
|
|
9742
|
+
declare class UnhideRowHeaders extends Component<Props$D, SpreadsheetChildEnv> {
|
|
9704
9743
|
static template: string;
|
|
9705
9744
|
static props: {
|
|
9706
9745
|
headersGroups: ArrayConstructor;
|
|
@@ -9719,7 +9758,7 @@ declare class UnhideRowHeaders extends Component<Props$B, SpreadsheetChildEnv> {
|
|
|
9719
9758
|
unhide(hiddenElements: HeaderIndex[]): void;
|
|
9720
9759
|
isVisible(header: HeaderIndex): boolean;
|
|
9721
9760
|
}
|
|
9722
|
-
declare class UnhideColumnHeaders extends Component<Props$
|
|
9761
|
+
declare class UnhideColumnHeaders extends Component<Props$D, SpreadsheetChildEnv> {
|
|
9723
9762
|
static template: string;
|
|
9724
9763
|
static props: {
|
|
9725
9764
|
headersGroups: ArrayConstructor;
|
|
@@ -9911,13 +9950,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
9911
9950
|
}
|
|
9912
9951
|
|
|
9913
9952
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
9914
|
-
interface Props$
|
|
9953
|
+
interface Props$C {
|
|
9915
9954
|
zone: Zone;
|
|
9916
9955
|
orientation: Orientation$1;
|
|
9917
9956
|
isMoving: boolean;
|
|
9918
9957
|
onMoveHighlight: (ev: PointerEvent) => void;
|
|
9919
9958
|
}
|
|
9920
|
-
declare class Border extends Component<Props$
|
|
9959
|
+
declare class Border extends Component<Props$C, SpreadsheetChildEnv> {
|
|
9921
9960
|
static template: string;
|
|
9922
9961
|
static props: {
|
|
9923
9962
|
zone: ObjectConstructor;
|
|
@@ -9930,14 +9969,14 @@ declare class Border extends Component<Props$A, SpreadsheetChildEnv> {
|
|
|
9930
9969
|
}
|
|
9931
9970
|
|
|
9932
9971
|
type Orientation = "nw" | "ne" | "sw" | "se";
|
|
9933
|
-
interface Props$
|
|
9972
|
+
interface Props$B {
|
|
9934
9973
|
zone: Zone;
|
|
9935
9974
|
color: Color;
|
|
9936
9975
|
orientation: Orientation;
|
|
9937
9976
|
isResizing: boolean;
|
|
9938
9977
|
onResizeHighlight: (ev: PointerEvent, isLeft: boolean, isTop: boolean) => void;
|
|
9939
9978
|
}
|
|
9940
|
-
declare class Corner extends Component<Props$
|
|
9979
|
+
declare class Corner extends Component<Props$B, SpreadsheetChildEnv> {
|
|
9941
9980
|
static template: string;
|
|
9942
9981
|
static props: {
|
|
9943
9982
|
zone: ObjectConstructor;
|
|
@@ -9952,14 +9991,14 @@ declare class Corner extends Component<Props$z, SpreadsheetChildEnv> {
|
|
|
9952
9991
|
onMouseDown(ev: PointerEvent): void;
|
|
9953
9992
|
}
|
|
9954
9993
|
|
|
9955
|
-
interface Props$
|
|
9994
|
+
interface Props$A {
|
|
9956
9995
|
zone: Zone;
|
|
9957
9996
|
color: Color;
|
|
9958
9997
|
}
|
|
9959
9998
|
interface HighlightState {
|
|
9960
9999
|
shiftingMode: "isMoving" | "isResizing" | "none";
|
|
9961
10000
|
}
|
|
9962
|
-
declare class Highlight extends Component<Props$
|
|
10001
|
+
declare class Highlight extends Component<Props$A, SpreadsheetChildEnv> {
|
|
9963
10002
|
static template: string;
|
|
9964
10003
|
static props: {
|
|
9965
10004
|
zone: ObjectConstructor;
|
|
@@ -9982,7 +10021,7 @@ declare class Highlight extends Component<Props$y, SpreadsheetChildEnv> {
|
|
|
9982
10021
|
|
|
9983
10022
|
type ScrollDirection = "horizontal" | "vertical";
|
|
9984
10023
|
|
|
9985
|
-
interface Props$
|
|
10024
|
+
interface Props$z {
|
|
9986
10025
|
width: Pixel;
|
|
9987
10026
|
height: Pixel;
|
|
9988
10027
|
direction: ScrollDirection;
|
|
@@ -9990,7 +10029,7 @@ interface Props$x {
|
|
|
9990
10029
|
offset: Pixel;
|
|
9991
10030
|
onScroll: (offset: Pixel) => void;
|
|
9992
10031
|
}
|
|
9993
|
-
declare class ScrollBar extends Component<Props$
|
|
10032
|
+
declare class ScrollBar extends Component<Props$z> {
|
|
9994
10033
|
static props: {
|
|
9995
10034
|
width: {
|
|
9996
10035
|
type: NumberConstructor;
|
|
@@ -10018,10 +10057,10 @@ declare class ScrollBar extends Component<Props$x> {
|
|
|
10018
10057
|
onScroll(ev: any): void;
|
|
10019
10058
|
}
|
|
10020
10059
|
|
|
10021
|
-
interface Props$
|
|
10060
|
+
interface Props$y {
|
|
10022
10061
|
leftOffset: number;
|
|
10023
10062
|
}
|
|
10024
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
10063
|
+
declare class HorizontalScrollBar extends Component<Props$y, SpreadsheetChildEnv> {
|
|
10025
10064
|
static props: {
|
|
10026
10065
|
leftOffset: {
|
|
10027
10066
|
type: NumberConstructor;
|
|
@@ -10047,10 +10086,10 @@ declare class HorizontalScrollBar extends Component<Props$w, SpreadsheetChildEnv
|
|
|
10047
10086
|
onScroll(offset: any): void;
|
|
10048
10087
|
}
|
|
10049
10088
|
|
|
10050
|
-
interface Props$
|
|
10089
|
+
interface Props$x {
|
|
10051
10090
|
topOffset: number;
|
|
10052
10091
|
}
|
|
10053
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
10092
|
+
declare class VerticalScrollBar extends Component<Props$x, SpreadsheetChildEnv> {
|
|
10054
10093
|
static props: {
|
|
10055
10094
|
topOffset: {
|
|
10056
10095
|
type: NumberConstructor;
|
|
@@ -10076,13 +10115,13 @@ declare class VerticalScrollBar extends Component<Props$v, SpreadsheetChildEnv>
|
|
|
10076
10115
|
onScroll(offset: any): void;
|
|
10077
10116
|
}
|
|
10078
10117
|
|
|
10079
|
-
interface Props$
|
|
10118
|
+
interface Props$w {
|
|
10080
10119
|
table: Table;
|
|
10081
10120
|
}
|
|
10082
10121
|
interface State$2 {
|
|
10083
10122
|
highlightZone: Zone | undefined;
|
|
10084
10123
|
}
|
|
10085
|
-
declare class TableResizer extends Component<Props$
|
|
10124
|
+
declare class TableResizer extends Component<Props$w, SpreadsheetChildEnv> {
|
|
10086
10125
|
static template: string;
|
|
10087
10126
|
static props: {
|
|
10088
10127
|
table: ObjectConstructor;
|
|
@@ -10111,10 +10150,10 @@ declare class TableResizer extends Component<Props$u, SpreadsheetChildEnv> {
|
|
|
10111
10150
|
* - a vertical resizer (same, for rows)
|
|
10112
10151
|
*/
|
|
10113
10152
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
10114
|
-
interface Props$
|
|
10153
|
+
interface Props$v {
|
|
10115
10154
|
exposeFocus: (focus: () => void) => void;
|
|
10116
10155
|
}
|
|
10117
|
-
declare class Grid extends Component<Props$
|
|
10156
|
+
declare class Grid extends Component<Props$v, SpreadsheetChildEnv> {
|
|
10118
10157
|
static template: string;
|
|
10119
10158
|
static props: {
|
|
10120
10159
|
exposeFocus: FunctionConstructor;
|
|
@@ -10142,6 +10181,7 @@ declare class Grid extends Component<Props$t, SpreadsheetChildEnv> {
|
|
|
10142
10181
|
private composerFocusStore;
|
|
10143
10182
|
private DOMFocusableElementStore;
|
|
10144
10183
|
private paintFormatStore;
|
|
10184
|
+
private clientFocusStore;
|
|
10145
10185
|
dragNDropGrid: {
|
|
10146
10186
|
start: (initialPointerCoordinates: {
|
|
10147
10187
|
clientX: number;
|
|
@@ -10168,6 +10208,7 @@ declare class Grid extends Component<Props$t, SpreadsheetChildEnv> {
|
|
|
10168
10208
|
private processSpaceKey;
|
|
10169
10209
|
getClientPositionKey(client: Client): string;
|
|
10170
10210
|
isCellHovered(col: HeaderIndex, row: HeaderIndex): boolean;
|
|
10211
|
+
get focusedClients(): Set<string>;
|
|
10171
10212
|
private getGridRect;
|
|
10172
10213
|
onCellClicked(col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: PointerEvent): void;
|
|
10173
10214
|
onCellDoubleClicked(col: HeaderIndex, row: HeaderIndex): void;
|
|
@@ -10225,7 +10266,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
10225
10266
|
private getChartDefinitionFromContextCreation;
|
|
10226
10267
|
}
|
|
10227
10268
|
|
|
10228
|
-
interface Props$
|
|
10269
|
+
interface Props$u {
|
|
10229
10270
|
figureId: UID;
|
|
10230
10271
|
chartPanelStore: MainChartPanelStore;
|
|
10231
10272
|
}
|
|
@@ -10233,7 +10274,7 @@ interface ChartTypePickerState {
|
|
|
10233
10274
|
popoverProps: PopoverProps | undefined;
|
|
10234
10275
|
popoverStyle: string;
|
|
10235
10276
|
}
|
|
10236
|
-
declare class ChartTypePicker extends Component<Props$
|
|
10277
|
+
declare class ChartTypePicker extends Component<Props$u, SpreadsheetChildEnv> {
|
|
10237
10278
|
static template: string;
|
|
10238
10279
|
static components: {
|
|
10239
10280
|
Section: typeof Section;
|
|
@@ -10269,11 +10310,11 @@ declare class ChartTypePicker extends Component<Props$s, SpreadsheetChildEnv> {
|
|
|
10269
10310
|
private closePopover;
|
|
10270
10311
|
}
|
|
10271
10312
|
|
|
10272
|
-
interface Props$
|
|
10313
|
+
interface Props$t {
|
|
10273
10314
|
onCloseSidePanel: () => void;
|
|
10274
10315
|
figureId: UID;
|
|
10275
10316
|
}
|
|
10276
|
-
declare class ChartPanel extends Component<Props$
|
|
10317
|
+
declare class ChartPanel extends Component<Props$t, SpreadsheetChildEnv> {
|
|
10277
10318
|
static template: string;
|
|
10278
10319
|
static components: {
|
|
10279
10320
|
Section: typeof Section;
|
|
@@ -10293,11 +10334,11 @@ declare class ChartPanel extends Component<Props$r, SpreadsheetChildEnv> {
|
|
|
10293
10334
|
private getChartDefinition;
|
|
10294
10335
|
}
|
|
10295
10336
|
|
|
10296
|
-
interface Props$
|
|
10337
|
+
interface Props$s {
|
|
10297
10338
|
onValueChange: (value: number) => void;
|
|
10298
10339
|
value: number;
|
|
10299
10340
|
}
|
|
10300
|
-
declare class PieHoleSize extends Component<Props$
|
|
10341
|
+
declare class PieHoleSize extends Component<Props$s, SpreadsheetChildEnv> {
|
|
10301
10342
|
static template: string;
|
|
10302
10343
|
static components: {
|
|
10303
10344
|
Section: typeof Section;
|
|
@@ -10310,19 +10351,19 @@ declare class PieHoleSize extends Component<Props$q, SpreadsheetChildEnv> {
|
|
|
10310
10351
|
onChange(value: string): void;
|
|
10311
10352
|
}
|
|
10312
10353
|
|
|
10313
|
-
interface Props$
|
|
10354
|
+
interface Props$r {
|
|
10314
10355
|
figureId: UID;
|
|
10315
10356
|
definition: PieChartDefinition;
|
|
10316
10357
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10317
10358
|
updateChart: (figureId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10318
10359
|
}
|
|
10319
|
-
declare class PieChartDesignPanel extends Component<Props$
|
|
10360
|
+
declare class PieChartDesignPanel extends Component<Props$r, SpreadsheetChildEnv> {
|
|
10320
10361
|
static template: string;
|
|
10321
10362
|
static components: {
|
|
10322
10363
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
10323
10364
|
Section: typeof Section;
|
|
10324
|
-
Checkbox: typeof Checkbox;
|
|
10325
10365
|
ChartLegend: typeof ChartLegend;
|
|
10366
|
+
ChartShowValues: typeof ChartShowValues;
|
|
10326
10367
|
PieHoleSize: typeof PieHoleSize;
|
|
10327
10368
|
};
|
|
10328
10369
|
static props: {
|
|
@@ -10337,10 +10378,10 @@ declare class PieChartDesignPanel extends Component<Props$p, SpreadsheetChildEnv
|
|
|
10337
10378
|
onPieHoleSizeChange(pieHolePercentage: number): void;
|
|
10338
10379
|
}
|
|
10339
10380
|
|
|
10340
|
-
interface Props$
|
|
10381
|
+
interface Props$q {
|
|
10341
10382
|
items: ActionSpec[];
|
|
10342
10383
|
}
|
|
10343
|
-
declare class CogWheelMenu extends Component<Props$
|
|
10384
|
+
declare class CogWheelMenu extends Component<Props$q, SpreadsheetChildEnv> {
|
|
10344
10385
|
static template: string;
|
|
10345
10386
|
static components: {
|
|
10346
10387
|
Menu: typeof Menu;
|
|
@@ -10423,14 +10464,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
10423
10464
|
get highlights(): Highlight$1[];
|
|
10424
10465
|
}
|
|
10425
10466
|
|
|
10426
|
-
interface Props$
|
|
10467
|
+
interface Props$p {
|
|
10427
10468
|
deferUpdate: boolean;
|
|
10428
10469
|
isDirty: boolean;
|
|
10429
10470
|
toggleDeferUpdate: (value: boolean) => void;
|
|
10430
10471
|
discard: () => void;
|
|
10431
10472
|
apply: () => void;
|
|
10432
10473
|
}
|
|
10433
|
-
declare class PivotDeferUpdate extends Component<Props$
|
|
10474
|
+
declare class PivotDeferUpdate extends Component<Props$p, SpreadsheetChildEnv> {
|
|
10434
10475
|
static template: string;
|
|
10435
10476
|
static props: {
|
|
10436
10477
|
deferUpdate: BooleanConstructor;
|
|
@@ -10447,11 +10488,11 @@ declare class PivotDeferUpdate extends Component<Props$n, SpreadsheetChildEnv> {
|
|
|
10447
10488
|
get deferUpdatesTooltip(): string;
|
|
10448
10489
|
}
|
|
10449
10490
|
|
|
10450
|
-
interface Props$
|
|
10491
|
+
interface Props$o {
|
|
10451
10492
|
onFieldPicked: (field: string) => void;
|
|
10452
10493
|
fields: PivotField[];
|
|
10453
10494
|
}
|
|
10454
|
-
declare class AddDimensionButton extends Component<Props$
|
|
10495
|
+
declare class AddDimensionButton extends Component<Props$o, SpreadsheetChildEnv> {
|
|
10455
10496
|
static template: string;
|
|
10456
10497
|
static components: {
|
|
10457
10498
|
Popover: typeof Popover;
|
|
@@ -10487,7 +10528,7 @@ declare class AddDimensionButton extends Component<Props$m, SpreadsheetChildEnv>
|
|
|
10487
10528
|
onKeyDown(ev: KeyboardEvent): void;
|
|
10488
10529
|
}
|
|
10489
10530
|
|
|
10490
|
-
interface Props$
|
|
10531
|
+
interface Props$n {
|
|
10491
10532
|
value: string;
|
|
10492
10533
|
onChange: (value: string) => void;
|
|
10493
10534
|
class?: string;
|
|
@@ -10495,7 +10536,7 @@ interface Props$l {
|
|
|
10495
10536
|
placeholder?: string;
|
|
10496
10537
|
autofocus?: boolean;
|
|
10497
10538
|
}
|
|
10498
|
-
declare class TextInput extends Component<Props$
|
|
10539
|
+
declare class TextInput extends Component<Props$n, SpreadsheetChildEnv> {
|
|
10499
10540
|
static template: string;
|
|
10500
10541
|
static props: {
|
|
10501
10542
|
value: StringConstructor;
|
|
@@ -10525,13 +10566,13 @@ declare class TextInput extends Component<Props$l, SpreadsheetChildEnv> {
|
|
|
10525
10566
|
onMouseUp(ev: MouseEvent): void;
|
|
10526
10567
|
}
|
|
10527
10568
|
|
|
10528
|
-
interface Props$
|
|
10569
|
+
interface Props$m {
|
|
10529
10570
|
dimension: PivotCoreDimension | PivotCoreMeasure;
|
|
10530
10571
|
onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
|
|
10531
10572
|
onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
|
|
10532
10573
|
type: "row" | "col" | "measure";
|
|
10533
10574
|
}
|
|
10534
|
-
declare class PivotDimension extends Component<Props$
|
|
10575
|
+
declare class PivotDimension extends Component<Props$m, SpreadsheetChildEnv> {
|
|
10535
10576
|
static template: string;
|
|
10536
10577
|
static props: {
|
|
10537
10578
|
dimension: ObjectConstructor;
|
|
@@ -10555,13 +10596,13 @@ declare class PivotDimension extends Component<Props$k, SpreadsheetChildEnv> {
|
|
|
10555
10596
|
updateName(name: string): void;
|
|
10556
10597
|
}
|
|
10557
10598
|
|
|
10558
|
-
interface Props$
|
|
10599
|
+
interface Props$l {
|
|
10559
10600
|
dimension: PivotDimension$1;
|
|
10560
10601
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
10561
10602
|
availableGranularities: Set<string>;
|
|
10562
10603
|
allGranularities: string[];
|
|
10563
10604
|
}
|
|
10564
|
-
declare class PivotDimensionGranularity extends Component<Props$
|
|
10605
|
+
declare class PivotDimensionGranularity extends Component<Props$l, SpreadsheetChildEnv> {
|
|
10565
10606
|
static template: string;
|
|
10566
10607
|
static props: {
|
|
10567
10608
|
dimension: ObjectConstructor;
|
|
@@ -10586,11 +10627,11 @@ declare class PivotDimensionGranularity extends Component<Props$j, SpreadsheetCh
|
|
|
10586
10627
|
};
|
|
10587
10628
|
}
|
|
10588
10629
|
|
|
10589
|
-
interface Props$
|
|
10630
|
+
interface Props$k {
|
|
10590
10631
|
dimension: PivotDimension$1;
|
|
10591
10632
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
10592
10633
|
}
|
|
10593
|
-
declare class PivotDimensionOrder extends Component<Props$
|
|
10634
|
+
declare class PivotDimensionOrder extends Component<Props$k, SpreadsheetChildEnv> {
|
|
10594
10635
|
static template: string;
|
|
10595
10636
|
static props: {
|
|
10596
10637
|
dimension: ObjectConstructor;
|
|
@@ -10626,7 +10667,7 @@ declare function createPivotFormula(formulaId: string, cell: PivotTableCell): st
|
|
|
10626
10667
|
declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type" | "displayName" | "granularity">, groupValue: any): CellValue;
|
|
10627
10668
|
declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
|
|
10628
10669
|
|
|
10629
|
-
interface Props$
|
|
10670
|
+
interface Props$j {
|
|
10630
10671
|
pivotId: string;
|
|
10631
10672
|
definition: PivotRuntimeDefinition;
|
|
10632
10673
|
measure: PivotMeasure;
|
|
@@ -10634,7 +10675,7 @@ interface Props$h {
|
|
|
10634
10675
|
onRemoved: () => void;
|
|
10635
10676
|
generateMeasureId: (fieldName: string, aggregator?: string) => string;
|
|
10636
10677
|
}
|
|
10637
|
-
declare class PivotMeasureEditor extends Component<Props$
|
|
10678
|
+
declare class PivotMeasureEditor extends Component<Props$j> {
|
|
10638
10679
|
static template: string;
|
|
10639
10680
|
static components: {
|
|
10640
10681
|
PivotDimension: typeof PivotDimension;
|
|
@@ -10656,13 +10697,14 @@ declare class PivotMeasureEditor extends Component<Props$h> {
|
|
|
10656
10697
|
toggleMeasureVisibility(): void;
|
|
10657
10698
|
openShowValuesAs(): void;
|
|
10658
10699
|
getColoredSymbolToken(token: Token): Color | undefined;
|
|
10700
|
+
get isCalculatedMeasureInvalid(): boolean;
|
|
10659
10701
|
}
|
|
10660
10702
|
|
|
10661
|
-
interface Props$
|
|
10703
|
+
interface Props$i {
|
|
10662
10704
|
definition: PivotRuntimeDefinition;
|
|
10663
10705
|
pivotId: UID;
|
|
10664
10706
|
}
|
|
10665
|
-
declare class PivotSortSection extends Component<Props$
|
|
10707
|
+
declare class PivotSortSection extends Component<Props$i, SpreadsheetChildEnv> {
|
|
10666
10708
|
static template: string;
|
|
10667
10709
|
static components: {
|
|
10668
10710
|
Section: typeof Section;
|
|
@@ -10679,7 +10721,7 @@ declare class PivotSortSection extends Component<Props$g, SpreadsheetChildEnv> {
|
|
|
10679
10721
|
}[];
|
|
10680
10722
|
}
|
|
10681
10723
|
|
|
10682
|
-
interface Props$
|
|
10724
|
+
interface Props$h {
|
|
10683
10725
|
definition: PivotRuntimeDefinition;
|
|
10684
10726
|
onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
10685
10727
|
unusedGroupableFields: PivotField[];
|
|
@@ -10690,7 +10732,7 @@ interface Props$f {
|
|
|
10690
10732
|
getScrollableContainerEl?: () => HTMLElement;
|
|
10691
10733
|
pivotId: UID;
|
|
10692
10734
|
}
|
|
10693
|
-
declare class PivotLayoutConfigurator extends Component<Props$
|
|
10735
|
+
declare class PivotLayoutConfigurator extends Component<Props$h, SpreadsheetChildEnv> {
|
|
10694
10736
|
static template: string;
|
|
10695
10737
|
static components: {
|
|
10696
10738
|
AddDimensionButton: typeof AddDimensionButton;
|
|
@@ -10778,13 +10820,14 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
10778
10820
|
* the measure is not in the new definition or the columns have changed.
|
|
10779
10821
|
*/
|
|
10780
10822
|
private shouldKeepSortedColumn;
|
|
10823
|
+
private areDomainFieldsValid;
|
|
10781
10824
|
}
|
|
10782
10825
|
|
|
10783
|
-
interface Props$
|
|
10826
|
+
interface Props$g {
|
|
10784
10827
|
pivotId: UID;
|
|
10785
10828
|
flipAxis: () => void;
|
|
10786
10829
|
}
|
|
10787
|
-
declare class PivotTitleSection extends Component<Props$
|
|
10830
|
+
declare class PivotTitleSection extends Component<Props$g, SpreadsheetChildEnv> {
|
|
10788
10831
|
static template: string;
|
|
10789
10832
|
static components: {
|
|
10790
10833
|
CogWheelMenu: typeof CogWheelMenu;
|
|
@@ -10881,6 +10924,23 @@ declare function getFirstPivotFunction(tokens: Token[]): {
|
|
|
10881
10924
|
*/
|
|
10882
10925
|
declare function getNumberOfPivotFunctions(tokens: Token[]): number;
|
|
10883
10926
|
|
|
10927
|
+
declare class FullScreenChart extends Component<{}, SpreadsheetChildEnv> {
|
|
10928
|
+
static template: string;
|
|
10929
|
+
static props: {};
|
|
10930
|
+
static components: {
|
|
10931
|
+
ChartDashboardMenu: typeof ChartDashboardMenu;
|
|
10932
|
+
};
|
|
10933
|
+
private fullScreenChartStore;
|
|
10934
|
+
private ref;
|
|
10935
|
+
spreadsheetRect: Rect;
|
|
10936
|
+
figureRegistry: Registry<FigureContent>;
|
|
10937
|
+
setup(): void;
|
|
10938
|
+
get figureUI(): FigureUI | undefined;
|
|
10939
|
+
exitFullScreen(): void;
|
|
10940
|
+
onKeyDown(ev: KeyboardEvent): void;
|
|
10941
|
+
get chartComponent(): (new (...args: any) => Component) | undefined;
|
|
10942
|
+
}
|
|
10943
|
+
|
|
10884
10944
|
interface PivotDialogColumn {
|
|
10885
10945
|
formula: string;
|
|
10886
10946
|
value: string;
|
|
@@ -10899,7 +10959,7 @@ interface PivotDialogValue {
|
|
|
10899
10959
|
value: string;
|
|
10900
10960
|
isMissing: boolean;
|
|
10901
10961
|
}
|
|
10902
|
-
interface Props$
|
|
10962
|
+
interface Props$f {
|
|
10903
10963
|
pivotId: UID;
|
|
10904
10964
|
onCellClicked: (formula: string) => void;
|
|
10905
10965
|
}
|
|
@@ -10908,7 +10968,7 @@ interface TableData {
|
|
|
10908
10968
|
rows: PivotDialogRow[];
|
|
10909
10969
|
values: PivotDialogValue[][];
|
|
10910
10970
|
}
|
|
10911
|
-
declare class PivotHTMLRenderer extends Component<Props$
|
|
10971
|
+
declare class PivotHTMLRenderer extends Component<Props$f, SpreadsheetChildEnv> {
|
|
10912
10972
|
static template: string;
|
|
10913
10973
|
static components: {
|
|
10914
10974
|
Checkbox: typeof Checkbox;
|
|
@@ -10965,23 +11025,43 @@ declare class PivotHTMLRenderer extends Component<Props$d, SpreadsheetChildEnv>
|
|
|
10965
11025
|
_buildValues(id: UID, table: SpreadsheetPivotTable): PivotDialogValue[][];
|
|
10966
11026
|
}
|
|
10967
11027
|
|
|
10968
|
-
interface Props$
|
|
11028
|
+
interface Props$e {
|
|
11029
|
+
figureId: UID;
|
|
11030
|
+
definition: ChartWithDataSetDefinition;
|
|
11031
|
+
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
11032
|
+
canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
11033
|
+
}
|
|
11034
|
+
declare class ChartShowDataMarkers extends Component<Props$e, SpreadsheetChildEnv> {
|
|
11035
|
+
static template: string;
|
|
11036
|
+
static components: {
|
|
11037
|
+
Checkbox: typeof Checkbox;
|
|
11038
|
+
};
|
|
11039
|
+
static props: {
|
|
11040
|
+
figureId: StringConstructor;
|
|
11041
|
+
definition: ObjectConstructor;
|
|
11042
|
+
updateChart: FunctionConstructor;
|
|
11043
|
+
canUpdateChart: FunctionConstructor;
|
|
11044
|
+
};
|
|
11045
|
+
}
|
|
11046
|
+
|
|
11047
|
+
interface Props$d {
|
|
10969
11048
|
figureId: UID;
|
|
10970
11049
|
definition: ComboChartDefinition;
|
|
10971
11050
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
10972
11051
|
updateChart: (figureId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
10973
11052
|
}
|
|
10974
|
-
declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$
|
|
11053
|
+
declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$d> {
|
|
10975
11054
|
static template: string;
|
|
10976
11055
|
static components: {
|
|
11056
|
+
ChartShowDataMarkers: typeof ChartShowDataMarkers;
|
|
10977
11057
|
RadioSelection: typeof RadioSelection;
|
|
10978
11058
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
10979
11059
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
10980
11060
|
Section: typeof Section;
|
|
10981
11061
|
AxisDesignEditor: typeof AxisDesignEditor;
|
|
10982
|
-
Checkbox: typeof Checkbox;
|
|
10983
11062
|
SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
|
|
10984
11063
|
ChartLegend: typeof ChartLegend;
|
|
11064
|
+
ChartShowValues: typeof ChartShowValues;
|
|
10985
11065
|
};
|
|
10986
11066
|
seriesTypeChoices: {
|
|
10987
11067
|
value: string;
|
|
@@ -10991,20 +11071,20 @@ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$c> {
|
|
|
10991
11071
|
getDataSeriesType(index: number): "line" | "bar";
|
|
10992
11072
|
}
|
|
10993
11073
|
|
|
10994
|
-
interface Props$
|
|
11074
|
+
interface Props$c {
|
|
10995
11075
|
figureId: UID;
|
|
10996
11076
|
definition: FunnelChartDefinition;
|
|
10997
11077
|
canUpdateChart: (figureID: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
|
|
10998
11078
|
updateChart: (figureId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
|
|
10999
11079
|
}
|
|
11000
|
-
declare class FunnelChartDesignPanel extends Component<Props$
|
|
11080
|
+
declare class FunnelChartDesignPanel extends Component<Props$c, SpreadsheetChildEnv> {
|
|
11001
11081
|
static template: string;
|
|
11002
11082
|
static components: {
|
|
11083
|
+
ChartShowValues: typeof ChartShowValues;
|
|
11003
11084
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
11004
11085
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11005
11086
|
RoundColorPicker: typeof RoundColorPicker;
|
|
11006
11087
|
Section: typeof Section;
|
|
11007
|
-
Checkbox: typeof Checkbox;
|
|
11008
11088
|
};
|
|
11009
11089
|
static props: {
|
|
11010
11090
|
figureId: StringConstructor;
|
|
@@ -11019,13 +11099,13 @@ declare class FunnelChartDesignPanel extends Component<Props$b, SpreadsheetChild
|
|
|
11019
11099
|
updateFunnelItemColor(index: number, color: string): void;
|
|
11020
11100
|
}
|
|
11021
11101
|
|
|
11022
|
-
interface Props$
|
|
11102
|
+
interface Props$b {
|
|
11023
11103
|
figureId: UID;
|
|
11024
11104
|
definition: GeoChartDefinition;
|
|
11025
11105
|
canUpdateChart: (figureID: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
|
|
11026
11106
|
updateChart: (figureId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
|
|
11027
11107
|
}
|
|
11028
|
-
declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$
|
|
11108
|
+
declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$b> {
|
|
11029
11109
|
static template: string;
|
|
11030
11110
|
static components: {
|
|
11031
11111
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -11033,9 +11113,9 @@ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$a> {
|
|
|
11033
11113
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11034
11114
|
Section: typeof Section;
|
|
11035
11115
|
AxisDesignEditor: typeof AxisDesignEditor;
|
|
11036
|
-
Checkbox: typeof Checkbox;
|
|
11037
11116
|
SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
|
|
11038
11117
|
ChartLegend: typeof ChartLegend;
|
|
11118
|
+
ChartShowValues: typeof ChartShowValues;
|
|
11039
11119
|
};
|
|
11040
11120
|
colorScalesChoices: Record<"blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis", string>;
|
|
11041
11121
|
updateColorScaleType(ev: Event): void;
|
|
@@ -11049,12 +11129,12 @@ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$a> {
|
|
|
11049
11129
|
setCustomColorScaleColor(colorType: "minColor" | "midColor" | "maxColor", color: Color): void;
|
|
11050
11130
|
}
|
|
11051
11131
|
|
|
11052
|
-
interface Props$
|
|
11132
|
+
interface Props$a {
|
|
11053
11133
|
figureId: UID;
|
|
11054
11134
|
definition: GeoChartDefinition;
|
|
11055
11135
|
updateChart: (figureId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
|
|
11056
11136
|
}
|
|
11057
|
-
declare class GeoChartRegionSelectSection extends Component<Props$
|
|
11137
|
+
declare class GeoChartRegionSelectSection extends Component<Props$a, SpreadsheetChildEnv> {
|
|
11058
11138
|
static template: string;
|
|
11059
11139
|
static components: {
|
|
11060
11140
|
Section: typeof Section;
|
|
@@ -11069,6 +11149,26 @@ declare class GeoChartRegionSelectSection extends Component<Props$9, Spreadsheet
|
|
|
11069
11149
|
get selectedRegion(): string;
|
|
11070
11150
|
}
|
|
11071
11151
|
|
|
11152
|
+
interface Props$9 {
|
|
11153
|
+
figureId: UID;
|
|
11154
|
+
definition: ComboChartDefinition;
|
|
11155
|
+
canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
11156
|
+
updateChart: (figureId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
11157
|
+
}
|
|
11158
|
+
declare class LineChartDesignPanel extends ChartWithAxisDesignPanel<Props$9> {
|
|
11159
|
+
static template: string;
|
|
11160
|
+
static components: {
|
|
11161
|
+
ChartShowDataMarkers: typeof ChartShowDataMarkers;
|
|
11162
|
+
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
11163
|
+
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11164
|
+
Section: typeof Section;
|
|
11165
|
+
AxisDesignEditor: typeof AxisDesignEditor;
|
|
11166
|
+
SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
|
|
11167
|
+
ChartLegend: typeof ChartLegend;
|
|
11168
|
+
ChartShowValues: typeof ChartShowValues;
|
|
11169
|
+
};
|
|
11170
|
+
}
|
|
11171
|
+
|
|
11072
11172
|
interface Props$8 {
|
|
11073
11173
|
figureId: UID;
|
|
11074
11174
|
definition: RadarChartDefinition;
|
|
@@ -11081,8 +11181,9 @@ declare class RadarChartDesignPanel extends Component<Props$8, SpreadsheetChildE
|
|
|
11081
11181
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
11082
11182
|
SeriesDesignEditor: typeof SeriesDesignEditor;
|
|
11083
11183
|
Section: typeof Section;
|
|
11084
|
-
Checkbox: typeof Checkbox;
|
|
11085
11184
|
ChartLegend: typeof ChartLegend;
|
|
11185
|
+
ChartShowValues: typeof ChartShowValues;
|
|
11186
|
+
ChartShowDataMarkers: typeof ChartShowDataMarkers;
|
|
11086
11187
|
};
|
|
11087
11188
|
static props: {
|
|
11088
11189
|
figureId: StringConstructor;
|
|
@@ -11102,6 +11203,7 @@ declare class WaterfallChartDesignPanel extends Component<Props$7, SpreadsheetCh
|
|
|
11102
11203
|
static template: string;
|
|
11103
11204
|
static components: {
|
|
11104
11205
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
11206
|
+
ChartShowValues: typeof ChartShowValues;
|
|
11105
11207
|
Checkbox: typeof Checkbox;
|
|
11106
11208
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11107
11209
|
Section: typeof Section;
|
|
@@ -11204,7 +11306,7 @@ declare class BarChart extends AbstractChart {
|
|
|
11204
11306
|
readonly horizontal?: boolean;
|
|
11205
11307
|
readonly showValues?: boolean;
|
|
11206
11308
|
constructor(definition: BarChartDefinition, sheetId: UID, getters: CoreGetters);
|
|
11207
|
-
static transformDefinition(definition: BarChartDefinition,
|
|
11309
|
+
static transformDefinition(chartSheetId: UID, definition: BarChartDefinition, applyChange: RangeAdapter$1): BarChartDefinition;
|
|
11208
11310
|
static validateChartDefinition(validator: Validator, definition: BarChartDefinition): CommandResult | CommandResult[];
|
|
11209
11311
|
static getDefinitionFromContextCreation(context: ChartCreationContext): BarChartDefinition;
|
|
11210
11312
|
getContextCreation(): ChartCreationContext;
|
|
@@ -11223,7 +11325,7 @@ declare class GaugeChart extends AbstractChart {
|
|
|
11223
11325
|
readonly type = "gauge";
|
|
11224
11326
|
constructor(definition: GaugeChartDefinition, sheetId: UID, getters: CoreGetters);
|
|
11225
11327
|
static validateChartDefinition(validator: Validator, definition: GaugeChartDefinition): CommandResult | CommandResult[];
|
|
11226
|
-
static transformDefinition(definition: GaugeChartDefinition,
|
|
11328
|
+
static transformDefinition(chartSheetId: UID, definition: GaugeChartDefinition, applyChange: RangeAdapter$1): GaugeChartDefinition;
|
|
11227
11329
|
static getDefinitionFromContextCreation(context: ChartCreationContext): GaugeChartDefinition;
|
|
11228
11330
|
duplicateInDuplicatedSheet(newSheetId: UID): GaugeChart;
|
|
11229
11331
|
copyInSheetId(sheetId: UID): GaugeChart;
|
|
@@ -11249,9 +11351,10 @@ declare class LineChart extends AbstractChart {
|
|
|
11249
11351
|
readonly axesDesign?: AxesDesign;
|
|
11250
11352
|
readonly fillArea?: boolean;
|
|
11251
11353
|
readonly showValues?: boolean;
|
|
11354
|
+
readonly hideDataMarkers?: boolean;
|
|
11252
11355
|
constructor(definition: LineChartDefinition, sheetId: UID, getters: CoreGetters);
|
|
11253
11356
|
static validateChartDefinition(validator: Validator, definition: LineChartDefinition): CommandResult | CommandResult[];
|
|
11254
|
-
static transformDefinition(definition: LineChartDefinition,
|
|
11357
|
+
static transformDefinition(chartSheetId: UID, definition: LineChartDefinition, applyChange: RangeAdapter$1): LineChartDefinition;
|
|
11255
11358
|
static getDefinitionFromContextCreation(context: ChartCreationContext): LineChartDefinition;
|
|
11256
11359
|
getDefinition(): LineChartDefinition;
|
|
11257
11360
|
private getDefinitionWithSpecificDataSets;
|
|
@@ -11274,7 +11377,7 @@ declare class PieChart extends AbstractChart {
|
|
|
11274
11377
|
readonly showValues?: boolean;
|
|
11275
11378
|
readonly pieHolePercentage?: number;
|
|
11276
11379
|
constructor(definition: PieChartDefinition, sheetId: UID, getters: CoreGetters);
|
|
11277
|
-
static transformDefinition(definition: PieChartDefinition,
|
|
11380
|
+
static transformDefinition(chartSheetId: UID, definition: PieChartDefinition, applyChange: RangeAdapter$1): PieChartDefinition;
|
|
11278
11381
|
static validateChartDefinition(validator: Validator, definition: PieChartDefinition): CommandResult | CommandResult[];
|
|
11279
11382
|
static getDefinitionFromContextCreation(context: ChartCreationContext): PieChartDefinition;
|
|
11280
11383
|
getDefinition(): PieChartDefinition;
|
|
@@ -11288,9 +11391,10 @@ declare class PieChart extends AbstractChart {
|
|
|
11288
11391
|
|
|
11289
11392
|
declare class ScorecardChart extends AbstractChart {
|
|
11290
11393
|
readonly keyValue?: Range;
|
|
11394
|
+
readonly keyDescr?: TitleDesign;
|
|
11291
11395
|
readonly baseline?: Range;
|
|
11292
11396
|
readonly baselineMode: BaselineMode;
|
|
11293
|
-
readonly baselineDescr?:
|
|
11397
|
+
readonly baselineDescr?: TitleDesign;
|
|
11294
11398
|
readonly progressBar: boolean;
|
|
11295
11399
|
readonly background?: Color;
|
|
11296
11400
|
readonly baselineColorUp: Color;
|
|
@@ -11301,7 +11405,7 @@ declare class ScorecardChart extends AbstractChart {
|
|
|
11301
11405
|
constructor(definition: ScorecardChartDefinition, sheetId: UID, getters: CoreGetters);
|
|
11302
11406
|
static validateChartDefinition(validator: Validator, definition: ScorecardChartDefinition): CommandResult | CommandResult[];
|
|
11303
11407
|
static getDefinitionFromContextCreation(context: ChartCreationContext): ScorecardChartDefinition;
|
|
11304
|
-
static transformDefinition(definition: ScorecardChartDefinition,
|
|
11408
|
+
static transformDefinition(chartSheetId: UID, definition: ScorecardChartDefinition, applyChange: RangeAdapter$1): ScorecardChartDefinition;
|
|
11305
11409
|
duplicateInDuplicatedSheet(newSheetId: UID): ScorecardChart;
|
|
11306
11410
|
copyInSheetId(sheetId: UID): ScorecardChart;
|
|
11307
11411
|
getDefinition(): ScorecardChartDefinition;
|
|
@@ -11330,7 +11434,7 @@ declare class WaterfallChart extends AbstractChart {
|
|
|
11330
11434
|
readonly axesDesign?: AxesDesign;
|
|
11331
11435
|
readonly showValues?: boolean;
|
|
11332
11436
|
constructor(definition: WaterfallChartDefinition, sheetId: UID, getters: CoreGetters);
|
|
11333
|
-
static transformDefinition(definition: WaterfallChartDefinition,
|
|
11437
|
+
static transformDefinition(chartSheetId: UID, definition: WaterfallChartDefinition, applyChange: RangeAdapter$1): WaterfallChartDefinition;
|
|
11334
11438
|
static validateChartDefinition(validator: Validator, definition: WaterfallChartDefinition): CommandResult | CommandResult[];
|
|
11335
11439
|
static getDefinitionFromContextCreation(context: ChartCreationContext): WaterfallChartDefinition;
|
|
11336
11440
|
getContextCreation(): ChartCreationContext;
|
|
@@ -11360,6 +11464,19 @@ declare function createEmptyExcelSheet(sheetId: UID, name: string): ExcelSheetDa
|
|
|
11360
11464
|
|
|
11361
11465
|
declare function genericRepeat<T extends Command>(getters: Getters, command: T): T;
|
|
11362
11466
|
|
|
11467
|
+
declare class ClientFocusStore extends SpreadsheetStore {
|
|
11468
|
+
mutators: readonly ["focusClient", "unfocusClient", "showClientTag", "hideClientTag", "jumpToClient"];
|
|
11469
|
+
private _showClientTag;
|
|
11470
|
+
private clientFocusTimeout;
|
|
11471
|
+
constructor(get: Get);
|
|
11472
|
+
get focusedClients(): Set<ClientId>;
|
|
11473
|
+
jumpToClient(clientId: ClientId): void;
|
|
11474
|
+
showClientTag(): void;
|
|
11475
|
+
hideClientTag(): void;
|
|
11476
|
+
focusClient(clientId: ClientId): void;
|
|
11477
|
+
unfocusClient(clientId: ClientId): void;
|
|
11478
|
+
}
|
|
11479
|
+
|
|
11363
11480
|
interface Renderer {
|
|
11364
11481
|
drawLayer(ctx: GridRenderingContext, layer: LayerName): void;
|
|
11365
11482
|
renderingLayers: Readonly<LayerName[]>;
|
|
@@ -11372,6 +11489,13 @@ declare class RendererStore {
|
|
|
11372
11489
|
drawLayer(context: GridRenderingContext, layer: LayerName): string;
|
|
11373
11490
|
}
|
|
11374
11491
|
|
|
11492
|
+
declare class LocalTransportService implements TransportService<CollaborationMessage> {
|
|
11493
|
+
private listeners;
|
|
11494
|
+
sendMessage(message: CollaborationMessage): Promise<void>;
|
|
11495
|
+
onNewMessage(id: UID, callback: NewMessageCallback<CollaborationMessage>): void;
|
|
11496
|
+
leave(id: UID): void;
|
|
11497
|
+
}
|
|
11498
|
+
|
|
11375
11499
|
interface RippleProps {
|
|
11376
11500
|
color: string;
|
|
11377
11501
|
opacity: number;
|
|
@@ -11905,6 +12029,7 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
|
|
|
11905
12029
|
SidePanel: typeof SidePanel;
|
|
11906
12030
|
SpreadsheetDashboard: typeof SpreadsheetDashboard;
|
|
11907
12031
|
HeaderGroupContainer: typeof HeaderGroupContainer;
|
|
12032
|
+
FullScreenChart: typeof FullScreenChart;
|
|
11908
12033
|
};
|
|
11909
12034
|
sidePanel: Store<SidePanelStore>;
|
|
11910
12035
|
spreadsheetRef: {
|
|
@@ -11968,7 +12093,7 @@ declare const registries: {
|
|
|
11968
12093
|
linkMenuRegistry: MenuItemRegistry;
|
|
11969
12094
|
functionRegistry: FunctionRegistry;
|
|
11970
12095
|
featurePluginRegistry: Registry<UIPluginConstructor>;
|
|
11971
|
-
iconsOnCellRegistry: Registry<(getters: Getters, position: CellPosition) =>
|
|
12096
|
+
iconsOnCellRegistry: Registry<(getters: Getters, position: CellPosition) => GridIcon | undefined>;
|
|
11972
12097
|
statefulUIPluginRegistry: Registry<UIPluginConstructor>;
|
|
11973
12098
|
coreViewsPluginRegistry: Registry<CoreViewPluginConstructor>;
|
|
11974
12099
|
corePluginRegistry: Registry<CorePluginConstructor>;
|
|
@@ -12109,6 +12234,7 @@ declare const components: {
|
|
|
12109
12234
|
PieChartDesignPanel: typeof PieChartDesignPanel;
|
|
12110
12235
|
GenericChartConfigPanel: typeof GenericChartConfigPanel;
|
|
12111
12236
|
ChartWithAxisDesignPanel: typeof ChartWithAxisDesignPanel;
|
|
12237
|
+
LineChartDesignPanel: typeof LineChartDesignPanel;
|
|
12112
12238
|
GaugeChartConfigPanel: typeof GaugeChartConfigPanel;
|
|
12113
12239
|
GaugeChartDesignPanel: typeof GaugeChartDesignPanel;
|
|
12114
12240
|
ScorecardChartConfigPanel: typeof ScorecardChartConfigPanel;
|
|
@@ -12138,6 +12264,7 @@ declare const components: {
|
|
|
12138
12264
|
RadioSelection: typeof RadioSelection;
|
|
12139
12265
|
GeoChartRegionSelectSection: typeof GeoChartRegionSelectSection;
|
|
12140
12266
|
ChartDashboardMenu: typeof ChartDashboardMenu;
|
|
12267
|
+
FullScreenChart: typeof FullScreenChart;
|
|
12141
12268
|
};
|
|
12142
12269
|
declare const hooks: {
|
|
12143
12270
|
useDragAndDropListItems: typeof useDragAndDropListItems;
|
|
@@ -12164,6 +12291,7 @@ declare const stores: {
|
|
|
12164
12291
|
SidePanelStore: typeof SidePanelStore;
|
|
12165
12292
|
PivotSidePanelStore: typeof PivotSidePanelStore;
|
|
12166
12293
|
PivotMeasureDisplayPanelStore: typeof PivotMeasureDisplayPanelStore;
|
|
12294
|
+
ClientFocusStore: typeof ClientFocusStore;
|
|
12167
12295
|
};
|
|
12168
12296
|
|
|
12169
12297
|
declare function addFunction(functionName: string, functionDescription: AddFunctionDescription): {
|
|
@@ -12678,7 +12806,7 @@ declare const chartHelpers: {
|
|
|
12678
12806
|
createDataSets(getters: CoreGetters, customizedDataSets: CustomizedDataSet[], sheetId: UID, dataSetsHaveTitle: boolean): DataSet[];
|
|
12679
12807
|
toExcelDataset(getters: CoreGetters, ds: DataSet): ExcelChartDataset;
|
|
12680
12808
|
toExcelLabelRange(getters: CoreGetters, labelRange: Range | undefined, shouldRemoveFirstLabel?: boolean): string | undefined;
|
|
12681
|
-
transformChartDefinitionWithDataSetsWithZone<T extends ChartWithDataSetDefinition>(definition: T,
|
|
12809
|
+
transformChartDefinitionWithDataSetsWithZone<T extends ChartWithDataSetDefinition>(chartSheetId: UID, definition: T, applyChange: RangeAdapter$1): T;
|
|
12682
12810
|
chartFontColor(backgroundColor: Color | undefined): Color;
|
|
12683
12811
|
chartMutedFontColor(backgroundColor: Color | undefined): Color;
|
|
12684
12812
|
checkDataset(definition: ChartWithDataSetDefinition): CommandResult;
|
|
@@ -12709,7 +12837,7 @@ declare const chartHelpers: {
|
|
|
12709
12837
|
chartFactory(getters: CoreGetters): (id: UID, definition: ChartDefinition, sheetId: UID) => AbstractChart;
|
|
12710
12838
|
chartRuntimeFactory(getters: Getters): (chart: AbstractChart) => ChartRuntime;
|
|
12711
12839
|
validateChartDefinition(validator: Validator, definition: ChartDefinition): CommandResult | CommandResult[];
|
|
12712
|
-
transformDefinition(definition: ChartDefinition,
|
|
12840
|
+
transformDefinition(chartSheetId: UID, definition: ChartDefinition, applyrange: RangeAdapter$1): ChartDefinition;
|
|
12713
12841
|
getSmartChartDefinition(zone: Zone, getters: Getters): ChartDefinition;
|
|
12714
12842
|
chartToImageUrl(runtime: ChartRuntime, figure: Figure, type: ChartType): string | undefined;
|
|
12715
12843
|
chartToImageFile(runtime: ChartRuntime, figure: Figure, type: ChartType): Promise<File | undefined>;
|
|
@@ -12740,4 +12868,4 @@ declare const chartHelpers: {
|
|
|
12740
12868
|
WaterfallChart: typeof WaterfallChart;
|
|
12741
12869
|
};
|
|
12742
12870
|
|
|
12743
|
-
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, CriterionFilter, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataFilterValue, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluatedCriterion, EvaluatedDateCriterion, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartTrendConfiguration, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelTrendlineType, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterCriterionType, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericCriterion, GenericCriterionType, GenericDateCriterion, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeAdapter$1 as RangeAdapter, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, ToggleCheckboxCommand, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, ValuesFilter, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, filterDateCriterionOperators, filterNumberCriterionOperators, filterTextCriterionOperators, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|
|
12871
|
+
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 };
|