@odoo/o-spreadsheet 19.2.0-alpha.2 → 19.2.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.
@@ -44,7 +44,7 @@ type Format = string & Alias;
44
44
  type FormattedValue = string & Alias;
45
45
 
46
46
  interface CellAttributes {
47
- readonly id: UID;
47
+ readonly id: number;
48
48
  /**
49
49
  * Raw cell content
50
50
  */
@@ -179,6 +179,7 @@ interface Table {
179
179
  readonly range: Range;
180
180
  readonly filters: Filter[];
181
181
  readonly config: TableConfig;
182
+ readonly isPivotTable?: boolean;
182
183
  }
183
184
  interface StaticTable extends Table {
184
185
  readonly type: "static" | "forceStatic";
@@ -213,9 +214,13 @@ interface TableElementStyle {
213
214
  style?: Style;
214
215
  size?: number;
215
216
  }
216
- interface TableBorder extends Border {
217
- horizontal?: BorderDescr;
218
- vertical?: BorderDescr;
217
+ interface TableBorder {
218
+ top?: BorderDescr | null;
219
+ bottom?: BorderDescr | null;
220
+ left?: BorderDescr | null;
221
+ right?: BorderDescr | null;
222
+ horizontal?: BorderDescr | null;
223
+ vertical?: BorderDescr | null;
219
224
  }
220
225
  interface TableStyle {
221
226
  category: string;
@@ -231,8 +236,12 @@ interface TableStyle {
231
236
  lastColumn?: TableElementStyle;
232
237
  headerRow?: TableElementStyle;
233
238
  totalRow?: TableElementStyle;
239
+ measureHeader?: TableElementStyle;
240
+ mainSubHeaderRow?: TableElementStyle;
241
+ firstAlternatingSubHeaderRow?: TableElementStyle;
242
+ secondAlternatingSubHeaderRow?: TableElementStyle;
234
243
  }
235
- type TableStyleTemplateName = "none" | "lightColoredText" | "lightAllBorders" | "mediumAllBorders" | "lightWithHeader" | "mediumBandedBorders" | "mediumMinimalBorders" | "darkNoBorders" | "mediumWhiteBorders" | "dark";
244
+ type TableStyleTemplateName = string;
236
245
  declare const filterCriterions: GenericCriterionType[];
237
246
  type FilterCriterionType = (typeof filterCriterions)[number];
238
247
  interface ValuesFilter {
@@ -413,7 +422,7 @@ declare class CarouselPlugin extends CorePlugin<CarouselState> implements Carous
413
422
  }
414
423
 
415
424
  interface CoreState$1 {
416
- cells: Record<UID, Record<UID, Cell | undefined> | undefined>;
425
+ cells: Record<UID, Record<number, Cell | undefined> | undefined>;
417
426
  nextId: number;
418
427
  }
419
428
  /**
@@ -430,7 +439,7 @@ declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1
430
439
  [id: string]: Cell;
431
440
  };
432
441
  };
433
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID, sheetName: AdaptSheetName): void;
442
+ adaptRanges({ applyChange }: RangeAdapterFunctions, sheetId: UID, sheetName: AdaptSheetName): void;
434
443
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
435
444
  handle(cmd: CoreCommand): void;
436
445
  private clearZones;
@@ -454,12 +463,12 @@ declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1
454
463
  export(data: WorkbookData): void;
455
464
  importCell(sheetId: UID, content?: string, format?: Format): Cell;
456
465
  exportForExcel(data: ExcelWorkbookData): void;
457
- getCells(sheetId: UID): Record<UID, Cell>;
466
+ getCells(sheetId: UID): Cell[];
458
467
  /**
459
468
  * get a cell by ID. Used in evaluation when evaluating an async cell, we need to be able to find it back after
460
469
  * starting an async evaluation even if it has been moved or re-allocated
461
470
  */
462
- getCellById(cellId: UID): Cell | undefined;
471
+ getCellById(cellId: number): Cell | undefined;
463
472
  getFormulaString(sheetId: UID, tokens: Token[], dependencies: Range[], useBoundedReference?: boolean): string;
464
473
  getTranslatedCellFormula(sheetId: UID, offsetX: number, offsetY: number, tokens: Token[]): string;
465
474
  getFormulaMovedInSheet(originSheetId: UID, targetSheetId: UID, tokens: Token[]): string;
@@ -492,7 +501,7 @@ declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1
492
501
  * gets the currently used style and format of a cell based on it's coordinates
493
502
  */
494
503
  private getFormat;
495
- private getNextUid;
504
+ private getNextCellId;
496
505
  private updateCell;
497
506
  private createCell;
498
507
  private createLiteralCell;
@@ -560,7 +569,7 @@ declare abstract class AbstractChart {
560
569
  * This function should be used to update all the ranges of the chart after
561
570
  * a grid change (add/remove col/row, rename sheet, ...)
562
571
  */
563
- abstract updateRanges(applyChange: ApplyRangeChange, sheetId: UID, adaptSheetName: AdaptSheetName): AbstractChart;
572
+ abstract updateRanges(rangeAdapters: RangeAdapterFunctions): AbstractChart;
564
573
  /**
565
574
  * Duplicate the chart when a sheet is duplicated.
566
575
  * The ranges that are in the same sheet as the chart are adapted to the new sheetId.
@@ -593,7 +602,7 @@ declare class ChartPlugin extends CorePlugin<ChartState> implements ChartState {
593
602
  readonly charts: Record<UID, FigureChart | undefined>;
594
603
  private createChart;
595
604
  private validateChartDefinition;
596
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID, adaptSheetName: AdaptSheetName): void;
605
+ adaptRanges(rangeAdapters: RangeAdapterFunctions): void;
597
606
  allowDispatch(cmd: Command): CommandResult | CommandResult[];
598
607
  handle(cmd: CoreCommand): void;
599
608
  getContextCreationChart(chartId: UID): ChartCreationContext | undefined;
@@ -702,9 +711,9 @@ declare class ConditionalFormatPlugin extends CorePlugin<ConditionalFormatState>
702
711
  readonly cfRules: {
703
712
  [sheet: string]: ConditionalFormatInternal[];
704
713
  };
705
- adaptCFFormulas(applyChange: ApplyRangeChange): void;
706
- adaptCFRanges(sheetId: UID, applyChange: ApplyRangeChange): void;
707
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
714
+ adaptCFFormulas({ applyChange, adaptFormulaString }: RangeAdapterFunctions): void;
715
+ adaptCFRanges(sheetId: UID, { applyChange }: RangeAdapterFunctions): void;
716
+ adaptRanges(rangeAdapters: RangeAdapterFunctions, sheetId: UID): void;
708
717
  allowDispatch(cmd: Command): CommandResult | CommandResult[];
709
718
  handle(cmd: CoreCommand): void;
710
719
  import(data: WorkbookData): void;
@@ -873,7 +882,7 @@ declare class DataValidationPlugin extends CorePlugin<DataValidationState> imple
873
882
  readonly rules: {
874
883
  [sheet: string]: DataValidationRule[];
875
884
  };
876
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
885
+ adaptRanges(rangeAdapters: RangeAdapterFunctions, sheetId: UID): void;
877
886
  private adaptDVFormulas;
878
887
  private adaptDVRanges;
879
888
  allowDispatch(cmd: Command): CommandResult | CommandResult[];
@@ -908,7 +917,7 @@ declare class FigurePlugin extends CorePlugin<FigureState> implements FigureStat
908
917
  [sheet: string]: Record<UID, Figure | undefined> | undefined;
909
918
  };
910
919
  readonly insertionOrders: UID[];
911
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
920
+ adaptRanges({ applyChange }: RangeAdapterFunctions, sheetId: UID): void;
912
921
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
913
922
  beforeHandle(cmd: CoreCommand): void;
914
923
  handle(cmd: CoreCommand): void;
@@ -1119,20 +1128,16 @@ interface MergeState {
1119
1128
  readonly mergeCellMap: Record<UID, SheetMergeCellMap | undefined>;
1120
1129
  }
1121
1130
  declare class MergePlugin extends CorePlugin<MergeState> implements MergeState {
1122
- static getters: readonly ["isInMerge", "isInSameMerge", "isMergeHidden", "getMainCellPosition", "expandZone", "doesIntersectMerge", "doesColumnsHaveCommonMerges", "doesRowsHaveCommonMerges", "getMerges", "getMerge", "getMergesInZone", "isSingleCellOrMerge", "getSelectionRangeString", "isMainCellPosition"];
1131
+ static getters: readonly ["isInMerge", "isInSameMerge", "isMergeHidden", "getMainCellPosition", "expandZone", "doesIntersectMerge", "doesColumnsHaveCommonMerges", "doesRowsHaveCommonMerges", "getMerges", "getMerge", "getMergesInZone", "isSingleCellOrMerge", "isMainCellPosition"];
1123
1132
  private nextId;
1124
1133
  readonly merges: Record<UID, Record<number, Range | undefined> | undefined>;
1125
1134
  readonly mergeCellMap: Record<UID, SheetMergeCellMap | undefined>;
1126
1135
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
1127
1136
  handle(cmd: CoreCommand): void;
1128
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
1137
+ adaptRanges(rangeAdapters: RangeAdapterFunctions, sheetId: UID): void;
1129
1138
  getMerges(sheetId: UID): Merge[];
1130
1139
  getMerge({ sheetId, col, row }: CellPosition): Merge | undefined;
1131
1140
  getMergesInZone(sheetId: UID, zone: Zone): Merge[];
1132
- /**
1133
- * Same as `getRangeString` but add all necessary merge to the range to make it a valid selection
1134
- */
1135
- getSelectionRangeString(range: Range, forSheetId: UID): string;
1136
1141
  /**
1137
1142
  * Return true if the zone intersects an existing merge:
1138
1143
  * if they have at least a common cell
@@ -1348,20 +1353,28 @@ interface PivotStyle {
1348
1353
  displayTotals?: boolean;
1349
1354
  displayColumnHeaders?: boolean;
1350
1355
  displayMeasuresRow?: boolean;
1356
+ tableStyleId?: string;
1357
+ bandedRows?: boolean;
1358
+ bandedColumns?: boolean;
1359
+ hasFilters?: boolean;
1351
1360
  }
1352
1361
 
1353
1362
  interface Pivot$1 {
1354
1363
  definition: PivotCoreDefinition;
1355
1364
  formulaId: string;
1356
1365
  }
1366
+ interface MeasureState {
1367
+ formula: RangeCompiledFormula;
1368
+ dependencies: Range[];
1369
+ }
1357
1370
  interface CoreState {
1358
1371
  nextFormulaId: number;
1359
1372
  pivots: Record<UID, Pivot$1 | undefined>;
1360
1373
  formulaIds: Record<UID, string | undefined>;
1361
- compiledMeasureFormulas: Record<UID, Record<string, RangeCompiledFormula | undefined>>;
1374
+ compiledMeasureFormulas: Record<UID, Record<string, MeasureState | undefined>>;
1362
1375
  }
1363
1376
  declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState {
1364
- static getters: readonly ["getPivotCoreDefinition", "getPivotDisplayName", "getPivotId", "getPivotFormulaId", "getPivotIds", "getMeasureCompiledFormula", "getPivotName", "isExistingPivot"];
1377
+ static getters: readonly ["getPivotCoreDefinition", "getPivotDisplayName", "getPivotId", "getPivotFormulaId", "getPivotIds", "getMeasureCompiledFormula", "getPivotName", "isExistingPivot", "getMeasureFullDependencies"];
1365
1378
  readonly nextFormulaId: number;
1366
1379
  readonly pivots: {
1367
1380
  [pivotId: UID]: Pivot$1 | undefined;
@@ -1369,10 +1382,10 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
1369
1382
  readonly formulaIds: {
1370
1383
  [formulaId: UID]: UID | undefined;
1371
1384
  };
1372
- readonly compiledMeasureFormulas: Record<UID, Record<string, RangeCompiledFormula>>;
1385
+ readonly compiledMeasureFormulas: Record<UID, Record<string, MeasureState>>;
1373
1386
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
1374
1387
  handle(cmd: CoreCommand): void;
1375
- adaptRanges(applyChange: ApplyRangeChange): void;
1388
+ adaptRanges({ applyChange, adaptFormulaString }: RangeAdapterFunctions): void;
1376
1389
  getPivotDisplayName(pivotId: UID): string;
1377
1390
  getPivotName(pivotId: UID): string;
1378
1391
  /**
@@ -1388,9 +1401,11 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
1388
1401
  getPivotFormulaId(pivotId: UID): string;
1389
1402
  getPivotIds(): UID[];
1390
1403
  isExistingPivot(pivotId: UID): boolean;
1391
- getMeasureCompiledFormula(measure: PivotCoreMeasure): RangeCompiledFormula;
1404
+ getMeasureCompiledFormula(pivotId: UID, measure: PivotCoreMeasure): RangeCompiledFormula;
1405
+ getMeasureFullDependencies(pivotId: UID, measure: PivotCoreMeasure): Range[];
1392
1406
  private addPivot;
1393
1407
  private compileCalculatedMeasures;
1408
+ private computeMeasureFullDependencies;
1394
1409
  private insertPivot;
1395
1410
  private resizeSheet;
1396
1411
  private getPivotCore;
@@ -1409,12 +1424,12 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
1409
1424
  export(data: WorkbookData): void;
1410
1425
  }
1411
1426
 
1412
- declare class RangeAdapter$1 implements CommandHandler<CoreCommand> {
1427
+ declare class RangeAdapterPlugin implements CommandHandler<CoreCommand> {
1413
1428
  private getters;
1414
1429
  private providers;
1415
1430
  private isAdaptingRanges;
1416
1431
  constructor(getters: CoreGetters);
1417
- static getters: readonly ["adaptFormulaStringDependencies", "copyFormulaStringForSheet", "extendRange", "getRangeString", "getRangeFromSheetXC", "createAdaptedRanges", "getRangeData", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone", "getRangesUnion", "recomputeRanges", "isRangeValid", "removeRangesSheetPrefix"];
1432
+ static getters: readonly ["copyFormulaStringForSheet", "extendRange", "getRangeString", "getRangeFromSheetXC", "createAdaptedRanges", "getRangeData", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone", "getRangesUnion", "recomputeRanges", "isRangeValid", "removeRangesSheetPrefix"];
1418
1433
  allowDispatch(cmd: CoreCommand): CommandResult;
1419
1434
  beforeHandle(command: Command): void;
1420
1435
  handle(cmd: CoreCommand): void;
@@ -1471,7 +1486,6 @@ declare class RangeAdapter$1 implements CommandHandler<CoreCommand> {
1471
1486
  getRangeFromRangeData(data: RangeData): Range;
1472
1487
  isRangeValid(rangeStr: string): boolean;
1473
1488
  getRangesUnion(ranges: Range[]): Range;
1474
- adaptFormulaStringDependencies(sheetId: UID, formula: string, applyChange: ApplyRangeChange): string;
1475
1489
  /**
1476
1490
  * Copy a formula string to another sheet.
1477
1491
  *
@@ -1497,14 +1511,14 @@ interface SheetState {
1497
1511
  readonly sheets: Record<UID, Sheet | undefined>;
1498
1512
  readonly orderedSheetIds: UID[];
1499
1513
  readonly sheetIdsMapName: Record<string, UID | undefined>;
1500
- readonly cellPosition: Record<UID, CellPosition | undefined>;
1514
+ readonly cellPosition: Record<number, CellPosition | undefined>;
1501
1515
  }
1502
1516
  declare class SheetPlugin extends CorePlugin<SheetState> implements SheetState {
1503
- static getters: readonly ["getSheetName", "tryGetSheetName", "getSheet", "tryGetSheet", "getSheetIdByName", "getSheetIds", "getVisibleSheetIds", "isSheetVisible", "doesHeaderExist", "doesHeadersExist", "getCell", "getCellPosition", "getColsZone", "getRowCells", "getRowsZone", "getNumberCols", "getNumberRows", "getNumberHeaders", "getGridLinesVisibility", "getNextSheetName", "getSheetSize", "getSheetZone", "getPaneDivisions", "checkZonesExistInSheet", "getCommandZones", "getUnboundedZone", "checkElementsIncludeAllNonFrozenHeaders", "getDuplicateSheetName"];
1517
+ static getters: readonly ["getSheetName", "tryGetSheetName", "getSheet", "tryGetSheet", "getSheetIdByName", "getSheetIds", "getVisibleSheetIds", "isSheetVisible", "doesHeaderExist", "doesHeadersExist", "getCell", "getCellPosition", "getColsZone", "getRowCellIds", "getRowsZone", "getNumberCols", "getNumberRows", "getNumberHeaders", "getGridLinesVisibility", "getNextSheetName", "getSheetSize", "getSheetZone", "getPaneDivisions", "checkZonesExistInSheet", "getCommandZones", "getUnboundedZone", "checkElementsIncludeAllNonFrozenHeaders", "getDuplicateSheetName", "tryGetCellPosition"];
1504
1518
  readonly sheetIdsMapName: Record<string, UID | undefined>;
1505
1519
  readonly orderedSheetIds: UID[];
1506
1520
  readonly sheets: Record<UID, Sheet | undefined>;
1507
- readonly cellPosition: Record<UID, CellPosition | undefined>;
1521
+ readonly cellPosition: Record<number, CellPosition | undefined>;
1508
1522
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
1509
1523
  beforeHandle(cmd: CoreCommand): void;
1510
1524
  handle(cmd: CoreCommand): void;
@@ -1531,9 +1545,10 @@ declare class SheetPlugin extends CorePlugin<SheetState> implements SheetState {
1531
1545
  doesHeadersExist(sheetId: UID, dimension: Dimension, headerIndexes: HeaderIndex[]): boolean;
1532
1546
  getCell({ sheetId, col, row }: CellPosition): Cell | undefined;
1533
1547
  getColsZone(sheetId: UID, start: HeaderIndex, end: HeaderIndex): Zone;
1534
- getRowCells(sheetId: UID, row: HeaderIndex): UID[];
1548
+ getRowCellIds(sheetId: UID, row: HeaderIndex): number[];
1535
1549
  getRowsZone(sheetId: UID, start: HeaderIndex, end: HeaderIndex): Zone;
1536
- getCellPosition(cellId: UID): CellPosition;
1550
+ getCellPosition(cellId: number): CellPosition;
1551
+ tryGetCellPosition(cellId: number): CellPosition | undefined;
1537
1552
  getNumberCols(sheetId: UID): number;
1538
1553
  getNumberRows(sheetId: UID): number;
1539
1554
  getNumberHeaders(sheetId: UID, dimension: Dimension): HeaderIndex;
@@ -1652,7 +1667,7 @@ declare class StylePlugin extends CorePlugin<StylePluginState> implements StyleP
1652
1667
  readonly styles: Record<UID, ZoneStyle[] | undefined>;
1653
1668
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
1654
1669
  handle(cmd: CoreCommand): void;
1655
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
1670
+ adaptRanges({ applyChange }: RangeAdapterFunctions, sheetId: UID): void;
1656
1671
  private handleAddColumnn;
1657
1672
  private handleAddRows;
1658
1673
  private styleIsDefault;
@@ -1679,7 +1694,7 @@ declare class TablePlugin extends CorePlugin<TableState> implements TableState {
1679
1694
  static getters: readonly ["getCoreTable", "getCoreTables", "getCoreTableMatchingTopLeft"];
1680
1695
  readonly tables: Record<UID, Record<TableId, CoreTable | undefined>>;
1681
1696
  readonly nextTableId: number;
1682
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
1697
+ adaptRanges({ applyChange }: RangeAdapterFunctions, sheetId: UID): void;
1683
1698
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
1684
1699
  handle(cmd: CoreCommand): void;
1685
1700
  getCoreTables(sheetId: UID): CoreTable[];
@@ -1779,7 +1794,7 @@ type PluginGetters<Plugin extends {
1779
1794
  new (...args: unknown[]): any;
1780
1795
  getters: readonly string[];
1781
1796
  }> = Pick<InstanceType<Plugin>, GetterNames<Plugin>>;
1782
- type RangeAdapterGetters = Pick<RangeAdapter$1, GetterNames<typeof RangeAdapter$1>>;
1797
+ type RangeAdapterGetters = Pick<RangeAdapterPlugin, GetterNames<typeof RangeAdapterPlugin>>;
1783
1798
  type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof HeaderSizePlugin> & PluginGetters<typeof HeaderVisibilityPlugin> & PluginGetters<typeof CellPlugin> & PluginGetters<typeof StylePlugin> & PluginGetters<typeof MergePlugin> & PluginGetters<typeof BordersPlugin> & PluginGetters<typeof ChartPlugin> & PluginGetters<typeof ImagePlugin> & PluginGetters<typeof CarouselPlugin> & PluginGetters<typeof FigurePlugin> & RangeAdapterGetters & PluginGetters<typeof ConditionalFormatPlugin> & PluginGetters<typeof TablePlugin> & PluginGetters<typeof SettingsPlugin> & PluginGetters<typeof HeaderGroupingPlugin> & PluginGetters<typeof DataValidationPlugin> & PluginGetters<typeof PivotCorePlugin>;
1784
1799
 
1785
1800
  type VerticalAxisPosition = "left" | "right";
@@ -2068,7 +2083,7 @@ declare class BasePlugin<State = any, C = any> implements CommandHandler<C>, Val
2068
2083
  interface CorePluginConfig {
2069
2084
  readonly getters: CoreGetters;
2070
2085
  readonly stateObserver: StateObserver;
2071
- readonly range: RangeAdapter$1;
2086
+ readonly range: RangeAdapterPlugin;
2072
2087
  readonly dispatch: CoreCommandDispatcher["dispatch"];
2073
2088
  readonly canDispatch: CoreCommandDispatcher["dispatch"];
2074
2089
  readonly custom: ModelConfig["custom"];
@@ -2098,7 +2113,7 @@ declare class CorePlugin<State = any> extends BasePlugin<State, CoreCommand> imp
2098
2113
  * @param sheetId an sheetId to adapt either range of that sheet specifically, or ranges pointing to that sheet
2099
2114
  * @param sheetName couple of old and new sheet names to adapt ranges pointing to that sheet
2100
2115
  */
2101
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID, sheetName: AdaptSheetName): void;
2116
+ adaptRanges(rangeAdapterFunctions: RangeAdapterFunctions, sheetId: UID, sheetName: AdaptSheetName): void;
2102
2117
  }
2103
2118
 
2104
2119
  type ZoneBorderData = {
@@ -2122,7 +2137,7 @@ declare class BordersPlugin extends CorePlugin<BordersPluginState> implements Bo
2122
2137
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
2123
2138
  handle(cmd: CoreCommand): void;
2124
2139
  beforeHandle(cmd: CoreCommand): void;
2125
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
2140
+ adaptRanges({ applyChange }: RangeAdapterFunctions, sheetId: UID): void;
2126
2141
  private onRowRemove;
2127
2142
  private onColRemove;
2128
2143
  getCellBorder(position: CellPosition): Border;
@@ -2665,6 +2680,9 @@ declare class DynamicTablesPlugin extends CoreViewPlugin {
2665
2680
  handle(cmd: Command): void;
2666
2681
  finalize(): void;
2667
2682
  private computeTables;
2683
+ private getDynamicTables;
2684
+ private getTablesFromPivots;
2685
+ private getTableConfigFromPivotStyle;
2668
2686
  getFilters(sheetId: UID): Filter[];
2669
2687
  getTables(sheetId: UID): Table[];
2670
2688
  getFilter(position: CellPosition): Filter | undefined;
@@ -2790,6 +2808,13 @@ declare class EvaluationDataValidationPlugin extends CoreViewPlugin {
2790
2808
  private getEvaluatedCriterionValues;
2791
2809
  }
2792
2810
 
2811
+ declare class FormulaTrackerPlugin extends CoreViewPlugin {
2812
+ static getters: readonly ["getCellsWithTrackedFormula"];
2813
+ private trackedCells;
2814
+ handle(cmd: Command): void;
2815
+ getCellsWithTrackedFormula(formula: string): number[];
2816
+ }
2817
+
2793
2818
  type Canvas2DContext = CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D;
2794
2819
 
2795
2820
  interface HeaderSizeState {
@@ -2938,6 +2963,12 @@ declare class SpreadsheetPivotTable {
2938
2963
  field: string;
2939
2964
  value: CellValue;
2940
2965
  }[][];
2966
+ getPivotTableDimensions(pivotStyle: Required<PivotStyle>): {
2967
+ numberOfCols: number;
2968
+ numberOfRows: number;
2969
+ numberOfHeaderRows: number;
2970
+ };
2971
+ getNumberOfRowGroupBys(): number;
2941
2972
  }
2942
2973
 
2943
2974
  interface InitPivotParams {
@@ -2970,7 +3001,7 @@ interface Pivot<T = PivotRuntimeDefinition> {
2970
3001
  }
2971
3002
 
2972
3003
  declare class PivotUIPlugin extends CoreViewPlugin {
2973
- static getters: readonly ["getPivot", "getFirstPivotFunction", "getPivotCellSortDirection", "getPivotIdFromPosition", "getPivotCellFromPosition", "generateNewCalculatedMeasureName", "isPivotUnused", "isSpillPivotFormula"];
3004
+ static getters: readonly ["getPivot", "getFirstPivotFunction", "getPivotCellSortDirection", "getPivotIdFromPosition", "getPivotCellFromPosition", "generateNewCalculatedMeasureName", "isPivotUnused", "isSpillPivotFormula", "getAllPivotArrayFormulas", "getPivotStyleAtPosition"];
2974
3005
  private pivots;
2975
3006
  private unusedPivotsInFormulas?;
2976
3007
  private custom;
@@ -3013,6 +3044,16 @@ declare class PivotUIPlugin extends CoreViewPlugin {
3013
3044
  recreate: boolean;
3014
3045
  }): void;
3015
3046
  private _getUnusedPivotsInFormulas;
3047
+ getAllPivotArrayFormulas(): {
3048
+ position: CellPosition;
3049
+ pivotStyle: Required<PivotStyle>;
3050
+ pivotId: UID;
3051
+ }[];
3052
+ getPivotStyleAtPosition(position: CellPosition): {
3053
+ pivotStyle: Required<PivotStyle>;
3054
+ pivotId: UID;
3055
+ } | undefined;
3056
+ private isMainFunctionPivotSpreadFunction;
3016
3057
  }
3017
3058
 
3018
3059
  /**
@@ -3452,7 +3493,6 @@ declare class SplitToColumnsPlugin extends UIPlugin {
3452
3493
  }
3453
3494
 
3454
3495
  declare class SubtotalEvaluationPlugin extends UIPlugin {
3455
- private subtotalCells;
3456
3496
  handle(cmd: Command): void;
3457
3497
  }
3458
3498
 
@@ -3466,6 +3506,7 @@ declare class TableComputedStylePlugin extends UIPlugin {
3466
3506
  getCellTableBorder(position: CellPosition): Border | undefined;
3467
3507
  getCellTableBorderZone(sheetId: UID, zone: Zone): PositionMap<Border>;
3468
3508
  private computeTableStyle;
3509
+ private getTableMetaData;
3469
3510
  /**
3470
3511
  * Get the actual table config that will be used to compute the table style. It is different from
3471
3512
  * the config of the table because of hidden rows and columns in the sheet. For example remove the
@@ -3605,6 +3646,9 @@ declare class ClipboardPlugin extends UIPlugin {
3605
3646
  constructor(config: UIPluginConfig);
3606
3647
  allowDispatch(cmd: LocalCommand): CommandResult;
3607
3648
  handle(cmd: Command): void;
3649
+ private getCopiedDataAbove;
3650
+ private getCopiedDataOnLeft;
3651
+ private getCopiedDataAboveOnLeft;
3608
3652
  private convertTextToClipboardData;
3609
3653
  private selectClipboardHandlers;
3610
3654
  private isCutAllowedOn;
@@ -3700,7 +3744,7 @@ declare class HeaderPositionsUIPlugin extends UIPlugin {
3700
3744
  */
3701
3745
  declare class GridSelectionPlugin extends UIPlugin {
3702
3746
  static layers: readonly ["Selection"];
3703
- static getters: readonly ["getActiveSheet", "getActiveSheetId", "getActiveSheetName", "getActiveCell", "getActiveCols", "getActiveRows", "getCurrentStyle", "getSelectedZones", "getSelectedZone", "getSelectedCells", "getSelectedFigureId", "getSelection", "getActivePosition", "getSheetPosition", "isSingleColSelected", "getElementsFromSelection", "tryGetActiveSheetId", "isGridSelectionActive", "getSelectecUnboundedZone"];
3747
+ static getters: readonly ["getActiveSheet", "getActiveSheetId", "getActiveSheetName", "getActiveCell", "getActiveCols", "getActiveRows", "getCurrentStyle", "getSelectedZones", "getSelectedZone", "getSelectedCells", "getSelectedFigureId", "getSelection", "getActivePosition", "getSheetPosition", "isSingleColSelected", "getElementsFromSelection", "tryGetActiveSheetId", "isGridSelectionActive", "getSelectecUnboundedZone", "getSelectionRangeString"];
3704
3748
  private gridSelection;
3705
3749
  private selectedFigureId;
3706
3750
  private sheetsData;
@@ -3741,6 +3785,12 @@ declare class GridSelectionPlugin extends UIPlugin {
3741
3785
  * if dimension === "ROW" => [2,3,4,5]
3742
3786
  */
3743
3787
  getElementsFromSelection(dimension: Dimension): number[];
3788
+ /**
3789
+ * Same as `getRangeString` but add:
3790
+ * - all necessary merge to the range to make it a valid selection
3791
+ * - the "#" suffix if the range is a spilled reference
3792
+ */
3793
+ getSelectionRangeString(range: Range, forSheetId: UID): string;
3744
3794
  private activateSheet;
3745
3795
  /**
3746
3796
  * Ensure selections are not outside sheet boundaries.
@@ -4057,7 +4107,7 @@ declare class SheetViewPlugin extends UIPlugin {
4057
4107
  type Getters = {
4058
4108
  isReadonly: () => boolean;
4059
4109
  isDashboard: () => boolean;
4060
- } & 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 SubtotalEvaluationPlugin> & 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> & PluginGetters<typeof DynamicTranslate> & PluginGetters<typeof CarouselUIPlugin>;
4110
+ } & 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 SubtotalEvaluationPlugin> & 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> & PluginGetters<typeof DynamicTranslate> & PluginGetters<typeof FormulaTrackerPlugin> & PluginGetters<typeof CarouselUIPlugin>;
4061
4111
 
4062
4112
  interface SearchOptions {
4063
4113
  matchCase: boolean;
@@ -4282,6 +4332,7 @@ declare function getUniqueText(text: string, texts: string[], options?: {
4282
4332
  }): string;
4283
4333
  declare function isFormula(content: string): boolean;
4284
4334
  declare function chartStyleToCellStyle(style: ChartStyle): Style;
4335
+ declare function doesCellContainFunction(cell: Cell, formula: string): boolean;
4285
4336
 
4286
4337
  /**
4287
4338
  * This function returns a regexp that is supposed to be as close as possible as the numberRegexp,
@@ -4657,7 +4708,6 @@ interface RenderingBox {
4657
4708
  center?: RenderingGridIcon;
4658
4709
  };
4659
4710
  textOpacity?: number;
4660
- skipCellGridLines?: boolean;
4661
4711
  disabledAnimation?: boolean;
4662
4712
  }
4663
4713
  type Box = RenderingBox & Rect;
@@ -5212,6 +5262,7 @@ interface ExcelChartDefinition {
5212
5262
  useRightAxis?: boolean;
5213
5263
  };
5214
5264
  readonly axesDesign?: AxesDesign;
5265
+ readonly showValues?: boolean;
5215
5266
  readonly horizontal?: boolean;
5216
5267
  readonly isDoughnut?: boolean;
5217
5268
  readonly pieHolePercentage?: number;
@@ -5314,7 +5365,7 @@ interface UpdateCellCommand extends PositionDependentCommand {
5314
5365
  */
5315
5366
  interface UpdateCellPositionCommand extends PositionDependentCommand {
5316
5367
  type: "UPDATE_CELL_POSITION";
5317
- cellId?: UID;
5368
+ cellId?: number;
5318
5369
  }
5319
5370
  interface AddColumnsRowsCommand extends SheetDependentCommand, SheetEditingCommand {
5320
5371
  type: "ADD_COLUMNS_ROWS";
@@ -5702,6 +5753,9 @@ interface CopyPasteCellsAboveCommand {
5702
5753
  interface CopyPasteCellsOnLeftCommand {
5703
5754
  type: "COPY_PASTE_CELLS_ON_LEFT";
5704
5755
  }
5756
+ interface CopyPasteCellsOnZoneCommand {
5757
+ type: "COPY_PASTE_CELLS_ON_ZONE";
5758
+ }
5705
5759
  interface RepeatPasteCommand {
5706
5760
  type: "REPEAT_PASTE";
5707
5761
  target: Zone[];
@@ -5744,7 +5798,7 @@ interface ActivateSheetCommand {
5744
5798
  }
5745
5799
  interface EvaluateCellsCommand {
5746
5800
  type: "EVALUATE_CELLS";
5747
- cellIds?: UID[];
5801
+ cellIds?: number[];
5748
5802
  }
5749
5803
  interface EvaluateChartsCommand {
5750
5804
  type: "EVALUATE_CHARTS";
@@ -5950,7 +6004,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | ClearCellsCom
5950
6004
  | UpdateLocaleCommand
5951
6005
  /** PIVOT */
5952
6006
  | AddPivotCommand | UpdatePivotCommand | InsertPivotCommand | RenamePivotCommand | RemovePivotCommand | DuplicatePivotCommand;
5953
- type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | EvaluateChartsCommand | StartChangeHighlightCommand | StartCommand | AutofillCommand | AutofillSelectCommand | AutofillTableCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | ReplaceSearchCommand | SortCommand | SetDecimalCommand | SetContextualFormatCommand | ResizeViewportCommand | SetZoomCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | MoveViewportToCellCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand | RemoveDuplicatesCommand | TrimWhitespaceCommand | ResizeTableCommand | RefreshPivotCommand | InsertNewPivotCommand | DuplicatePivotInNewSheetCommand | InsertPivotWithTableCommand | SplitPivotFormulaCommand | PaintFormat | DeleteUnfilteredContentCommand | PivotStartPresenceTracking | PivotStopPresenceTracking | ToggleCheckboxCommand | AddNewChartToCarouselCommand | AddFigureChartToCarouselCommand | DuplicateCarouselChartCommand | UpdateCarouselActiveItemCommand | PopOutChartFromCarouselCommand;
6007
+ type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | CopyPasteCellsOnZoneCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | EvaluateChartsCommand | StartChangeHighlightCommand | StartCommand | AutofillCommand | AutofillSelectCommand | AutofillTableCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | ReplaceSearchCommand | SortCommand | SetDecimalCommand | SetContextualFormatCommand | ResizeViewportCommand | SetZoomCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | MoveViewportToCellCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand | RemoveDuplicatesCommand | TrimWhitespaceCommand | ResizeTableCommand | RefreshPivotCommand | InsertNewPivotCommand | DuplicatePivotInNewSheetCommand | InsertPivotWithTableCommand | SplitPivotFormulaCommand | PaintFormat | DeleteUnfilteredContentCommand | PivotStartPresenceTracking | PivotStopPresenceTracking | ToggleCheckboxCommand | AddNewChartToCarouselCommand | AddFigureChartToCarouselCommand | DuplicateCarouselChartCommand | UpdateCarouselActiveItemCommand | PopOutChartFromCarouselCommand;
5954
6008
  type Command = CoreCommand | LocalCommand;
5955
6009
  /**
5956
6010
  * Holds the result of a command dispatch.
@@ -6219,6 +6273,7 @@ interface Style {
6219
6273
  textColor?: Color;
6220
6274
  fontSize?: number;
6221
6275
  rotation?: number;
6276
+ hideGridLines?: boolean;
6222
6277
  }
6223
6278
  interface DataBarFill {
6224
6279
  color: Color;
@@ -6308,7 +6363,7 @@ interface HeaderDimensions {
6308
6363
  end: Pixel;
6309
6364
  }
6310
6365
  interface Row {
6311
- cells: Record<number, UID | undefined>;
6366
+ cells: Record<number, number | undefined>;
6312
6367
  }
6313
6368
  interface Position {
6314
6369
  col: HeaderIndex;
@@ -6346,13 +6401,15 @@ declare const enum DIRECTION {
6346
6401
  RIGHT = "right"
6347
6402
  }
6348
6403
  type ChangeType = "REMOVE" | "RESIZE" | "MOVE" | "CHANGE" | "NONE";
6349
- type ApplyRangeChangeResult = {
6350
- changeType: Exclude<ChangeType, "NONE">;
6351
- range: Range;
6352
- } | {
6353
- changeType: "NONE";
6404
+ type ApplyRangeChangeResult<T> = {
6405
+ changeType: ChangeType;
6406
+ range: T;
6354
6407
  };
6355
- type ApplyRangeChange = (range: Range) => ApplyRangeChangeResult;
6408
+ type ApplyFormulaRangeChangeResult = {
6409
+ changeType: ChangeType;
6410
+ formula: string;
6411
+ };
6412
+ type ApplyRangeChange = (range: Range) => ApplyRangeChangeResult<Range>;
6356
6413
  type AdaptSheetName = {
6357
6414
  old: string;
6358
6415
  current: string;
@@ -6362,10 +6419,15 @@ type RangeAdapter = {
6362
6419
  sheetName: AdaptSheetName;
6363
6420
  applyChange: ApplyRangeChange;
6364
6421
  };
6422
+ type RangeAdapterFunctions = {
6423
+ applyChange: ApplyRangeChange;
6424
+ adaptRangeString: (defaultSheetId: UID, sheetXC: string) => ApplyRangeChangeResult<string>;
6425
+ adaptFormulaString: (defaultSheetId: UID, formula: string) => string;
6426
+ };
6365
6427
  type Dimension = "COL" | "ROW";
6366
6428
  type ConsecutiveIndexes = HeaderIndex[];
6367
6429
  interface RangeProvider {
6368
- adaptRanges: (applyChange: ApplyRangeChange, sheetId: UID, sheetName: AdaptSheetName) => void;
6430
+ adaptRanges: (adapterFunctions: RangeAdapterFunctions, sheetId: UID, sheetName: AdaptSheetName) => void;
6369
6431
  }
6370
6432
  type Validation<T> = (toValidate: T) => CommandResult | CommandResult[];
6371
6433
  type Increment = 1 | -1 | 0;
@@ -6441,6 +6503,7 @@ type SortDirection = "asc" | "desc";
6441
6503
  interface ValueAndLabel<T = string> {
6442
6504
  value: T;
6443
6505
  label: string;
6506
+ separator?: boolean;
6444
6507
  }
6445
6508
 
6446
6509
  declare const OPERATOR_MAP: {
@@ -6461,6 +6524,7 @@ declare const UNARY_OPERATOR_MAP: {
6461
6524
  "-": string;
6462
6525
  "+": string;
6463
6526
  "%": string;
6527
+ "#": string;
6464
6528
  };
6465
6529
  declare const functionCache: {
6466
6530
  [key: string]: FormulaToExecute;
@@ -6520,6 +6584,7 @@ interface ASTEmpty extends ASTBase {
6520
6584
  }
6521
6585
  type AST = ASTOperation | ASTUnaryOperation | ASTFuncall | ASTSymbol | ASTArray | ASTNumber | ASTBoolean | ASTString | ASTReference | ASTEmpty;
6522
6586
  declare const OP_PRIORITY: {
6587
+ "#": number;
6523
6588
  "%": number;
6524
6589
  "^": number;
6525
6590
  "*": number;
@@ -6720,4 +6785,4 @@ declare class NumberTooLargeError extends EvaluationError {
6720
6785
 
6721
6786
  declare const __info__: {};
6722
6787
 
6723
- export { AST, ASTFuncall, ASTOperation, ASTString, ASTSymbol, ASTUnaryOperation, AdaptSheetName, AdjacentEdge, Alias, Align, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, BadExpressionError, BasePlugin, Border, BorderData, BorderDescr, BorderDescrWithOpacity, BorderPosition, BorderStyle, Box, BoxTextContent, CSSProperties, CellErrorType, CellPosition, CellValue, ChangeType, CircularDependencyError, ClipboardCell, Cloneable, Color, CompiledFormula, ComposerFocusType, ConsecutiveIndexes, CoreGetters, CreateRevisionOptions, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DebouncedFunction, Dimension, Direction, DivisionByZeroError, EdgeScrollInfo, EditionMode, EnsureRange, ErrorValue, EvaluationError, FilterId, Format, FormulaToExecute, FunctionCode, FunctionCodeBuilder, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GetSymbolValue, GlobalChart, GridClickModifiers, GridRenderingContext, HSLA, HeaderDimensions, HeaderGroup, HeaderIndex, Highlight, HistoryChange, Image, Immutable, Increment, InvalidReferenceError, LayerName, Lazy, Link, Locale, LocaleCode, Matrix, Maybe, MenuMouseEvent, Merge, Model, NotAvailableError, NumberTooLargeError, OPERATOR_MAP, OP_PRIORITY, Offset, OperationSequenceNode, OrderedLayers, POSTFIX_UNARY_OPERATORS, PaneDivision, Pixel, PixelPosition, PluginGetters, Position, RGBA, RangeAdapter, RangeCompiledFormula, RangeProvider, Rect, Ref, ReferenceDenormalizer, Registry, RenderingBorder, RenderingBox, RenderingGridIcon, Row, Scope, ScrollDirection, Selection, SelectionStep, SetDecimalStep, Sheet, SheetDOMScrollInfo, SortDirection, SortOptions, SplillBlockedError, SpreadsheetClipboardData, StateObserver, Style, TableId, Token, TokenizingChars, Transformation, TransformationFactory, TranslationFunction, UID, UNARY_OPERATOR_MAP, UnboundedZone, UnknownFunctionError, UpdateCellData, UuidGenerator, Validation, Validator, ValueAndLabel, VerticalAlign, Viewport, WorkbookHistory, Wrapping, Zone, ZoneDimension, __info__, _t, addRenderingLayer, batched, borderStyles, buildSheetLink, categories, cellReference, chartStyleToCellStyle, clip, compile, compileTokens, concat, convertAstNodes, createEmptyStructure, debounce, deepCopy, deepEquals, deepEqualsArray, errorTypes, escapeRegExp, findNextDefinedValue, functionCache, getAddHeaderStartIndex, getCanonicalSymbolName, getFormulaNumberRegex, getFullReference, getSearchRegex, getUniqueText, getUnquotedSheetName, groupConsecutive, includesAll, insertItemsAtIndex, isBoolean, isColHeader, isColReference, isConsecutive, isDefined, isFormula, isMarkdownLink, isMatrix, isNotNull, isNumber, isNumberBetween, isObjectEmptyRecursive, isRowHeader, isRowReference, isSheetUrl, isSingleCellReference, isWebLink, iterateAstNodes, largeMax, largeMin, lazy, linkNext, loopThroughReferenceType, mapAst, markdownLink, memoize, parse, parseMarkdownLink, parseNumber, parseSheetUrl, parseTokens, percentile, range, rangeReference, rangeTokenize, removeDuplicates, removeFalsyAttributes, removeIndexesFromArray, replaceItemAtIndex, replaceNewLines, sanitizeSheetName, setDefaultTranslationMethod, setTranslationMethod, setXcToFixedReferenceType, specialWhiteSpaceRegexp, splitReference, tokenize, transpose2dPOJO, trimContent, unquote, whiteSpaceCharacters };
6788
+ export { AST, ASTFuncall, ASTOperation, ASTString, ASTSymbol, ASTUnaryOperation, AdaptSheetName, AdjacentEdge, Alias, Align, AnchorZone, ApplyFormulaRangeChangeResult, ApplyRangeChange, ApplyRangeChangeResult, Arg, BadExpressionError, BasePlugin, Border, BorderData, BorderDescr, BorderDescrWithOpacity, BorderPosition, BorderStyle, Box, BoxTextContent, CSSProperties, CellErrorType, CellPosition, CellValue, ChangeType, CircularDependencyError, ClipboardCell, Cloneable, Color, CompiledFormula, ComposerFocusType, ConsecutiveIndexes, CoreGetters, CreateRevisionOptions, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DebouncedFunction, Dimension, Direction, DivisionByZeroError, EdgeScrollInfo, EditionMode, EnsureRange, ErrorValue, EvaluationError, FilterId, Format, FormulaToExecute, FunctionCode, FunctionCodeBuilder, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GetSymbolValue, GlobalChart, GridClickModifiers, GridRenderingContext, HSLA, HeaderDimensions, HeaderGroup, HeaderIndex, Highlight, HistoryChange, Image, Immutable, Increment, InvalidReferenceError, LayerName, Lazy, Link, Locale, LocaleCode, Matrix, Maybe, MenuMouseEvent, Merge, Model, NotAvailableError, NumberTooLargeError, OPERATOR_MAP, OP_PRIORITY, Offset, OperationSequenceNode, OrderedLayers, POSTFIX_UNARY_OPERATORS, PaneDivision, Pixel, PixelPosition, PluginGetters, Position, RGBA, RangeAdapter, RangeAdapterFunctions, RangeCompiledFormula, RangeProvider, Rect, Ref, ReferenceDenormalizer, Registry, RenderingBorder, RenderingBox, RenderingGridIcon, Row, Scope, ScrollDirection, Selection, SelectionStep, SetDecimalStep, Sheet, SheetDOMScrollInfo, SortDirection, SortOptions, SplillBlockedError, SpreadsheetClipboardData, StateObserver, Style, TableId, Token, TokenizingChars, Transformation, TransformationFactory, TranslationFunction, UID, UNARY_OPERATOR_MAP, UnboundedZone, UnknownFunctionError, UpdateCellData, UuidGenerator, Validation, Validator, ValueAndLabel, VerticalAlign, Viewport, WorkbookHistory, Wrapping, Zone, ZoneDimension, __info__, _t, addRenderingLayer, batched, borderStyles, buildSheetLink, categories, cellReference, chartStyleToCellStyle, clip, compile, compileTokens, concat, convertAstNodes, createEmptyStructure, debounce, deepCopy, deepEquals, deepEqualsArray, doesCellContainFunction, errorTypes, escapeRegExp, findNextDefinedValue, functionCache, getAddHeaderStartIndex, getCanonicalSymbolName, getFormulaNumberRegex, getFullReference, getSearchRegex, getUniqueText, getUnquotedSheetName, groupConsecutive, includesAll, insertItemsAtIndex, isBoolean, isColHeader, isColReference, isConsecutive, isDefined, isFormula, isMarkdownLink, isMatrix, isNotNull, isNumber, isNumberBetween, isObjectEmptyRecursive, isRowHeader, isRowReference, isSheetUrl, isSingleCellReference, isWebLink, iterateAstNodes, largeMax, largeMin, lazy, linkNext, loopThroughReferenceType, mapAst, markdownLink, memoize, parse, parseMarkdownLink, parseNumber, parseSheetUrl, parseTokens, percentile, range, rangeReference, rangeTokenize, removeDuplicates, removeFalsyAttributes, removeIndexesFromArray, replaceItemAtIndex, replaceNewLines, sanitizeSheetName, setDefaultTranslationMethod, setTranslationMethod, setXcToFixedReferenceType, specialWhiteSpaceRegexp, splitReference, tokenize, transpose2dPOJO, trimContent, unquote, whiteSpaceCharacters };