@odoo/o-spreadsheet 18.4.0-alpha.3 → 18.4.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/o-spreadsheet.cjs.js +1385 -819
- package/dist/o-spreadsheet.d.ts +359 -307
- package/dist/o-spreadsheet.esm.js +1385 -820
- package/dist/o-spreadsheet.iife.js +1385 -819
- package/dist/o-spreadsheet.iife.min.js +454 -443
- package/dist/o_spreadsheet.xml +82 -55
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as chart_js from 'chart.js';
|
|
2
2
|
import { ChartConfiguration, ChartDataset, CoreChartOptions, Scriptable, Color as Color$1, ScriptableContext, FontSpec, Point, ChartType as ChartType$1 } from 'chart.js';
|
|
3
3
|
import * as ChartGeo from 'chartjs-chart-geo';
|
|
4
|
-
import * as GeoJSON$1 from 'geojson';
|
|
5
4
|
import * as _odoo_owl from '@odoo/owl';
|
|
6
5
|
import { ComponentConstructor, Component } from '@odoo/owl';
|
|
6
|
+
import * as GeoJSON$1 from 'geojson';
|
|
7
7
|
import * as chart_js_dist_types_utils from 'chart.js/dist/types/utils';
|
|
8
8
|
import * as chart_js_dist_types_geometric from 'chart.js/dist/types/geometric';
|
|
9
9
|
|
|
@@ -254,9 +254,10 @@ interface ScorecardChartDefinition {
|
|
|
254
254
|
readonly type: "scorecard";
|
|
255
255
|
readonly title: TitleDesign;
|
|
256
256
|
readonly keyValue?: string;
|
|
257
|
+
readonly keyDescr?: TitleDesign;
|
|
257
258
|
readonly baseline?: string;
|
|
258
259
|
readonly baselineMode: BaselineMode;
|
|
259
|
-
readonly baselineDescr?:
|
|
260
|
+
readonly baselineDescr?: TitleDesign;
|
|
260
261
|
readonly background?: Color;
|
|
261
262
|
readonly baselineColorUp: Color;
|
|
262
263
|
readonly baselineColorDown: Color;
|
|
@@ -271,6 +272,7 @@ interface ProgressBar {
|
|
|
271
272
|
interface ScorecardChartRuntime {
|
|
272
273
|
readonly title: TitleDesign;
|
|
273
274
|
readonly keyValue: string;
|
|
275
|
+
readonly keyDescr: string;
|
|
274
276
|
readonly baselineDisplay: string;
|
|
275
277
|
readonly baselineColor?: string;
|
|
276
278
|
readonly baselineArrow: BaselineArrowDirection;
|
|
@@ -278,7 +280,9 @@ interface ScorecardChartRuntime {
|
|
|
278
280
|
readonly background: Color;
|
|
279
281
|
readonly fontColor: Color;
|
|
280
282
|
readonly keyValueStyle?: Style;
|
|
283
|
+
readonly keyValueDescrStyle?: Style;
|
|
281
284
|
readonly baselineStyle?: Style;
|
|
285
|
+
readonly baselineDescrStyle?: Style;
|
|
282
286
|
readonly progressBar?: ProgressBar;
|
|
283
287
|
}
|
|
284
288
|
|
|
@@ -746,6 +750,10 @@ interface Client {
|
|
|
746
750
|
id: ClientId;
|
|
747
751
|
name: string;
|
|
748
752
|
position?: ClientPosition;
|
|
753
|
+
color?: Color;
|
|
754
|
+
}
|
|
755
|
+
interface ClientWithPosition extends Client {
|
|
756
|
+
position: ClientPosition;
|
|
749
757
|
}
|
|
750
758
|
interface ClientPosition {
|
|
751
759
|
sheetId: UID;
|
|
@@ -958,12 +966,17 @@ interface CommonPivotCoreDefinition {
|
|
|
958
966
|
name: string;
|
|
959
967
|
deferUpdates?: boolean;
|
|
960
968
|
sortedColumn?: PivotSortedColumn;
|
|
969
|
+
collapsedDomains?: PivotCollapsedDomains;
|
|
961
970
|
}
|
|
962
971
|
interface PivotSortedColumn {
|
|
963
972
|
order: SortDirection;
|
|
964
973
|
domain: PivotDomain;
|
|
965
974
|
measure: string;
|
|
966
975
|
}
|
|
976
|
+
interface PivotCollapsedDomains {
|
|
977
|
+
COL: PivotDomain[];
|
|
978
|
+
ROW: PivotDomain[];
|
|
979
|
+
}
|
|
967
980
|
interface SpreadsheetPivotCoreDefinition extends CommonPivotCoreDefinition {
|
|
968
981
|
type: "SPREADSHEET";
|
|
969
982
|
dataSet?: {
|
|
@@ -1015,6 +1028,7 @@ interface PivotTableData {
|
|
|
1015
1028
|
interface PivotHeaderCell {
|
|
1016
1029
|
type: "HEADER";
|
|
1017
1030
|
domain: PivotDomain;
|
|
1031
|
+
dimension: Dimension;
|
|
1018
1032
|
}
|
|
1019
1033
|
interface PivotMeasureHeaderCell {
|
|
1020
1034
|
type: "MEASURE_HEADER";
|
|
@@ -1316,7 +1330,7 @@ interface RevisionRedoneMessage extends AbstractMessage {
|
|
|
1316
1330
|
}
|
|
1317
1331
|
interface ClientJoinedMessage extends AbstractMessage {
|
|
1318
1332
|
type: "CLIENT_JOINED";
|
|
1319
|
-
client:
|
|
1333
|
+
client: ClientWithPosition;
|
|
1320
1334
|
}
|
|
1321
1335
|
interface ClientLeftMessage extends AbstractMessage {
|
|
1322
1336
|
type: "CLIENT_LEFT";
|
|
@@ -1324,7 +1338,7 @@ interface ClientLeftMessage extends AbstractMessage {
|
|
|
1324
1338
|
}
|
|
1325
1339
|
interface ClientMovedMessage extends AbstractMessage {
|
|
1326
1340
|
type: "CLIENT_MOVED";
|
|
1327
|
-
client:
|
|
1341
|
+
client: ClientWithPosition;
|
|
1328
1342
|
}
|
|
1329
1343
|
/**
|
|
1330
1344
|
* Send a snapshot of the spreadsheet to the collaborative server
|
|
@@ -1466,7 +1480,8 @@ declare class Session extends EventBus<CollaborativeEvent> {
|
|
|
1466
1480
|
* Send a snapshot of the spreadsheet to the collaboration server
|
|
1467
1481
|
*/
|
|
1468
1482
|
snapshot(data: WorkbookData): Promise<void>;
|
|
1469
|
-
|
|
1483
|
+
getCurrentClient(): Client;
|
|
1484
|
+
getClient(clientId: ClientId): Client;
|
|
1470
1485
|
getConnectedClients(): Set<Client>;
|
|
1471
1486
|
getRevisionId(): UID;
|
|
1472
1487
|
isFullySynchronized(): boolean;
|
|
@@ -1516,6 +1531,51 @@ declare class ColorGenerator {
|
|
|
1516
1531
|
next(): string;
|
|
1517
1532
|
}
|
|
1518
1533
|
|
|
1534
|
+
interface SearchOptions {
|
|
1535
|
+
matchCase: boolean;
|
|
1536
|
+
exactMatch: boolean;
|
|
1537
|
+
searchFormulas: boolean;
|
|
1538
|
+
searchScope: "allSheets" | "activeSheet" | "specificRange";
|
|
1539
|
+
specificRange?: Range;
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* Deep copy arrays, plain objects and primitive values.
|
|
1544
|
+
* Throws an error for other types such as class instances.
|
|
1545
|
+
* Sparse arrays remain sparse.
|
|
1546
|
+
*/
|
|
1547
|
+
declare function deepCopy<T>(obj: T): T;
|
|
1548
|
+
declare function unquote(string: string, quoteChar?: "'" | '"'): string;
|
|
1549
|
+
/** Replace the excel-excluded characters of a sheetName */
|
|
1550
|
+
declare function sanitizeSheetName(sheetName: string, replacementChar?: string): string;
|
|
1551
|
+
declare function isMarkdownLink(str: string): boolean;
|
|
1552
|
+
/**
|
|
1553
|
+
* Build a markdown link from a label and an url
|
|
1554
|
+
*/
|
|
1555
|
+
declare function markdownLink(label: string, url: string): string;
|
|
1556
|
+
declare function parseMarkdownLink(str: string): {
|
|
1557
|
+
url: string;
|
|
1558
|
+
label: string;
|
|
1559
|
+
};
|
|
1560
|
+
/**
|
|
1561
|
+
* This helper function can be used as a type guard when filtering arrays.
|
|
1562
|
+
* const foo: number[] = [1, 2, undefined, 4].filter(isDefined)
|
|
1563
|
+
*/
|
|
1564
|
+
declare function isDefined<T>(argument: T | undefined): argument is T;
|
|
1565
|
+
/**
|
|
1566
|
+
* Lazy value computed by the provided function.
|
|
1567
|
+
*/
|
|
1568
|
+
declare function lazy<T>(fn: (() => T) | T): Lazy<T>;
|
|
1569
|
+
/**
|
|
1570
|
+
* Compares two objects.
|
|
1571
|
+
*/
|
|
1572
|
+
declare function deepEquals(o1: any, o2: any): boolean;
|
|
1573
|
+
declare function getUniqueText(text: string, texts: string[], options?: {
|
|
1574
|
+
compute?: (text: string, increment: number) => string;
|
|
1575
|
+
start?: number;
|
|
1576
|
+
computeFirstOne?: boolean;
|
|
1577
|
+
}): string;
|
|
1578
|
+
|
|
1519
1579
|
/**
|
|
1520
1580
|
* Convert a (col) number to the corresponding letter.
|
|
1521
1581
|
*
|
|
@@ -1592,51 +1652,6 @@ declare function formatValue(value: CellValue, { format, locale, formatWidth }:
|
|
|
1592
1652
|
}): FormattedValue;
|
|
1593
1653
|
declare function createCurrencyFormat(currency: Partial<Currency>): Format;
|
|
1594
1654
|
|
|
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
1655
|
/**
|
|
1641
1656
|
* Return true if the argument is a "number string".
|
|
1642
1657
|
*
|
|
@@ -4216,6 +4231,7 @@ declare class DependencyContainer extends EventBus<StoreUpdateEvent> {
|
|
|
4216
4231
|
get<T>(Store: StoreConstructor<T>): T;
|
|
4217
4232
|
instantiate<T>(Store: StoreConstructor<T>, ...args: StoreParams<StoreConstructor<T>>): T;
|
|
4218
4233
|
resetStores(): void;
|
|
4234
|
+
dispose(): void;
|
|
4219
4235
|
}
|
|
4220
4236
|
|
|
4221
4237
|
/**
|
|
@@ -5528,6 +5544,80 @@ declare class EvaluationDataValidationPlugin extends CoreViewPlugin {
|
|
|
5528
5544
|
private getEvaluatedCriterionValues;
|
|
5529
5545
|
}
|
|
5530
5546
|
|
|
5547
|
+
/**
|
|
5548
|
+
* Registry
|
|
5549
|
+
*
|
|
5550
|
+
* The Registry class is basically just a mapping from a string key to an object.
|
|
5551
|
+
* It is really not much more than an object. It is however useful for the
|
|
5552
|
+
* following reasons:
|
|
5553
|
+
*
|
|
5554
|
+
* 1. it let us react and execute code when someone add something to the registry
|
|
5555
|
+
* (for example, the FunctionRegistry subclass this for this purpose)
|
|
5556
|
+
* 2. it throws an error when the get operation fails
|
|
5557
|
+
* 3. it provides a chained API to add items to the registry.
|
|
5558
|
+
*/
|
|
5559
|
+
declare class Registry<T> {
|
|
5560
|
+
content: {
|
|
5561
|
+
[key: string]: T;
|
|
5562
|
+
};
|
|
5563
|
+
/**
|
|
5564
|
+
* Add an item to the registry, you can only add if there is no item
|
|
5565
|
+
* already present in the registery with the given key
|
|
5566
|
+
*
|
|
5567
|
+
* Note that this also returns the registry, so another add method call can
|
|
5568
|
+
* be chained
|
|
5569
|
+
*/
|
|
5570
|
+
add(key: string, value: T): this;
|
|
5571
|
+
/**
|
|
5572
|
+
* Replace (or add) an item to the registry
|
|
5573
|
+
*
|
|
5574
|
+
* Note that this also returns the registry, so another add method call can
|
|
5575
|
+
* be chained
|
|
5576
|
+
*/
|
|
5577
|
+
replace(key: string, value: T): this;
|
|
5578
|
+
/**
|
|
5579
|
+
* Get an item from the registry
|
|
5580
|
+
*/
|
|
5581
|
+
get(key: string): T;
|
|
5582
|
+
/**
|
|
5583
|
+
* Check if the key is already in the registry
|
|
5584
|
+
*/
|
|
5585
|
+
contains(key: string): boolean;
|
|
5586
|
+
/**
|
|
5587
|
+
* Get a list of all elements in the registry
|
|
5588
|
+
*/
|
|
5589
|
+
getAll(): T[];
|
|
5590
|
+
/**
|
|
5591
|
+
* Get a list of all keys in the registry
|
|
5592
|
+
*/
|
|
5593
|
+
getKeys(): string[];
|
|
5594
|
+
/**
|
|
5595
|
+
* Remove an item from the registry
|
|
5596
|
+
*/
|
|
5597
|
+
remove(key: string): void;
|
|
5598
|
+
}
|
|
5599
|
+
|
|
5600
|
+
interface GridIcon {
|
|
5601
|
+
position: CellPosition;
|
|
5602
|
+
horizontalAlign: Exclude<Align, undefined>;
|
|
5603
|
+
size: number;
|
|
5604
|
+
margin: number;
|
|
5605
|
+
component?: ComponentConstructor<{
|
|
5606
|
+
cellPosition: CellPosition;
|
|
5607
|
+
}, SpreadsheetChildEnv>;
|
|
5608
|
+
svg?: ImageSVG;
|
|
5609
|
+
priority: number;
|
|
5610
|
+
}
|
|
5611
|
+
|
|
5612
|
+
declare class CellIconPlugin extends CoreViewPlugin {
|
|
5613
|
+
static getters: readonly ["doesCellHaveGridIcon", "getCellIcons"];
|
|
5614
|
+
private cellIconsCache;
|
|
5615
|
+
handle(cmd: Command): void;
|
|
5616
|
+
getCellIcons(position: CellPosition): GridIcon[];
|
|
5617
|
+
private computeCellIcons;
|
|
5618
|
+
doesCellHaveGridIcon(position: CellPosition): boolean;
|
|
5619
|
+
}
|
|
5620
|
+
|
|
5531
5621
|
declare class DynamicTablesPlugin extends CoreViewPlugin {
|
|
5532
5622
|
static getters: readonly ["canCreateDynamicTableOnZones", "doesZonesContainFilter", "getFilter", "getFilters", "getTable", "getTables", "getTablesOverlappingZones", "getFilterId", "getFilterHeaders", "isFilterHeader"];
|
|
5533
5623
|
tables: Record<UID, Table[]>;
|
|
@@ -5596,11 +5686,15 @@ declare class PivotRuntimeDefinition {
|
|
|
5596
5686
|
readonly columns: PivotDimension$1[];
|
|
5597
5687
|
readonly rows: PivotDimension$1[];
|
|
5598
5688
|
readonly sortedColumn?: PivotSortedColumn;
|
|
5689
|
+
readonly collapsedDomains?: PivotCollapsedDomains;
|
|
5599
5690
|
constructor(definition: CommonPivotCoreDefinition, fields: PivotFields);
|
|
5600
5691
|
getDimension(nameWithGranularity: string): PivotDimension$1;
|
|
5601
5692
|
getMeasure(id: string): PivotMeasure;
|
|
5602
5693
|
}
|
|
5603
5694
|
|
|
5695
|
+
interface CollapsiblePivotTableColumn extends PivotTableColumn {
|
|
5696
|
+
collapsedHeader?: boolean;
|
|
5697
|
+
}
|
|
5604
5698
|
/**
|
|
5605
5699
|
* Class used to ease the construction of a pivot table.
|
|
5606
5700
|
* Let's consider the following example, with:
|
|
@@ -5644,7 +5738,7 @@ declare class PivotRuntimeDefinition {
|
|
|
5644
5738
|
*
|
|
5645
5739
|
*/
|
|
5646
5740
|
declare class SpreadsheetPivotTable {
|
|
5647
|
-
readonly columns:
|
|
5741
|
+
readonly columns: CollapsiblePivotTableColumn[][];
|
|
5648
5742
|
rows: PivotTableRow[];
|
|
5649
5743
|
readonly measures: string[];
|
|
5650
5744
|
readonly fieldsType: Record<string, string | undefined>;
|
|
@@ -5655,7 +5749,9 @@ declare class SpreadsheetPivotTable {
|
|
|
5655
5749
|
private rowTree;
|
|
5656
5750
|
private colTree;
|
|
5657
5751
|
isSorted: boolean;
|
|
5658
|
-
constructor(columns:
|
|
5752
|
+
constructor(columns: CollapsiblePivotTableColumn[][], rows: PivotTableRow[], measures: string[], fieldsType: Record<string, string | undefined>, collapsedDomains?: PivotCollapsedDomains);
|
|
5753
|
+
private removeCollapsedColumns;
|
|
5754
|
+
private isParentCollapsed;
|
|
5659
5755
|
/**
|
|
5660
5756
|
* Get the number of columns leafs (i.e. the number of the last row of columns)
|
|
5661
5757
|
*/
|
|
@@ -5666,13 +5762,13 @@ declare class SpreadsheetPivotTable {
|
|
|
5666
5762
|
private isTotalRow;
|
|
5667
5763
|
private getPivotCell;
|
|
5668
5764
|
private getColHeaderDomain;
|
|
5765
|
+
private getDomain;
|
|
5669
5766
|
private getColDomain;
|
|
5670
5767
|
private getColMeasure;
|
|
5671
|
-
private getRowDomain;
|
|
5672
5768
|
buildRowsTree(): DimensionTree;
|
|
5673
5769
|
buildColumnsTree(): DimensionTree;
|
|
5674
5770
|
export(): {
|
|
5675
|
-
cols:
|
|
5771
|
+
cols: CollapsiblePivotTableColumn[][];
|
|
5676
5772
|
rows: PivotTableRow[];
|
|
5677
5773
|
measures: string[];
|
|
5678
5774
|
fieldsType: Record<string, string | undefined>;
|
|
@@ -5690,7 +5786,8 @@ interface Pivot<T = PivotRuntimeDefinition> {
|
|
|
5690
5786
|
init(params?: InitPivotParams): void;
|
|
5691
5787
|
isValid(): boolean;
|
|
5692
5788
|
onDefinitionChange(nextDefinition: PivotCoreDefinition): void;
|
|
5693
|
-
|
|
5789
|
+
getCollapsedTableStructure(): SpreadsheetPivotTable;
|
|
5790
|
+
getExpandedTableStructure(): SpreadsheetPivotTable;
|
|
5694
5791
|
getFields(): PivotFields;
|
|
5695
5792
|
getPivotHeaderValueAndFormat(domain: PivotDomain): FunctionResultObject;
|
|
5696
5793
|
getPivotCellValueAndFormat(measure: string, domain: PivotDomain): FunctionResultObject;
|
|
@@ -5912,19 +6009,20 @@ declare class AutomaticSumPlugin extends UIPlugin {
|
|
|
5912
6009
|
private transpose;
|
|
5913
6010
|
}
|
|
5914
6011
|
|
|
5915
|
-
interface ClientToDisplay extends
|
|
6012
|
+
interface ClientToDisplay extends ClientWithPosition {
|
|
5916
6013
|
color: Color;
|
|
5917
6014
|
}
|
|
5918
6015
|
declare class CollaborativePlugin extends UIPlugin {
|
|
5919
|
-
static getters: readonly ["getClientsToDisplay", "getClient", "getConnectedClients", "isFullySynchronized"];
|
|
6016
|
+
static getters: readonly ["getClientsToDisplay", "getClient", "getCurrentClient", "getConnectedClients", "isFullySynchronized"];
|
|
5920
6017
|
static layers: readonly ["Selection"];
|
|
5921
6018
|
private availableColors;
|
|
5922
6019
|
private colors;
|
|
5923
6020
|
private session;
|
|
5924
6021
|
constructor(config: UIPluginConfig);
|
|
5925
6022
|
private isPositionValid;
|
|
5926
|
-
getClient(): Client;
|
|
5927
|
-
|
|
6023
|
+
getClient(clientId: ClientId): Client;
|
|
6024
|
+
getCurrentClient(): Client;
|
|
6025
|
+
getConnectedClients(): Client[];
|
|
5928
6026
|
isFullySynchronized(): boolean;
|
|
5929
6027
|
/**
|
|
5930
6028
|
* Get the list of others connected clients which are present in the same sheet
|
|
@@ -6002,12 +6100,11 @@ declare class UIOptionsPlugin extends UIPlugin {
|
|
|
6002
6100
|
}
|
|
6003
6101
|
|
|
6004
6102
|
declare class SheetUIPlugin extends UIPlugin {
|
|
6005
|
-
static getters: readonly ["
|
|
6103
|
+
static getters: readonly ["getCellWidth", "getTextWidth", "getCellText", "getCellMultiLineText", "getContiguousZone"];
|
|
6006
6104
|
private ctx;
|
|
6007
6105
|
allowDispatch(cmd: LocalCommand): CommandResult | CommandResult[];
|
|
6008
6106
|
handle(cmd: Command): void;
|
|
6009
6107
|
getCellWidth(position: CellPosition): number;
|
|
6010
|
-
getCellIconSvg(position: CellPosition): ImageSVG | undefined;
|
|
6011
6108
|
getTextWidth(text: string, style: Style): Pixel;
|
|
6012
6109
|
getCellText(position: CellPosition, args?: {
|
|
6013
6110
|
showFormula?: boolean;
|
|
@@ -6021,7 +6118,6 @@ declare class SheetUIPlugin extends UIPlugin {
|
|
|
6021
6118
|
wrapText: boolean;
|
|
6022
6119
|
maxWidth: number;
|
|
6023
6120
|
}): string[];
|
|
6024
|
-
doesCellHaveGridIcon(position: CellPosition): boolean;
|
|
6025
6121
|
/**
|
|
6026
6122
|
* Expands the given zone until bordered by empty cells or reached the sheet boundaries.
|
|
6027
6123
|
*/
|
|
@@ -6239,7 +6335,7 @@ type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof Head
|
|
|
6239
6335
|
type Getters = {
|
|
6240
6336
|
isReadonly: () => boolean;
|
|
6241
6337
|
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>;
|
|
6338
|
+
} & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin> & PluginGetters<typeof TableStylePlugin> & PluginGetters<typeof CellComputedStylePlugin> & PluginGetters<typeof DynamicTablesPlugin> & PluginGetters<typeof PivotUIPlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof GeoFeaturePlugin> & PluginGetters<typeof PivotPresencePlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof CheckboxTogglePlugin> & PluginGetters<typeof CellIconPlugin>;
|
|
6243
6339
|
|
|
6244
6340
|
type ArgType = "ANY" | "BOOLEAN" | "NUMBER" | "STRING" | "DATE" | "RANGE" | "RANGE<BOOLEAN>" | "RANGE<NUMBER>" | "RANGE<DATE>" | "RANGE<STRING>" | "RANGE<ANY>" | "META";
|
|
6245
6341
|
interface ArgDefinition {
|
|
@@ -6430,14 +6526,17 @@ interface Box extends Rect {
|
|
|
6430
6526
|
style: Style;
|
|
6431
6527
|
dataBarFill?: DataBarFill;
|
|
6432
6528
|
border?: Border$1;
|
|
6433
|
-
hasIcon?: boolean;
|
|
6434
6529
|
clipRect?: Rect;
|
|
6435
6530
|
isError?: boolean;
|
|
6436
|
-
image?: Image;
|
|
6437
6531
|
isMerge?: boolean;
|
|
6438
6532
|
verticalAlign?: VerticalAlign;
|
|
6439
6533
|
isOverflow?: boolean;
|
|
6440
6534
|
overlayColor: Color | undefined;
|
|
6535
|
+
icons: {
|
|
6536
|
+
left?: GridIcon;
|
|
6537
|
+
right?: GridIcon;
|
|
6538
|
+
center?: GridIcon;
|
|
6539
|
+
};
|
|
6441
6540
|
}
|
|
6442
6541
|
interface Image {
|
|
6443
6542
|
clipIcon: Rect | null;
|
|
@@ -6532,8 +6631,9 @@ type ScorecardChartConfig = {
|
|
|
6532
6631
|
position: PixelPosition;
|
|
6533
6632
|
};
|
|
6534
6633
|
baseline?: ScorecardChartElement;
|
|
6535
|
-
baselineDescr?: ScorecardChartElement
|
|
6634
|
+
baselineDescr?: ScorecardChartElement;
|
|
6536
6635
|
key?: ScorecardChartElement;
|
|
6636
|
+
keyDescr?: ScorecardChartElement;
|
|
6537
6637
|
progressBar?: {
|
|
6538
6638
|
position: PixelPosition;
|
|
6539
6639
|
dimension: DOMDimension;
|
|
@@ -6569,59 +6669,6 @@ declare module "chart.js" {
|
|
|
6569
6669
|
}
|
|
6570
6670
|
}
|
|
6571
6671
|
|
|
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
6672
|
interface MigrationStep {
|
|
6626
6673
|
migrate: (data: any) => any;
|
|
6627
6674
|
}
|
|
@@ -6892,7 +6939,7 @@ interface ChartSubtypeProperties {
|
|
|
6892
6939
|
preview: string;
|
|
6893
6940
|
}
|
|
6894
6941
|
|
|
6895
|
-
interface Props$
|
|
6942
|
+
interface Props$1g {
|
|
6896
6943
|
label?: string;
|
|
6897
6944
|
value: boolean;
|
|
6898
6945
|
className?: string;
|
|
@@ -6901,7 +6948,7 @@ interface Props$1j {
|
|
|
6901
6948
|
disabled?: boolean;
|
|
6902
6949
|
onChange: (value: boolean) => void;
|
|
6903
6950
|
}
|
|
6904
|
-
declare class Checkbox extends Component<Props$
|
|
6951
|
+
declare class Checkbox extends Component<Props$1g, SpreadsheetChildEnv> {
|
|
6905
6952
|
static template: string;
|
|
6906
6953
|
static props: {
|
|
6907
6954
|
label: {
|
|
@@ -6936,10 +6983,10 @@ declare class Checkbox extends Component<Props$1j, SpreadsheetChildEnv> {
|
|
|
6936
6983
|
onChange(ev: InputEvent): void;
|
|
6937
6984
|
}
|
|
6938
6985
|
|
|
6939
|
-
interface Props$
|
|
6986
|
+
interface Props$1f {
|
|
6940
6987
|
class?: string;
|
|
6941
6988
|
}
|
|
6942
|
-
declare class Section extends Component<Props$
|
|
6989
|
+
declare class Section extends Component<Props$1f, SpreadsheetChildEnv> {
|
|
6943
6990
|
static template: string;
|
|
6944
6991
|
static props: {
|
|
6945
6992
|
class: {
|
|
@@ -7076,7 +7123,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
7076
7123
|
getIndex(rangeId: number | null): number | null;
|
|
7077
7124
|
}
|
|
7078
7125
|
|
|
7079
|
-
interface Props$
|
|
7126
|
+
interface Props$1e {
|
|
7080
7127
|
ranges: string[];
|
|
7081
7128
|
hasSingleRange?: boolean;
|
|
7082
7129
|
required?: boolean;
|
|
@@ -7104,7 +7151,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
7104
7151
|
* onSelectionChanged is called every time the input value
|
|
7105
7152
|
* changes.
|
|
7106
7153
|
*/
|
|
7107
|
-
declare class SelectionInput extends Component<Props$
|
|
7154
|
+
declare class SelectionInput extends Component<Props$1e, SpreadsheetChildEnv> {
|
|
7108
7155
|
static template: string;
|
|
7109
7156
|
static props: {
|
|
7110
7157
|
ranges: ArrayConstructor;
|
|
@@ -7181,7 +7228,7 @@ declare class SelectionInput extends Component<Props$1h, SpreadsheetChildEnv> {
|
|
|
7181
7228
|
confirm(): void;
|
|
7182
7229
|
}
|
|
7183
7230
|
|
|
7184
|
-
interface Props$
|
|
7231
|
+
interface Props$1d {
|
|
7185
7232
|
ranges: CustomizedDataSet[];
|
|
7186
7233
|
hasSingleRange?: boolean;
|
|
7187
7234
|
onSelectionChanged: (ranges: string[]) => void;
|
|
@@ -7194,7 +7241,7 @@ interface Props$1g {
|
|
|
7194
7241
|
canChangeDatasetOrientation?: boolean;
|
|
7195
7242
|
onFlipAxis?: (structure: string) => void;
|
|
7196
7243
|
}
|
|
7197
|
-
declare class ChartDataSeries extends Component<Props$
|
|
7244
|
+
declare class ChartDataSeries extends Component<Props$1d, SpreadsheetChildEnv> {
|
|
7198
7245
|
static template: string;
|
|
7199
7246
|
static components: {
|
|
7200
7247
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7243,12 +7290,12 @@ declare class ChartDataSeries extends Component<Props$1g, SpreadsheetChildEnv> {
|
|
|
7243
7290
|
get title(): string;
|
|
7244
7291
|
}
|
|
7245
7292
|
|
|
7246
|
-
interface Props$
|
|
7293
|
+
interface Props$1c {
|
|
7247
7294
|
messages: string[];
|
|
7248
7295
|
msgType: "warning" | "error" | "info";
|
|
7249
7296
|
singleBox?: boolean;
|
|
7250
7297
|
}
|
|
7251
|
-
declare class ValidationMessages extends Component<Props$
|
|
7298
|
+
declare class ValidationMessages extends Component<Props$1c, SpreadsheetChildEnv> {
|
|
7252
7299
|
static template: string;
|
|
7253
7300
|
static props: {
|
|
7254
7301
|
messages: ArrayConstructor;
|
|
@@ -7262,10 +7309,10 @@ declare class ValidationMessages extends Component<Props$1f, SpreadsheetChildEnv
|
|
|
7262
7309
|
get alertBoxes(): string[][];
|
|
7263
7310
|
}
|
|
7264
7311
|
|
|
7265
|
-
interface Props$
|
|
7312
|
+
interface Props$1b {
|
|
7266
7313
|
messages: string[];
|
|
7267
7314
|
}
|
|
7268
|
-
declare class ChartErrorSection extends Component<Props$
|
|
7315
|
+
declare class ChartErrorSection extends Component<Props$1b, SpreadsheetChildEnv> {
|
|
7269
7316
|
static template: string;
|
|
7270
7317
|
static components: {
|
|
7271
7318
|
Section: typeof Section;
|
|
@@ -7279,7 +7326,7 @@ declare class ChartErrorSection extends Component<Props$1e, SpreadsheetChildEnv>
|
|
|
7279
7326
|
};
|
|
7280
7327
|
}
|
|
7281
7328
|
|
|
7282
|
-
interface Props$
|
|
7329
|
+
interface Props$1a {
|
|
7283
7330
|
title?: string;
|
|
7284
7331
|
range: string;
|
|
7285
7332
|
isInvalid: boolean;
|
|
@@ -7292,7 +7339,7 @@ interface Props$1d {
|
|
|
7292
7339
|
onChange: (value: boolean) => void;
|
|
7293
7340
|
}>;
|
|
7294
7341
|
}
|
|
7295
|
-
declare class ChartLabelRange extends Component<Props$
|
|
7342
|
+
declare class ChartLabelRange extends Component<Props$1a, SpreadsheetChildEnv> {
|
|
7296
7343
|
static template: string;
|
|
7297
7344
|
static components: {
|
|
7298
7345
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7313,10 +7360,10 @@ declare class ChartLabelRange extends Component<Props$1d, SpreadsheetChildEnv> {
|
|
|
7313
7360
|
optional: boolean;
|
|
7314
7361
|
};
|
|
7315
7362
|
};
|
|
7316
|
-
static defaultProps: Partial<Props$
|
|
7363
|
+
static defaultProps: Partial<Props$1a>;
|
|
7317
7364
|
}
|
|
7318
7365
|
|
|
7319
|
-
interface Props$
|
|
7366
|
+
interface Props$19 {
|
|
7320
7367
|
figureId: UID;
|
|
7321
7368
|
definition: ChartWithDataSetDefinition;
|
|
7322
7369
|
canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
@@ -7326,7 +7373,7 @@ interface ChartPanelState {
|
|
|
7326
7373
|
datasetDispatchResult?: DispatchResult;
|
|
7327
7374
|
labelsDispatchResult?: DispatchResult;
|
|
7328
7375
|
}
|
|
7329
|
-
declare class GenericChartConfigPanel extends Component<Props$
|
|
7376
|
+
declare class GenericChartConfigPanel extends Component<Props$19, SpreadsheetChildEnv> {
|
|
7330
7377
|
static template: string;
|
|
7331
7378
|
static components: {
|
|
7332
7379
|
ChartDataSeries: typeof ChartDataSeries;
|
|
@@ -7395,11 +7442,11 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
|
|
|
7395
7442
|
onUpdateStacked(stacked: boolean): void;
|
|
7396
7443
|
}
|
|
7397
7444
|
|
|
7398
|
-
interface Props$
|
|
7445
|
+
interface Props$18 {
|
|
7399
7446
|
isCollapsed: boolean;
|
|
7400
7447
|
slots: any;
|
|
7401
7448
|
}
|
|
7402
|
-
declare class Collapse extends Component<Props$
|
|
7449
|
+
declare class Collapse extends Component<Props$18, SpreadsheetChildEnv> {
|
|
7403
7450
|
static template: string;
|
|
7404
7451
|
static props: {
|
|
7405
7452
|
isCollapsed: BooleanConstructor;
|
|
@@ -7438,12 +7485,12 @@ interface Choice$1 {
|
|
|
7438
7485
|
value: string;
|
|
7439
7486
|
label: string;
|
|
7440
7487
|
}
|
|
7441
|
-
interface Props$
|
|
7488
|
+
interface Props$17 {
|
|
7442
7489
|
choices: Choice$1[];
|
|
7443
7490
|
onChange: (value: string) => void;
|
|
7444
7491
|
selectedValue: string;
|
|
7445
7492
|
}
|
|
7446
|
-
declare class BadgeSelection extends Component<Props$
|
|
7493
|
+
declare class BadgeSelection extends Component<Props$17, SpreadsheetChildEnv> {
|
|
7447
7494
|
static template: string;
|
|
7448
7495
|
static props: {
|
|
7449
7496
|
choices: ArrayConstructor;
|
|
@@ -7452,14 +7499,14 @@ declare class BadgeSelection extends Component<Props$1a, SpreadsheetChildEnv> {
|
|
|
7452
7499
|
};
|
|
7453
7500
|
}
|
|
7454
7501
|
|
|
7455
|
-
interface Props$
|
|
7502
|
+
interface Props$16 {
|
|
7456
7503
|
action: ActionSpec;
|
|
7457
7504
|
hasTriangleDownIcon?: boolean;
|
|
7458
7505
|
selectedColor?: string;
|
|
7459
7506
|
class?: string;
|
|
7460
7507
|
onClick?: (ev: MouseEvent) => void;
|
|
7461
7508
|
}
|
|
7462
|
-
declare class ActionButton extends Component<Props$
|
|
7509
|
+
declare class ActionButton extends Component<Props$16, SpreadsheetChildEnv> {
|
|
7463
7510
|
static template: string;
|
|
7464
7511
|
static props: {
|
|
7465
7512
|
action: ObjectConstructor;
|
|
@@ -7646,7 +7693,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
7646
7693
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
7647
7694
|
}
|
|
7648
7695
|
|
|
7649
|
-
interface Props$
|
|
7696
|
+
interface Props$15 {
|
|
7650
7697
|
currentColor: string | undefined;
|
|
7651
7698
|
toggleColorPicker: () => void;
|
|
7652
7699
|
showColorPicker: boolean;
|
|
@@ -7657,7 +7704,7 @@ interface Props$18 {
|
|
|
7657
7704
|
dropdownMaxHeight?: Pixel;
|
|
7658
7705
|
class?: string;
|
|
7659
7706
|
}
|
|
7660
|
-
declare class ColorPickerWidget extends Component<Props$
|
|
7707
|
+
declare class ColorPickerWidget extends Component<Props$15, SpreadsheetChildEnv> {
|
|
7661
7708
|
static template: string;
|
|
7662
7709
|
static props: {
|
|
7663
7710
|
currentColor: {
|
|
@@ -7718,14 +7765,14 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
7718
7765
|
interface State$4 {
|
|
7719
7766
|
isOpen: boolean;
|
|
7720
7767
|
}
|
|
7721
|
-
interface Props$
|
|
7768
|
+
interface Props$14 {
|
|
7722
7769
|
currentFontSize: number;
|
|
7723
7770
|
class: string;
|
|
7724
7771
|
onFontSizeChanged: (fontSize: number) => void;
|
|
7725
7772
|
onToggle?: () => void;
|
|
7726
7773
|
onFocusInput?: () => void;
|
|
7727
7774
|
}
|
|
7728
|
-
declare class FontSizeEditor extends Component<Props$
|
|
7775
|
+
declare class FontSizeEditor extends Component<Props$14, SpreadsheetChildEnv> {
|
|
7729
7776
|
static template: string;
|
|
7730
7777
|
static props: {
|
|
7731
7778
|
currentFontSize: NumberConstructor;
|
|
@@ -7763,7 +7810,7 @@ declare class FontSizeEditor extends Component<Props$17, SpreadsheetChildEnv> {
|
|
|
7763
7810
|
onInputKeydown(ev: KeyboardEvent): void;
|
|
7764
7811
|
}
|
|
7765
7812
|
|
|
7766
|
-
interface Props$
|
|
7813
|
+
interface Props$13 {
|
|
7767
7814
|
class?: string;
|
|
7768
7815
|
style: ChartStyle;
|
|
7769
7816
|
updateStyle: (style: ChartStyle) => void;
|
|
@@ -7772,7 +7819,7 @@ interface Props$16 {
|
|
|
7772
7819
|
hasHorizontalAlign?: boolean;
|
|
7773
7820
|
hasBackgroundColor?: boolean;
|
|
7774
7821
|
}
|
|
7775
|
-
declare class TextStyler extends Component<Props$
|
|
7822
|
+
declare class TextStyler extends Component<Props$13, SpreadsheetChildEnv> {
|
|
7776
7823
|
static template: string;
|
|
7777
7824
|
static components: {
|
|
7778
7825
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
@@ -7840,15 +7887,16 @@ declare class TextStyler extends Component<Props$16, SpreadsheetChildEnv> {
|
|
|
7840
7887
|
get verticalAlignActions(): ActionSpec[];
|
|
7841
7888
|
}
|
|
7842
7889
|
|
|
7843
|
-
interface Props$
|
|
7890
|
+
interface Props$12 {
|
|
7844
7891
|
title?: string;
|
|
7892
|
+
placeholder?: string;
|
|
7845
7893
|
updateTitle: (title: string) => void;
|
|
7846
7894
|
name?: string;
|
|
7847
7895
|
style: TitleDesign;
|
|
7848
7896
|
defaultStyle?: Partial<TitleDesign>;
|
|
7849
7897
|
updateStyle: (style: TitleDesign) => void;
|
|
7850
7898
|
}
|
|
7851
|
-
declare class ChartTitle extends Component<Props$
|
|
7899
|
+
declare class ChartTitle extends Component<Props$12, SpreadsheetChildEnv> {
|
|
7852
7900
|
static template: string;
|
|
7853
7901
|
static components: {
|
|
7854
7902
|
Section: typeof Section;
|
|
@@ -7859,10 +7907,13 @@ declare class ChartTitle extends Component<Props$15, SpreadsheetChildEnv> {
|
|
|
7859
7907
|
type: StringConstructor;
|
|
7860
7908
|
optional: boolean;
|
|
7861
7909
|
};
|
|
7910
|
+
placeholder: {
|
|
7911
|
+
type: StringConstructor;
|
|
7912
|
+
optional: boolean;
|
|
7913
|
+
};
|
|
7862
7914
|
updateTitle: FunctionConstructor;
|
|
7863
7915
|
name: {
|
|
7864
7916
|
type: StringConstructor;
|
|
7865
|
-
optional: boolean;
|
|
7866
7917
|
};
|
|
7867
7918
|
style: ObjectConstructor;
|
|
7868
7919
|
defaultStyle: {
|
|
@@ -7873,6 +7924,7 @@ declare class ChartTitle extends Component<Props$15, SpreadsheetChildEnv> {
|
|
|
7873
7924
|
};
|
|
7874
7925
|
static defaultProps: {
|
|
7875
7926
|
title: string;
|
|
7927
|
+
placeholder: string;
|
|
7876
7928
|
};
|
|
7877
7929
|
updateTitle(ev: InputEvent): void;
|
|
7878
7930
|
}
|
|
@@ -7881,13 +7933,13 @@ interface AxisDefinition {
|
|
|
7881
7933
|
id: string;
|
|
7882
7934
|
name: string;
|
|
7883
7935
|
}
|
|
7884
|
-
interface Props$
|
|
7936
|
+
interface Props$11 {
|
|
7885
7937
|
figureId: UID;
|
|
7886
7938
|
definition: ChartWithAxisDefinition;
|
|
7887
7939
|
updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
7888
7940
|
axesList: AxisDefinition[];
|
|
7889
7941
|
}
|
|
7890
|
-
declare class AxisDesignEditor extends Component<Props$
|
|
7942
|
+
declare class AxisDesignEditor extends Component<Props$11, SpreadsheetChildEnv> {
|
|
7891
7943
|
static template: string;
|
|
7892
7944
|
static components: {
|
|
7893
7945
|
Section: typeof Section;
|
|
@@ -7919,14 +7971,14 @@ interface Choice {
|
|
|
7919
7971
|
value: unknown;
|
|
7920
7972
|
label: string;
|
|
7921
7973
|
}
|
|
7922
|
-
interface Props$
|
|
7974
|
+
interface Props$10 {
|
|
7923
7975
|
choices: Choice[];
|
|
7924
7976
|
onChange: (value: unknown) => void;
|
|
7925
7977
|
selectedValue: string;
|
|
7926
7978
|
name: string;
|
|
7927
7979
|
direction: "horizontal" | "vertical";
|
|
7928
7980
|
}
|
|
7929
|
-
declare class RadioSelection extends Component<Props$
|
|
7981
|
+
declare class RadioSelection extends Component<Props$10, SpreadsheetChildEnv> {
|
|
7930
7982
|
static template: string;
|
|
7931
7983
|
static props: {
|
|
7932
7984
|
choices: ArrayConstructor;
|
|
@@ -7945,13 +7997,13 @@ declare class RadioSelection extends Component<Props$13, SpreadsheetChildEnv> {
|
|
|
7945
7997
|
};
|
|
7946
7998
|
}
|
|
7947
7999
|
|
|
7948
|
-
interface Props
|
|
8000
|
+
interface Props$$ {
|
|
7949
8001
|
currentColor?: string;
|
|
7950
8002
|
onColorPicked: (color: string) => void;
|
|
7951
8003
|
title?: string;
|
|
7952
8004
|
disableNoColor?: boolean;
|
|
7953
8005
|
}
|
|
7954
|
-
declare class RoundColorPicker extends Component<Props
|
|
8006
|
+
declare class RoundColorPicker extends Component<Props$$, SpreadsheetChildEnv> {
|
|
7955
8007
|
static template: string;
|
|
7956
8008
|
static components: {
|
|
7957
8009
|
Section: typeof Section;
|
|
@@ -7984,13 +8036,13 @@ declare class RoundColorPicker extends Component<Props$12, SpreadsheetChildEnv>
|
|
|
7984
8036
|
get buttonStyle(): string;
|
|
7985
8037
|
}
|
|
7986
8038
|
|
|
7987
|
-
interface Props$
|
|
8039
|
+
interface Props$_ {
|
|
7988
8040
|
figureId: UID;
|
|
7989
8041
|
definition: ChartDefinition;
|
|
7990
8042
|
updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
7991
8043
|
defaultChartTitleFontSize?: number;
|
|
7992
8044
|
}
|
|
7993
|
-
declare class GeneralDesignEditor extends Component<Props$
|
|
8045
|
+
declare class GeneralDesignEditor extends Component<Props$_, SpreadsheetChildEnv> {
|
|
7994
8046
|
static template: string;
|
|
7995
8047
|
static components: {
|
|
7996
8048
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -8024,12 +8076,12 @@ declare class GeneralDesignEditor extends Component<Props$11, SpreadsheetChildEn
|
|
|
8024
8076
|
updateChartTitleStyle(style: TitleDesign): void;
|
|
8025
8077
|
}
|
|
8026
8078
|
|
|
8027
|
-
interface Props$
|
|
8079
|
+
interface Props$Z {
|
|
8028
8080
|
figureId: UID;
|
|
8029
8081
|
definition: ChartWithDataSetDefinition;
|
|
8030
8082
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8031
8083
|
}
|
|
8032
|
-
declare class ChartLegend extends Component<Props$
|
|
8084
|
+
declare class ChartLegend extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
8033
8085
|
static template: string;
|
|
8034
8086
|
static components: {
|
|
8035
8087
|
Section: typeof Section;
|
|
@@ -8042,13 +8094,13 @@ declare class ChartLegend extends Component<Props$10, SpreadsheetChildEnv> {
|
|
|
8042
8094
|
updateLegendPosition(ev: any): void;
|
|
8043
8095
|
}
|
|
8044
8096
|
|
|
8045
|
-
interface Props
|
|
8097
|
+
interface Props$Y {
|
|
8046
8098
|
figureId: UID;
|
|
8047
8099
|
definition: ChartWithDataSetDefinition;
|
|
8048
8100
|
canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8049
8101
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8050
8102
|
}
|
|
8051
|
-
declare class SeriesDesignEditor extends Component<Props
|
|
8103
|
+
declare class SeriesDesignEditor extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
8052
8104
|
static template: string;
|
|
8053
8105
|
static components: {
|
|
8054
8106
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -8076,13 +8128,13 @@ declare class SeriesDesignEditor extends Component<Props$$, SpreadsheetChildEnv>
|
|
|
8076
8128
|
getDataSeriesLabel(): string | undefined;
|
|
8077
8129
|
}
|
|
8078
8130
|
|
|
8079
|
-
interface Props$
|
|
8131
|
+
interface Props$X {
|
|
8080
8132
|
figureId: UID;
|
|
8081
8133
|
definition: ChartWithDataSetDefinition;
|
|
8082
8134
|
canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8083
8135
|
updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8084
8136
|
}
|
|
8085
|
-
declare class SeriesWithAxisDesignEditor extends Component<Props$
|
|
8137
|
+
declare class SeriesWithAxisDesignEditor extends Component<Props$X, SpreadsheetChildEnv> {
|
|
8086
8138
|
static template: string;
|
|
8087
8139
|
static components: {
|
|
8088
8140
|
SeriesDesignEditor: typeof SeriesDesignEditor;
|
|
@@ -8123,13 +8175,13 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$_, SpreadsheetC
|
|
|
8123
8175
|
updateTrendLineValue(index: number, config: any): void;
|
|
8124
8176
|
}
|
|
8125
8177
|
|
|
8126
|
-
interface Props$
|
|
8178
|
+
interface Props$W {
|
|
8127
8179
|
figureId: UID;
|
|
8128
8180
|
definition: ChartWithDataSetDefinition;
|
|
8129
8181
|
canUpdateChart: (figureID: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8130
8182
|
updateChart: (figureId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8131
8183
|
}
|
|
8132
|
-
declare class ChartWithAxisDesignPanel<P extends Props$
|
|
8184
|
+
declare class ChartWithAxisDesignPanel<P extends Props$W = Props$W> extends Component<P, SpreadsheetChildEnv> {
|
|
8133
8185
|
static template: string;
|
|
8134
8186
|
static components: {
|
|
8135
8187
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -8149,13 +8201,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$Z = Props$Z> extends Comp
|
|
|
8149
8201
|
get axesList(): AxisDefinition[];
|
|
8150
8202
|
}
|
|
8151
8203
|
|
|
8152
|
-
interface Props$
|
|
8204
|
+
interface Props$V {
|
|
8153
8205
|
figureId: UID;
|
|
8154
8206
|
definition: GaugeChartDefinition;
|
|
8155
8207
|
canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8156
8208
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8157
8209
|
}
|
|
8158
|
-
declare class GaugeChartConfigPanel extends Component<Props$
|
|
8210
|
+
declare class GaugeChartConfigPanel extends Component<Props$V, SpreadsheetChildEnv> {
|
|
8159
8211
|
static template: string;
|
|
8160
8212
|
static components: {
|
|
8161
8213
|
ChartErrorSection: typeof ChartErrorSection;
|
|
@@ -8220,13 +8272,13 @@ interface EnrichedToken extends Token {
|
|
|
8220
8272
|
isInHoverContext?: boolean;
|
|
8221
8273
|
}
|
|
8222
8274
|
|
|
8223
|
-
interface Props$
|
|
8275
|
+
interface Props$U {
|
|
8224
8276
|
proposals: AutoCompleteProposal[];
|
|
8225
8277
|
selectedIndex: number | undefined;
|
|
8226
8278
|
onValueSelected: (value: string) => void;
|
|
8227
8279
|
onValueHovered: (index: string) => void;
|
|
8228
8280
|
}
|
|
8229
|
-
declare class TextValueProvider extends Component<Props$
|
|
8281
|
+
declare class TextValueProvider extends Component<Props$U> {
|
|
8230
8282
|
static template: string;
|
|
8231
8283
|
static props: {
|
|
8232
8284
|
proposals: ArrayConstructor;
|
|
@@ -8282,11 +8334,11 @@ declare class ContentEditableHelper {
|
|
|
8282
8334
|
getText(): string;
|
|
8283
8335
|
}
|
|
8284
8336
|
|
|
8285
|
-
interface Props$
|
|
8337
|
+
interface Props$T {
|
|
8286
8338
|
functionDescription: FunctionDescription;
|
|
8287
8339
|
argsToFocus: number[];
|
|
8288
8340
|
}
|
|
8289
|
-
declare class FunctionDescriptionProvider extends Component<Props$
|
|
8341
|
+
declare class FunctionDescriptionProvider extends Component<Props$T, SpreadsheetChildEnv> {
|
|
8290
8342
|
static template: string;
|
|
8291
8343
|
static props: {
|
|
8292
8344
|
functionDescription: ObjectConstructor;
|
|
@@ -8297,15 +8349,15 @@ declare class FunctionDescriptionProvider extends Component<Props$W, Spreadsheet
|
|
|
8297
8349
|
};
|
|
8298
8350
|
private state;
|
|
8299
8351
|
toggle(): void;
|
|
8300
|
-
getContext(): Props$
|
|
8352
|
+
getContext(): Props$T;
|
|
8301
8353
|
get formulaArgSeparator(): string;
|
|
8302
8354
|
}
|
|
8303
8355
|
|
|
8304
|
-
interface Props$
|
|
8356
|
+
interface Props$S {
|
|
8305
8357
|
anchorRect: Rect;
|
|
8306
8358
|
content: string;
|
|
8307
8359
|
}
|
|
8308
|
-
declare class SpeechBubble extends Component<Props$
|
|
8360
|
+
declare class SpeechBubble extends Component<Props$S, SpreadsheetChildEnv> {
|
|
8309
8361
|
static template: string;
|
|
8310
8362
|
static props: {
|
|
8311
8363
|
content: StringConstructor;
|
|
@@ -8702,7 +8754,7 @@ interface AutoCompleteProviderDefinition {
|
|
|
8702
8754
|
}, tokenAtCursor: EnrichedToken, text: string): void;
|
|
8703
8755
|
}
|
|
8704
8756
|
|
|
8705
|
-
interface Props$
|
|
8757
|
+
interface Props$R {
|
|
8706
8758
|
onConfirm: (content: string) => void;
|
|
8707
8759
|
composerContent: string;
|
|
8708
8760
|
defaultRangeSheetId: UID;
|
|
@@ -8714,7 +8766,7 @@ interface Props$U {
|
|
|
8714
8766
|
invalid?: boolean;
|
|
8715
8767
|
getContextualColoredSymbolToken?: (token: Token) => Color;
|
|
8716
8768
|
}
|
|
8717
|
-
declare class StandaloneComposer extends Component<Props$
|
|
8769
|
+
declare class StandaloneComposer extends Component<Props$R, SpreadsheetChildEnv> {
|
|
8718
8770
|
static template: string;
|
|
8719
8771
|
static props: {
|
|
8720
8772
|
composerContent: {
|
|
@@ -8777,13 +8829,13 @@ interface PanelState {
|
|
|
8777
8829
|
sectionRuleCancelledReasons?: CommandResult[];
|
|
8778
8830
|
sectionRule: SectionRule;
|
|
8779
8831
|
}
|
|
8780
|
-
interface Props$
|
|
8832
|
+
interface Props$Q {
|
|
8781
8833
|
figureId: UID;
|
|
8782
8834
|
definition: GaugeChartDefinition;
|
|
8783
8835
|
canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8784
8836
|
updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8785
8837
|
}
|
|
8786
|
-
declare class GaugeChartDesignPanel extends Component<Props$
|
|
8838
|
+
declare class GaugeChartDesignPanel extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
8787
8839
|
static template: string;
|
|
8788
8840
|
static components: {
|
|
8789
8841
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -8833,13 +8885,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
8833
8885
|
onUpdateCumulative(cumulative: boolean): void;
|
|
8834
8886
|
}
|
|
8835
8887
|
|
|
8836
|
-
interface Props$
|
|
8888
|
+
interface Props$P {
|
|
8837
8889
|
figureId: UID;
|
|
8838
8890
|
definition: ScorecardChartDefinition;
|
|
8839
8891
|
canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8840
8892
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8841
8893
|
}
|
|
8842
|
-
declare class ScorecardChartConfigPanel extends Component<Props$
|
|
8894
|
+
declare class ScorecardChartConfigPanel extends Component<Props$P, SpreadsheetChildEnv> {
|
|
8843
8895
|
static template: string;
|
|
8844
8896
|
static components: {
|
|
8845
8897
|
SelectionInput: typeof SelectionInput;
|
|
@@ -8868,13 +8920,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$S, SpreadsheetCh
|
|
|
8868
8920
|
}
|
|
8869
8921
|
|
|
8870
8922
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
8871
|
-
interface Props$
|
|
8923
|
+
interface Props$O {
|
|
8872
8924
|
figureId: UID;
|
|
8873
8925
|
definition: ScorecardChartDefinition;
|
|
8874
8926
|
canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8875
8927
|
updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
8876
8928
|
}
|
|
8877
|
-
declare class ScorecardChartDesignPanel extends Component<Props$
|
|
8929
|
+
declare class ScorecardChartDesignPanel extends Component<Props$O, SpreadsheetChildEnv> {
|
|
8878
8930
|
static template: string;
|
|
8879
8931
|
static components: {
|
|
8880
8932
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -8882,6 +8934,7 @@ declare class ScorecardChartDesignPanel extends Component<Props$R, SpreadsheetCh
|
|
|
8882
8934
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
8883
8935
|
Section: typeof Section;
|
|
8884
8936
|
Checkbox: typeof Checkbox;
|
|
8937
|
+
ChartTitle: typeof ChartTitle;
|
|
8885
8938
|
};
|
|
8886
8939
|
static props: {
|
|
8887
8940
|
figureId: StringConstructor;
|
|
@@ -8897,8 +8950,13 @@ declare class ScorecardChartDesignPanel extends Component<Props$R, SpreadsheetCh
|
|
|
8897
8950
|
get defaultScorecardTitleFontSize(): number;
|
|
8898
8951
|
updateHumanizeNumbers(humanize: boolean): void;
|
|
8899
8952
|
translate(term: any): string;
|
|
8900
|
-
updateBaselineDescr(ev: any): void;
|
|
8901
8953
|
setColor(color: Color, colorPickerId: ColorPickerId): void;
|
|
8954
|
+
get keyStyle(): TitleDesign;
|
|
8955
|
+
get baselineStyle(): TitleDesign;
|
|
8956
|
+
setKeyText(text: string): void;
|
|
8957
|
+
updateKeyStyle(style: TitleDesign): void;
|
|
8958
|
+
setBaselineText(text: string): void;
|
|
8959
|
+
updateBaselineStyle(style: TitleDesign): void;
|
|
8902
8960
|
}
|
|
8903
8961
|
|
|
8904
8962
|
interface ChartSidePanel {
|
|
@@ -9021,17 +9079,23 @@ declare class ComposerFocusStore extends SpreadsheetStore {
|
|
|
9021
9079
|
private setComposerContent;
|
|
9022
9080
|
}
|
|
9023
9081
|
|
|
9024
|
-
interface Props$
|
|
9082
|
+
interface Props$N {
|
|
9025
9083
|
figureUI: FigureUI;
|
|
9084
|
+
isFullScreen?: boolean;
|
|
9026
9085
|
}
|
|
9027
|
-
declare class ChartJsComponent extends Component<Props$
|
|
9086
|
+
declare class ChartJsComponent extends Component<Props$N, SpreadsheetChildEnv> {
|
|
9028
9087
|
static template: string;
|
|
9029
9088
|
static props: {
|
|
9030
9089
|
figureUI: ObjectConstructor;
|
|
9090
|
+
isFullScreen: {
|
|
9091
|
+
type: BooleanConstructor;
|
|
9092
|
+
optional: boolean;
|
|
9093
|
+
};
|
|
9031
9094
|
};
|
|
9032
9095
|
private canvas;
|
|
9033
9096
|
private chart?;
|
|
9034
9097
|
private currentRuntime;
|
|
9098
|
+
private animationStore;
|
|
9035
9099
|
private currentDevicePixelRatio;
|
|
9036
9100
|
get background(): string;
|
|
9037
9101
|
get canvasStyle(): string;
|
|
@@ -9039,12 +9103,15 @@ declare class ChartJsComponent extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
|
9039
9103
|
setup(): void;
|
|
9040
9104
|
private createChart;
|
|
9041
9105
|
private updateChartJs;
|
|
9106
|
+
private hasChartDataChanged;
|
|
9107
|
+
private enableAnimationInChartData;
|
|
9108
|
+
get animationFigureId(): string;
|
|
9042
9109
|
}
|
|
9043
9110
|
|
|
9044
|
-
interface Props$
|
|
9111
|
+
interface Props$M {
|
|
9045
9112
|
figureUI: FigureUI;
|
|
9046
9113
|
}
|
|
9047
|
-
declare class ScorecardChart$1 extends Component<Props$
|
|
9114
|
+
declare class ScorecardChart$1 extends Component<Props$M, SpreadsheetChildEnv> {
|
|
9048
9115
|
static template: string;
|
|
9049
9116
|
static props: {
|
|
9050
9117
|
figureUI: ObjectConstructor;
|
|
@@ -9057,7 +9124,7 @@ declare class ScorecardChart$1 extends Component<Props$P, SpreadsheetChildEnv> {
|
|
|
9057
9124
|
}
|
|
9058
9125
|
|
|
9059
9126
|
type MenuItemOrSeparator = Action | "separator";
|
|
9060
|
-
interface Props$
|
|
9127
|
+
interface Props$L {
|
|
9061
9128
|
anchorRect: Rect;
|
|
9062
9129
|
popoverPositioning: PopoverPropsPosition;
|
|
9063
9130
|
menuItems: Action[];
|
|
@@ -9077,7 +9144,7 @@ interface MenuState {
|
|
|
9077
9144
|
menuItems: Action[];
|
|
9078
9145
|
isHoveringChild?: boolean;
|
|
9079
9146
|
}
|
|
9080
|
-
declare class Menu extends Component<Props$
|
|
9147
|
+
declare class Menu extends Component<Props$L, SpreadsheetChildEnv> {
|
|
9081
9148
|
static template: string;
|
|
9082
9149
|
static props: {
|
|
9083
9150
|
anchorRect: ObjectConstructor;
|
|
@@ -9157,14 +9224,14 @@ declare class Menu extends Component<Props$O, SpreadsheetChildEnv> {
|
|
|
9157
9224
|
}
|
|
9158
9225
|
|
|
9159
9226
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
9160
|
-
interface Props$
|
|
9227
|
+
interface Props$K {
|
|
9161
9228
|
figureUI: FigureUI;
|
|
9162
9229
|
style: string;
|
|
9163
9230
|
onFigureDeleted: () => void;
|
|
9164
9231
|
onMouseDown: (ev: MouseEvent) => void;
|
|
9165
9232
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
9166
9233
|
}
|
|
9167
|
-
declare class FigureComponent extends Component<Props$
|
|
9234
|
+
declare class FigureComponent extends Component<Props$K, SpreadsheetChildEnv> {
|
|
9168
9235
|
static template: string;
|
|
9169
9236
|
static props: {
|
|
9170
9237
|
figureUI: ObjectConstructor;
|
|
@@ -9213,10 +9280,17 @@ declare class FigureComponent extends Component<Props$N, SpreadsheetChildEnv> {
|
|
|
9213
9280
|
private openContextMenu;
|
|
9214
9281
|
}
|
|
9215
9282
|
|
|
9216
|
-
interface Props$
|
|
9283
|
+
interface Props$J {
|
|
9217
9284
|
figureUI: FigureUI;
|
|
9218
9285
|
}
|
|
9219
|
-
|
|
9286
|
+
interface MenuItem {
|
|
9287
|
+
id: string;
|
|
9288
|
+
label: string;
|
|
9289
|
+
iconClass: string;
|
|
9290
|
+
onClick: () => void;
|
|
9291
|
+
isSelected?: boolean;
|
|
9292
|
+
}
|
|
9293
|
+
declare class ChartDashboardMenu extends Component<Props$J, SpreadsheetChildEnv> {
|
|
9220
9294
|
static template: string;
|
|
9221
9295
|
static components: {
|
|
9222
9296
|
Menu: typeof Menu;
|
|
@@ -9225,30 +9299,24 @@ declare class ChartDashboardMenu extends Component<Props$M, SpreadsheetChildEnv>
|
|
|
9225
9299
|
figureUI: ObjectConstructor;
|
|
9226
9300
|
};
|
|
9227
9301
|
private originalChartDefinition;
|
|
9302
|
+
private fullScreenFigureStore;
|
|
9228
9303
|
private menuState;
|
|
9229
9304
|
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
|
-
}[];
|
|
9305
|
+
getMenuItems(): MenuItem[];
|
|
9306
|
+
get changeChartTypeMenuItems(): MenuItem[];
|
|
9240
9307
|
getIconClasses(type: ChartType): "" | "fa fa-bar-chart" | "fa fa-line-chart" | "fa fa-pie-chart";
|
|
9241
9308
|
onTypeChange(type: ChartType): void;
|
|
9242
9309
|
get selectedChartType(): "line" | "bar" | "scatter" | "pie" | "radar" | "treemap" | "funnel" | "scorecard" | "gauge" | "combo" | "waterfall" | "pyramid" | "geo" | "sunburst";
|
|
9243
9310
|
get backgroundColor(): string;
|
|
9244
9311
|
openContextMenu(ev: MouseEvent): void;
|
|
9312
|
+
get fullScreenMenuItem(): MenuItem | undefined;
|
|
9245
9313
|
}
|
|
9246
9314
|
|
|
9247
|
-
interface Props$
|
|
9315
|
+
interface Props$I {
|
|
9248
9316
|
figureUI: FigureUI;
|
|
9249
9317
|
onFigureDeleted: () => void;
|
|
9250
9318
|
}
|
|
9251
|
-
declare class ChartFigure extends Component<Props$
|
|
9319
|
+
declare class ChartFigure extends Component<Props$I, SpreadsheetChildEnv> {
|
|
9252
9320
|
static template: string;
|
|
9253
9321
|
static props: {
|
|
9254
9322
|
figureUI: ObjectConstructor;
|
|
@@ -9271,7 +9339,7 @@ declare class DelayedHoveredCellStore extends SpreadsheetStore {
|
|
|
9271
9339
|
clear(): "noStateChange" | undefined;
|
|
9272
9340
|
}
|
|
9273
9341
|
|
|
9274
|
-
interface Props$
|
|
9342
|
+
interface Props$H {
|
|
9275
9343
|
isVisible: boolean;
|
|
9276
9344
|
position: Position;
|
|
9277
9345
|
}
|
|
@@ -9283,7 +9351,7 @@ interface State$3 {
|
|
|
9283
9351
|
position: Position;
|
|
9284
9352
|
handler: boolean;
|
|
9285
9353
|
}
|
|
9286
|
-
declare class Autofill extends Component<Props$
|
|
9354
|
+
declare class Autofill extends Component<Props$H, SpreadsheetChildEnv> {
|
|
9287
9355
|
static template: string;
|
|
9288
9356
|
static props: {
|
|
9289
9357
|
position: ObjectConstructor;
|
|
@@ -9323,7 +9391,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
9323
9391
|
get tagStyle(): string;
|
|
9324
9392
|
}
|
|
9325
9393
|
|
|
9326
|
-
interface Props$
|
|
9394
|
+
interface Props$G {
|
|
9327
9395
|
gridDims: DOMDimension;
|
|
9328
9396
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
9329
9397
|
}
|
|
@@ -9331,7 +9399,7 @@ interface Props$J {
|
|
|
9331
9399
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
9332
9400
|
* It also applies the style of the cell to the composer input.
|
|
9333
9401
|
*/
|
|
9334
|
-
declare class GridComposer extends Component<Props$
|
|
9402
|
+
declare class GridComposer extends Component<Props$G, SpreadsheetChildEnv> {
|
|
9335
9403
|
static template: string;
|
|
9336
9404
|
static props: {
|
|
9337
9405
|
gridDims: ObjectConstructor;
|
|
@@ -9364,70 +9432,6 @@ declare class GridComposer extends Component<Props$J, SpreadsheetChildEnv> {
|
|
|
9364
9432
|
onFocus(): void;
|
|
9365
9433
|
}
|
|
9366
9434
|
|
|
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
9435
|
type HFigureAxisType = "top" | "bottom" | "vCenter";
|
|
9432
9436
|
type VFigureAxisType = "right" | "left" | "hCenter";
|
|
9433
9437
|
interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
@@ -9438,7 +9442,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
9438
9442
|
}
|
|
9439
9443
|
|
|
9440
9444
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
9441
|
-
interface Props$
|
|
9445
|
+
interface Props$F {
|
|
9442
9446
|
onFigureDeleted: () => void;
|
|
9443
9447
|
}
|
|
9444
9448
|
interface Container {
|
|
@@ -9518,7 +9522,7 @@ interface DndState {
|
|
|
9518
9522
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
9519
9523
|
*
|
|
9520
9524
|
*/
|
|
9521
|
-
declare class FiguresContainer extends Component<Props$
|
|
9525
|
+
declare class FiguresContainer extends Component<Props$F, SpreadsheetChildEnv> {
|
|
9522
9526
|
static template: string;
|
|
9523
9527
|
static props: {
|
|
9524
9528
|
onFigureDeleted: FunctionConstructor;
|
|
@@ -9554,31 +9558,6 @@ declare class FiguresContainer extends Component<Props$G, SpreadsheetChildEnv> {
|
|
|
9554
9558
|
private getSnapLineStyle;
|
|
9555
9559
|
}
|
|
9556
9560
|
|
|
9557
|
-
interface Props$F {
|
|
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
9561
|
interface Props$E {
|
|
9583
9562
|
focusGrid: () => void;
|
|
9584
9563
|
}
|
|
@@ -9606,6 +9585,35 @@ declare class GridAddRowsFooter extends Component<Props$E, SpreadsheetChildEnv>
|
|
|
9606
9585
|
private onExternalClick;
|
|
9607
9586
|
}
|
|
9608
9587
|
|
|
9588
|
+
interface GridCellIconProps {
|
|
9589
|
+
icon: GridIcon;
|
|
9590
|
+
verticalAlign?: VerticalAlign;
|
|
9591
|
+
}
|
|
9592
|
+
declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChildEnv> {
|
|
9593
|
+
static template: string;
|
|
9594
|
+
static props: {
|
|
9595
|
+
icon: ObjectConstructor;
|
|
9596
|
+
verticalAlign: {
|
|
9597
|
+
type: StringConstructor;
|
|
9598
|
+
optional: boolean;
|
|
9599
|
+
};
|
|
9600
|
+
slots: ObjectConstructor;
|
|
9601
|
+
};
|
|
9602
|
+
get iconStyle(): string;
|
|
9603
|
+
private getIconVerticalPosition;
|
|
9604
|
+
private getIconHorizontalPosition;
|
|
9605
|
+
isPositionVisible(position: CellPosition): boolean;
|
|
9606
|
+
}
|
|
9607
|
+
|
|
9608
|
+
declare class GridCellIconOverlay extends Component<{}, SpreadsheetChildEnv> {
|
|
9609
|
+
static template: string;
|
|
9610
|
+
static props: {};
|
|
9611
|
+
static components: {
|
|
9612
|
+
GridCellIcon: typeof GridCellIcon;
|
|
9613
|
+
};
|
|
9614
|
+
get icons(): GridIcon[];
|
|
9615
|
+
}
|
|
9616
|
+
|
|
9609
9617
|
interface Props$D {
|
|
9610
9618
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
9611
9619
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: MouseEvent) => void;
|
|
@@ -9647,9 +9655,8 @@ declare class GridOverlay extends Component<Props$D, SpreadsheetChildEnv> {
|
|
|
9647
9655
|
};
|
|
9648
9656
|
static components: {
|
|
9649
9657
|
FiguresContainer: typeof FiguresContainer;
|
|
9650
|
-
DataValidationOverlay: typeof DataValidationOverlay;
|
|
9651
9658
|
GridAddRowsFooter: typeof GridAddRowsFooter;
|
|
9652
|
-
|
|
9659
|
+
GridCellIconOverlay: typeof GridCellIconOverlay;
|
|
9653
9660
|
};
|
|
9654
9661
|
static defaultProps: {
|
|
9655
9662
|
onCellDoubleClicked: () => void;
|
|
@@ -10142,6 +10149,7 @@ declare class Grid extends Component<Props$t, SpreadsheetChildEnv> {
|
|
|
10142
10149
|
private composerFocusStore;
|
|
10143
10150
|
private DOMFocusableElementStore;
|
|
10144
10151
|
private paintFormatStore;
|
|
10152
|
+
private clientFocusStore;
|
|
10145
10153
|
dragNDropGrid: {
|
|
10146
10154
|
start: (initialPointerCoordinates: {
|
|
10147
10155
|
clientX: number;
|
|
@@ -10168,6 +10176,7 @@ declare class Grid extends Component<Props$t, SpreadsheetChildEnv> {
|
|
|
10168
10176
|
private processSpaceKey;
|
|
10169
10177
|
getClientPositionKey(client: Client): string;
|
|
10170
10178
|
isCellHovered(col: HeaderIndex, row: HeaderIndex): boolean;
|
|
10179
|
+
get focusedClients(): Set<string>;
|
|
10171
10180
|
private getGridRect;
|
|
10172
10181
|
onCellClicked(col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: PointerEvent): void;
|
|
10173
10182
|
onCellDoubleClicked(col: HeaderIndex, row: HeaderIndex): void;
|
|
@@ -10656,6 +10665,7 @@ declare class PivotMeasureEditor extends Component<Props$h> {
|
|
|
10656
10665
|
toggleMeasureVisibility(): void;
|
|
10657
10666
|
openShowValuesAs(): void;
|
|
10658
10667
|
getColoredSymbolToken(token: Token): Color | undefined;
|
|
10668
|
+
get isCalculatedMeasureInvalid(): boolean;
|
|
10659
10669
|
}
|
|
10660
10670
|
|
|
10661
10671
|
interface Props$g {
|
|
@@ -10778,6 +10788,7 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
10778
10788
|
* the measure is not in the new definition or the columns have changed.
|
|
10779
10789
|
*/
|
|
10780
10790
|
private shouldKeepSortedColumn;
|
|
10791
|
+
private areDomainFieldsValid;
|
|
10781
10792
|
}
|
|
10782
10793
|
|
|
10783
10794
|
interface Props$e {
|
|
@@ -10881,6 +10892,23 @@ declare function getFirstPivotFunction(tokens: Token[]): {
|
|
|
10881
10892
|
*/
|
|
10882
10893
|
declare function getNumberOfPivotFunctions(tokens: Token[]): number;
|
|
10883
10894
|
|
|
10895
|
+
declare class FullScreenChart extends Component<{}, SpreadsheetChildEnv> {
|
|
10896
|
+
static template: string;
|
|
10897
|
+
static props: {};
|
|
10898
|
+
static components: {
|
|
10899
|
+
ChartDashboardMenu: typeof ChartDashboardMenu;
|
|
10900
|
+
};
|
|
10901
|
+
private fullScreenChartStore;
|
|
10902
|
+
private ref;
|
|
10903
|
+
spreadsheetRect: Rect;
|
|
10904
|
+
figureRegistry: Registry<FigureContent>;
|
|
10905
|
+
setup(): void;
|
|
10906
|
+
get figureUI(): FigureUI | undefined;
|
|
10907
|
+
exitFullScreen(): void;
|
|
10908
|
+
onKeyDown(ev: KeyboardEvent): void;
|
|
10909
|
+
get chartComponent(): (new (...args: any) => Component) | undefined;
|
|
10910
|
+
}
|
|
10911
|
+
|
|
10884
10912
|
interface PivotDialogColumn {
|
|
10885
10913
|
formula: string;
|
|
10886
10914
|
value: string;
|
|
@@ -11288,9 +11316,10 @@ declare class PieChart extends AbstractChart {
|
|
|
11288
11316
|
|
|
11289
11317
|
declare class ScorecardChart extends AbstractChart {
|
|
11290
11318
|
readonly keyValue?: Range;
|
|
11319
|
+
readonly keyDescr?: TitleDesign;
|
|
11291
11320
|
readonly baseline?: Range;
|
|
11292
11321
|
readonly baselineMode: BaselineMode;
|
|
11293
|
-
readonly baselineDescr?:
|
|
11322
|
+
readonly baselineDescr?: TitleDesign;
|
|
11294
11323
|
readonly progressBar: boolean;
|
|
11295
11324
|
readonly background?: Color;
|
|
11296
11325
|
readonly baselineColorUp: Color;
|
|
@@ -11360,6 +11389,19 @@ declare function createEmptyExcelSheet(sheetId: UID, name: string): ExcelSheetDa
|
|
|
11360
11389
|
|
|
11361
11390
|
declare function genericRepeat<T extends Command>(getters: Getters, command: T): T;
|
|
11362
11391
|
|
|
11392
|
+
declare class ClientFocusStore extends SpreadsheetStore {
|
|
11393
|
+
mutators: readonly ["focusClient", "unfocusClient", "showClientTag", "hideClientTag", "jumpToClient"];
|
|
11394
|
+
private _showClientTag;
|
|
11395
|
+
private clientFocusTimeout;
|
|
11396
|
+
constructor(get: Get);
|
|
11397
|
+
get focusedClients(): Set<ClientId>;
|
|
11398
|
+
jumpToClient(clientId: ClientId): void;
|
|
11399
|
+
showClientTag(): void;
|
|
11400
|
+
hideClientTag(): void;
|
|
11401
|
+
focusClient(clientId: ClientId): void;
|
|
11402
|
+
unfocusClient(clientId: ClientId): void;
|
|
11403
|
+
}
|
|
11404
|
+
|
|
11363
11405
|
interface Renderer {
|
|
11364
11406
|
drawLayer(ctx: GridRenderingContext, layer: LayerName): void;
|
|
11365
11407
|
renderingLayers: Readonly<LayerName[]>;
|
|
@@ -11372,6 +11414,13 @@ declare class RendererStore {
|
|
|
11372
11414
|
drawLayer(context: GridRenderingContext, layer: LayerName): string;
|
|
11373
11415
|
}
|
|
11374
11416
|
|
|
11417
|
+
declare class LocalTransportService implements TransportService<CollaborationMessage> {
|
|
11418
|
+
private listeners;
|
|
11419
|
+
sendMessage(message: CollaborationMessage): Promise<void>;
|
|
11420
|
+
onNewMessage(id: UID, callback: NewMessageCallback<CollaborationMessage>): void;
|
|
11421
|
+
leave(id: UID): void;
|
|
11422
|
+
}
|
|
11423
|
+
|
|
11375
11424
|
interface RippleProps {
|
|
11376
11425
|
color: string;
|
|
11377
11426
|
opacity: number;
|
|
@@ -11905,6 +11954,7 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
|
|
|
11905
11954
|
SidePanel: typeof SidePanel;
|
|
11906
11955
|
SpreadsheetDashboard: typeof SpreadsheetDashboard;
|
|
11907
11956
|
HeaderGroupContainer: typeof HeaderGroupContainer;
|
|
11957
|
+
FullScreenChart: typeof FullScreenChart;
|
|
11908
11958
|
};
|
|
11909
11959
|
sidePanel: Store<SidePanelStore>;
|
|
11910
11960
|
spreadsheetRef: {
|
|
@@ -11968,7 +12018,7 @@ declare const registries: {
|
|
|
11968
12018
|
linkMenuRegistry: MenuItemRegistry;
|
|
11969
12019
|
functionRegistry: FunctionRegistry;
|
|
11970
12020
|
featurePluginRegistry: Registry<UIPluginConstructor>;
|
|
11971
|
-
iconsOnCellRegistry: Registry<(getters: Getters, position: CellPosition) =>
|
|
12021
|
+
iconsOnCellRegistry: Registry<(getters: Getters, position: CellPosition) => GridIcon | undefined>;
|
|
11972
12022
|
statefulUIPluginRegistry: Registry<UIPluginConstructor>;
|
|
11973
12023
|
coreViewsPluginRegistry: Registry<CoreViewPluginConstructor>;
|
|
11974
12024
|
corePluginRegistry: Registry<CorePluginConstructor>;
|
|
@@ -12138,6 +12188,7 @@ declare const components: {
|
|
|
12138
12188
|
RadioSelection: typeof RadioSelection;
|
|
12139
12189
|
GeoChartRegionSelectSection: typeof GeoChartRegionSelectSection;
|
|
12140
12190
|
ChartDashboardMenu: typeof ChartDashboardMenu;
|
|
12191
|
+
FullScreenChart: typeof FullScreenChart;
|
|
12141
12192
|
};
|
|
12142
12193
|
declare const hooks: {
|
|
12143
12194
|
useDragAndDropListItems: typeof useDragAndDropListItems;
|
|
@@ -12164,6 +12215,7 @@ declare const stores: {
|
|
|
12164
12215
|
SidePanelStore: typeof SidePanelStore;
|
|
12165
12216
|
PivotSidePanelStore: typeof PivotSidePanelStore;
|
|
12166
12217
|
PivotMeasureDisplayPanelStore: typeof PivotMeasureDisplayPanelStore;
|
|
12218
|
+
ClientFocusStore: typeof ClientFocusStore;
|
|
12167
12219
|
};
|
|
12168
12220
|
|
|
12169
12221
|
declare function addFunction(functionName: string, functionDescription: AddFunctionDescription): {
|
|
@@ -12740,4 +12792,4 @@ declare const chartHelpers: {
|
|
|
12740
12792
|
WaterfallChart: typeof WaterfallChart;
|
|
12741
12793
|
};
|
|
12742
12794
|
|
|
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 };
|
|
12795
|
+
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClientWithPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, CriterionFilter, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataFilterValue, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluatedCriterion, EvaluatedDateCriterion, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartTrendConfiguration, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelTrendlineType, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterCriterionType, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericCriterion, GenericCriterionType, GenericDateCriterion, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, LocalTransportService, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCollapsedDomains, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeAdapter$1 as RangeAdapter, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, ToggleCheckboxCommand, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, ValuesFilter, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, filterDateCriterionOperators, filterNumberCriterionOperators, filterTextCriterionOperators, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|