@odoo/o-spreadsheet
Version:
A spreadsheet component
30 lines (29 loc) • 1.1 kB
TypeScript
import { Component } from "../../owl3_compatibility_layer";
import { HeaderIndex } from "../../types/misc";
import { DOMCoordinates } from "../../types/rendering";
import { SpreadsheetChildEnv } from "../../types/spreadsheet_env";
interface State {
position: DOMCoordinates;
handler: boolean;
}
export declare class Autofill extends Component<SpreadsheetChildEnv> {
static template: string;
protected props: import("@odoo/owl").Props<{
position: DOMCoordinates;
isVisible: boolean;
}>;
state: State;
dragNDropGrid: {
start: (initialPointerCoordinates: {
clientX: number;
clientY: number;
}, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void, startScrollDirection?: import("../helpers/drag_and_drop_grid_hook").DnDDirection) => void;
};
get style(): string;
get handlerStyle(): string;
get styleNextValue(): string;
getTooltip(): import("../..").Tooltip | undefined;
onMouseDown(ev: PointerEvent): void;
onDblClick(): void;
}
export {};