@odoo/o-spreadsheet 17.2.1 → 17.2.3

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.
@@ -6685,6 +6685,7 @@ interface ComposerProps {
6685
6685
  delimitation?: DOMDimension;
6686
6686
  onComposerContentFocused: () => void;
6687
6687
  onComposerCellFocused?: (content: String) => void;
6688
+ onInputContextMenu?: (event: MouseEvent) => void;
6688
6689
  isDefaultFocus?: boolean;
6689
6690
  }
6690
6691
  interface ComposerState {
@@ -6728,6 +6729,10 @@ declare class Composer extends Component<ComposerProps, SpreadsheetChildEnv> {
6728
6729
  type: BooleanConstructor;
6729
6730
  optional: boolean;
6730
6731
  };
6732
+ onInputContextMenu: {
6733
+ type: FunctionConstructor;
6734
+ optional: boolean;
6735
+ };
6731
6736
  };
6732
6737
  static components: {
6733
6738
  TextValueProvider: typeof TextValueProvider;
@@ -6784,6 +6789,7 @@ declare class Composer extends Component<ComposerProps, SpreadsheetChildEnv> {
6784
6789
  onMousedown(ev: MouseEvent): void;
6785
6790
  onClick(): void;
6786
6791
  onDblClick(): void;
6792
+ onContextMenu(ev: MouseEvent): void;
6787
6793
  private processContent;
6788
6794
  /**
6789
6795
  * Get the HTML content corresponding to the current composer token, divided by lines.
@@ -7088,6 +7094,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
7088
7094
 
7089
7095
  interface Props$s {
7090
7096
  gridDims: DOMDimension;
7097
+ onInputContextMenu: (event: MouseEvent) => void;
7091
7098
  }
7092
7099
  /**
7093
7100
  * This component is a composer which positions itself on the grid at the anchor cell.
@@ -7097,6 +7104,7 @@ declare class GridComposer extends Component<Props$s, SpreadsheetChildEnv> {
7097
7104
  static template: string;
7098
7105
  static props: {
7099
7106
  gridDims: ObjectConstructor;
7107
+ onInputContextMenu: FunctionConstructor;
7100
7108
  };
7101
7109
  static components: {
7102
7110
  Composer: typeof Composer;
@@ -8830,6 +8838,7 @@ declare class TopBarComposer extends Component<any, SpreadsheetChildEnv> {
8830
8838
  get focus(): Omit<ComposerFocusType, "cellFocus">;
8831
8839
  get composerStyle(): string;
8832
8840
  get containerStyle(): string;
8841
+ get delimitation(): DOMDimension;
8833
8842
  onFocus(selection: ComposerSelection): void;
8834
8843
  }
8835
8844