@odoo/o-spreadsheet 18.4.0-alpha.6 → 18.4.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.
@@ -1,9 +1,9 @@
1
1
  import * as chart_js from 'chart.js';
2
- import { ChartConfiguration, ChartDataset, CoreChartOptions, Scriptable, Color as Color$1, ScriptableContext, FontSpec, Point, ChartType as ChartType$1 } from 'chart.js';
2
+ import { ChartConfiguration, ChartDataset, CoreChartOptions, Scriptable, Color as Color$1, ScriptableContext, FontSpec, Point, ChartType as ChartType$1, ChartMeta } from 'chart.js';
3
3
  import * as ChartGeo from 'chartjs-chart-geo';
4
+ import * as GeoJSON$1 from 'geojson';
4
5
  import * as _odoo_owl from '@odoo/owl';
5
6
  import { ComponentConstructor, Component } from '@odoo/owl';
6
- import * as GeoJSON$1 from 'geojson';
7
7
  import * as chart_js_dist_types_utils from 'chart.js/dist/types/utils';
8
8
  import * as chart_js_dist_types_geometric from 'chart.js/dist/types/geometric';
9
9
 
@@ -33,10 +33,12 @@ interface ExcelFigureSize {
33
33
  type ResizeDirection = -1 | 0 | 1;
34
34
 
35
35
  type ImageSVG = {
36
- path: string;
37
36
  width: number;
38
37
  height: number;
39
- fillColor: string;
38
+ paths: {
39
+ path: string;
40
+ fillColor: Color;
41
+ }[];
40
42
  };
41
43
  interface Image$1 {
42
44
  path: string;
@@ -2241,11 +2243,12 @@ declare class FilterEvaluationPlugin extends UIPlugin {
2241
2243
  */
2242
2244
  declare class GridSelectionPlugin extends UIPlugin {
2243
2245
  static layers: readonly ["Selection"];
2244
- static getters: readonly ["getActiveSheet", "getActiveSheetId", "getActiveSheetName", "getActiveCell", "getActiveCols", "getActiveRows", "getCurrentStyle", "getSelectedZones", "getSelectedZone", "getSelectedCells", "getSelectedFigureId", "getSelection", "getActivePosition", "getSheetPosition", "isSingleColSelected", "getElementsFromSelection", "tryGetActiveSheetId", "isGridSelectionActive"];
2246
+ static getters: readonly ["getActiveSheet", "getActiveSheetId", "getActiveSheetName", "getActiveCell", "getActiveCols", "getActiveRows", "getCurrentStyle", "getSelectedZones", "getSelectedZone", "getSelectedCells", "getSelectedFigureId", "getSelection", "getActivePosition", "getSheetPosition", "isSingleColSelected", "getElementsFromSelection", "tryGetActiveSheetId", "isGridSelectionActive", "getSelectecUnboundedZone"];
2245
2247
  private gridSelection;
2246
2248
  private selectedFigureId;
2247
2249
  private sheetsData;
2248
2250
  private moveClient;
2251
+ private isUnbounded;
2249
2252
  activeSheet: Sheet;
2250
2253
  constructor(config: UIPluginConfig);
2251
2254
  allowDispatch(cmd: LocalCommand): CommandResult;
@@ -2263,7 +2266,8 @@ declare class GridSelectionPlugin extends UIPlugin {
2263
2266
  getCurrentStyle(): Style;
2264
2267
  getSelectedZones(): Zone[];
2265
2268
  getSelectedZone(): Zone;
2266
- getSelection(): Selection;
2269
+ getSelectecUnboundedZone(): UnboundedZone;
2270
+ getSelection(): Selection$1;
2267
2271
  getSelectedCells(): EvaluatedCell[];
2268
2272
  getSelectedFigureId(): UID | null;
2269
2273
  getActivePosition(): CellPosition;
@@ -2437,7 +2441,7 @@ declare class InternalViewport {
2437
2441
  *
2438
2442
  */
2439
2443
  declare class SheetViewPlugin extends UIPlugin {
2440
- 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", "getFigureUI", "getPositionAnchorOffset"];
2444
+ 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", "getFigureUI", "getPositionAnchorOffset", "getGridOffset"];
2441
2445
  private viewports;
2442
2446
  /**
2443
2447
  * The viewport dimensions are usually set by one of the components
@@ -2470,6 +2474,7 @@ declare class SheetViewPlugin extends UIPlugin {
2470
2474
  getRowIndex(y: Pixel): HeaderIndex;
2471
2475
  getSheetViewDimensionWithHeaders(): DOMDimension;
2472
2476
  getSheetViewDimension(): DOMDimension;
2477
+ getGridOffset(): DOMCoordinates;
2473
2478
  /** type as pane, not viewport but basically pane extends viewport */
2474
2479
  getActiveMainViewport(): Viewport;
2475
2480
  /**
@@ -3599,7 +3604,7 @@ interface AnchorZone {
3599
3604
  zone: Zone;
3600
3605
  cell: Position$1;
3601
3606
  }
3602
- interface Selection {
3607
+ interface Selection$1 {
3603
3608
  anchor: AnchorZone;
3604
3609
  zones: Zone[];
3605
3610
  }
@@ -3737,8 +3742,7 @@ interface Merge extends Zone {
3737
3742
  id: number;
3738
3743
  }
3739
3744
  interface Highlight$1 {
3740
- zone: Zone;
3741
- sheetId: UID;
3745
+ range: Range;
3742
3746
  color: Color;
3743
3747
  interactive?: boolean;
3744
3748
  thinLine?: boolean;
@@ -4283,6 +4287,7 @@ interface SpreadsheetChildEnv extends NotificationStoreMethods {
4283
4287
  loadLocales: () => Promise<Locale[]>;
4284
4288
  getStore: Get;
4285
4289
  isSmall: boolean;
4290
+ isMobile: () => boolean;
4286
4291
  }
4287
4292
 
4288
4293
  declare class RangeAdapter implements CommandHandler<CoreCommand> {
@@ -4836,10 +4841,10 @@ declare class FigurePlugin extends CorePlugin<FigureState> implements FigureStat
4836
4841
  exportForExcel(data: ExcelWorkbookData): void;
4837
4842
  }
4838
4843
 
4839
- interface State$5 {
4844
+ interface State$6 {
4840
4845
  groups: Record<UID, Record<Dimension, HeaderGroup[]>>;
4841
4846
  }
4842
- declare class HeaderGroupingPlugin extends CorePlugin<State$5> {
4847
+ declare class HeaderGroupingPlugin extends CorePlugin<State$6> {
4843
4848
  static getters: readonly ["getHeaderGroups", "getGroupsLayers", "getVisibleGroupLayers", "getHeaderGroup", "getHeaderGroupsInZone", "isGroupFolded", "isRowFolded", "isColFolded"];
4844
4849
  private readonly groups;
4845
4850
  allowDispatch(cmd: CoreCommand): CommandResult;
@@ -5110,6 +5115,7 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
5110
5115
  private replaceMeasureFormula;
5111
5116
  private checkSortedColumnInMeasures;
5112
5117
  private checkDuplicatedMeasureIds;
5118
+ private repairSortedColumn;
5113
5119
  /**
5114
5120
  * Import the pivots
5115
5121
  */
@@ -5602,22 +5608,24 @@ declare class Registry<T> {
5602
5608
  }
5603
5609
 
5604
5610
  interface GridIcon {
5611
+ type: string;
5605
5612
  position: CellPosition;
5606
5613
  horizontalAlign: Exclude<Align, undefined>;
5607
5614
  size: number;
5608
5615
  margin: number;
5609
- component?: ComponentConstructor<{
5610
- cellPosition: CellPosition;
5611
- }, SpreadsheetChildEnv>;
5612
5616
  svg?: ImageSVG;
5617
+ hoverSvg?: ImageSVG;
5613
5618
  priority: number;
5619
+ onClick?: (position: CellPosition, env: SpreadsheetChildEnv) => void;
5614
5620
  }
5615
5621
 
5616
5622
  declare class CellIconPlugin extends CoreViewPlugin {
5617
- static getters: readonly ["doesCellHaveGridIcon", "getCellIcons"];
5623
+ static getters: readonly ["doesCellHaveGridIcon", "getCellIcons", "getCellIconRect"];
5618
5624
  private cellIconsCache;
5619
5625
  handle(cmd: Command): void;
5620
5626
  getCellIcons(position: CellPosition): GridIcon[];
5627
+ getCellIconRect(icon: GridIcon): Rect;
5628
+ private getIconHorizontalPosition;
5621
5629
  private computeCellIcons;
5622
5630
  doesCellHaveGridIcon(position: CellPosition): boolean;
5623
5631
  }
@@ -6104,7 +6112,7 @@ declare class UIOptionsPlugin extends UIPlugin {
6104
6112
  }
6105
6113
 
6106
6114
  declare class SheetUIPlugin extends UIPlugin {
6107
- static getters: readonly ["getCellWidth", "getTextWidth", "getCellText", "getCellMultiLineText", "getContiguousZone"];
6115
+ static getters: readonly ["getCellWidth", "getTextWidth", "getCellText", "getCellMultiLineText", "getContiguousZone", "computeTextYCoordinate"];
6108
6116
  private ctx;
6109
6117
  allowDispatch(cmd: LocalCommand): CommandResult | CommandResult[];
6110
6118
  handle(cmd: Command): void;
@@ -6122,6 +6130,12 @@ declare class SheetUIPlugin extends UIPlugin {
6122
6130
  wrapText: boolean;
6123
6131
  maxWidth: number;
6124
6132
  }): string[];
6133
+ /** Computes the vertical start point from which a text line should be draw in a cell.
6134
+ *
6135
+ * Note that in case the cell does not have enough spaces to display its text lines,
6136
+ * (wrapping cell case) then the vertical align should be at the top.
6137
+ * */
6138
+ computeTextYCoordinate(cellRect: Rect, textLineHeight: number, verticalAlign?: VerticalAlign, numberOfLines?: number): number;
6125
6139
  /**
6126
6140
  * Expands the given zone until bordered by empty cells or reached the sheet boundaries.
6127
6141
  */
@@ -6665,7 +6679,7 @@ interface ChartShowValuesPluginOptions {
6665
6679
  showValues: boolean;
6666
6680
  background?: Color;
6667
6681
  horizontal?: boolean;
6668
- callback: (value: number | string, axisId: string) => string;
6682
+ callback: (value: number | string, dataset: ChartMeta, index: number) => string;
6669
6683
  }
6670
6684
  declare module "chart.js" {
6671
6685
  interface PluginOptionsByType<TType extends ChartType$1> {
@@ -7766,7 +7780,7 @@ declare class CellPopoverStore extends SpreadsheetStore {
7766
7780
  private computePopoverAnchorRect;
7767
7781
  }
7768
7782
 
7769
- interface State$4 {
7783
+ interface State$5 {
7770
7784
  isOpen: boolean;
7771
7785
  }
7772
7786
  interface Props$17 {
@@ -7798,7 +7812,7 @@ declare class FontSizeEditor extends Component<Props$17, SpreadsheetChildEnv> {
7798
7812
  Popover: typeof Popover;
7799
7813
  };
7800
7814
  fontSizes: number[];
7801
- dropdown: State$4;
7815
+ dropdown: State$5;
7802
7816
  private inputRef;
7803
7817
  private rootEditorRef;
7804
7818
  private fontSizeListRef;
@@ -8589,6 +8603,8 @@ interface CellComposerProps {
8589
8603
  isDefaultFocus?: boolean;
8590
8604
  composerStore: Store<CellComposerStore>;
8591
8605
  placeholder?: string;
8606
+ inputMode?: ElementContentEditable["inputMode"];
8607
+ showAssistant?: boolean;
8592
8608
  }
8593
8609
  interface ComposerState {
8594
8610
  positionStart: number;
@@ -8636,6 +8652,14 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8636
8652
  type: StringConstructor;
8637
8653
  optional: boolean;
8638
8654
  };
8655
+ inputMode: {
8656
+ type: StringConstructor;
8657
+ optional: boolean;
8658
+ };
8659
+ showAssistant: {
8660
+ type: BooleanConstructor;
8661
+ optional: boolean;
8662
+ };
8639
8663
  };
8640
8664
  static components: {
8641
8665
  TextValueProvider: typeof TextValueProvider;
@@ -8645,6 +8669,8 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8645
8669
  static defaultProps: {
8646
8670
  inputStyle: string;
8647
8671
  isDefaultFocus: boolean;
8672
+ inputMode: string;
8673
+ showAssistant: boolean;
8648
8674
  };
8649
8675
  private DOMFocusableElementStore;
8650
8676
  composerRef: {
@@ -9029,6 +9055,11 @@ declare class SidePanelStore extends SpreadsheetStore {
9029
9055
  initialPanelProps: SidePanelProps;
9030
9056
  componentTag: string;
9031
9057
  panelSize: number;
9058
+ screenWidthStore: {
9059
+ readonly setSmallThreshhold: (isSmall: () => boolean) => void;
9060
+ readonly mutators: readonly ["setSmallThreshhold"];
9061
+ readonly isSmall: boolean;
9062
+ };
9032
9063
  get isOpen(): boolean;
9033
9064
  get panelProps(): SidePanelProps;
9034
9065
  get panelKey(): string | undefined;
@@ -9156,6 +9187,68 @@ declare class ScorecardChart$1 extends Component<Props$O, SpreadsheetChildEnv> {
9156
9187
  }
9157
9188
 
9158
9189
  type MenuItemOrSeparator = Action | "separator";
9190
+ interface MenuProps {
9191
+ menuItems: Action[];
9192
+ onClose: () => void;
9193
+ onScroll?: (ev: CustomEvent) => void;
9194
+ onClickMenu?: (menu: Action, ev: CustomEvent) => void;
9195
+ onMouseEnter?: (menu: Action, ev: PointerEvent) => void;
9196
+ onMouseOver?: (menu: Action, ev: PointerEvent) => void;
9197
+ onMouseLeave?: (menu: Action, ev: PointerEvent) => void;
9198
+ isActive?: (menu: Action) => boolean;
9199
+ width?: number;
9200
+ }
9201
+ declare class Menu extends Component<MenuProps, SpreadsheetChildEnv> {
9202
+ static template: string;
9203
+ static props: {
9204
+ menuItems: ArrayConstructor;
9205
+ onClose: FunctionConstructor;
9206
+ onClickMenu: {
9207
+ type: FunctionConstructor;
9208
+ optional: boolean;
9209
+ };
9210
+ onMouseEnter: {
9211
+ type: FunctionConstructor;
9212
+ optional: boolean;
9213
+ };
9214
+ onMouseOver: {
9215
+ type: FunctionConstructor;
9216
+ optional: boolean;
9217
+ };
9218
+ onMouseLeave: {
9219
+ type: FunctionConstructor;
9220
+ optional: boolean;
9221
+ };
9222
+ width: {
9223
+ type: NumberConstructor;
9224
+ optional: boolean;
9225
+ };
9226
+ isActive: {
9227
+ type: FunctionConstructor;
9228
+ optional: boolean;
9229
+ };
9230
+ onScroll: {
9231
+ type: FunctionConstructor;
9232
+ optional: boolean;
9233
+ };
9234
+ };
9235
+ static components: {};
9236
+ static defaultProps: {};
9237
+ private hoveredMenu;
9238
+ setup(): void;
9239
+ get menuItemsAndSeparators(): MenuItemOrSeparator[];
9240
+ get childrenHaveIcon(): boolean;
9241
+ getIconName(menu: Action): string;
9242
+ getColor(menu: Action): string;
9243
+ getIconColor(menu: Action): string;
9244
+ getName(menu: Action): string;
9245
+ isRoot(menu: Action): boolean;
9246
+ isEnabled(menu: Action): boolean;
9247
+ get menuStyle(): string;
9248
+ onMouseEnter(menu: Action, ev: PointerEvent): void;
9249
+ onMouseLeave(menu: Action, ev: PointerEvent): void;
9250
+ }
9251
+
9159
9252
  interface Props$N {
9160
9253
  anchorRect: Rect;
9161
9254
  popoverPositioning: PopoverPropsPosition;
@@ -9176,7 +9269,7 @@ interface MenuState {
9176
9269
  menuItems: Action[];
9177
9270
  isHoveringChild?: boolean;
9178
9271
  }
9179
- declare class Menu extends Component<Props$N, SpreadsheetChildEnv> {
9272
+ declare class MenuPopover extends Component<Props$N, SpreadsheetChildEnv> {
9180
9273
  static template: string;
9181
9274
  static props: {
9182
9275
  anchorRect: ObjectConstructor;
@@ -9212,6 +9305,7 @@ declare class Menu extends Component<Props$N, SpreadsheetChildEnv> {
9212
9305
  };
9213
9306
  };
9214
9307
  static components: {
9308
+ MenuPopover: typeof MenuPopover;
9215
9309
  Menu: typeof Menu;
9216
9310
  Popover: typeof Popover;
9217
9311
  };
@@ -9224,7 +9318,7 @@ declare class Menu extends Component<Props$N, SpreadsheetChildEnv> {
9224
9318
  private hoveredMenu;
9225
9319
  private openingTimeOut;
9226
9320
  setup(): void;
9227
- get menuItemsAndSeparators(): MenuItemOrSeparator[];
9321
+ get menuProps(): MenuProps;
9228
9322
  get subMenuAnchorRect(): Rect;
9229
9323
  get popoverProps(): PopoverProps;
9230
9324
  get childrenHaveIcon(): boolean;
@@ -9244,13 +9338,12 @@ declare class Menu extends Component<Props$N, SpreadsheetChildEnv> {
9244
9338
  * correct position according to available surrounding space.
9245
9339
  */
9246
9340
  private openSubMenu;
9247
- isParentMenu(subMenu: MenuState, menuItem: Action): boolean;
9341
+ private isParentMenu;
9248
9342
  private closeSubMenu;
9249
9343
  onClickMenu(menu: Action, ev: MouseEvent): void;
9250
9344
  onMouseOver(menu: Action, ev: MouseEvent): void;
9251
9345
  onMouseOverMainMenu(): void;
9252
9346
  onMouseOverChildMenu(): void;
9253
- onMouseEnter(menu: Action, ev: MouseEvent): void;
9254
9347
  onMouseLeave(menu: Action): void;
9255
9348
  get menuStyle(): string;
9256
9349
  }
@@ -9285,7 +9378,7 @@ declare class FigureComponent extends Component<Props$M, SpreadsheetChildEnv> {
9285
9378
  };
9286
9379
  };
9287
9380
  static components: {
9288
- Menu: typeof Menu;
9381
+ MenuPopover: typeof MenuPopover;
9289
9382
  };
9290
9383
  static defaultProps: {
9291
9384
  onFigureDeleted: () => void;
@@ -9305,6 +9398,7 @@ declare class FigureComponent extends Component<Props$M, SpreadsheetChildEnv> {
9305
9398
  setup(): void;
9306
9399
  clickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
9307
9400
  onMouseDown(ev: MouseEvent): void;
9401
+ onClick(ev: MouseEvent): void;
9308
9402
  onKeyDown(ev: KeyboardEvent): void;
9309
9403
  private postionInBoundary;
9310
9404
  onContextMenu(ev: MouseEvent): void;
@@ -9325,7 +9419,7 @@ interface MenuItem {
9325
9419
  declare class ChartDashboardMenu extends Component<Props$L, SpreadsheetChildEnv> {
9326
9420
  static template: string;
9327
9421
  static components: {
9328
- Menu: typeof Menu;
9422
+ MenuPopover: typeof MenuPopover;
9329
9423
  };
9330
9424
  static props: {
9331
9425
  figureUI: ObjectConstructor;
@@ -9371,6 +9465,8 @@ declare class DelayedHoveredCellStore extends SpreadsheetStore {
9371
9465
  clear(): "noStateChange" | undefined;
9372
9466
  }
9373
9467
 
9468
+ type DnDDirection = "all" | "vertical" | "horizontal";
9469
+
9374
9470
  interface Props$J {
9375
9471
  isVisible: boolean;
9376
9472
  position: Position;
@@ -9379,7 +9475,7 @@ interface Position {
9379
9475
  top: HeaderIndex;
9380
9476
  left: HeaderIndex;
9381
9477
  }
9382
- interface State$3 {
9478
+ interface State$4 {
9383
9479
  position: Position;
9384
9480
  handler: boolean;
9385
9481
  }
@@ -9389,12 +9485,12 @@ declare class Autofill extends Component<Props$J, SpreadsheetChildEnv> {
9389
9485
  position: ObjectConstructor;
9390
9486
  isVisible: BooleanConstructor;
9391
9487
  };
9392
- state: State$3;
9488
+ state: State$4;
9393
9489
  dragNDropGrid: {
9394
9490
  start: (initialPointerCoordinates: {
9395
9491
  clientX: number;
9396
9492
  clientY: number;
9397
- }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void) => void;
9493
+ }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void, startScrollDirection?: DnDDirection) => void;
9398
9494
  };
9399
9495
  get style(): string;
9400
9496
  get handlerStyle(): string;
@@ -9617,43 +9713,18 @@ declare class GridAddRowsFooter extends Component<Props$G, SpreadsheetChildEnv>
9617
9713
  private onExternalClick;
9618
9714
  }
9619
9715
 
9620
- interface GridCellIconProps {
9621
- icon: GridIcon;
9622
- verticalAlign?: VerticalAlign;
9623
- }
9624
- declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChildEnv> {
9625
- static template: string;
9626
- static props: {
9627
- icon: ObjectConstructor;
9628
- verticalAlign: {
9629
- type: StringConstructor;
9630
- optional: boolean;
9631
- };
9632
- slots: ObjectConstructor;
9633
- };
9634
- get iconStyle(): string;
9635
- private getIconVerticalPosition;
9636
- private getIconHorizontalPosition;
9637
- isPositionVisible(position: CellPosition): boolean;
9638
- }
9639
-
9640
- declare class GridCellIconOverlay extends Component<{}, SpreadsheetChildEnv> {
9641
- static template: string;
9642
- static props: {};
9643
- static components: {
9644
- GridCellIcon: typeof GridCellIcon;
9645
- };
9646
- get icons(): GridIcon[];
9647
- }
9648
-
9649
9716
  interface Props$F {
9650
9717
  onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
9651
- onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: MouseEvent) => void;
9718
+ onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: PointerEvent | MouseEvent) => void;
9652
9719
  onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
9653
9720
  onGridResized: (dimension: Rect) => void;
9654
9721
  onGridMoved: (deltaX: Pixel, deltaY: Pixel) => void;
9655
9722
  gridOverlayDimensions: string;
9656
9723
  onFigureDeleted: () => void;
9724
+ getGridSize: () => {
9725
+ width: number;
9726
+ height: number;
9727
+ };
9657
9728
  }
9658
9729
  declare class GridOverlay extends Component<Props$F, SpreadsheetChildEnv> {
9659
9730
  static template: string;
@@ -9684,11 +9755,11 @@ declare class GridOverlay extends Component<Props$F, SpreadsheetChildEnv> {
9684
9755
  type: ObjectConstructor;
9685
9756
  optional: boolean;
9686
9757
  };
9758
+ getGridSize: FunctionConstructor;
9687
9759
  };
9688
9760
  static components: {
9689
9761
  FiguresContainer: typeof FiguresContainer;
9690
9762
  GridAddRowsFooter: typeof GridAddRowsFooter;
9691
- GridCellIconOverlay: typeof GridCellIconOverlay;
9692
9763
  };
9693
9764
  static defaultProps: {
9694
9765
  onCellDoubleClicked: () => void;
@@ -9700,14 +9771,19 @@ declare class GridOverlay extends Component<Props$F, SpreadsheetChildEnv> {
9700
9771
  private gridOverlay;
9701
9772
  private cellPopovers;
9702
9773
  private paintFormatStore;
9774
+ private hoveredIconStore;
9703
9775
  setup(): void;
9704
9776
  get gridOverlayEl(): HTMLElement;
9705
9777
  get style(): string;
9706
9778
  get isPaintingFormat(): boolean;
9707
- onMouseDown(ev: MouseEvent): void;
9779
+ onPointerMove(ev: MouseEvent): void;
9780
+ onPointerDown(ev: PointerEvent): void;
9781
+ onClick(ev: MouseEvent): void;
9782
+ onCellClicked(ev: PointerEvent | MouseEvent): void;
9708
9783
  onDoubleClick(ev: MouseEvent): void;
9709
9784
  onContextMenu(ev: MouseEvent): void;
9710
9785
  private getCartesianCoordinates;
9786
+ private getInteractiveIconAtEvent;
9711
9787
  }
9712
9788
 
9713
9789
  interface Props$E {
@@ -9809,7 +9885,7 @@ declare abstract class AbstractResizer extends Component<ResizerProps, Spreadshe
9809
9885
  start: (initialPointerCoordinates: {
9810
9886
  clientX: number;
9811
9887
  clientY: number;
9812
- }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void) => void;
9888
+ }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void, startScrollDirection?: DnDDirection) => void;
9813
9889
  };
9814
9890
  abstract _getEvOffset(ev: MouseEvent): Pixel;
9815
9891
  abstract _getViewportOffset(): Pixel;
@@ -9832,10 +9908,11 @@ declare abstract class AbstractResizer extends Component<ResizerProps, Spreadshe
9832
9908
  setup(): void;
9833
9909
  _computeHandleDisplay(ev: MouseEvent): void;
9834
9910
  _computeGrabDisplay(ev: MouseEvent): void;
9835
- onMouseMove(ev: MouseEvent): void;
9911
+ onMouseMove(ev: PointerEvent): void;
9836
9912
  onMouseLeave(): void;
9837
9913
  onDblClick(ev: MouseEvent): void;
9838
9914
  onMouseDown(ev: MouseEvent): void;
9915
+ onClick(ev: MouseEvent): void;
9839
9916
  select(ev: PointerEvent): void;
9840
9917
  private startMovement;
9841
9918
  private startSelection;
@@ -9968,13 +10045,13 @@ declare class Border extends Component<Props$C, SpreadsheetChildEnv> {
9968
10045
  onMouseDown(ev: PointerEvent): void;
9969
10046
  }
9970
10047
 
9971
- type Orientation = "nw" | "ne" | "sw" | "se";
10048
+ type Orientation = "nw" | "ne" | "sw" | "se" | "n" | "s" | "e" | "w";
9972
10049
  interface Props$B {
9973
10050
  zone: Zone;
9974
10051
  color: Color;
9975
10052
  orientation: Orientation;
9976
10053
  isResizing: boolean;
9977
- onResizeHighlight: (ev: PointerEvent, isLeft: boolean, isTop: boolean) => void;
10054
+ onResizeHighlight: (ev: PointerEvent, dirX: ResizeDirection, dirY: ResizeDirection) => void;
9978
10055
  }
9979
10056
  declare class Corner extends Component<Props$B, SpreadsheetChildEnv> {
9980
10057
  static template: string;
@@ -9985,23 +10062,26 @@ declare class Corner extends Component<Props$B, SpreadsheetChildEnv> {
9985
10062
  isResizing: BooleanConstructor;
9986
10063
  onResizeHighlight: FunctionConstructor;
9987
10064
  };
9988
- private isTop;
9989
- private isLeft;
9990
- get style(): string;
10065
+ private dirX;
10066
+ private dirY;
10067
+ setup(): void;
10068
+ get handlerStyle(): string;
10069
+ getHandlerEdgeLength(): 8 | 40;
10070
+ get buttonLook(): string;
9991
10071
  onMouseDown(ev: PointerEvent): void;
9992
10072
  }
9993
10073
 
9994
- interface Props$A {
9995
- zone: Zone;
10074
+ interface HighlightProps {
10075
+ range: Range;
9996
10076
  color: Color;
9997
10077
  }
9998
10078
  interface HighlightState {
9999
10079
  shiftingMode: "isMoving" | "isResizing" | "none";
10000
10080
  }
10001
- declare class Highlight extends Component<Props$A, SpreadsheetChildEnv> {
10081
+ declare class Highlight extends Component<HighlightProps, SpreadsheetChildEnv> {
10002
10082
  static template: string;
10003
10083
  static props: {
10004
- zone: ObjectConstructor;
10084
+ range: ObjectConstructor;
10005
10085
  color: StringConstructor;
10006
10086
  };
10007
10087
  static components: {
@@ -10013,15 +10093,16 @@ declare class Highlight extends Component<Props$A, SpreadsheetChildEnv> {
10013
10093
  start: (initialPointerCoordinates: {
10014
10094
  clientX: number;
10015
10095
  clientY: number;
10016
- }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void) => void;
10096
+ }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void, startScrollDirection?: DnDDirection) => void;
10017
10097
  };
10018
- onResizeHighlight(ev: PointerEvent, isLeft: boolean, isTop: boolean): void;
10098
+ get cornerOrientations(): Array<"nw" | "ne" | "sw" | "se" | "n" | "s" | "e" | "w">;
10099
+ onResizeHighlight(ev: PointerEvent, dirX: ResizeDirection, dirY: ResizeDirection): void;
10019
10100
  onMoveHighlight(ev: PointerEvent): void;
10020
10101
  }
10021
10102
 
10022
10103
  type ScrollDirection = "horizontal" | "vertical";
10023
10104
 
10024
- interface Props$z {
10105
+ interface Props$A {
10025
10106
  width: Pixel;
10026
10107
  height: Pixel;
10027
10108
  direction: ScrollDirection;
@@ -10029,7 +10110,7 @@ interface Props$z {
10029
10110
  offset: Pixel;
10030
10111
  onScroll: (offset: Pixel) => void;
10031
10112
  }
10032
- declare class ScrollBar extends Component<Props$z> {
10113
+ declare class ScrollBar extends Component<Props$A> {
10033
10114
  static props: {
10034
10115
  width: {
10035
10116
  type: NumberConstructor;
@@ -10057,10 +10138,10 @@ declare class ScrollBar extends Component<Props$z> {
10057
10138
  onScroll(ev: any): void;
10058
10139
  }
10059
10140
 
10060
- interface Props$y {
10141
+ interface Props$z {
10061
10142
  leftOffset: number;
10062
10143
  }
10063
- declare class HorizontalScrollBar extends Component<Props$y, SpreadsheetChildEnv> {
10144
+ declare class HorizontalScrollBar extends Component<Props$z, SpreadsheetChildEnv> {
10064
10145
  static props: {
10065
10146
  leftOffset: {
10066
10147
  type: NumberConstructor;
@@ -10086,10 +10167,10 @@ declare class HorizontalScrollBar extends Component<Props$y, SpreadsheetChildEnv
10086
10167
  onScroll(offset: any): void;
10087
10168
  }
10088
10169
 
10089
- interface Props$x {
10170
+ interface Props$y {
10090
10171
  topOffset: number;
10091
10172
  }
10092
- declare class VerticalScrollBar extends Component<Props$x, SpreadsheetChildEnv> {
10173
+ declare class VerticalScrollBar extends Component<Props$y, SpreadsheetChildEnv> {
10093
10174
  static props: {
10094
10175
  topOffset: {
10095
10176
  type: NumberConstructor;
@@ -10115,23 +10196,32 @@ declare class VerticalScrollBar extends Component<Props$x, SpreadsheetChildEnv>
10115
10196
  onScroll(offset: any): void;
10116
10197
  }
10117
10198
 
10118
- interface Props$w {
10199
+ declare class Selection extends Component<{}, SpreadsheetChildEnv> {
10200
+ static template: string;
10201
+ static props: {};
10202
+ static components: {
10203
+ Highlight: typeof Highlight;
10204
+ };
10205
+ get highlightProps(): HighlightProps;
10206
+ }
10207
+
10208
+ interface Props$x {
10119
10209
  table: Table;
10120
10210
  }
10121
- interface State$2 {
10211
+ interface State$3 {
10122
10212
  highlightZone: Zone | undefined;
10123
10213
  }
10124
- declare class TableResizer extends Component<Props$w, SpreadsheetChildEnv> {
10214
+ declare class TableResizer extends Component<Props$x, SpreadsheetChildEnv> {
10125
10215
  static template: string;
10126
10216
  static props: {
10127
10217
  table: ObjectConstructor;
10128
10218
  };
10129
- state: State$2;
10219
+ state: State$3;
10130
10220
  dragNDropGrid: {
10131
10221
  start: (initialPointerCoordinates: {
10132
10222
  clientX: number;
10133
10223
  clientY: number;
10134
- }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void) => void;
10224
+ }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void, startScrollDirection?: DnDDirection) => void;
10135
10225
  };
10136
10226
  setup(): void;
10137
10227
  get containerStyle(): string;
@@ -10150,20 +10240,22 @@ declare class TableResizer extends Component<Props$w, SpreadsheetChildEnv> {
10150
10240
  * - a vertical resizer (same, for rows)
10151
10241
  */
10152
10242
  type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
10153
- interface Props$v {
10243
+ interface Props$w {
10154
10244
  exposeFocus: (focus: () => void) => void;
10245
+ getGridSize: () => DOMDimension;
10155
10246
  }
10156
- declare class Grid extends Component<Props$v, SpreadsheetChildEnv> {
10247
+ declare class Grid extends Component<Props$w, SpreadsheetChildEnv> {
10157
10248
  static template: string;
10158
10249
  static props: {
10159
10250
  exposeFocus: FunctionConstructor;
10251
+ getGridSize: FunctionConstructor;
10160
10252
  };
10161
10253
  static components: {
10162
10254
  GridComposer: typeof GridComposer;
10163
10255
  GridOverlay: typeof GridOverlay;
10164
10256
  GridPopover: typeof GridPopover;
10165
10257
  HeadersOverlay: typeof HeadersOverlay;
10166
- Menu: typeof Menu;
10258
+ MenuPopover: typeof MenuPopover;
10167
10259
  Autofill: typeof Autofill;
10168
10260
  ClientTag: typeof ClientTag;
10169
10261
  Highlight: typeof Highlight;
@@ -10171,6 +10263,7 @@ declare class Grid extends Component<Props$v, SpreadsheetChildEnv> {
10171
10263
  VerticalScrollBar: typeof VerticalScrollBar;
10172
10264
  HorizontalScrollBar: typeof HorizontalScrollBar;
10173
10265
  TableResizer: typeof TableResizer;
10266
+ Selection: typeof Selection;
10174
10267
  };
10175
10268
  readonly HEADER_HEIGHT = 26;
10176
10269
  readonly HEADER_WIDTH = 48;
@@ -10186,7 +10279,7 @@ declare class Grid extends Component<Props$v, SpreadsheetChildEnv> {
10186
10279
  start: (initialPointerCoordinates: {
10187
10280
  clientX: number;
10188
10281
  clientY: number;
10189
- }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void) => void;
10282
+ }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void, startScrollDirection?: DnDDirection) => void;
10190
10283
  };
10191
10284
  onMouseWheel: (ev: WheelEvent) => void;
10192
10285
  hoveredCell: Store<DelayedHoveredCellStore>;
@@ -10229,6 +10322,7 @@ declare class Grid extends Component<Props$v, SpreadsheetChildEnv> {
10229
10322
  onComposerCellFocused(content?: string, selection?: ComposerSelection): void;
10230
10323
  onComposerContentFocused(): void;
10231
10324
  get staticTables(): Table[];
10325
+ get displaySelectionHandler(): boolean;
10232
10326
  }
10233
10327
 
10234
10328
  type Direction = "horizontal" | "vertical";
@@ -10246,13 +10340,13 @@ interface DndPartialArgs {
10246
10340
  onCancel?: () => void;
10247
10341
  onDragEnd?: (itemId: UID, indexAtEnd: Pixel) => void;
10248
10342
  }
10249
- interface State$1 {
10343
+ interface State$2 {
10250
10344
  itemsStyle: Record<UID, string>;
10251
10345
  draggedItemId: UID | undefined;
10252
10346
  start: (direction: Direction, args: DndPartialArgs) => void;
10253
10347
  cancel: () => void;
10254
10348
  }
10255
- declare function useDragAndDropListItems(): State$1;
10349
+ declare function useDragAndDropListItems(): State$2;
10256
10350
 
10257
10351
  declare function useHighlightsOnHover(ref: Ref<HTMLElement>, highlightProvider: HighlightProvider): void;
10258
10352
  declare function useHighlights(highlightProvider: HighlightProvider): void;
@@ -10266,7 +10360,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
10266
10360
  private getChartDefinitionFromContextCreation;
10267
10361
  }
10268
10362
 
10269
- interface Props$u {
10363
+ interface Props$v {
10270
10364
  figureId: UID;
10271
10365
  chartPanelStore: MainChartPanelStore;
10272
10366
  }
@@ -10274,7 +10368,7 @@ interface ChartTypePickerState {
10274
10368
  popoverProps: PopoverProps | undefined;
10275
10369
  popoverStyle: string;
10276
10370
  }
10277
- declare class ChartTypePicker extends Component<Props$u, SpreadsheetChildEnv> {
10371
+ declare class ChartTypePicker extends Component<Props$v, SpreadsheetChildEnv> {
10278
10372
  static template: string;
10279
10373
  static components: {
10280
10374
  Section: typeof Section;
@@ -10310,11 +10404,11 @@ declare class ChartTypePicker extends Component<Props$u, SpreadsheetChildEnv> {
10310
10404
  private closePopover;
10311
10405
  }
10312
10406
 
10313
- interface Props$t {
10407
+ interface Props$u {
10314
10408
  onCloseSidePanel: () => void;
10315
10409
  figureId: UID;
10316
10410
  }
10317
- declare class ChartPanel extends Component<Props$t, SpreadsheetChildEnv> {
10411
+ declare class ChartPanel extends Component<Props$u, SpreadsheetChildEnv> {
10318
10412
  static template: string;
10319
10413
  static components: {
10320
10414
  Section: typeof Section;
@@ -10334,11 +10428,11 @@ declare class ChartPanel extends Component<Props$t, SpreadsheetChildEnv> {
10334
10428
  private getChartDefinition;
10335
10429
  }
10336
10430
 
10337
- interface Props$s {
10431
+ interface Props$t {
10338
10432
  onValueChange: (value: number) => void;
10339
10433
  value: number;
10340
10434
  }
10341
- declare class PieHoleSize extends Component<Props$s, SpreadsheetChildEnv> {
10435
+ declare class PieHoleSize extends Component<Props$t, SpreadsheetChildEnv> {
10342
10436
  static template: string;
10343
10437
  static components: {
10344
10438
  Section: typeof Section;
@@ -10351,13 +10445,13 @@ declare class PieHoleSize extends Component<Props$s, SpreadsheetChildEnv> {
10351
10445
  onChange(value: string): void;
10352
10446
  }
10353
10447
 
10354
- interface Props$r {
10448
+ interface Props$s {
10355
10449
  figureId: UID;
10356
10450
  definition: PieChartDefinition;
10357
10451
  canUpdateChart: (figureID: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10358
10452
  updateChart: (figureId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10359
10453
  }
10360
- declare class PieChartDesignPanel extends Component<Props$r, SpreadsheetChildEnv> {
10454
+ declare class PieChartDesignPanel extends Component<Props$s, SpreadsheetChildEnv> {
10361
10455
  static template: string;
10362
10456
  static components: {
10363
10457
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -10378,13 +10472,13 @@ declare class PieChartDesignPanel extends Component<Props$r, SpreadsheetChildEnv
10378
10472
  onPieHoleSizeChange(pieHolePercentage: number): void;
10379
10473
  }
10380
10474
 
10381
- interface Props$q {
10475
+ interface Props$r {
10382
10476
  items: ActionSpec[];
10383
10477
  }
10384
- declare class CogWheelMenu extends Component<Props$q, SpreadsheetChildEnv> {
10478
+ declare class CogWheelMenu extends Component<Props$r, SpreadsheetChildEnv> {
10385
10479
  static template: string;
10386
10480
  static components: {
10387
- Menu: typeof Menu;
10481
+ MenuPopover: typeof MenuPopover;
10388
10482
  };
10389
10483
  static props: {
10390
10484
  items: ArrayConstructor;
@@ -10464,14 +10558,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
10464
10558
  get highlights(): Highlight$1[];
10465
10559
  }
10466
10560
 
10467
- interface Props$p {
10561
+ interface Props$q {
10468
10562
  deferUpdate: boolean;
10469
10563
  isDirty: boolean;
10470
10564
  toggleDeferUpdate: (value: boolean) => void;
10471
10565
  discard: () => void;
10472
10566
  apply: () => void;
10473
10567
  }
10474
- declare class PivotDeferUpdate extends Component<Props$p, SpreadsheetChildEnv> {
10568
+ declare class PivotDeferUpdate extends Component<Props$q, SpreadsheetChildEnv> {
10475
10569
  static template: string;
10476
10570
  static props: {
10477
10571
  deferUpdate: BooleanConstructor;
@@ -10488,11 +10582,11 @@ declare class PivotDeferUpdate extends Component<Props$p, SpreadsheetChildEnv> {
10488
10582
  get deferUpdatesTooltip(): string;
10489
10583
  }
10490
10584
 
10491
- interface Props$o {
10585
+ interface Props$p {
10492
10586
  onFieldPicked: (field: string) => void;
10493
10587
  fields: PivotField[];
10494
10588
  }
10495
- declare class AddDimensionButton extends Component<Props$o, SpreadsheetChildEnv> {
10589
+ declare class AddDimensionButton extends Component<Props$p, SpreadsheetChildEnv> {
10496
10590
  static template: string;
10497
10591
  static components: {
10498
10592
  Popover: typeof Popover;
@@ -10528,7 +10622,7 @@ declare class AddDimensionButton extends Component<Props$o, SpreadsheetChildEnv>
10528
10622
  onKeyDown(ev: KeyboardEvent): void;
10529
10623
  }
10530
10624
 
10531
- interface Props$n {
10625
+ interface Props$o {
10532
10626
  value: string;
10533
10627
  onChange: (value: string) => void;
10534
10628
  class?: string;
@@ -10536,7 +10630,7 @@ interface Props$n {
10536
10630
  placeholder?: string;
10537
10631
  autofocus?: boolean;
10538
10632
  }
10539
- declare class TextInput extends Component<Props$n, SpreadsheetChildEnv> {
10633
+ declare class TextInput extends Component<Props$o, SpreadsheetChildEnv> {
10540
10634
  static template: string;
10541
10635
  static props: {
10542
10636
  value: StringConstructor;
@@ -10566,13 +10660,13 @@ declare class TextInput extends Component<Props$n, SpreadsheetChildEnv> {
10566
10660
  onMouseUp(ev: MouseEvent): void;
10567
10661
  }
10568
10662
 
10569
- interface Props$m {
10663
+ interface Props$n {
10570
10664
  dimension: PivotCoreDimension | PivotCoreMeasure;
10571
10665
  onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
10572
10666
  onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
10573
10667
  type: "row" | "col" | "measure";
10574
10668
  }
10575
- declare class PivotDimension extends Component<Props$m, SpreadsheetChildEnv> {
10669
+ declare class PivotDimension extends Component<Props$n, SpreadsheetChildEnv> {
10576
10670
  static template: string;
10577
10671
  static props: {
10578
10672
  dimension: ObjectConstructor;
@@ -10596,13 +10690,13 @@ declare class PivotDimension extends Component<Props$m, SpreadsheetChildEnv> {
10596
10690
  updateName(name: string): void;
10597
10691
  }
10598
10692
 
10599
- interface Props$l {
10693
+ interface Props$m {
10600
10694
  dimension: PivotDimension$1;
10601
10695
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
10602
10696
  availableGranularities: Set<string>;
10603
10697
  allGranularities: string[];
10604
10698
  }
10605
- declare class PivotDimensionGranularity extends Component<Props$l, SpreadsheetChildEnv> {
10699
+ declare class PivotDimensionGranularity extends Component<Props$m, SpreadsheetChildEnv> {
10606
10700
  static template: string;
10607
10701
  static props: {
10608
10702
  dimension: ObjectConstructor;
@@ -10627,11 +10721,11 @@ declare class PivotDimensionGranularity extends Component<Props$l, SpreadsheetCh
10627
10721
  };
10628
10722
  }
10629
10723
 
10630
- interface Props$k {
10724
+ interface Props$l {
10631
10725
  dimension: PivotDimension$1;
10632
10726
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
10633
10727
  }
10634
- declare class PivotDimensionOrder extends Component<Props$k, SpreadsheetChildEnv> {
10728
+ declare class PivotDimensionOrder extends Component<Props$l, SpreadsheetChildEnv> {
10635
10729
  static template: string;
10636
10730
  static props: {
10637
10731
  dimension: ObjectConstructor;
@@ -10667,7 +10761,7 @@ declare function createPivotFormula(formulaId: string, cell: PivotTableCell): st
10667
10761
  declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type" | "displayName" | "granularity">, groupValue: any): CellValue;
10668
10762
  declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
10669
10763
 
10670
- interface Props$j {
10764
+ interface Props$k {
10671
10765
  pivotId: string;
10672
10766
  definition: PivotRuntimeDefinition;
10673
10767
  measure: PivotMeasure;
@@ -10675,7 +10769,7 @@ interface Props$j {
10675
10769
  onRemoved: () => void;
10676
10770
  generateMeasureId: (fieldName: string, aggregator?: string) => string;
10677
10771
  }
10678
- declare class PivotMeasureEditor extends Component<Props$j> {
10772
+ declare class PivotMeasureEditor extends Component<Props$k> {
10679
10773
  static template: string;
10680
10774
  static components: {
10681
10775
  PivotDimension: typeof PivotDimension;
@@ -10700,11 +10794,11 @@ declare class PivotMeasureEditor extends Component<Props$j> {
10700
10794
  get isCalculatedMeasureInvalid(): boolean;
10701
10795
  }
10702
10796
 
10703
- interface Props$i {
10797
+ interface Props$j {
10704
10798
  definition: PivotRuntimeDefinition;
10705
10799
  pivotId: UID;
10706
10800
  }
10707
- declare class PivotSortSection extends Component<Props$i, SpreadsheetChildEnv> {
10801
+ declare class PivotSortSection extends Component<Props$j, SpreadsheetChildEnv> {
10708
10802
  static template: string;
10709
10803
  static components: {
10710
10804
  Section: typeof Section;
@@ -10721,7 +10815,7 @@ declare class PivotSortSection extends Component<Props$i, SpreadsheetChildEnv> {
10721
10815
  }[];
10722
10816
  }
10723
10817
 
10724
- interface Props$h {
10818
+ interface Props$i {
10725
10819
  definition: PivotRuntimeDefinition;
10726
10820
  onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
10727
10821
  unusedGroupableFields: PivotField[];
@@ -10732,7 +10826,7 @@ interface Props$h {
10732
10826
  getScrollableContainerEl?: () => HTMLElement;
10733
10827
  pivotId: UID;
10734
10828
  }
10735
- declare class PivotLayoutConfigurator extends Component<Props$h, SpreadsheetChildEnv> {
10829
+ declare class PivotLayoutConfigurator extends Component<Props$i, SpreadsheetChildEnv> {
10736
10830
  static template: string;
10737
10831
  static components: {
10738
10832
  AddDimensionButton: typeof AddDimensionButton;
@@ -10823,11 +10917,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
10823
10917
  private areDomainFieldsValid;
10824
10918
  }
10825
10919
 
10826
- interface Props$g {
10920
+ interface Props$h {
10827
10921
  pivotId: UID;
10828
10922
  flipAxis: () => void;
10829
10923
  }
10830
- declare class PivotTitleSection extends Component<Props$g, SpreadsheetChildEnv> {
10924
+ declare class PivotTitleSection extends Component<Props$h, SpreadsheetChildEnv> {
10831
10925
  static template: string;
10832
10926
  static components: {
10833
10927
  CogWheelMenu: typeof CogWheelMenu;
@@ -10959,7 +11053,7 @@ interface PivotDialogValue {
10959
11053
  value: string;
10960
11054
  isMissing: boolean;
10961
11055
  }
10962
- interface Props$f {
11056
+ interface Props$g {
10963
11057
  pivotId: UID;
10964
11058
  onCellClicked: (formula: string) => void;
10965
11059
  }
@@ -10968,7 +11062,7 @@ interface TableData {
10968
11062
  rows: PivotDialogRow[];
10969
11063
  values: PivotDialogValue[][];
10970
11064
  }
10971
- declare class PivotHTMLRenderer extends Component<Props$f, SpreadsheetChildEnv> {
11065
+ declare class PivotHTMLRenderer extends Component<Props$g, SpreadsheetChildEnv> {
10972
11066
  static template: string;
10973
11067
  static components: {
10974
11068
  Checkbox: typeof Checkbox;
@@ -11025,13 +11119,13 @@ declare class PivotHTMLRenderer extends Component<Props$f, SpreadsheetChildEnv>
11025
11119
  _buildValues(id: UID, table: SpreadsheetPivotTable): PivotDialogValue[][];
11026
11120
  }
11027
11121
 
11028
- interface Props$e {
11122
+ interface Props$f {
11029
11123
  figureId: UID;
11030
11124
  definition: ChartWithDataSetDefinition;
11031
11125
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
11032
11126
  canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
11033
11127
  }
11034
- declare class ChartShowDataMarkers extends Component<Props$e, SpreadsheetChildEnv> {
11128
+ declare class ChartShowDataMarkers extends Component<Props$f, SpreadsheetChildEnv> {
11035
11129
  static template: string;
11036
11130
  static components: {
11037
11131
  Checkbox: typeof Checkbox;
@@ -11044,13 +11138,13 @@ declare class ChartShowDataMarkers extends Component<Props$e, SpreadsheetChildEn
11044
11138
  };
11045
11139
  }
11046
11140
 
11047
- interface Props$d {
11141
+ interface Props$e {
11048
11142
  figureId: UID;
11049
11143
  definition: ComboChartDefinition;
11050
11144
  canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11051
11145
  updateChart: (figureId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11052
11146
  }
11053
- declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$d> {
11147
+ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$e> {
11054
11148
  static template: string;
11055
11149
  static components: {
11056
11150
  ChartShowDataMarkers: typeof ChartShowDataMarkers;
@@ -11071,13 +11165,13 @@ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$d> {
11071
11165
  getDataSeriesType(index: number): "line" | "bar";
11072
11166
  }
11073
11167
 
11074
- interface Props$c {
11168
+ interface Props$d {
11075
11169
  figureId: UID;
11076
11170
  definition: FunnelChartDefinition;
11077
11171
  canUpdateChart: (figureID: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
11078
11172
  updateChart: (figureId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
11079
11173
  }
11080
- declare class FunnelChartDesignPanel extends Component<Props$c, SpreadsheetChildEnv> {
11174
+ declare class FunnelChartDesignPanel extends Component<Props$d, SpreadsheetChildEnv> {
11081
11175
  static template: string;
11082
11176
  static components: {
11083
11177
  ChartShowValues: typeof ChartShowValues;
@@ -11099,13 +11193,13 @@ declare class FunnelChartDesignPanel extends Component<Props$c, SpreadsheetChild
11099
11193
  updateFunnelItemColor(index: number, color: string): void;
11100
11194
  }
11101
11195
 
11102
- interface Props$b {
11196
+ interface Props$c {
11103
11197
  figureId: UID;
11104
11198
  definition: GeoChartDefinition;
11105
11199
  canUpdateChart: (figureID: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11106
11200
  updateChart: (figureId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11107
11201
  }
11108
- declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$b> {
11202
+ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$c> {
11109
11203
  static template: string;
11110
11204
  static components: {
11111
11205
  RoundColorPicker: typeof RoundColorPicker;
@@ -11129,12 +11223,12 @@ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$b> {
11129
11223
  setCustomColorScaleColor(colorType: "minColor" | "midColor" | "maxColor", color: Color): void;
11130
11224
  }
11131
11225
 
11132
- interface Props$a {
11226
+ interface Props$b {
11133
11227
  figureId: UID;
11134
11228
  definition: GeoChartDefinition;
11135
11229
  updateChart: (figureId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11136
11230
  }
11137
- declare class GeoChartRegionSelectSection extends Component<Props$a, SpreadsheetChildEnv> {
11231
+ declare class GeoChartRegionSelectSection extends Component<Props$b, SpreadsheetChildEnv> {
11138
11232
  static template: string;
11139
11233
  static components: {
11140
11234
  Section: typeof Section;
@@ -11149,13 +11243,13 @@ declare class GeoChartRegionSelectSection extends Component<Props$a, Spreadsheet
11149
11243
  get selectedRegion(): string;
11150
11244
  }
11151
11245
 
11152
- interface Props$9 {
11246
+ interface Props$a {
11153
11247
  figureId: UID;
11154
11248
  definition: ComboChartDefinition;
11155
11249
  canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11156
11250
  updateChart: (figureId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11157
11251
  }
11158
- declare class LineChartDesignPanel extends ChartWithAxisDesignPanel<Props$9> {
11252
+ declare class LineChartDesignPanel extends ChartWithAxisDesignPanel<Props$a> {
11159
11253
  static template: string;
11160
11254
  static components: {
11161
11255
  ChartShowDataMarkers: typeof ChartShowDataMarkers;
@@ -11169,13 +11263,13 @@ declare class LineChartDesignPanel extends ChartWithAxisDesignPanel<Props$9> {
11169
11263
  };
11170
11264
  }
11171
11265
 
11172
- interface Props$8 {
11266
+ interface Props$9 {
11173
11267
  figureId: UID;
11174
11268
  definition: RadarChartDefinition;
11175
11269
  canUpdateChart: (figureID: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
11176
11270
  updateChart: (figureId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
11177
11271
  }
11178
- declare class RadarChartDesignPanel extends Component<Props$8, SpreadsheetChildEnv> {
11272
+ declare class RadarChartDesignPanel extends Component<Props$9, SpreadsheetChildEnv> {
11179
11273
  static template: string;
11180
11274
  static components: {
11181
11275
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -11193,13 +11287,13 @@ declare class RadarChartDesignPanel extends Component<Props$8, SpreadsheetChildE
11193
11287
  };
11194
11288
  }
11195
11289
 
11196
- interface Props$7 {
11290
+ interface Props$8 {
11197
11291
  figureId: UID;
11198
11292
  definition: WaterfallChartDefinition;
11199
11293
  canUpdateChart: (figureID: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
11200
11294
  updateChart: (figureId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
11201
11295
  }
11202
- declare class WaterfallChartDesignPanel extends Component<Props$7, SpreadsheetChildEnv> {
11296
+ declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetChildEnv> {
11203
11297
  static template: string;
11204
11298
  static components: {
11205
11299
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -11612,13 +11706,13 @@ declare class Ripple extends Component<RippleProps, SpreadsheetChildEnv> {
11612
11706
  getRippleEffectProps(id: number): RippleEffectProps;
11613
11707
  }
11614
11708
 
11615
- interface Props$6 {
11709
+ interface Props$7 {
11616
11710
  sheetId: string;
11617
11711
  openContextMenu: (registry: MenuItemRegistry, ev: MouseEvent) => void;
11618
11712
  style?: string;
11619
- onMouseDown: (ev: MouseEvent) => void;
11713
+ onMouseDown: (ev: PointerEvent) => void;
11620
11714
  }
11621
- declare class BottomBarSheet extends Component<Props$6, SpreadsheetChildEnv> {
11715
+ declare class BottomBarSheet extends Component<Props$7, SpreadsheetChildEnv> {
11622
11716
  static template: string;
11623
11717
  static props: {
11624
11718
  sheetId: StringConstructor;
@@ -11649,7 +11743,8 @@ declare class BottomBarSheet extends Component<Props$6, SpreadsheetChildEnv> {
11649
11743
  private focusInputAndSelectContent;
11650
11744
  private scrollToSheet;
11651
11745
  onFocusOut(): void;
11652
- onMouseDown(ev: any): void;
11746
+ onClick(): void;
11747
+ onMouseDown(ev: PointerEvent): void;
11653
11748
  private activateSheet;
11654
11749
  onDblClick(): void;
11655
11750
  onKeyDown(ev: KeyboardEvent): void;
@@ -11669,11 +11764,11 @@ declare class BottomBarSheet extends Component<Props$6, SpreadsheetChildEnv> {
11669
11764
  get sheetColorStyle(): string;
11670
11765
  }
11671
11766
 
11672
- interface Props$5 {
11767
+ interface Props$6 {
11673
11768
  openContextMenu: (x: number, y: number, registry: MenuItemRegistry) => void;
11674
11769
  closeContextMenu: () => void;
11675
11770
  }
11676
- declare class BottomBarStatistic extends Component<Props$5, SpreadsheetChildEnv> {
11771
+ declare class BottomBarStatistic extends Component<Props$6, SpreadsheetChildEnv> {
11677
11772
  static template: string;
11678
11773
  static props: {
11679
11774
  openContextMenu: FunctionConstructor;
@@ -11694,19 +11789,19 @@ interface BottomBarSheetItem {
11694
11789
  id: UID;
11695
11790
  name: string;
11696
11791
  }
11697
- interface Props$4 {
11792
+ interface Props$5 {
11698
11793
  onClick: () => void;
11699
11794
  }
11700
11795
  interface BottomBarMenuState extends MenuState {
11701
11796
  menuId: UID | undefined;
11702
11797
  }
11703
- declare class BottomBar extends Component<Props$4, SpreadsheetChildEnv> {
11798
+ declare class BottomBar extends Component<Props$5, SpreadsheetChildEnv> {
11704
11799
  static template: string;
11705
11800
  static props: {
11706
11801
  onClick: FunctionConstructor;
11707
11802
  };
11708
11803
  static components: {
11709
- Menu: typeof Menu;
11804
+ MenuPopover: typeof MenuPopover;
11710
11805
  Ripple: typeof Ripple;
11711
11806
  BottomBarSheet: typeof BottomBarSheet;
11712
11807
  BottomBarStatistic: typeof BottomBarStatistic;
@@ -11757,11 +11852,13 @@ declare class ClickableCellsStore extends SpreadsheetStore {
11757
11852
  get clickableCells(): ClickableCell[];
11758
11853
  }
11759
11854
 
11760
- interface Props$3 {
11855
+ interface Props$4 {
11761
11856
  }
11762
- declare class SpreadsheetDashboard extends Component<Props$3, SpreadsheetChildEnv> {
11857
+ declare class SpreadsheetDashboard extends Component<Props$4, SpreadsheetChildEnv> {
11763
11858
  static template: string;
11764
- static props: {};
11859
+ static props: {
11860
+ getGridSize: FunctionConstructor;
11861
+ };
11765
11862
  static components: {
11766
11863
  GridOverlay: typeof GridOverlay;
11767
11864
  GridPopover: typeof GridPopover;
@@ -11793,7 +11890,7 @@ declare class SpreadsheetDashboard extends Component<Props$3, SpreadsheetChildEn
11793
11890
  private getGridRect;
11794
11891
  }
11795
11892
 
11796
- interface Props$2 {
11893
+ interface Props$3 {
11797
11894
  group: HeaderGroup;
11798
11895
  layerOffset: number;
11799
11896
  openContextMenu(position: DOMCoordinates, menuItems: Action[]): void;
@@ -11803,7 +11900,7 @@ interface GroupBox {
11803
11900
  headerRect: Rect;
11804
11901
  isEndHidden: boolean;
11805
11902
  }
11806
- declare abstract class AbstractHeaderGroup extends Component<Props$2, SpreadsheetChildEnv> {
11903
+ declare abstract class AbstractHeaderGroup extends Component<Props$3, SpreadsheetChildEnv> {
11807
11904
  static template: string;
11808
11905
  static props: {
11809
11906
  group: ObjectConstructor;
@@ -11835,11 +11932,11 @@ declare class ColGroup extends AbstractHeaderGroup {
11835
11932
  get groupBox(): GroupBox;
11836
11933
  }
11837
11934
 
11838
- interface Props$1 {
11935
+ interface Props$2 {
11839
11936
  dimension: Dimension;
11840
11937
  layers: HeaderGroup[][];
11841
11938
  }
11842
- declare class HeaderGroupContainer extends Component<Props$1, SpreadsheetChildEnv> {
11939
+ declare class HeaderGroupContainer extends Component<Props$2, SpreadsheetChildEnv> {
11843
11940
  static template: string;
11844
11941
  static props: {
11845
11942
  dimension: StringConstructor;
@@ -11848,7 +11945,7 @@ declare class HeaderGroupContainer extends Component<Props$1, SpreadsheetChildEn
11848
11945
  static components: {
11849
11946
  RowGroup: typeof RowGroup;
11850
11947
  ColGroup: typeof ColGroup;
11851
- Menu: typeof Menu;
11948
+ MenuPopover: typeof MenuPopover;
11852
11949
  };
11853
11950
  menu: MenuState;
11854
11951
  getLayerOffset(layerIndex: number): number;
@@ -11874,10 +11971,68 @@ declare class SidePanel extends Component<{}, SpreadsheetChildEnv> {
11874
11971
  startHandleDrag(ev: MouseEvent): void;
11875
11972
  }
11876
11973
 
11974
+ interface State$1 {
11975
+ menuItems: Action[];
11976
+ title: string | undefined;
11977
+ parentState: State$1 | undefined;
11978
+ }
11979
+ interface RibbonMenuProps {
11980
+ onClose: () => void;
11981
+ height: number;
11982
+ }
11983
+ declare class RibbonMenu extends Component<RibbonMenuProps, SpreadsheetChildEnv> {
11984
+ static template: string;
11985
+ static props: {
11986
+ onClose: FunctionConstructor;
11987
+ };
11988
+ static components: {
11989
+ Menu: typeof Menu;
11990
+ };
11991
+ rootItems: Action[];
11992
+ private menuRef;
11993
+ state: State$1;
11994
+ setup(): void;
11995
+ onExternalClick(ev: Event): void;
11996
+ onClickMenu(menu: Action): void;
11997
+ get menuProps(): MenuProps;
11998
+ get style(): string;
11999
+ onClickBack(): void;
12000
+ get backTitle(): string;
12001
+ }
12002
+
12003
+ interface Props$1 {
12004
+ onClick: () => void;
12005
+ }
12006
+ declare class SmallBottomBar extends Component<Props$1, SpreadsheetChildEnv> {
12007
+ static components: {
12008
+ Composer: typeof Composer;
12009
+ BottomBar: typeof BottomBar;
12010
+ Ripple: typeof Ripple;
12011
+ RibbonMenu: typeof RibbonMenu;
12012
+ };
12013
+ static template: string;
12014
+ static props: {
12015
+ onClick: FunctionConstructor;
12016
+ };
12017
+ private composerFocusStore;
12018
+ private composerStore;
12019
+ private composerInterface;
12020
+ private composerRef;
12021
+ private menuState;
12022
+ setup(): void;
12023
+ get focus(): ComposerFocusType;
12024
+ get rect(): Rect;
12025
+ get composerProps(): CellComposerProps;
12026
+ get symbols(): string[];
12027
+ insertSymbol(symbol: string): void;
12028
+ toggleRibbon(): void;
12029
+ }
12030
+
11877
12031
  type ToolBarItem<C extends ComponentConstructor = ComponentConstructor> = {
11878
12032
  component: C;
11879
12033
  props: PropsOf<C>;
11880
12034
  sequence: number;
12035
+ isVisible?: (env: SpreadsheetChildEnv) => boolean;
11881
12036
  };
11882
12037
  declare class ToolBarRegistry {
11883
12038
  content: {
@@ -11955,7 +12110,7 @@ declare class TopBar extends Component<Props, SpreadsheetChildEnv> {
11955
12110
  dropdownMaxHeight: NumberConstructor;
11956
12111
  };
11957
12112
  static components: {
11958
- Menu: typeof Menu;
12113
+ MenuPopover: typeof MenuPopover;
11959
12114
  TopBarComposer: typeof TopBarComposer;
11960
12115
  Popover: typeof Popover;
11961
12116
  };
@@ -12026,6 +12181,7 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
12026
12181
  TopBar: typeof TopBar;
12027
12182
  Grid: typeof Grid;
12028
12183
  BottomBar: typeof BottomBar;
12184
+ SmallBottomBar: typeof SmallBottomBar;
12029
12185
  SidePanel: typeof SidePanel;
12030
12186
  SpreadsheetDashboard: typeof SpreadsheetDashboard;
12031
12187
  HeaderGroupContainer: typeof HeaderGroupContainer;
@@ -12051,6 +12207,10 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
12051
12207
  get gridContainerStyle(): string;
12052
12208
  get rowLayers(): HeaderGroup[][];
12053
12209
  get colLayers(): HeaderGroup[][];
12210
+ getGridSize(): {
12211
+ width: number;
12212
+ height: number;
12213
+ };
12054
12214
  }
12055
12215
 
12056
12216
  type SprintfValues = (string | String | number)[] | [{
@@ -12078,7 +12238,7 @@ declare const SPREADSHEET_DIMENSIONS: {
12078
12238
  MIN_COL_WIDTH: number;
12079
12239
  HEADER_HEIGHT: number;
12080
12240
  HEADER_WIDTH: number;
12081
- BOTTOMBAR_HEIGHT: number;
12241
+ DESKTOP_BOTTOMBAR_HEIGHT: number;
12082
12242
  DEFAULT_CELL_WIDTH: number;
12083
12243
  DEFAULT_CELL_HEIGHT: number;
12084
12244
  SCROLLBAR_WIDTH: number;
@@ -12246,7 +12406,7 @@ declare const components: {
12246
12406
  FunnelChartDesignPanel: typeof FunnelChartDesignPanel;
12247
12407
  ChartTypePicker: typeof ChartTypePicker;
12248
12408
  FigureComponent: typeof FigureComponent;
12249
- Menu: typeof Menu;
12409
+ MenuPopover: typeof MenuPopover;
12250
12410
  Popover: typeof Popover;
12251
12411
  SelectionInput: typeof SelectionInput;
12252
12412
  ValidationMessages: typeof ValidationMessages;
@@ -12781,6 +12941,8 @@ declare const chartHelpers: {
12781
12941
  }>;
12782
12942
  getChartShowValues(definition: ChartWithDataSetDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
12783
12943
  getSunburstShowValues(definition: SunburstChartDefinition, args: ChartRuntimeGenerationArgs): ChartSunburstLabelsPluginOptions;
12944
+ getPyramidChartShowValues(definition: ChartWithDataSetDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
12945
+ getWaterfallChartShowValues(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
12784
12946
  getChartTitle(definition: ChartWithDataSetDefinition): chart_js_dist_types_utils._DeepPartialObject<chart_js.TitleOptions>;
12785
12947
  getBarChartTooltip(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
12786
12948
  getLineChartTooltip(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
@@ -12868,4 +13030,4 @@ declare const chartHelpers: {
12868
13030
  WaterfallChart: typeof WaterfallChart;
12869
13031
  };
12870
13032
 
12871
- export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClientWithPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, CriterionFilter, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataFilterValue, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluatedCriterion, EvaluatedDateCriterion, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartTrendConfiguration, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelTrendlineType, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterCriterionType, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericCriterion, GenericCriterionType, GenericDateCriterion, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, LocalTransportService, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCollapsedDomains, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeAdapter$1 as RangeAdapter, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, ToggleCheckboxCommand, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, ValuesFilter, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, filterDateCriterionOperators, filterNumberCriterionOperators, filterTextCriterionOperators, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
13033
+ export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClientWithPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, CriterionFilter, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataFilterValue, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluatedCriterion, EvaluatedDateCriterion, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartTrendConfiguration, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelTrendlineType, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterCriterionType, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericCriterion, GenericCriterionType, GenericDateCriterion, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, LocalTransportService, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCollapsedDomains, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeAdapter$1 as RangeAdapter, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection$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, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, ValuesFilter, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, filterDateCriterionOperators, filterNumberCriterionOperators, filterTextCriterionOperators, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };