@odoo/o-spreadsheet 16.4.28 → 16.4.30

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.
@@ -4819,11 +4819,6 @@ declare class SheetViewPlugin extends UIPlugin {
4819
4819
  private resizeSheetView;
4820
4820
  private recomputeViewports;
4821
4821
  private setSheetViewOffset;
4822
- /**
4823
- * Clip the vertical offset within the allowed range.
4824
- * Not above the sheet, nor below the sheet.
4825
- */
4826
- private clipOffsetY;
4827
4822
  private getViewportOffset;
4828
4823
  private resetViewports;
4829
4824
  /**
@@ -6205,7 +6200,6 @@ interface ClickableCell {
6205
6200
  coordinates: Rect;
6206
6201
  position: Position$1;
6207
6202
  action: (position: CellPosition, env: SpreadsheetChildEnv) => void;
6208
- tKey: string;
6209
6203
  }
6210
6204
  declare class SpreadsheetDashboard extends Component<Props$f, SpreadsheetChildEnv> {
6211
6205
  static template: string;
@@ -6457,6 +6451,7 @@ declare const freezeCurrentCol: ActionSpec;
6457
6451
  declare const viewGridlines: ActionSpec;
6458
6452
  declare const viewFormulas: ActionSpec;
6459
6453
  declare const createRemoveFilter: ActionSpec;
6454
+ declare function createRemoveFilterAction(env: SpreadsheetChildEnv): void;
6460
6455
 
6461
6456
  declare const ACTION_VIEW_hideCols: typeof hideCols;
6462
6457
  declare const ACTION_VIEW_unhideCols: typeof unhideCols;
@@ -6477,6 +6472,7 @@ declare const ACTION_VIEW_freezeCurrentCol: typeof freezeCurrentCol;
6477
6472
  declare const ACTION_VIEW_viewGridlines: typeof viewGridlines;
6478
6473
  declare const ACTION_VIEW_viewFormulas: typeof viewFormulas;
6479
6474
  declare const ACTION_VIEW_createRemoveFilter: typeof createRemoveFilter;
6475
+ declare const ACTION_VIEW_createRemoveFilterAction: typeof createRemoveFilterAction;
6480
6476
  declare namespace ACTION_VIEW {
6481
6477
  export {
6482
6478
  ACTION_VIEW_hideCols as hideCols,
@@ -6498,6 +6494,7 @@ declare namespace ACTION_VIEW {
6498
6494
  ACTION_VIEW_viewGridlines as viewGridlines,
6499
6495
  ACTION_VIEW_viewFormulas as viewFormulas,
6500
6496
  ACTION_VIEW_createRemoveFilter as createRemoveFilter,
6497
+ ACTION_VIEW_createRemoveFilterAction as createRemoveFilterAction,
6501
6498
  };
6502
6499
  }
6503
6500
 
@@ -6689,6 +6686,7 @@ interface ComposerProps {
6689
6686
  delimitation?: DOMDimension;
6690
6687
  onComposerContentFocused: () => void;
6691
6688
  onComposerCellFocused?: (content: String) => void;
6689
+ onInputContextMenu?: (event: MouseEvent) => void;
6692
6690
  isDefaultFocus?: boolean;
6693
6691
  }
6694
6692
  interface ComposerState$1 {
@@ -6759,6 +6757,7 @@ declare class Composer extends Component<ComposerProps, SpreadsheetChildEnv> {
6759
6757
  onMousedown(ev: MouseEvent): void;
6760
6758
  onClick(): void;
6761
6759
  onDblClick(): void;
6760
+ onContextMenu(ev: MouseEvent): void;
6762
6761
  private processContent;
6763
6762
  /**
6764
6763
  * Get the HTML content corresponding to the current composer token, divided by lines.
@@ -6937,6 +6936,7 @@ interface Props$5 {
6937
6936
  onComposerContentFocused: () => void;
6938
6937
  onComposerCellFocused: () => void;
6939
6938
  gridDims: DOMDimension;
6939
+ onInputContextMenu: (event: MouseEvent) => void;
6940
6940
  }
6941
6941
  /**
6942
6942
  * This component is a composer which positions itself on the grid at the anchor cell.