@odoo/o-spreadsheet 18.2.0-alpha.5 → 18.2.0-alpha.7

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.
@@ -2071,8 +2071,6 @@ declare class InternalViewport {
2071
2071
  right: HeaderIndex;
2072
2072
  offsetX: Pixel;
2073
2073
  offsetY: Pixel;
2074
- offsetScrollbarX: Pixel;
2075
- offsetScrollbarY: Pixel;
2076
2074
  canScrollVertically: boolean;
2077
2075
  canScrollHorizontally: boolean;
2078
2076
  viewportWidth: Pixel;
@@ -2128,11 +2126,11 @@ declare class InternalViewport {
2128
2126
  private setViewportOffsetX;
2129
2127
  private setViewportOffsetY;
2130
2128
  /** Corrects the viewport's horizontal offset based on the current structure
2131
- * To make sure that at least on column is visible inside the viewport.
2129
+ * To make sure that at least one column is visible inside the viewport.
2132
2130
  */
2133
2131
  private adjustViewportOffsetX;
2134
2132
  /** Corrects the viewport's vertical offset based on the current structure
2135
- * To make sure that at least on row is visible inside the viewport.
2133
+ * To make sure that at least one row is visible inside the viewport.
2136
2134
  */
2137
2135
  private adjustViewportOffsetY;
2138
2136
  /** Updates the pane zone and snapped offset based on its horizontal
@@ -2141,14 +2139,12 @@ declare class InternalViewport {
2141
2139
  /** Updates the pane zone and snapped offset based on its vertical
2142
2140
  * offset (will find Top) and its width (will find Bottom) */
2143
2141
  private adjustViewportZoneY;
2142
+ /** represents the part of the header on the topLeft that could be partially
2143
+ * hidden due to the scroll
2144
+ * */
2145
+ private get snapCorrection();
2144
2146
  }
2145
2147
 
2146
- type SheetViewports = {
2147
- topLeft: InternalViewport | undefined;
2148
- bottomLeft: InternalViewport | undefined;
2149
- topRight: InternalViewport | undefined;
2150
- bottomRight: InternalViewport;
2151
- };
2152
2148
  /**
2153
2149
  * EdgeScrollCases Schema
2154
2150
  *
@@ -2191,8 +2187,8 @@ type SheetViewports = {
2191
2187
  *
2192
2188
  */
2193
2189
  declare class SheetViewPlugin extends UIPlugin {
2194
- static getters: readonly ["getColIndex", "getRowIndex", "getActiveMainViewport", "getSheetViewDimension", "getSheetViewDimensionWithHeaders", "getMainViewportRect", "isVisibleInViewport", "getEdgeScrollCol", "getEdgeScrollRow", "getVisibleFigures", "getVisibleRect", "getVisibleRectWithoutHeaders", "getVisibleCellPositions", "getColRowOffsetInViewport", "getMainViewportCoordinates", "getActiveSheetScrollInfo", "getActiveSheetDOMScrollInfo", "getSheetViewVisibleCols", "getSheetViewVisibleRows", "getFrozenSheetViewRatio", "isPixelPositionVisible", "getColDimensionsInViewport", "getRowDimensionsInViewport", "getAllActiveViewportsZones", "getRect"];
2195
- readonly viewports: Record<UID, SheetViewports | undefined>;
2190
+ static getters: readonly ["getColIndex", "getRowIndex", "getActiveMainViewport", "getSheetViewDimension", "getSheetViewDimensionWithHeaders", "getMainViewportRect", "isVisibleInViewport", "getEdgeScrollCol", "getEdgeScrollRow", "getVisibleFigures", "getVisibleRect", "getVisibleRectWithoutHeaders", "getVisibleCellPositions", "getColRowOffsetInViewport", "getMainViewportCoordinates", "getActiveSheetScrollInfo", "getSheetViewVisibleCols", "getSheetViewVisibleRows", "getFrozenSheetViewRatio", "isPixelPositionVisible", "getColDimensionsInViewport", "getRowDimensionsInViewport", "getAllActiveViewportsZonesAndRect", "getRect"];
2191
+ private viewports;
2196
2192
  /**
2197
2193
  * The viewport dimensions are usually set by one of the components
2198
2194
  * (i.e. when grid component is mounted) to properly reflect its state in the DOM.
@@ -2226,16 +2222,11 @@ declare class SheetViewPlugin extends UIPlugin {
2226
2222
  getSheetViewDimension(): DOMDimension;
2227
2223
  /** type as pane, not viewport but basically pane extends viewport */
2228
2224
  getActiveMainViewport(): Viewport;
2229
- /**
2230
- * Return the scroll info of the active sheet, ie. the offset between the viewport left/top side and
2231
- * the grid left/top side, snapped to the columns/rows.
2232
- */
2233
- getActiveSheetScrollInfo(): SheetScrollInfo;
2234
2225
  /**
2235
2226
  * Return the DOM scroll info of the active sheet, ie. the offset between the viewport left/top side and
2236
2227
  * the grid left/top side, corresponding to the scroll of the scrollbars and not snapped to the grid.
2237
2228
  */
2238
- getActiveSheetDOMScrollInfo(): SheetDOMScrollInfo;
2229
+ getActiveSheetScrollInfo(): SheetDOMScrollInfo;
2239
2230
  getSheetViewVisibleCols(): HeaderIndex[];
2240
2231
  getSheetViewVisibleRows(): HeaderIndex[];
2241
2232
  /**
@@ -2247,13 +2238,13 @@ declare class SheetViewPlugin extends UIPlugin {
2247
2238
  */
2248
2239
  getMainViewportRect(): Rect;
2249
2240
  private getMaximumSheetOffset;
2250
- getColRowOffsetInViewport(dimension: Dimension, referenceIndex: HeaderIndex, index: HeaderIndex): Pixel;
2241
+ getColRowOffsetInViewport(dimension: Dimension, referenceHeaderIndex: HeaderIndex, targetHeaderIndex: HeaderIndex): Pixel;
2251
2242
  /**
2252
2243
  * Check if a given position is visible in the viewport.
2253
2244
  */
2254
2245
  isVisibleInViewport({ sheetId, col, row }: CellPosition): boolean;
2255
2246
  getEdgeScrollCol(x: number, previousX: number, startingX: number): EdgeScrollInfo;
2256
- getEdgeScrollRow(y: number, previousY: number, tartingY: number): EdgeScrollInfo;
2247
+ getEdgeScrollRow(y: number, previousY: number, startingY: number): EdgeScrollInfo;
2257
2248
  /**
2258
2249
  * Computes the coordinates and size to draw the zone on the canvas
2259
2250
  */
@@ -2283,7 +2274,10 @@ declare class SheetViewPlugin extends UIPlugin {
2283
2274
  * of the current viewport
2284
2275
  */
2285
2276
  getRowDimensionsInViewport(sheetId: UID, row: HeaderIndex): HeaderDimensions;
2286
- getAllActiveViewportsZones(): Zone[];
2277
+ getAllActiveViewportsZonesAndRect(): {
2278
+ zone: Zone;
2279
+ rect: Rect;
2280
+ }[];
2287
2281
  private ensureMainViewportExist;
2288
2282
  private getSubViewports;
2289
2283
  private checkPositiveDimension;
@@ -2315,7 +2309,7 @@ declare class SheetViewPlugin extends UIPlugin {
2315
2309
  xRatio: number;
2316
2310
  yRatio: number;
2317
2311
  };
2318
- private recomposeRect;
2312
+ mapViewportsToRect(sheetId: UID, rectCallBack: (viewport: InternalViewport) => Rect | undefined): Rect;
2319
2313
  }
2320
2314
 
2321
2315
  declare enum ClipboardMIMEType {
@@ -3058,10 +3052,8 @@ declare const enum CommandResult {
3058
3052
  GaugeRangeMinNaN = "GaugeRangeMinNaN",
3059
3053
  EmptyGaugeRangeMax = "EmptyGaugeRangeMax",
3060
3054
  GaugeRangeMaxNaN = "GaugeRangeMaxNaN",
3061
- GaugeRangeMinBiggerThanRangeMax = "GaugeRangeMinBiggerThanRangeMax",
3062
3055
  GaugeLowerInflectionPointNaN = "GaugeLowerInflectionPointNaN",
3063
3056
  GaugeUpperInflectionPointNaN = "GaugeUpperInflectionPointNaN",
3064
- GaugeLowerBiggerThanUpper = "GaugeLowerBiggerThanUpper",
3065
3057
  InvalidAutofillSelection = "InvalidAutofillSelection",
3066
3058
  MinBiggerThanMax = "MinBiggerThanMax",
3067
3059
  LowerBiggerThanUpper = "LowerBiggerThanUpper",
@@ -3992,7 +3984,7 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
3992
3984
  private getters;
3993
3985
  private providers;
3994
3986
  constructor(getters: CoreGetters);
3995
- static getters: readonly ["extendRange", "getRangeString", "getRangeFromSheetXC", "createAdaptedRanges", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone", "getRangesUnion", "recomputeRanges", "isRangeValid", "removeRangesSheetPrefix"];
3987
+ static getters: readonly ["adaptFormulaStringDependencies", "copyFormulaStringForSheet", "extendRange", "getRangeString", "getRangeFromSheetXC", "createAdaptedRanges", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone", "getRangesUnion", "recomputeRanges", "isRangeValid", "removeRangesSheetPrefix"];
3996
3988
  allowDispatch(cmd: Command): CommandResult;
3997
3989
  beforeHandle(command: Command): void;
3998
3990
  handle(cmd: Command): void;
@@ -4049,6 +4041,15 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
4049
4041
  getRangeFromRangeData(data: RangeData): Range;
4050
4042
  isRangeValid(rangeStr: string): boolean;
4051
4043
  getRangesUnion(ranges: Range[]): Range;
4044
+ adaptFormulaStringDependencies(sheetId: UID, formula: string, applyChange: ApplyRangeChange): string;
4045
+ /**
4046
+ * Copy a formula string to another sheet.
4047
+ *
4048
+ * @param mode
4049
+ * `keepSameReference` will make the formula reference the exact same ranges,
4050
+ * `moveReference` will change all the references to `sheetIdFrom` into references to `sheetIdTo`.
4051
+ */
4052
+ copyFormulaStringForSheet(sheetIdFrom: UID, sheetIdTo: UID, formula: string, mode: "keepSameReference" | "moveReference"): string;
4052
4053
  /**
4053
4054
  * Get a Xc string that represent a part of a range
4054
4055
  */
@@ -4864,7 +4865,7 @@ declare class SheetPlugin extends CorePlugin<SheetState> implements SheetState {
4864
4865
  getCellPosition(cellId: UID): CellPosition;
4865
4866
  getNumberCols(sheetId: UID): number;
4866
4867
  getNumberRows(sheetId: UID): number;
4867
- getNumberHeaders(sheetId: UID, dimension: Dimension): number;
4868
+ getNumberHeaders(sheetId: UID, dimension: Dimension): HeaderIndex;
4868
4869
  getNextSheetName(baseName?: string): string;
4869
4870
  getSheetSize(sheetId: UID): ZoneDimension;
4870
4871
  getSheetZone(sheetId: UID): Zone;
@@ -6121,27 +6122,13 @@ interface Image {
6121
6122
  * Column and row headers are not included in the viewport.
6122
6123
  */
6123
6124
  type Viewport = Zone & Alias;
6124
- interface SheetScrollInfo {
6125
- /**
6126
- * The offset in the X coordinate between the viewport left side and
6127
- * the grid left side (left of column "A").
6128
- */
6129
- scrollX: Pixel;
6130
- /**
6131
- * The offset in the Y coordinate between the viewport top side and
6132
- * the grid top side (top of row "1").
6133
- */
6134
- scrollY: Pixel;
6135
- }
6136
6125
  interface SheetDOMScrollInfo {
6137
6126
  /**
6138
- * The scrollBar offset in the X coordinate, which can differ from offsetX as
6139
- * the former is "smooth" and the latter will "snap" from one cell coordinate to the other
6127
+ * The scrollBar offset in the X coordinate
6140
6128
  */
6141
6129
  scrollX: Pixel;
6142
6130
  /**
6143
- * The scrollBar offset in the Y coordinate, which can differ from offsetX as
6144
- * the former is "smooth" and the latter will "snap" from one cell coordinate to the other
6131
+ * The scrollBar offset in the Y coordinate
6145
6132
  */
6146
6133
  scrollY: Pixel;
6147
6134
  }
@@ -6671,6 +6658,7 @@ declare class OTRegistry extends Registry<Map<CoreCommandTypes, TransformationFu
6671
6658
  interface CellClickableItem {
6672
6659
  condition: (position: CellPosition, getters: Getters) => boolean;
6673
6660
  execute: (position: CellPosition, env: SpreadsheetChildEnv) => void;
6661
+ title?: string;
6674
6662
  sequence: number;
6675
6663
  }
6676
6664
 
@@ -7846,222 +7834,6 @@ declare class GaugeChartConfigPanel extends Component<Props$U, SpreadsheetChildE
7846
7834
  getDataRange(): CustomizedDataSet;
7847
7835
  }
7848
7836
 
7849
- interface PanelState {
7850
- sectionRuleDispatchResult?: DispatchResult;
7851
- sectionRule: SectionRule;
7852
- }
7853
- interface Props$T {
7854
- figureId: UID;
7855
- definition: GaugeChartDefinition;
7856
- canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7857
- updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7858
- }
7859
- declare class GaugeChartDesignPanel extends Component<Props$T, SpreadsheetChildEnv> {
7860
- static template: string;
7861
- static components: {
7862
- SidePanelCollapsible: typeof SidePanelCollapsible;
7863
- Section: typeof Section;
7864
- RoundColorPicker: typeof RoundColorPicker;
7865
- GeneralDesignEditor: typeof GeneralDesignEditor;
7866
- ChartErrorSection: typeof ChartErrorSection;
7867
- };
7868
- static props: {
7869
- figureId: StringConstructor;
7870
- definition: ObjectConstructor;
7871
- updateChart: FunctionConstructor;
7872
- canUpdateChart: {
7873
- type: FunctionConstructor;
7874
- optional: boolean;
7875
- };
7876
- };
7877
- protected state: PanelState;
7878
- setup(): void;
7879
- get designErrorMessages(): string[];
7880
- isRangeMinInvalid(): boolean;
7881
- isRangeMaxInvalid(): boolean;
7882
- get isLowerInflectionPointInvalid(): boolean;
7883
- get isUpperInflectionPointInvalid(): boolean;
7884
- updateSectionColor(target: string, color: Color): void;
7885
- updateSectionRule(sectionRule: SectionRule): void;
7886
- canUpdateSectionRule(sectionRule: SectionRule): void;
7887
- }
7888
-
7889
- declare class LineConfigPanel extends GenericChartConfigPanel {
7890
- static template: string;
7891
- get canTreatLabelsAsText(): boolean;
7892
- get stackedLabel(): string;
7893
- getLabelRangeOptions(): {
7894
- name: string;
7895
- label: any;
7896
- value: boolean;
7897
- onChange: (aggregated: boolean) => void;
7898
- }[];
7899
- onUpdateLabelsAsText(labelsAsText: boolean): void;
7900
- onUpdateStacked(stacked: boolean): void;
7901
- onUpdateCumulative(cumulative: boolean): void;
7902
- }
7903
-
7904
- interface Props$S {
7905
- figureId: UID;
7906
- definition: ScorecardChartDefinition;
7907
- canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
7908
- updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
7909
- }
7910
- declare class ScorecardChartConfigPanel extends Component<Props$S, SpreadsheetChildEnv> {
7911
- static template: string;
7912
- static components: {
7913
- SelectionInput: typeof SelectionInput;
7914
- ChartErrorSection: typeof ChartErrorSection;
7915
- Section: typeof Section;
7916
- };
7917
- static props: {
7918
- figureId: StringConstructor;
7919
- definition: ObjectConstructor;
7920
- updateChart: FunctionConstructor;
7921
- canUpdateChart: FunctionConstructor;
7922
- };
7923
- private state;
7924
- private keyValue;
7925
- private baseline;
7926
- get errorMessages(): string[];
7927
- get isKeyValueInvalid(): boolean;
7928
- get isBaselineInvalid(): boolean;
7929
- onKeyValueRangeChanged(ranges: string[]): void;
7930
- updateKeyValueRange(): void;
7931
- getKeyValueRange(): string;
7932
- onBaselineRangeChanged(ranges: string[]): void;
7933
- updateBaselineRange(): void;
7934
- getBaselineRange(): string;
7935
- updateBaselineMode(ev: any): void;
7936
- }
7937
-
7938
- type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
7939
- interface Props$R {
7940
- figureId: UID;
7941
- definition: ScorecardChartDefinition;
7942
- canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
7943
- updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
7944
- }
7945
- declare class ScorecardChartDesignPanel extends Component<Props$R, SpreadsheetChildEnv> {
7946
- static template: string;
7947
- static components: {
7948
- GeneralDesignEditor: typeof GeneralDesignEditor;
7949
- RoundColorPicker: typeof RoundColorPicker;
7950
- SidePanelCollapsible: typeof SidePanelCollapsible;
7951
- Section: typeof Section;
7952
- Checkbox: typeof Checkbox;
7953
- };
7954
- static props: {
7955
- figureId: StringConstructor;
7956
- definition: ObjectConstructor;
7957
- updateChart: FunctionConstructor;
7958
- canUpdateChart: {
7959
- type: FunctionConstructor;
7960
- optional: boolean;
7961
- };
7962
- };
7963
- get colorsSectionTitle(): string;
7964
- get humanizeNumbersLabel(): string;
7965
- get defaultScorecardTitleFontSize(): number;
7966
- updateHumanizeNumbers(humanize: boolean): void;
7967
- translate(term: any): string;
7968
- updateBaselineDescr(ev: any): void;
7969
- setColor(color: Color, colorPickerId: ColorPickerId): void;
7970
- }
7971
-
7972
- interface ChartSidePanel {
7973
- configuration: new (...args: any) => Component;
7974
- design: new (...args: any) => Component;
7975
- }
7976
-
7977
- /**
7978
- * This registry is intended to map a type of figure (tag) to a class of
7979
- * component, that will be used in the UI to represent the figure.
7980
- *
7981
- * The most important type of figure will be the Chart
7982
- */
7983
- interface FigureContent {
7984
- Component: any;
7985
- menuBuilder: (figureId: UID, onFigureDeleted: () => void, env: SpreadsheetChildEnv) => Action[];
7986
- SidePanelComponent?: string;
7987
- keepRatio?: boolean;
7988
- minFigSize?: number;
7989
- borderWidth?: number;
7990
- }
7991
-
7992
- interface SidePanelProps {
7993
- onCloseSidePanel?: () => void;
7994
- [key: string]: any;
7995
- }
7996
- interface OpenSidePanel {
7997
- isOpen: true;
7998
- props?: SidePanelProps;
7999
- key?: string;
8000
- }
8001
- interface ClosedSidePanel {
8002
- isOpen: false;
8003
- }
8004
- type SidePanelState = OpenSidePanel | ClosedSidePanel;
8005
- declare class SidePanelStore extends SpreadsheetStore {
8006
- mutators: readonly ["open", "toggle", "close", "changePanelSize", "resetPanelSize"];
8007
- initialPanelProps: SidePanelProps;
8008
- componentTag: string;
8009
- panelSize: number;
8010
- get isOpen(): boolean;
8011
- get panelProps(): SidePanelProps;
8012
- get panelKey(): string | undefined;
8013
- open(componentTag: string, panelProps?: SidePanelProps): void;
8014
- toggle(componentTag: string, panelProps: SidePanelProps): void;
8015
- close(): void;
8016
- changePanelSize(size: number, spreadsheetElWidth: number): void;
8017
- resetPanelSize(): void;
8018
- private computeState;
8019
- }
8020
-
8021
- interface SidePanelContent {
8022
- title: string | ((env: SpreadsheetChildEnv, props: object) => string);
8023
- Body: any;
8024
- Footer?: any;
8025
- /**
8026
- * A callback used to validate the props or generate new props
8027
- * based on the current state of the spreadsheet model, using the getters.
8028
- */
8029
- computeState?: (getters: Getters, initialProps: object) => SidePanelState;
8030
- }
8031
-
8032
- /**
8033
- * The class Registry is extended in order to add the function addChild
8034
- *
8035
- */
8036
- declare class MenuItemRegistry extends Registry<ActionSpec> {
8037
- /**
8038
- * @override
8039
- */
8040
- add(key: string, value: ActionSpec): MenuItemRegistry;
8041
- /**
8042
- * Add a subitem to an existing item
8043
- * @param path Path of items to add this subitem
8044
- * @param value Subitem to add
8045
- */
8046
- addChild(key: string, path: string[], value: ActionSpec | ActionBuilder, options?: {
8047
- force: boolean;
8048
- }): MenuItemRegistry;
8049
- getMenuItems(): Action[];
8050
- }
8051
-
8052
- /**
8053
- * An AutofillRule is used to generate what to do when we need to autofill
8054
- * a cell. (In a AutofillGenerator, see plugins/autofill.ts)
8055
- *
8056
- * When we generate the rules to autofill, we take the first matching rule
8057
- * (ordered by sequence), and we generate the AutofillModifier with generateRule
8058
- */
8059
- interface AutofillRule {
8060
- condition: (cell: Cell, cells: (Cell | undefined)[]) => boolean;
8061
- generateRule: (cell: Cell, cells: (Cell | undefined)[]) => AutofillModifier;
8062
- sequence: number;
8063
- }
8064
-
8065
7837
  interface FunctionContext {
8066
7838
  /**
8067
7839
  * The parent function name of the token.
@@ -8105,13 +7877,13 @@ interface EnrichedToken extends Token {
8105
7877
  isParenthesisLinkedToCursor?: boolean;
8106
7878
  }
8107
7879
 
8108
- interface Props$Q {
7880
+ interface Props$T {
8109
7881
  proposals: AutoCompleteProposal[];
8110
7882
  selectedIndex: number | undefined;
8111
7883
  onValueSelected: (value: string) => void;
8112
7884
  onValueHovered: (index: string) => void;
8113
7885
  }
8114
- declare class TextValueProvider extends Component<Props$Q> {
7886
+ declare class TextValueProvider extends Component<Props$T> {
8115
7887
  static template: string;
8116
7888
  static props: {
8117
7889
  proposals: ArrayConstructor;
@@ -8178,19 +7950,19 @@ declare class ContentEditableHelper {
8178
7950
  getText(): string;
8179
7951
  }
8180
7952
 
8181
- interface Props$P {
7953
+ interface Props$S {
8182
7954
  functionName: string;
8183
7955
  functionDescription: FunctionDescription;
8184
7956
  argToFocus: number;
8185
7957
  }
8186
- declare class FunctionDescriptionProvider extends Component<Props$P, SpreadsheetChildEnv> {
7958
+ declare class FunctionDescriptionProvider extends Component<Props$S, SpreadsheetChildEnv> {
8187
7959
  static template: string;
8188
7960
  static props: {
8189
7961
  functionName: StringConstructor;
8190
7962
  functionDescription: ObjectConstructor;
8191
7963
  argToFocus: NumberConstructor;
8192
7964
  };
8193
- getContext(): Props$P;
7965
+ getContext(): Props$S;
8194
7966
  get formulaArgSeparator(): string;
8195
7967
  }
8196
7968
 
@@ -8283,7 +8055,7 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
8283
8055
  * Replace the reference of the old zone by the new one.
8284
8056
  */
8285
8057
  private updateComposerRange;
8286
- private getZoneReference;
8058
+ protected getZoneReference(zone: Zone | UnboundedZone): string;
8287
8059
  private getRangeReference;
8288
8060
  /**
8289
8061
  * Replace the current selection by a new text.
@@ -8542,22 +8314,314 @@ interface AutoCompleteProviderDefinition {
8542
8314
  }, tokenAtCursor: EnrichedToken, text: string): void;
8543
8315
  }
8544
8316
 
8545
- declare function transformRangeData(range: RangeData, executed: CoreCommand): RangeData | undefined;
8546
-
8547
- interface ComposerInterface {
8548
- id: string;
8549
- editionMode: EditionMode;
8550
- startEdition(content?: string, selection?: ComposerSelection): void;
8551
- stopEdition(): void;
8552
- setCurrentContent(content: string, selection?: ComposerSelection): void;
8553
- }
8554
- interface Args {
8555
- focusMode?: ComposerFocusType;
8556
- content?: string;
8557
- selection?: ComposerSelection;
8317
+ /**
8318
+ * An AutofillRule is used to generate what to do when we need to autofill
8319
+ * a cell. (In a AutofillGenerator, see plugins/autofill.ts)
8320
+ *
8321
+ * When we generate the rules to autofill, we take the first matching rule
8322
+ * (ordered by sequence), and we generate the AutofillModifier with generateRule
8323
+ */
8324
+ interface AutofillRule {
8325
+ condition: (cell: Cell, cells: (Cell | undefined)[]) => boolean;
8326
+ generateRule: (cell: Cell, cells: (Cell | undefined)[]) => AutofillModifier;
8327
+ sequence: number;
8558
8328
  }
8559
- declare class ComposerFocusStore extends SpreadsheetStore {
8560
- mutators: readonly ["focusComposer", "focusActiveComposer"];
8329
+
8330
+ /**
8331
+ * This registry is intended to map a type of figure (tag) to a class of
8332
+ * component, that will be used in the UI to represent the figure.
8333
+ *
8334
+ * The most important type of figure will be the Chart
8335
+ */
8336
+ interface FigureContent {
8337
+ Component: any;
8338
+ menuBuilder: (figureId: UID, onFigureDeleted: () => void, env: SpreadsheetChildEnv) => Action[];
8339
+ SidePanelComponent?: string;
8340
+ keepRatio?: boolean;
8341
+ minFigSize?: number;
8342
+ borderWidth?: number;
8343
+ }
8344
+
8345
+ /**
8346
+ * The class Registry is extended in order to add the function addChild
8347
+ *
8348
+ */
8349
+ declare class MenuItemRegistry extends Registry<ActionSpec> {
8350
+ /**
8351
+ * @override
8352
+ */
8353
+ add(key: string, value: ActionSpec): MenuItemRegistry;
8354
+ /**
8355
+ * Add a subitem to an existing item
8356
+ * @param path Path of items to add this subitem
8357
+ * @param value Subitem to add
8358
+ */
8359
+ addChild(key: string, path: string[], value: ActionSpec | ActionBuilder, options?: {
8360
+ force: boolean;
8361
+ }): MenuItemRegistry;
8362
+ getMenuItems(): Action[];
8363
+ }
8364
+
8365
+ interface Props$R {
8366
+ onConfirm: (content: string) => void;
8367
+ composerContent: string;
8368
+ defaultRangeSheetId: UID;
8369
+ defaultStatic?: boolean;
8370
+ contextualAutocomplete?: AutoCompleteProviderDefinition;
8371
+ placeholder?: string;
8372
+ title?: string;
8373
+ class?: string;
8374
+ invalid?: boolean;
8375
+ getContextualColoredSymbolToken?: (token: Token) => Color;
8376
+ }
8377
+ declare class StandaloneComposer extends Component<Props$R, SpreadsheetChildEnv> {
8378
+ static template: string;
8379
+ static props: {
8380
+ composerContent: {
8381
+ type: StringConstructor;
8382
+ optional: boolean;
8383
+ };
8384
+ defaultRangeSheetId: {
8385
+ type: StringConstructor;
8386
+ optional: boolean;
8387
+ };
8388
+ defaultStatic: {
8389
+ type: BooleanConstructor;
8390
+ optional: boolean;
8391
+ };
8392
+ onConfirm: FunctionConstructor;
8393
+ contextualAutocomplete: {
8394
+ type: ObjectConstructor;
8395
+ optional: boolean;
8396
+ };
8397
+ placeholder: {
8398
+ type: StringConstructor;
8399
+ optional: boolean;
8400
+ };
8401
+ title: {
8402
+ type: StringConstructor;
8403
+ optional: boolean;
8404
+ };
8405
+ class: {
8406
+ type: StringConstructor;
8407
+ optional: boolean;
8408
+ };
8409
+ invalid: {
8410
+ type: BooleanConstructor;
8411
+ optional: boolean;
8412
+ };
8413
+ getContextualColoredSymbolToken: {
8414
+ type: FunctionConstructor;
8415
+ optional: boolean;
8416
+ };
8417
+ };
8418
+ static components: {
8419
+ Composer: typeof Composer;
8420
+ };
8421
+ static defaultProps: {
8422
+ composerContent: string;
8423
+ defaultStatic: boolean;
8424
+ };
8425
+ private composerFocusStore;
8426
+ private standaloneComposerStore;
8427
+ private composerInterface;
8428
+ readonly spreadsheetRect: Rect;
8429
+ setup(): void;
8430
+ get focus(): ComposerFocusType;
8431
+ get composerStyle(): string;
8432
+ get containerClass(): string;
8433
+ onFocus(selection: ComposerSelection): void;
8434
+ }
8435
+
8436
+ interface PanelState {
8437
+ sectionRuleCancelledReasons?: CommandResult[];
8438
+ sectionRule: SectionRule;
8439
+ }
8440
+ interface Props$Q {
8441
+ figureId: UID;
8442
+ definition: GaugeChartDefinition;
8443
+ canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8444
+ updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8445
+ }
8446
+ declare class GaugeChartDesignPanel extends Component<Props$Q, SpreadsheetChildEnv> {
8447
+ static template: string;
8448
+ static components: {
8449
+ SidePanelCollapsible: typeof SidePanelCollapsible;
8450
+ Section: typeof Section;
8451
+ RoundColorPicker: typeof RoundColorPicker;
8452
+ GeneralDesignEditor: typeof GeneralDesignEditor;
8453
+ ChartErrorSection: typeof ChartErrorSection;
8454
+ StandaloneComposer: typeof StandaloneComposer;
8455
+ };
8456
+ static props: {
8457
+ figureId: StringConstructor;
8458
+ definition: ObjectConstructor;
8459
+ updateChart: FunctionConstructor;
8460
+ canUpdateChart: {
8461
+ type: FunctionConstructor;
8462
+ optional: boolean;
8463
+ };
8464
+ };
8465
+ protected state: PanelState;
8466
+ setup(): void;
8467
+ get designErrorMessages(): string[];
8468
+ get isRangeMinInvalid(): boolean;
8469
+ get isRangeMaxInvalid(): boolean;
8470
+ get isLowerInflectionPointInvalid(): boolean;
8471
+ get isUpperInflectionPointInvalid(): boolean;
8472
+ updateSectionColor(target: string, color: Color): void;
8473
+ updateSectionRule(sectionRule: SectionRule): void;
8474
+ onConfirmGaugeRange(editedRange: "rangeMin" | "rangeMax", content: string): void;
8475
+ getGaugeInflectionComposerProps(sectionType: "lowerColor" | "middleColor"): StandaloneComposer["props"];
8476
+ private checkSectionRuleFormulasAreValid;
8477
+ private valueIsValidNumber;
8478
+ get sheetId(): UID;
8479
+ }
8480
+
8481
+ declare class LineConfigPanel extends GenericChartConfigPanel {
8482
+ static template: string;
8483
+ get canTreatLabelsAsText(): boolean;
8484
+ get stackedLabel(): string;
8485
+ getLabelRangeOptions(): {
8486
+ name: string;
8487
+ label: any;
8488
+ value: boolean;
8489
+ onChange: (aggregated: boolean) => void;
8490
+ }[];
8491
+ onUpdateLabelsAsText(labelsAsText: boolean): void;
8492
+ onUpdateStacked(stacked: boolean): void;
8493
+ onUpdateCumulative(cumulative: boolean): void;
8494
+ }
8495
+
8496
+ interface Props$P {
8497
+ figureId: UID;
8498
+ definition: ScorecardChartDefinition;
8499
+ canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8500
+ updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8501
+ }
8502
+ declare class ScorecardChartConfigPanel extends Component<Props$P, SpreadsheetChildEnv> {
8503
+ static template: string;
8504
+ static components: {
8505
+ SelectionInput: typeof SelectionInput;
8506
+ ChartErrorSection: typeof ChartErrorSection;
8507
+ Section: typeof Section;
8508
+ };
8509
+ static props: {
8510
+ figureId: StringConstructor;
8511
+ definition: ObjectConstructor;
8512
+ updateChart: FunctionConstructor;
8513
+ canUpdateChart: FunctionConstructor;
8514
+ };
8515
+ private state;
8516
+ private keyValue;
8517
+ private baseline;
8518
+ get errorMessages(): string[];
8519
+ get isKeyValueInvalid(): boolean;
8520
+ get isBaselineInvalid(): boolean;
8521
+ onKeyValueRangeChanged(ranges: string[]): void;
8522
+ updateKeyValueRange(): void;
8523
+ getKeyValueRange(): string;
8524
+ onBaselineRangeChanged(ranges: string[]): void;
8525
+ updateBaselineRange(): void;
8526
+ getBaselineRange(): string;
8527
+ updateBaselineMode(ev: any): void;
8528
+ }
8529
+
8530
+ type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
8531
+ interface Props$O {
8532
+ figureId: UID;
8533
+ definition: ScorecardChartDefinition;
8534
+ canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8535
+ updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8536
+ }
8537
+ declare class ScorecardChartDesignPanel extends Component<Props$O, SpreadsheetChildEnv> {
8538
+ static template: string;
8539
+ static components: {
8540
+ GeneralDesignEditor: typeof GeneralDesignEditor;
8541
+ RoundColorPicker: typeof RoundColorPicker;
8542
+ SidePanelCollapsible: typeof SidePanelCollapsible;
8543
+ Section: typeof Section;
8544
+ Checkbox: typeof Checkbox;
8545
+ };
8546
+ static props: {
8547
+ figureId: StringConstructor;
8548
+ definition: ObjectConstructor;
8549
+ updateChart: FunctionConstructor;
8550
+ canUpdateChart: {
8551
+ type: FunctionConstructor;
8552
+ optional: boolean;
8553
+ };
8554
+ };
8555
+ get colorsSectionTitle(): string;
8556
+ get humanizeNumbersLabel(): string;
8557
+ get defaultScorecardTitleFontSize(): number;
8558
+ updateHumanizeNumbers(humanize: boolean): void;
8559
+ translate(term: any): string;
8560
+ updateBaselineDescr(ev: any): void;
8561
+ setColor(color: Color, colorPickerId: ColorPickerId): void;
8562
+ }
8563
+
8564
+ interface ChartSidePanel {
8565
+ configuration: new (...args: any) => Component;
8566
+ design: new (...args: any) => Component;
8567
+ }
8568
+
8569
+ interface SidePanelProps {
8570
+ onCloseSidePanel?: () => void;
8571
+ [key: string]: any;
8572
+ }
8573
+ interface OpenSidePanel {
8574
+ isOpen: true;
8575
+ props?: SidePanelProps;
8576
+ key?: string;
8577
+ }
8578
+ interface ClosedSidePanel {
8579
+ isOpen: false;
8580
+ }
8581
+ type SidePanelState = OpenSidePanel | ClosedSidePanel;
8582
+ declare class SidePanelStore extends SpreadsheetStore {
8583
+ mutators: readonly ["open", "toggle", "close", "changePanelSize", "resetPanelSize"];
8584
+ initialPanelProps: SidePanelProps;
8585
+ componentTag: string;
8586
+ panelSize: number;
8587
+ get isOpen(): boolean;
8588
+ get panelProps(): SidePanelProps;
8589
+ get panelKey(): string | undefined;
8590
+ open(componentTag: string, panelProps?: SidePanelProps): void;
8591
+ toggle(componentTag: string, panelProps: SidePanelProps): void;
8592
+ close(): void;
8593
+ changePanelSize(size: number, spreadsheetElWidth: number): void;
8594
+ resetPanelSize(): void;
8595
+ private computeState;
8596
+ }
8597
+
8598
+ interface SidePanelContent {
8599
+ title: string | ((env: SpreadsheetChildEnv, props: object) => string);
8600
+ Body: any;
8601
+ Footer?: any;
8602
+ /**
8603
+ * A callback used to validate the props or generate new props
8604
+ * based on the current state of the spreadsheet model, using the getters.
8605
+ */
8606
+ computeState?: (getters: Getters, initialProps: object) => SidePanelState;
8607
+ }
8608
+
8609
+ declare function transformRangeData(range: RangeData, executed: CoreCommand): RangeData | undefined;
8610
+
8611
+ interface ComposerInterface {
8612
+ id: string;
8613
+ editionMode: EditionMode;
8614
+ startEdition(content?: string, selection?: ComposerSelection): void;
8615
+ stopEdition(): void;
8616
+ setCurrentContent(content: string, selection?: ComposerSelection): void;
8617
+ }
8618
+ interface Args {
8619
+ focusMode?: ComposerFocusType;
8620
+ content?: string;
8621
+ selection?: ComposerSelection;
8622
+ }
8623
+ declare class ComposerFocusStore extends SpreadsheetStore {
8624
+ mutators: readonly ["focusComposer", "focusActiveComposer"];
8561
8625
  activeComposer: ComposerInterface;
8562
8626
  private _focusMode;
8563
8627
  get focusMode(): ComposerFocusType;
@@ -8569,10 +8633,10 @@ declare class ComposerFocusStore extends SpreadsheetStore {
8569
8633
  private setComposerContent;
8570
8634
  }
8571
8635
 
8572
- interface Props$O {
8636
+ interface Props$N {
8573
8637
  figure: Figure;
8574
8638
  }
8575
- declare class ChartJsComponent extends Component<Props$O, SpreadsheetChildEnv> {
8639
+ declare class ChartJsComponent extends Component<Props$N, SpreadsheetChildEnv> {
8576
8640
  static template: string;
8577
8641
  static props: {
8578
8642
  figure: ObjectConstructor;
@@ -8588,10 +8652,10 @@ declare class ChartJsComponent extends Component<Props$O, SpreadsheetChildEnv> {
8588
8652
  private updateChartJs;
8589
8653
  }
8590
8654
 
8591
- interface Props$N {
8655
+ interface Props$M {
8592
8656
  figure: Figure;
8593
8657
  }
8594
- declare class ScorecardChart$1 extends Component<Props$N, SpreadsheetChildEnv> {
8658
+ declare class ScorecardChart$1 extends Component<Props$M, SpreadsheetChildEnv> {
8595
8659
  static template: string;
8596
8660
  static props: {
8597
8661
  figure: ObjectConstructor;
@@ -8604,7 +8668,7 @@ declare class ScorecardChart$1 extends Component<Props$N, SpreadsheetChildEnv> {
8604
8668
  }
8605
8669
 
8606
8670
  type MenuItemOrSeparator = Action | "separator";
8607
- interface Props$M {
8671
+ interface Props$L {
8608
8672
  position: DOMCoordinates;
8609
8673
  menuItems: Action[];
8610
8674
  depth: number;
@@ -8623,7 +8687,7 @@ interface MenuState {
8623
8687
  menuItems: Action[];
8624
8688
  isHoveringChild?: boolean;
8625
8689
  }
8626
- declare class Menu extends Component<Props$M, SpreadsheetChildEnv> {
8690
+ declare class Menu extends Component<Props$L, SpreadsheetChildEnv> {
8627
8691
  static template: string;
8628
8692
  static props: {
8629
8693
  position: ObjectConstructor;
@@ -8699,14 +8763,14 @@ declare class Menu extends Component<Props$M, SpreadsheetChildEnv> {
8699
8763
  }
8700
8764
 
8701
8765
  type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
8702
- interface Props$L {
8766
+ interface Props$K {
8703
8767
  figure: Figure;
8704
8768
  style: string;
8705
8769
  onFigureDeleted: () => void;
8706
8770
  onMouseDown: (ev: MouseEvent) => void;
8707
8771
  onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
8708
8772
  }
8709
- declare class FigureComponent extends Component<Props$L, SpreadsheetChildEnv> {
8773
+ declare class FigureComponent extends Component<Props$K, SpreadsheetChildEnv> {
8710
8774
  static template: string;
8711
8775
  static props: {
8712
8776
  figure: ObjectConstructor;
@@ -8755,11 +8819,11 @@ declare class FigureComponent extends Component<Props$L, SpreadsheetChildEnv> {
8755
8819
  private openContextMenu;
8756
8820
  }
8757
8821
 
8758
- interface Props$K {
8822
+ interface Props$J {
8759
8823
  figure: Figure;
8760
8824
  onFigureDeleted: () => void;
8761
8825
  }
8762
- declare class ChartFigure extends Component<Props$K, SpreadsheetChildEnv> {
8826
+ declare class ChartFigure extends Component<Props$J, SpreadsheetChildEnv> {
8763
8827
  static template: string;
8764
8828
  static props: {
8765
8829
  figure: ObjectConstructor;
@@ -8771,7 +8835,7 @@ declare class ChartFigure extends Component<Props$K, SpreadsheetChildEnv> {
8771
8835
  get chartComponent(): new (...args: any) => Component;
8772
8836
  }
8773
8837
 
8774
- interface Props$J {
8838
+ interface Props$I {
8775
8839
  isVisible: boolean;
8776
8840
  position: Position;
8777
8841
  }
@@ -8783,7 +8847,7 @@ interface State$7 {
8783
8847
  position: Position;
8784
8848
  handler: boolean;
8785
8849
  }
8786
- declare class Autofill extends Component<Props$J, SpreadsheetChildEnv> {
8850
+ declare class Autofill extends Component<Props$I, SpreadsheetChildEnv> {
8787
8851
  static template: string;
8788
8852
  static props: {
8789
8853
  position: ObjectConstructor;
@@ -8817,7 +8881,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
8817
8881
  get tagStyle(): string;
8818
8882
  }
8819
8883
 
8820
- interface Props$I {
8884
+ interface Props$H {
8821
8885
  gridDims: DOMDimension;
8822
8886
  onInputContextMenu: (event: MouseEvent) => void;
8823
8887
  }
@@ -8825,7 +8889,7 @@ interface Props$I {
8825
8889
  * This component is a composer which positions itself on the grid at the anchor cell.
8826
8890
  * It also applies the style of the cell to the composer input.
8827
8891
  */
8828
- declare class GridComposer extends Component<Props$I, SpreadsheetChildEnv> {
8892
+ declare class GridComposer extends Component<Props$H, SpreadsheetChildEnv> {
8829
8893
  static template: string;
8830
8894
  static props: {
8831
8895
  gridDims: ObjectConstructor;
@@ -8883,10 +8947,10 @@ declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChild
8883
8947
  isPositionVisible(position: CellPosition): boolean;
8884
8948
  }
8885
8949
 
8886
- interface Props$H {
8950
+ interface Props$G {
8887
8951
  cellPosition: CellPosition;
8888
8952
  }
8889
- declare class DataValidationCheckbox extends Component<Props$H, SpreadsheetChildEnv> {
8953
+ declare class DataValidationCheckbox extends Component<Props$G, SpreadsheetChildEnv> {
8890
8954
  static template: string;
8891
8955
  static components: {
8892
8956
  Checkbox: typeof Checkbox;
@@ -8899,10 +8963,10 @@ declare class DataValidationCheckbox extends Component<Props$H, SpreadsheetChild
8899
8963
  get isDisabled(): boolean;
8900
8964
  }
8901
8965
 
8902
- interface Props$G {
8966
+ interface Props$F {
8903
8967
  cellPosition: CellPosition;
8904
8968
  }
8905
- declare class DataValidationListIcon extends Component<Props$G, SpreadsheetChildEnv> {
8969
+ declare class DataValidationListIcon extends Component<Props$F, SpreadsheetChildEnv> {
8906
8970
  static template: string;
8907
8971
  static props: {
8908
8972
  cellPosition: ObjectConstructor;
@@ -8932,7 +8996,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
8932
8996
  }
8933
8997
 
8934
8998
  type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
8935
- interface Props$F {
8999
+ interface Props$E {
8936
9000
  onFigureDeleted: () => void;
8937
9001
  }
8938
9002
  interface Container {
@@ -9012,7 +9076,7 @@ interface DndState {
9012
9076
  * that occurred during the drag & drop, and to position the figure on the correct pane.
9013
9077
  *
9014
9078
  */
9015
- declare class FiguresContainer extends Component<Props$F, SpreadsheetChildEnv> {
9079
+ declare class FiguresContainer extends Component<Props$E, SpreadsheetChildEnv> {
9016
9080
  static template: string;
9017
9081
  static props: {
9018
9082
  onFigureDeleted: FunctionConstructor;
@@ -9047,10 +9111,10 @@ declare class FiguresContainer extends Component<Props$F, SpreadsheetChildEnv> {
9047
9111
  private getSnapLineStyle;
9048
9112
  }
9049
9113
 
9050
- interface Props$E {
9114
+ interface Props$D {
9051
9115
  cellPosition: CellPosition;
9052
9116
  }
9053
- declare class FilterIcon extends Component<Props$E, SpreadsheetChildEnv> {
9117
+ declare class FilterIcon extends Component<Props$D, SpreadsheetChildEnv> {
9054
9118
  static template: string;
9055
9119
  static props: {
9056
9120
  cellPosition: ObjectConstructor;
@@ -9072,10 +9136,10 @@ declare class FilterIconsOverlay extends Component<{}, SpreadsheetChildEnv> {
9072
9136
  getFilterHeadersPositions(): CellPosition[];
9073
9137
  }
9074
9138
 
9075
- interface Props$D {
9139
+ interface Props$C {
9076
9140
  focusGrid: () => void;
9077
9141
  }
9078
- declare class GridAddRowsFooter extends Component<Props$D, SpreadsheetChildEnv> {
9142
+ declare class GridAddRowsFooter extends Component<Props$C, SpreadsheetChildEnv> {
9079
9143
  static template: string;
9080
9144
  static props: {
9081
9145
  focusGrid: FunctionConstructor;
@@ -9099,7 +9163,7 @@ declare class GridAddRowsFooter extends Component<Props$D, SpreadsheetChildEnv>
9099
9163
  private onExternalClick;
9100
9164
  }
9101
9165
 
9102
- interface Props$C {
9166
+ interface Props$B {
9103
9167
  onCellHovered: (position: Partial<Position$1>) => void;
9104
9168
  onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
9105
9169
  onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers) => void;
@@ -9109,7 +9173,7 @@ interface Props$C {
9109
9173
  gridOverlayDimensions: string;
9110
9174
  onFigureDeleted: () => void;
9111
9175
  }
9112
- declare class GridOverlay extends Component<Props$C, SpreadsheetChildEnv> {
9176
+ declare class GridOverlay extends Component<Props$B, SpreadsheetChildEnv> {
9113
9177
  static template: string;
9114
9178
  static props: {
9115
9179
  onCellHovered: {
@@ -9167,12 +9231,12 @@ declare class GridOverlay extends Component<Props$C, SpreadsheetChildEnv> {
9167
9231
  private getCartesianCoordinates;
9168
9232
  }
9169
9233
 
9170
- interface Props$B {
9234
+ interface Props$A {
9171
9235
  gridRect: Rect;
9172
9236
  onClosePopover: () => void;
9173
9237
  onMouseWheel: (ev: WheelEvent) => void;
9174
9238
  }
9175
- declare class GridPopover extends Component<Props$B, SpreadsheetChildEnv> {
9239
+ declare class GridPopover extends Component<Props$A, SpreadsheetChildEnv> {
9176
9240
  static template: string;
9177
9241
  static props: {
9178
9242
  onClosePopover: FunctionConstructor;
@@ -9315,13 +9379,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
9315
9379
  }
9316
9380
 
9317
9381
  type Orientation$1 = "n" | "s" | "w" | "e";
9318
- interface Props$A {
9382
+ interface Props$z {
9319
9383
  zone: Zone;
9320
9384
  orientation: Orientation$1;
9321
9385
  isMoving: boolean;
9322
9386
  onMoveHighlight: (x: Pixel, y: Pixel) => void;
9323
9387
  }
9324
- declare class Border extends Component<Props$A, SpreadsheetChildEnv> {
9388
+ declare class Border extends Component<Props$z, SpreadsheetChildEnv> {
9325
9389
  static template: string;
9326
9390
  static props: {
9327
9391
  zone: ObjectConstructor;
@@ -9334,14 +9398,14 @@ declare class Border extends Component<Props$A, SpreadsheetChildEnv> {
9334
9398
  }
9335
9399
 
9336
9400
  type Orientation = "nw" | "ne" | "sw" | "se";
9337
- interface Props$z {
9401
+ interface Props$y {
9338
9402
  zone: Zone;
9339
9403
  color: Color;
9340
9404
  orientation: Orientation;
9341
9405
  isResizing: boolean;
9342
9406
  onResizeHighlight: (isLeft: boolean, isRight: boolean) => void;
9343
9407
  }
9344
- declare class Corner extends Component<Props$z, SpreadsheetChildEnv> {
9408
+ declare class Corner extends Component<Props$y, SpreadsheetChildEnv> {
9345
9409
  static template: string;
9346
9410
  static props: {
9347
9411
  zone: ObjectConstructor;
@@ -9356,14 +9420,14 @@ declare class Corner extends Component<Props$z, SpreadsheetChildEnv> {
9356
9420
  onMouseDown(ev: MouseEvent): void;
9357
9421
  }
9358
9422
 
9359
- interface Props$y {
9423
+ interface Props$x {
9360
9424
  zone: Zone;
9361
9425
  color: Color;
9362
9426
  }
9363
9427
  interface HighlightState {
9364
9428
  shiftingMode: "isMoving" | "isResizing" | "none";
9365
9429
  }
9366
- declare class Highlight extends Component<Props$y, SpreadsheetChildEnv> {
9430
+ declare class Highlight extends Component<Props$x, SpreadsheetChildEnv> {
9367
9431
  static template: string;
9368
9432
  static props: {
9369
9433
  zone: ObjectConstructor;
@@ -9380,7 +9444,7 @@ declare class Highlight extends Component<Props$y, SpreadsheetChildEnv> {
9380
9444
 
9381
9445
  type ScrollDirection = "horizontal" | "vertical";
9382
9446
 
9383
- interface Props$x {
9447
+ interface Props$w {
9384
9448
  width: Pixel;
9385
9449
  height: Pixel;
9386
9450
  direction: ScrollDirection;
@@ -9388,7 +9452,7 @@ interface Props$x {
9388
9452
  offset: Pixel;
9389
9453
  onScroll: (offset: Pixel) => void;
9390
9454
  }
9391
- declare class ScrollBar extends Component<Props$x> {
9455
+ declare class ScrollBar extends Component<Props$w> {
9392
9456
  static props: {
9393
9457
  width: {
9394
9458
  type: NumberConstructor;
@@ -9416,10 +9480,10 @@ declare class ScrollBar extends Component<Props$x> {
9416
9480
  onScroll(ev: any): void;
9417
9481
  }
9418
9482
 
9419
- interface Props$w {
9483
+ interface Props$v {
9420
9484
  leftOffset: number;
9421
9485
  }
9422
- declare class HorizontalScrollBar extends Component<Props$w, SpreadsheetChildEnv> {
9486
+ declare class HorizontalScrollBar extends Component<Props$v, SpreadsheetChildEnv> {
9423
9487
  static props: {
9424
9488
  leftOffset: {
9425
9489
  type: NumberConstructor;
@@ -9445,10 +9509,10 @@ declare class HorizontalScrollBar extends Component<Props$w, SpreadsheetChildEnv
9445
9509
  onScroll(offset: any): void;
9446
9510
  }
9447
9511
 
9448
- interface Props$v {
9512
+ interface Props$u {
9449
9513
  topOffset: number;
9450
9514
  }
9451
- declare class VerticalScrollBar extends Component<Props$v, SpreadsheetChildEnv> {
9515
+ declare class VerticalScrollBar extends Component<Props$u, SpreadsheetChildEnv> {
9452
9516
  static props: {
9453
9517
  topOffset: {
9454
9518
  type: NumberConstructor;
@@ -9474,13 +9538,13 @@ declare class VerticalScrollBar extends Component<Props$v, SpreadsheetChildEnv>
9474
9538
  onScroll(offset: any): void;
9475
9539
  }
9476
9540
 
9477
- interface Props$u {
9541
+ interface Props$t {
9478
9542
  table: Table;
9479
9543
  }
9480
9544
  interface State$6 {
9481
9545
  highlightZone: Zone | undefined;
9482
9546
  }
9483
- declare class TableResizer extends Component<Props$u, SpreadsheetChildEnv> {
9547
+ declare class TableResizer extends Component<Props$t, SpreadsheetChildEnv> {
9484
9548
  static template: string;
9485
9549
  static props: {
9486
9550
  table: ObjectConstructor;
@@ -9512,10 +9576,10 @@ declare class HoveredCellStore extends SpreadsheetStore {
9512
9576
  * - a vertical resizer (same, for rows)
9513
9577
  */
9514
9578
  type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
9515
- interface Props$t {
9579
+ interface Props$s {
9516
9580
  exposeFocus: (focus: () => void) => void;
9517
9581
  }
9518
- declare class Grid extends Component<Props$t, SpreadsheetChildEnv> {
9582
+ declare class Grid extends Component<Props$s, SpreadsheetChildEnv> {
9519
9583
  static template: string;
9520
9584
  static props: {
9521
9585
  exposeFocus: FunctionConstructor;
@@ -9599,7 +9663,7 @@ interface DndPartialArgs {
9599
9663
  draggedItemId: UID;
9600
9664
  initialMousePosition: Pixel;
9601
9665
  items: DragAndDropItemsPartial[];
9602
- containerEl: HTMLElement;
9666
+ scrollableContainerEl: HTMLElement;
9603
9667
  onChange?: () => void;
9604
9668
  onCancel?: () => void;
9605
9669
  onDragEnd?: (itemId: UID, indexAtEnd: Pixel) => void;
@@ -9624,7 +9688,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
9624
9688
  private getChartDefinitionFromContextCreation;
9625
9689
  }
9626
9690
 
9627
- interface Props$s {
9691
+ interface Props$r {
9628
9692
  figureId: UID;
9629
9693
  chartPanelStore: MainChartPanelStore;
9630
9694
  }
@@ -9632,7 +9696,7 @@ interface ChartTypePickerState {
9632
9696
  popoverProps: PopoverProps | undefined;
9633
9697
  popoverStyle: string;
9634
9698
  }
9635
- declare class ChartTypePicker extends Component<Props$s, SpreadsheetChildEnv> {
9699
+ declare class ChartTypePicker extends Component<Props$r, SpreadsheetChildEnv> {
9636
9700
  static template: string;
9637
9701
  static components: {
9638
9702
  Section: typeof Section;
@@ -9667,11 +9731,11 @@ declare class ChartTypePicker extends Component<Props$s, SpreadsheetChildEnv> {
9667
9731
  private closePopover;
9668
9732
  }
9669
9733
 
9670
- interface Props$r {
9734
+ interface Props$q {
9671
9735
  onCloseSidePanel: () => void;
9672
9736
  figureId: UID;
9673
9737
  }
9674
- declare class ChartPanel extends Component<Props$r, SpreadsheetChildEnv> {
9738
+ declare class ChartPanel extends Component<Props$q, SpreadsheetChildEnv> {
9675
9739
  static template: string;
9676
9740
  static components: {
9677
9741
  Section: typeof Section;
@@ -9691,13 +9755,13 @@ declare class ChartPanel extends Component<Props$r, SpreadsheetChildEnv> {
9691
9755
  private getChartDefinition;
9692
9756
  }
9693
9757
 
9694
- interface Props$q {
9758
+ interface Props$p {
9695
9759
  figureId: UID;
9696
9760
  definition: PieChartDefinition;
9697
9761
  canUpdateChart: (figureID: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
9698
9762
  updateChart: (figureId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
9699
9763
  }
9700
- declare class PieChartDesignPanel extends Component<Props$q, SpreadsheetChildEnv> {
9764
+ declare class PieChartDesignPanel extends Component<Props$p, SpreadsheetChildEnv> {
9701
9765
  static template: string;
9702
9766
  static components: {
9703
9767
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -9716,10 +9780,10 @@ declare class PieChartDesignPanel extends Component<Props$q, SpreadsheetChildEnv
9716
9780
  };
9717
9781
  }
9718
9782
 
9719
- interface Props$p {
9783
+ interface Props$o {
9720
9784
  items: ActionSpec[];
9721
9785
  }
9722
- declare class CogWheelMenu extends Component<Props$p, SpreadsheetChildEnv> {
9786
+ declare class CogWheelMenu extends Component<Props$o, SpreadsheetChildEnv> {
9723
9787
  static template: string;
9724
9788
  static components: {
9725
9789
  Menu: typeof Menu;
@@ -9802,14 +9866,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
9802
9866
  get highlights(): Highlight$1[];
9803
9867
  }
9804
9868
 
9805
- interface Props$o {
9869
+ interface Props$n {
9806
9870
  deferUpdate: boolean;
9807
9871
  isDirty: boolean;
9808
9872
  toggleDeferUpdate: (value: boolean) => void;
9809
9873
  discard: () => void;
9810
9874
  apply: () => void;
9811
9875
  }
9812
- declare class PivotDeferUpdate extends Component<Props$o, SpreadsheetChildEnv> {
9876
+ declare class PivotDeferUpdate extends Component<Props$n, SpreadsheetChildEnv> {
9813
9877
  static template: string;
9814
9878
  static props: {
9815
9879
  deferUpdate: BooleanConstructor;
@@ -9826,11 +9890,11 @@ declare class PivotDeferUpdate extends Component<Props$o, SpreadsheetChildEnv> {
9826
9890
  get deferUpdatesTooltip(): string;
9827
9891
  }
9828
9892
 
9829
- interface Props$n {
9893
+ interface Props$m {
9830
9894
  onFieldPicked: (field: string) => void;
9831
9895
  fields: PivotField[];
9832
9896
  }
9833
- declare class AddDimensionButton extends Component<Props$n, SpreadsheetChildEnv> {
9897
+ declare class AddDimensionButton extends Component<Props$m, SpreadsheetChildEnv> {
9834
9898
  static template: string;
9835
9899
  static components: {
9836
9900
  Popover: typeof Popover;
@@ -9866,14 +9930,14 @@ declare class AddDimensionButton extends Component<Props$n, SpreadsheetChildEnv>
9866
9930
  onKeyDown(ev: KeyboardEvent): void;
9867
9931
  }
9868
9932
 
9869
- interface Props$m {
9933
+ interface Props$l {
9870
9934
  value: string;
9871
9935
  onChange: (value: string) => void;
9872
9936
  class?: string;
9873
9937
  id?: string;
9874
9938
  placeholder?: string;
9875
9939
  }
9876
- declare class TextInput extends Component<Props$m, SpreadsheetChildEnv> {
9940
+ declare class TextInput extends Component<Props$l, SpreadsheetChildEnv> {
9877
9941
  static template: string;
9878
9942
  static props: {
9879
9943
  value: StringConstructor;
@@ -9899,13 +9963,13 @@ declare class TextInput extends Component<Props$m, SpreadsheetChildEnv> {
9899
9963
  onMouseUp(ev: MouseEvent): void;
9900
9964
  }
9901
9965
 
9902
- interface Props$l {
9966
+ interface Props$k {
9903
9967
  dimension: PivotCoreDimension | PivotCoreMeasure;
9904
9968
  onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
9905
9969
  onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
9906
9970
  type: "row" | "col" | "measure";
9907
9971
  }
9908
- declare class PivotDimension extends Component<Props$l, SpreadsheetChildEnv> {
9972
+ declare class PivotDimension extends Component<Props$k, SpreadsheetChildEnv> {
9909
9973
  static template: string;
9910
9974
  static props: {
9911
9975
  dimension: ObjectConstructor;
@@ -9929,13 +9993,13 @@ declare class PivotDimension extends Component<Props$l, SpreadsheetChildEnv> {
9929
9993
  updateName(name: string): void;
9930
9994
  }
9931
9995
 
9932
- interface Props$k {
9996
+ interface Props$j {
9933
9997
  dimension: PivotDimension$1;
9934
9998
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
9935
9999
  availableGranularities: Set<string>;
9936
10000
  allGranularities: string[];
9937
10001
  }
9938
- declare class PivotDimensionGranularity extends Component<Props$k, SpreadsheetChildEnv> {
10002
+ declare class PivotDimensionGranularity extends Component<Props$j, SpreadsheetChildEnv> {
9939
10003
  static template: string;
9940
10004
  static props: {
9941
10005
  dimension: ObjectConstructor;
@@ -9960,11 +10024,11 @@ declare class PivotDimensionGranularity extends Component<Props$k, SpreadsheetCh
9960
10024
  };
9961
10025
  }
9962
10026
 
9963
- interface Props$j {
10027
+ interface Props$i {
9964
10028
  dimension: PivotDimension$1;
9965
10029
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
9966
10030
  }
9967
- declare class PivotDimensionOrder extends Component<Props$j, SpreadsheetChildEnv> {
10031
+ declare class PivotDimensionOrder extends Component<Props$i, SpreadsheetChildEnv> {
9968
10032
  static template: string;
9969
10033
  static props: {
9970
10034
  dimension: ObjectConstructor;
@@ -9999,66 +10063,6 @@ declare function createPivotFormula(formulaId: string, cell: PivotTableCell): st
9999
10063
  */
10000
10064
  declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type" | "displayName" | "granularity">, groupValue: any): CellValue;
10001
10065
 
10002
- interface Props$i {
10003
- onConfirm: (content: string) => void;
10004
- composerContent: string;
10005
- defaultRangeSheetId: UID;
10006
- contextualAutocomplete?: AutoCompleteProviderDefinition;
10007
- placeholder?: string;
10008
- class?: string;
10009
- invalid?: boolean;
10010
- getContextualColoredSymbolToken?: (token: Token) => Color;
10011
- }
10012
- declare class StandaloneComposer extends Component<Props$i, SpreadsheetChildEnv> {
10013
- static template: string;
10014
- static props: {
10015
- composerContent: {
10016
- type: StringConstructor;
10017
- optional: boolean;
10018
- };
10019
- defaultRangeSheetId: {
10020
- type: StringConstructor;
10021
- optional: boolean;
10022
- };
10023
- onConfirm: FunctionConstructor;
10024
- contextualAutocomplete: {
10025
- type: ObjectConstructor;
10026
- optional: boolean;
10027
- };
10028
- placeholder: {
10029
- type: StringConstructor;
10030
- optional: boolean;
10031
- };
10032
- class: {
10033
- type: StringConstructor;
10034
- optional: boolean;
10035
- };
10036
- invalid: {
10037
- type: BooleanConstructor;
10038
- optional: boolean;
10039
- };
10040
- getContextualColoredSymbolToken: {
10041
- type: FunctionConstructor;
10042
- optional: boolean;
10043
- };
10044
- };
10045
- static components: {
10046
- Composer: typeof Composer;
10047
- };
10048
- static defaultProps: {
10049
- composerContent: string;
10050
- };
10051
- private composerFocusStore;
10052
- private standaloneComposerStore;
10053
- private composerInterface;
10054
- readonly spreadsheetRect: Rect;
10055
- setup(): void;
10056
- get focus(): ComposerFocusType;
10057
- get composerStyle(): string;
10058
- get containerClass(): string;
10059
- onFocus(selection: ComposerSelection): void;
10060
- }
10061
-
10062
10066
  interface Props$h {
10063
10067
  pivotId: string;
10064
10068
  definition: PivotRuntimeDefinition;
@@ -10120,6 +10124,7 @@ interface Props$f {
10120
10124
  unusedGranularities: Record<string, Set<string>>;
10121
10125
  dateGranularities: string[];
10122
10126
  datetimeGranularities: string[];
10127
+ getScrollableContainerEl?: () => HTMLElement;
10123
10128
  pivotId: UID;
10124
10129
  }
10125
10130
  declare class PivotLayoutConfigurator extends Component<Props$f, SpreadsheetChildEnv> {
@@ -10140,6 +10145,10 @@ declare class PivotLayoutConfigurator extends Component<Props$f, SpreadsheetChil
10140
10145
  unusedGranularities: ObjectConstructor;
10141
10146
  dateGranularities: ArrayConstructor;
10142
10147
  datetimeGranularities: ArrayConstructor;
10148
+ getScrollableContainerEl: {
10149
+ type: FunctionConstructor;
10150
+ optional: boolean;
10151
+ };
10143
10152
  pivotId: StringConstructor;
10144
10153
  };
10145
10154
  private dimensionsRef;
@@ -10846,14 +10855,15 @@ declare class BottomBar extends Component<Props$8, SpreadsheetChildEnv> {
10846
10855
  interface ClickableCell {
10847
10856
  coordinates: Rect;
10848
10857
  position: CellPosition;
10858
+ title: string;
10849
10859
  action: (position: CellPosition, env: SpreadsheetChildEnv) => void;
10850
10860
  }
10851
10861
  declare class ClickableCellsStore extends SpreadsheetStore {
10852
10862
  private _clickableCells;
10853
10863
  private _registryItems;
10854
10864
  handle(cmd: Command): void;
10855
- private getClickableAction;
10856
- private findClickableAction;
10865
+ private getClickableItem;
10866
+ private findClickableItem;
10857
10867
  get clickableCells(): ClickableCell[];
10858
10868
  }
10859
10869
 
@@ -13211,4 +13221,4 @@ declare const chartHelpers: {
13211
13221
  WaterfallChart: typeof WaterfallChart;
13212
13222
  };
13213
13223
 
13214
- export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartType, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, RevisionsDroppedEvent, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetScrollInfo, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
13224
+ export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartType, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, RevisionsDroppedEvent, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };