@guiexpert/preact-table 10.1.83 → 10.1.84

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.
@@ -1,4 +1,5 @@
1
1
  import { AreaIdent, AreaModelIf, CellRendererIf, DomServiceIf, RendererCleanupFnType } from '../../table/src';
2
+
2
3
  export declare class ComponentRendererWrapper implements CellRendererIf {
3
4
  private readonly Component;
4
5
  constructor(Component: any);
@@ -1,14 +1,17 @@
1
- import { Component } from "preact";
2
- import { FocusModelIf, GeModelChangeEvent, GeMouseEvent, SelectionModelIf, TableApi, TableModelIf, TableOptions } from '../../table/src';
1
+ import { Component } from 'preact';
2
+ import { FocusModelIf, GeModelChangeEvent, GeMouseEvent, GeScrollEvent, SelectionModelIf, TableApi, TableModelIf, TableOptions } from '../../table/src';
3
+
3
4
  export type GeMouseEventFn = (evt: GeMouseEvent) => {};
4
5
  export type GeCheckboxEventFn = (evt: any[]) => {};
5
6
  export type GeTableReadyEventFn = (evt: TableApi) => {};
6
7
  export type GeModelChangeEventFn = (evt: GeModelChangeEvent) => {};
7
8
  export type GeSelectionChangeEventFn = (evt: SelectionModelIf) => {};
8
9
  export type GeFocusChangeEventFn = (evt: FocusModelIf) => {};
10
+ export type GeScrollEventFn = (evt: GeScrollEvent) => {};
9
11
  export interface GuiexpertTableProps {
10
12
  tableModel: TableModelIf;
11
13
  tableOptions?: TableOptions;
14
+ scroll?: GeScrollEventFn;
12
15
  mouseMoved?: GeMouseEventFn;
13
16
  contextmenu?: GeMouseEventFn;
14
17
  mouseClicked?: GeMouseEventFn;
@@ -26,7 +29,7 @@ export interface GuiexpertTableProps {
26
29
  * It displays a table with various event listeners and callback functions.
27
30
  */
28
31
  export declare class GuiexpertTable extends Component<GuiexpertTableProps> {
29
- ref: import("preact").RefObject<any>;
32
+ ref: import('preact').RefObject<any>;
30
33
  constructor(props: GuiexpertTableProps);
31
34
  componentDidMount(): void;
32
35
  componentWillUnmount(): void;