@odoo/o-spreadsheet 19.0.16 → 19.0.18

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.
@@ -1576,7 +1576,7 @@ declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1
1576
1576
  [id: string]: Cell;
1577
1577
  };
1578
1578
  };
1579
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID, sheetName: AdaptSheetName): void;
1579
+ adaptRanges({ applyChange }: RangeAdapterFunctions, sheetId: UID, sheetName: AdaptSheetName): void;
1580
1580
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
1581
1581
  handle(cmd: CoreCommand): void;
1582
1582
  private clearZones;
@@ -1600,7 +1600,7 @@ declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1
1600
1600
  export(data: WorkbookData): void;
1601
1601
  importCell(sheetId: UID, content?: string, style?: Style, format?: Format): Cell;
1602
1602
  exportForExcel(data: ExcelWorkbookData): void;
1603
- private removeDefaultStyleValues;
1603
+ private extractCustomStyle;
1604
1604
  getCells(sheetId: UID): Record<UID, Cell>;
1605
1605
  /**
1606
1606
  * get a cell by ID. Used in evaluation when evaluating an async cell, we need to be able to find it back after
@@ -1709,7 +1709,7 @@ declare abstract class AbstractChart {
1709
1709
  * This function should be used to update all the ranges of the chart after
1710
1710
  * a grid change (add/remove col/row, rename sheet, ...)
1711
1711
  */
1712
- abstract updateRanges(applyChange: ApplyRangeChange, sheetId: UID, adaptSheetName: AdaptSheetName): AbstractChart;
1712
+ abstract updateRanges(rangeAdapters: RangeAdapterFunctions): AbstractChart;
1713
1713
  /**
1714
1714
  * Duplicate the chart when a sheet is duplicated.
1715
1715
  * The ranges that are in the same sheet as the chart are adapted to the new sheetId.
@@ -1742,7 +1742,7 @@ declare class ChartPlugin extends CorePlugin<ChartState> implements ChartState {
1742
1742
  readonly charts: Record<UID, FigureChart | undefined>;
1743
1743
  private createChart;
1744
1744
  private validateChartDefinition;
1745
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID, adaptSheetName: AdaptSheetName): void;
1745
+ adaptRanges(rangeAdapters: RangeAdapterFunctions): void;
1746
1746
  allowDispatch(cmd: Command): CommandResult | CommandResult[];
1747
1747
  handle(cmd: CoreCommand): void;
1748
1748
  getContextCreationChart(chartId: UID): ChartCreationContext | undefined;
@@ -1780,9 +1780,9 @@ declare class ConditionalFormatPlugin extends CorePlugin<ConditionalFormatState>
1780
1780
  readonly cfRules: {
1781
1781
  [sheet: string]: ConditionalFormatInternal[];
1782
1782
  };
1783
- adaptCFFormulas(applyChange: ApplyRangeChange): void;
1784
- adaptCFRanges(sheetId: UID, applyChange: ApplyRangeChange): void;
1785
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
1783
+ adaptCFFormulas({ applyChange, adaptFormulaString }: RangeAdapterFunctions): void;
1784
+ adaptCFRanges(sheetId: UID, { applyChange }: RangeAdapterFunctions): void;
1785
+ adaptRanges(rangeAdapters: RangeAdapterFunctions, sheetId: UID): void;
1786
1786
  allowDispatch(cmd: Command): CommandResult | CommandResult[];
1787
1787
  handle(cmd: CoreCommand): void;
1788
1788
  import(data: WorkbookData): void;
@@ -1833,7 +1833,7 @@ declare class DataValidationPlugin extends CorePlugin<DataValidationState> imple
1833
1833
  readonly rules: {
1834
1834
  [sheet: string]: DataValidationRule[];
1835
1835
  };
1836
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
1836
+ adaptRanges(rangeAdapters: RangeAdapterFunctions, sheetId: UID): void;
1837
1837
  private adaptDVFormulas;
1838
1838
  private adaptDVRanges;
1839
1839
  allowDispatch(cmd: Command): CommandResult | CommandResult[];
@@ -1868,7 +1868,7 @@ declare class FigurePlugin extends CorePlugin<FigureState> implements FigureStat
1868
1868
  [sheet: string]: Record<UID, Figure | undefined> | undefined;
1869
1869
  };
1870
1870
  readonly insertionOrders: UID[];
1871
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
1871
+ adaptRanges({ applyChange }: RangeAdapterFunctions, sheetId: UID): void;
1872
1872
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
1873
1873
  beforeHandle(cmd: CoreCommand): void;
1874
1874
  handle(cmd: CoreCommand): void;
@@ -2048,7 +2048,7 @@ declare class MergePlugin extends CorePlugin<MergeState> implements MergeState {
2048
2048
  readonly mergeCellMap: Record<UID, SheetMergeCellMap | undefined>;
2049
2049
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
2050
2050
  handle(cmd: CoreCommand): void;
2051
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
2051
+ adaptRanges(rangeAdapters: RangeAdapterFunctions, sheetId: UID): void;
2052
2052
  getMerges(sheetId: UID): Merge[];
2053
2053
  getMerge({ sheetId, col, row }: CellPosition): Merge | undefined;
2054
2054
  getMergesInZone(sheetId: UID, zone: Zone): Merge[];
@@ -2290,14 +2290,18 @@ interface Pivot$1 {
2290
2290
  definition: PivotCoreDefinition;
2291
2291
  formulaId: string;
2292
2292
  }
2293
+ interface MeasureState {
2294
+ formula: RangeCompiledFormula;
2295
+ dependencies: Range[];
2296
+ }
2293
2297
  interface CoreState {
2294
2298
  nextFormulaId: number;
2295
2299
  pivots: Record<UID, Pivot$1 | undefined>;
2296
2300
  formulaIds: Record<UID, string | undefined>;
2297
- compiledMeasureFormulas: Record<UID, Record<string, RangeCompiledFormula | undefined>>;
2301
+ compiledMeasureFormulas: Record<UID, Record<string, MeasureState | undefined>>;
2298
2302
  }
2299
2303
  declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState {
2300
- static getters: readonly ["getPivotCoreDefinition", "getPivotDisplayName", "getPivotId", "getPivotFormulaId", "getPivotIds", "getMeasureCompiledFormula", "getPivotName", "isExistingPivot"];
2304
+ static getters: readonly ["getPivotCoreDefinition", "getPivotDisplayName", "getPivotId", "getPivotFormulaId", "getPivotIds", "getMeasureCompiledFormula", "getPivotName", "isExistingPivot", "getMeasureFullDependencies"];
2301
2305
  readonly nextFormulaId: number;
2302
2306
  readonly pivots: {
2303
2307
  [pivotId: UID]: Pivot$1 | undefined;
@@ -2305,10 +2309,10 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
2305
2309
  readonly formulaIds: {
2306
2310
  [formulaId: UID]: UID | undefined;
2307
2311
  };
2308
- readonly compiledMeasureFormulas: Record<UID, Record<string, RangeCompiledFormula>>;
2312
+ readonly compiledMeasureFormulas: Record<UID, Record<string, MeasureState>>;
2309
2313
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
2310
2314
  handle(cmd: CoreCommand): void;
2311
- adaptRanges(applyChange: ApplyRangeChange): void;
2315
+ adaptRanges({ applyChange, adaptFormulaString }: RangeAdapterFunctions): void;
2312
2316
  getPivotDisplayName(pivotId: UID): string;
2313
2317
  getPivotName(pivotId: UID): string;
2314
2318
  /**
@@ -2324,9 +2328,11 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
2324
2328
  getPivotFormulaId(pivotId: UID): string;
2325
2329
  getPivotIds(): UID[];
2326
2330
  isExistingPivot(pivotId: UID): boolean;
2327
- getMeasureCompiledFormula(measure: PivotCoreMeasure): RangeCompiledFormula;
2331
+ getMeasureCompiledFormula(pivotId: UID, measure: PivotCoreMeasure): RangeCompiledFormula;
2332
+ getMeasureFullDependencies(pivotId: UID, measure: PivotCoreMeasure): Range[];
2328
2333
  private addPivot;
2329
2334
  private compileCalculatedMeasures;
2335
+ private computeMeasureFullDependencies;
2330
2336
  private insertPivot;
2331
2337
  private resizeSheet;
2332
2338
  private getPivotCore;
@@ -2345,79 +2351,6 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
2345
2351
  export(data: WorkbookData): void;
2346
2352
  }
2347
2353
 
2348
- declare class RangeAdapter$1 implements CommandHandler<CoreCommand> {
2349
- private getters;
2350
- private providers;
2351
- private isAdaptingRanges;
2352
- constructor(getters: CoreGetters);
2353
- static getters: readonly ["adaptFormulaStringDependencies", "copyFormulaStringForSheet", "extendRange", "getRangeString", "getRangeFromSheetXC", "createAdaptedRanges", "getRangeData", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone", "getRangesUnion", "recomputeRanges", "isRangeValid", "removeRangesSheetPrefix"];
2354
- allowDispatch(cmd: CoreCommand): CommandResult;
2355
- beforeHandle(command: Command): void;
2356
- handle(cmd: CoreCommand): void;
2357
- finalize(): void;
2358
- /**
2359
- * Return a modified adapting function that verifies that after adapting a range, the range is still valid.
2360
- * Any range that gets adapted by the function adaptRange in parameter does so
2361
- * without caring if the start and end of the range in both row and column
2362
- * direction can be incorrect. This function ensure that an incorrect range gets removed.
2363
- */
2364
- private verifyRangeRemoved;
2365
- private executeOnAllRanges;
2366
- /**
2367
- * Stores the functions bound to each plugin to be able to iterate over all ranges of the application,
2368
- * without knowing any details of the internal data structure of the plugins and without storing ranges
2369
- * in the range adapter.
2370
- *
2371
- * @param provider a function bound to a plugin that will loop over its internal data structure to find
2372
- * all ranges
2373
- */
2374
- addRangeProvider(provider: RangeProvider["adaptRanges"]): void;
2375
- createAdaptedRanges(ranges: Range[], offsetX: number, offsetY: number, sheetId: UID): Range[];
2376
- /**
2377
- * Remove the sheet name prefix if a range is part of the given sheet.
2378
- */
2379
- removeRangesSheetPrefix(sheetId: UID, ranges: Range[]): Range[];
2380
- extendRange(range: Range, dimension: Dimension, quantity: number): Range;
2381
- /**
2382
- * Creates a range from a XC reference that can contain a sheet reference
2383
- * @param defaultSheetId the sheet to default to if the sheetXC parameter does not contain a sheet reference (usually the active sheet Id)
2384
- * @param sheetXC the string description of a range, in the form SheetName!XC:XC
2385
- */
2386
- getRangeFromSheetXC(defaultSheetId: UID, sheetXC: string): Range;
2387
- /**
2388
- * Gets the string that represents the range as it is at the moment of the call.
2389
- * The string will be prefixed with the sheet name if the call specified a sheet id in `forSheetId`
2390
- * different than the sheet on which the range has been created.
2391
- *
2392
- * @param range the range (received from getRangeFromXC or getRangeFromZone)
2393
- * @param forSheetId the id of the sheet where the range string is supposed to be used.
2394
- * @param options
2395
- * @param options.useBoundedReference if true, the range will be returned with bounded row and column
2396
- * @param options.useFixedReference if true, the range will be returned with fixed row and column
2397
- */
2398
- getRangeString(range: Range, forSheetId: UID, options?: RangeStringOptions): string;
2399
- getRangeDataFromXc(sheetId: UID, xc: string): RangeData;
2400
- getRangeDataFromZone(sheetId: UID, zone: Zone | UnboundedZone): RangeData;
2401
- getRangeData(range: Range): RangeData;
2402
- getRangeFromZone(sheetId: UID, zone: Zone | UnboundedZone): Range;
2403
- /**
2404
- * Allows you to recompute ranges from the same sheet
2405
- */
2406
- recomputeRanges(ranges: Range[], rangesToRemove: Range[]): Range[];
2407
- getRangeFromRangeData(data: RangeData): Range;
2408
- isRangeValid(rangeStr: string): boolean;
2409
- getRangesUnion(ranges: Range[]): Range;
2410
- adaptFormulaStringDependencies(sheetId: UID, formula: string, applyChange: ApplyRangeChange): string;
2411
- /**
2412
- * Copy a formula string to another sheet.
2413
- *
2414
- * @param mode
2415
- * `keepSameReference` will make the formula reference the exact same ranges,
2416
- * `moveReference` will change all the references to `sheetIdFrom` into references to `sheetIdTo`.
2417
- */
2418
- copyFormulaStringForSheet(sheetIdFrom: UID, sheetIdTo: UID, formula: string, mode: "keepSameReference" | "moveReference"): string;
2419
- }
2420
-
2421
2354
  declare class SettingsPlugin extends CorePlugin {
2422
2355
  static getters: readonly ["getLocale"];
2423
2356
  private locale;
@@ -2603,7 +2536,7 @@ declare class TablePlugin extends CorePlugin<TableState> implements TableState {
2603
2536
  static getters: readonly ["getCoreTable", "getCoreTables", "getCoreTableMatchingTopLeft"];
2604
2537
  readonly tables: Record<UID, Record<TableId, CoreTable | undefined>>;
2605
2538
  readonly nextTableId: number;
2606
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
2539
+ adaptRanges({ applyChange }: RangeAdapterFunctions, sheetId: UID): void;
2607
2540
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
2608
2541
  handle(cmd: CoreCommand): void;
2609
2542
  getCoreTables(sheetId: UID): CoreTable[];
@@ -4076,17 +4009,89 @@ type PluginGetters<Plugin extends {
4076
4009
  new (...args: unknown[]): any;
4077
4010
  getters: readonly string[];
4078
4011
  }> = Pick<InstanceType<Plugin>, GetterNames<Plugin>>;
4079
- type RangeAdapterGetters = Pick<RangeAdapter$1, GetterNames<typeof RangeAdapter$1>>;
4012
+ type RangeAdapterGetters = Pick<RangeAdapterPlugin, GetterNames<typeof RangeAdapterPlugin>>;
4080
4013
  type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof HeaderSizePlugin> & PluginGetters<typeof HeaderVisibilityPlugin> & PluginGetters<typeof CellPlugin> & 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>;
4081
4014
  type Getters = {
4082
4015
  isReadonly: () => boolean;
4083
4016
  isDashboard: () => boolean;
4084
4017
  } & 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>;
4085
4018
 
4019
+ declare class RangeAdapterPlugin implements CommandHandler<CoreCommand> {
4020
+ private getters;
4021
+ private providers;
4022
+ private isAdaptingRanges;
4023
+ constructor(getters: CoreGetters);
4024
+ static getters: readonly ["copyFormulaStringForSheet", "extendRange", "getRangeString", "getRangeFromSheetXC", "createAdaptedRanges", "getRangeData", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone", "getRangesUnion", "recomputeRanges", "isRangeValid", "removeRangesSheetPrefix"];
4025
+ allowDispatch(cmd: CoreCommand): CommandResult;
4026
+ beforeHandle(command: Command): void;
4027
+ handle(cmd: CoreCommand): void;
4028
+ finalize(): void;
4029
+ /**
4030
+ * Return a modified adapting function that verifies that after adapting a range, the range is still valid.
4031
+ * Any range that gets adapted by the function adaptRange in parameter does so
4032
+ * without caring if the start and end of the range in both row and column
4033
+ * direction can be incorrect. This function ensure that an incorrect range gets removed.
4034
+ */
4035
+ private verifyRangeRemoved;
4036
+ private executeOnAllRanges;
4037
+ /**
4038
+ * Stores the functions bound to each plugin to be able to iterate over all ranges of the application,
4039
+ * without knowing any details of the internal data structure of the plugins and without storing ranges
4040
+ * in the range adapter.
4041
+ *
4042
+ * @param provider a function bound to a plugin that will loop over its internal data structure to find
4043
+ * all ranges
4044
+ */
4045
+ addRangeProvider(provider: RangeProvider["adaptRanges"]): void;
4046
+ createAdaptedRanges(ranges: Range[], offsetX: number, offsetY: number, sheetId: UID): Range[];
4047
+ /**
4048
+ * Remove the sheet name prefix if a range is part of the given sheet.
4049
+ */
4050
+ removeRangesSheetPrefix(sheetId: UID, ranges: Range[]): Range[];
4051
+ extendRange(range: Range, dimension: Dimension, quantity: number): Range;
4052
+ /**
4053
+ * Creates a range from a XC reference that can contain a sheet reference
4054
+ * @param defaultSheetId the sheet to default to if the sheetXC parameter does not contain a sheet reference (usually the active sheet Id)
4055
+ * @param sheetXC the string description of a range, in the form SheetName!XC:XC
4056
+ */
4057
+ getRangeFromSheetXC(defaultSheetId: UID, sheetXC: string): Range;
4058
+ /**
4059
+ * Gets the string that represents the range as it is at the moment of the call.
4060
+ * The string will be prefixed with the sheet name if the call specified a sheet id in `forSheetId`
4061
+ * different than the sheet on which the range has been created.
4062
+ *
4063
+ * @param range the range (received from getRangeFromXC or getRangeFromZone)
4064
+ * @param forSheetId the id of the sheet where the range string is supposed to be used.
4065
+ * @param options
4066
+ * @param options.useBoundedReference if true, the range will be returned with bounded row and column
4067
+ * @param options.useFixedReference if true, the range will be returned with fixed row and column
4068
+ */
4069
+ getRangeString(range: Range, forSheetId: UID, options?: RangeStringOptions): string;
4070
+ getRangeDataFromXc(sheetId: UID, xc: string): RangeData;
4071
+ getRangeDataFromZone(sheetId: UID, zone: Zone | UnboundedZone): RangeData;
4072
+ getRangeData(range: Range): RangeData;
4073
+ getRangeFromZone(sheetId: UID, zone: Zone | UnboundedZone): Range;
4074
+ /**
4075
+ * Allows you to recompute ranges from the same sheet
4076
+ */
4077
+ recomputeRanges(ranges: Range[], rangesToRemove: Range[]): Range[];
4078
+ getRangeFromRangeData(data: RangeData): Range;
4079
+ isRangeValid(rangeStr: string): boolean;
4080
+ getRangesUnion(ranges: Range[]): Range;
4081
+ /**
4082
+ * Copy a formula string to another sheet.
4083
+ *
4084
+ * @param mode
4085
+ * `keepSameReference` will make the formula reference the exact same ranges,
4086
+ * `moveReference` will change all the references to `sheetIdFrom` into references to `sheetIdTo`.
4087
+ */
4088
+ copyFormulaStringForSheet(sheetIdFrom: UID, sheetIdTo: UID, formula: string, mode: "keepSameReference" | "moveReference"): string;
4089
+ }
4090
+
4086
4091
  interface CorePluginConfig {
4087
4092
  readonly getters: CoreGetters;
4088
4093
  readonly stateObserver: StateObserver;
4089
- readonly range: RangeAdapter$1;
4094
+ readonly range: RangeAdapterPlugin;
4090
4095
  readonly dispatch: CoreCommandDispatcher["dispatch"];
4091
4096
  readonly canDispatch: CoreCommandDispatcher["dispatch"];
4092
4097
  readonly custom: ModelConfig["custom"];
@@ -4120,7 +4125,7 @@ declare class CorePlugin<State = any> extends BasePlugin<State, CoreCommand> imp
4120
4125
  * @param sheetId an sheetId to adapt either range of that sheet specifically, or ranges pointing to that sheet
4121
4126
  * @param sheetName couple of old and new sheet names to adapt ranges pointing to that sheet
4122
4127
  */
4123
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID, sheetName: AdaptSheetName): void;
4128
+ adaptRanges(rangeAdapterFunctions: RangeAdapterFunctions, sheetId: UID, sheetName: AdaptSheetName): void;
4124
4129
  /**
4125
4130
  * Implement this method to clean unused external resources, such as images
4126
4131
  * stored on a server which have been deleted.
@@ -4149,7 +4154,7 @@ declare class BordersPlugin extends CorePlugin<BordersPluginState> implements Bo
4149
4154
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
4150
4155
  handle(cmd: CoreCommand): void;
4151
4156
  beforeHandle(cmd: CoreCommand): void;
4152
- adaptRanges(applyChange: ApplyRangeChange, sheetId: UID): void;
4157
+ adaptRanges({ applyChange }: RangeAdapterFunctions, sheetId: UID): void;
4153
4158
  private onRowRemove;
4154
4159
  private onColRemove;
4155
4160
  getCellBorder(position: CellPosition): Border$1;
@@ -5970,13 +5975,15 @@ declare const enum DIRECTION {
5970
5975
  RIGHT = "right"
5971
5976
  }
5972
5977
  type ChangeType = "REMOVE" | "RESIZE" | "MOVE" | "CHANGE" | "NONE";
5973
- type ApplyRangeChangeResult = {
5974
- changeType: Exclude<ChangeType, "NONE">;
5975
- range: Range;
5976
- } | {
5977
- changeType: "NONE";
5978
+ type ApplyRangeChangeResult<T> = {
5979
+ changeType: ChangeType;
5980
+ range: T;
5978
5981
  };
5979
- type ApplyRangeChange = (range: Range) => ApplyRangeChangeResult;
5982
+ type ApplyFormulaRangeChangeResult = {
5983
+ changeType: ChangeType;
5984
+ formula: string;
5985
+ };
5986
+ type ApplyRangeChange = (range: Range) => ApplyRangeChangeResult<Range>;
5980
5987
  type AdaptSheetName = {
5981
5988
  old: string;
5982
5989
  current: string;
@@ -5986,10 +5993,15 @@ type RangeAdapter = {
5986
5993
  sheetName: AdaptSheetName;
5987
5994
  applyChange: ApplyRangeChange;
5988
5995
  };
5996
+ type RangeAdapterFunctions = {
5997
+ applyChange: ApplyRangeChange;
5998
+ adaptRangeString: (defaultSheetId: UID, sheetXC: string) => ApplyRangeChangeResult<string>;
5999
+ adaptFormulaString: (defaultSheetId: UID, formula: string) => string;
6000
+ };
5989
6001
  type Dimension = "COL" | "ROW";
5990
6002
  type ConsecutiveIndexes = HeaderIndex[];
5991
6003
  interface RangeProvider {
5992
- adaptRanges: (applyChange: ApplyRangeChange, sheetId: UID, sheetName: AdaptSheetName) => void;
6004
+ adaptRanges: (adapterFunctions: RangeAdapterFunctions, sheetId: UID, sheetName: AdaptSheetName) => void;
5993
6005
  }
5994
6006
  type Validation<T> = (toValidate: T) => CommandResult | CommandResult[];
5995
6007
  type Increment = 1 | -1 | 0;
@@ -12027,7 +12039,7 @@ declare class BarChart extends AbstractChart {
12027
12039
  getDefinition(): BarChartDefinition;
12028
12040
  private getDefinitionWithSpecificDataSets;
12029
12041
  getDefinitionForExcel(): ExcelChartDefinition | undefined;
12030
- updateRanges(applyChange: ApplyRangeChange): BarChart;
12042
+ updateRanges({ applyChange }: RangeAdapterFunctions): BarChart;
12031
12043
  }
12032
12044
 
12033
12045
  declare class GaugeChart extends AbstractChart {
@@ -12045,7 +12057,7 @@ declare class GaugeChart extends AbstractChart {
12045
12057
  private getDefinitionWithSpecificRanges;
12046
12058
  getDefinitionForExcel(): undefined;
12047
12059
  getContextCreation(): ChartCreationContext;
12048
- updateRanges(applyChange: ApplyRangeChange, sheetId: UID, adaptSheetName: AdaptSheetName): GaugeChart;
12060
+ updateRanges({ applyChange, adaptFormulaString }: RangeAdapterFunctions): GaugeChart;
12049
12061
  }
12050
12062
 
12051
12063
  declare class LineChart extends AbstractChart {
@@ -12072,7 +12084,7 @@ declare class LineChart extends AbstractChart {
12072
12084
  getDefinition(): LineChartDefinition;
12073
12085
  private getDefinitionWithSpecificDataSets;
12074
12086
  getContextCreation(): ChartCreationContext;
12075
- updateRanges(applyChange: ApplyRangeChange): LineChart;
12087
+ updateRanges({ applyChange }: RangeAdapterFunctions): LineChart;
12076
12088
  getDefinitionForExcel(): ExcelChartDefinition | undefined;
12077
12089
  duplicateInDuplicatedSheet(newSheetId: UID): LineChart;
12078
12090
  copyInSheetId(sheetId: UID): LineChart;
@@ -12099,7 +12111,7 @@ declare class PieChart extends AbstractChart {
12099
12111
  duplicateInDuplicatedSheet(newSheetId: UID): PieChart;
12100
12112
  copyInSheetId(sheetId: UID): PieChart;
12101
12113
  getDefinitionForExcel(): ExcelChartDefinition | undefined;
12102
- updateRanges(applyChange: ApplyRangeChange): PieChart;
12114
+ updateRanges({ applyChange }: RangeAdapterFunctions): PieChart;
12103
12115
  }
12104
12116
 
12105
12117
  declare class ScorecardChart extends AbstractChart {
@@ -12125,7 +12137,7 @@ declare class ScorecardChart extends AbstractChart {
12125
12137
  getContextCreation(): ChartCreationContext;
12126
12138
  private getDefinitionWithSpecificRanges;
12127
12139
  getDefinitionForExcel(): undefined;
12128
- updateRanges(applyChange: ApplyRangeChange): ScorecardChart;
12140
+ updateRanges({ applyChange }: RangeAdapterFunctions): ScorecardChart;
12129
12141
  }
12130
12142
 
12131
12143
  declare class WaterfallChart extends AbstractChart {
@@ -12157,7 +12169,7 @@ declare class WaterfallChart extends AbstractChart {
12157
12169
  getDefinition(): WaterfallChartDefinition;
12158
12170
  private getDefinitionWithSpecificDataSets;
12159
12171
  getDefinitionForExcel(): ExcelChartDefinition | undefined;
12160
- updateRanges(applyChange: ApplyRangeChange): WaterfallChart;
12172
+ updateRanges({ applyChange }: RangeAdapterFunctions): WaterfallChart;
12161
12173
  }
12162
12174
 
12163
12175
  declare function getPivotHighlights(getters: Getters, pivotId: UID): Highlight$1[];
@@ -13356,4 +13368,4 @@ declare const chartHelpers: {
13356
13368
  WaterfallChart: typeof WaterfallChart;
13357
13369
  };
13358
13370
 
13359
- export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AdaptSheetName, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFigureChartToCarouselCommand, AddFunctionDescription, AddMergeCommand, AddNewChartToCarouselCommand, AddPivotCommand, AdjacentEdge, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgProposal, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescrWithOpacity, BorderPosition, BorderStyle, BoundedRange, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Carousel, CarouselItem, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientDisconnectedError, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClientWithColor, ClientWithPosition, ClipboardCell, ClipboardCellData, ClipboardCopyOptions, 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, CreateCarouselCommand, 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, DeleteChartCommand, 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, MinimalClipboardData, 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, PivotCustomGroup, PivotCustomGroupedField, 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, PivotVisibilityOptions, Pixel, PixelPosition, PopOutChartFromCarouselCommand, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, 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, RenderingBorder, RenderingBox, RenderingGridIcon, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection$1 as 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, UpdateCarouselActiveItemCommand, UpdateCarouselCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, ValueAndLabel, ValuesFilter, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, ZoomableChartDefinition, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, filterDateCriterionOperators, filterNumberCriterionOperators, filterTextCriterionOperators, findCellInNewZone, functionCache, getCaretDownSvg, getCaretUpSvg, helpers, hooks, invalidSubtotalFormulasCommands, 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 };
13371
+ export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AdaptSheetName, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFigureChartToCarouselCommand, AddFunctionDescription, AddMergeCommand, AddNewChartToCarouselCommand, AddPivotCommand, AdjacentEdge, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, AnchorZone, ApplyFormulaRangeChangeResult, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgProposal, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescrWithOpacity, BorderPosition, BorderStyle, BoundedRange, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Carousel, CarouselItem, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientDisconnectedError, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClientWithColor, ClientWithPosition, ClipboardCell, ClipboardCellData, ClipboardCopyOptions, 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, CreateCarouselCommand, 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, DeleteChartCommand, 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, MinimalClipboardData, 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, PivotCustomGroup, PivotCustomGroupedField, 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, PivotVisibilityOptions, Pixel, PixelPosition, PopOutChartFromCarouselCommand, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeAdapter, RangeAdapterFunctions, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RenderingBorder, RenderingBox, RenderingGridIcon, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection$1 as 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, UpdateCarouselActiveItemCommand, UpdateCarouselCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, ValueAndLabel, ValuesFilter, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, ZoomableChartDefinition, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, filterDateCriterionOperators, filterNumberCriterionOperators, filterTextCriterionOperators, findCellInNewZone, functionCache, getCaretDownSvg, getCaretUpSvg, helpers, hooks, invalidSubtotalFormulasCommands, 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 };