@odoo/o-spreadsheet 17.1.9 → 17.1.11

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.
@@ -7838,6 +7838,7 @@ interface ComposerProps {
7838
7838
  delimitation?: DOMDimension;
7839
7839
  onComposerContentFocused: () => void;
7840
7840
  onComposerCellFocused?: (content: String) => void;
7841
+ onInputContextMenu?: (event: MouseEvent) => void;
7841
7842
  isDefaultFocus?: boolean;
7842
7843
  }
7843
7844
  interface ComposerState$1 {
@@ -7884,6 +7885,10 @@ declare class Composer extends Component<ComposerProps, SpreadsheetChildEnv> {
7884
7885
  type: BooleanConstructor;
7885
7886
  optional: boolean;
7886
7887
  };
7888
+ onInputContextMenu: {
7889
+ type: FunctionConstructor;
7890
+ optional: boolean;
7891
+ };
7887
7892
  };
7888
7893
  static components: {
7889
7894
  TextValueProvider: typeof TextValueProvider;
@@ -7938,6 +7943,7 @@ declare class Composer extends Component<ComposerProps, SpreadsheetChildEnv> {
7938
7943
  onMousedown(ev: MouseEvent): void;
7939
7944
  onClick(): void;
7940
7945
  onDblClick(): void;
7946
+ onContextMenu(ev: MouseEvent): void;
7941
7947
  private processContent;
7942
7948
  /**
7943
7949
  * Get the HTML content corresponding to the current composer token, divided by lines.
@@ -8148,6 +8154,7 @@ interface Props$5 {
8148
8154
  onComposerContentFocused: () => void;
8149
8155
  onComposerCellFocused: () => void;
8150
8156
  gridDims: DOMDimension;
8157
+ onInputContextMenu: (event: MouseEvent) => void;
8151
8158
  }
8152
8159
  /**
8153
8160
  * This component is a composer which positions itself on the grid at the anchor cell.
@@ -8162,6 +8169,7 @@ declare class GridComposer extends Component<Props$5, SpreadsheetChildEnv> {
8162
8169
  onComposerCellFocused: FunctionConstructor;
8163
8170
  onComposerContentFocused: FunctionConstructor;
8164
8171
  gridDims: ObjectConstructor;
8172
+ onInputContextMenu: FunctionConstructor;
8165
8173
  };
8166
8174
  static components: {
8167
8175
  Composer: typeof Composer;