@odoo/o-spreadsheet 16.3.30 → 16.3.33
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.
- package/dist/o-spreadsheet.cjs.js +148 -120
- package/dist/o-spreadsheet.d.ts +3 -6
- package/dist/o-spreadsheet.esm.js +148 -120
- package/dist/o-spreadsheet.iife.js +148 -120
- package/dist/o-spreadsheet.iife.min.js +252 -252
- package/dist/o_spreadsheet.xml +7 -6
- package/package.json +2 -2
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -4089,11 +4089,6 @@ declare class SheetViewPlugin extends UIPlugin {
|
|
|
4089
4089
|
private resizeSheetView;
|
|
4090
4090
|
private recomputeViewports;
|
|
4091
4091
|
private setSheetViewOffset;
|
|
4092
|
-
/**
|
|
4093
|
-
* Clip the vertical offset within the allowed range.
|
|
4094
|
-
* Not above the sheet, nor below the sheet.
|
|
4095
|
-
*/
|
|
4096
|
-
private clipOffsetY;
|
|
4097
4092
|
private getViewportOffset;
|
|
4098
4093
|
private resetViewports;
|
|
4099
4094
|
/**
|
|
@@ -6093,7 +6088,6 @@ interface ClickableCell {
|
|
|
6093
6088
|
coordinates: Rect;
|
|
6094
6089
|
position: Position$1;
|
|
6095
6090
|
action: (position: CellPosition, env: SpreadsheetChildEnv) => void;
|
|
6096
|
-
tKey: string;
|
|
6097
6091
|
}
|
|
6098
6092
|
declare class SpreadsheetDashboard extends Component<Props$e, SpreadsheetChildEnv> {
|
|
6099
6093
|
static template: string;
|
|
@@ -6570,6 +6564,7 @@ interface ComposerProps {
|
|
|
6570
6564
|
delimitation?: DOMDimension;
|
|
6571
6565
|
onComposerContentFocused: () => void;
|
|
6572
6566
|
onComposerCellFocused?: (content: String) => void;
|
|
6567
|
+
onInputContextMenu?: (event: MouseEvent) => void;
|
|
6573
6568
|
isDefaultFocus?: boolean;
|
|
6574
6569
|
}
|
|
6575
6570
|
interface ComposerState$1 {
|
|
@@ -6630,6 +6625,7 @@ declare class Composer extends Component<ComposerProps, SpreadsheetChildEnv> {
|
|
|
6630
6625
|
onMousedown(ev: MouseEvent): void;
|
|
6631
6626
|
onClick(): void;
|
|
6632
6627
|
onBlur(): void;
|
|
6628
|
+
onContextMenu(ev: MouseEvent): void;
|
|
6633
6629
|
private processContent;
|
|
6634
6630
|
/**
|
|
6635
6631
|
* Get the HTML content corresponding to the current composer token, divided by lines.
|
|
@@ -6797,6 +6793,7 @@ interface Props$5 {
|
|
|
6797
6793
|
onComposerContentFocused: () => void;
|
|
6798
6794
|
onComposerCellFocused: () => void;
|
|
6799
6795
|
gridDims: DOMDimension;
|
|
6796
|
+
onInputContextMenu: (event: MouseEvent) => void;
|
|
6800
6797
|
}
|
|
6801
6798
|
/**
|
|
6802
6799
|
* This component is a composer which positions itself on the grid at the anchor cell.
|