@guiexpert/react-table 18.0.1 → 18.0.2

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,8 +1,10 @@
1
- import { GeModelChangeEvent, GeMouseEvent, TableApi, TableModelIf, TableOptions } from '../../../table/src/index.ts';
1
+ import { FocusModelIf, GeModelChangeEvent, GeMouseEvent, SelectionModelIf, TableApi, TableModelIf, TableOptions } from '../../../table/src/index.ts';
2
2
  export type GeMouseEventFn = (evt: GeMouseEvent) => {};
3
3
  export type GeCheckboxEventFn = (evt: any[]) => {};
4
4
  export type GeTableReadyEventFn = (evt: TableApi) => {};
5
5
  export type GeModelChangeEventFn = (evt: GeModelChangeEvent) => {};
6
+ export type GeSelectionChangeEventFn = (evt: SelectionModelIf) => {};
7
+ export type GeFocusChangeEventFn = (evt: FocusModelIf) => {};
6
8
  export interface GuiexpertTableProps {
7
9
  tableModel: TableModelIf;
8
10
  tableOptions?: TableOptions;
@@ -13,6 +15,8 @@ export interface GuiexpertTableProps {
13
15
  mouseDraggingEnd?: GeMouseEventFn;
14
16
  checkboxChanged?: GeCheckboxEventFn;
15
17
  modelChanged?: GeModelChangeEventFn;
18
+ selectionChanged?: GeSelectionChangeEventFn;
19
+ focusChanged?: GeFocusChangeEventFn;
16
20
  tableReady?: GeTableReadyEventFn;
17
21
  licenseKey?: string;
18
22
  }
@@ -34,5 +38,5 @@ export interface GuiexpertTableProps {
34
38
  *
35
39
  * @returns {JSX.Element} - The rendered GuiexpertTable component.
36
40
  */
37
- export declare function GuiexpertTable({ tableModel, tableOptions, mouseMoved, checkboxChanged, contextmenu, modelChanged, mouseClicked, mouseDragging, mouseDraggingEnd, tableReady, licenseKey }: GuiexpertTableProps): import("react/jsx-runtime").JSX.Element;
41
+ export declare function GuiexpertTable({ tableModel, tableOptions, mouseMoved, checkboxChanged, contextmenu, modelChanged, mouseClicked, mouseDragging, mouseDraggingEnd, selectionChanged, focusChanged, tableReady, licenseKey }: GuiexpertTableProps): import("react/jsx-runtime").JSX.Element;
38
42
  export default GuiexpertTable;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guiexpert/react-table",
3
- "version": "18.0.1",
3
+ "version": "18.0.2",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",