@guiexpert/preact-table 10.0.0 → 10.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.
Files changed (4) hide show
  1. package/GuiexpertTable.d.ts +10 -1
  2. package/index.cjs +314 -80
  3. package/index.js +19818 -18828
  4. package/package.json +1 -1
@@ -1,9 +1,11 @@
1
1
  import { Component } from "preact";
2
- import { GeModelChangeEvent, GeMouseEvent, TableApi, TableModelIf, TableOptions } from '../../table/src/index.ts';
2
+ import { FocusModelIf, GeModelChangeEvent, GeMouseEvent, SelectionModelIf, TableApi, TableModelIf, TableOptions } from '../../table/src/index.ts';
3
3
  export type GeMouseEventFn = (evt: GeMouseEvent) => {};
4
4
  export type GeCheckboxEventFn = (evt: any[]) => {};
5
5
  export type GeTableReadyEventFn = (evt: TableApi) => {};
6
6
  export type GeModelChangeEventFn = (evt: GeModelChangeEvent) => {};
7
+ export type GeSelectionChangeEventFn = (evt: SelectionModelIf) => {};
8
+ export type GeFocusChangeEventFn = (evt: FocusModelIf) => {};
7
9
  export interface GuiexpertTableProps {
8
10
  tableModel: TableModelIf;
9
11
  tableOptions?: TableOptions;
@@ -15,7 +17,14 @@ export interface GuiexpertTableProps {
15
17
  checkboxChanged?: GeCheckboxEventFn;
16
18
  modelChanged?: GeModelChangeEventFn;
17
19
  tableReady?: GeTableReadyEventFn;
20
+ licenseKey?: string;
21
+ selectionChanged?: GeSelectionChangeEventFn;
22
+ focusChanged?: GeFocusChangeEventFn;
18
23
  }
24
+ /**
25
+ * GuiexpertTable is a React component that wraps the ExpertTable library.
26
+ * It displays a table with various event listeners and callback functions.
27
+ */
19
28
  export declare class GuiexpertTable extends Component<GuiexpertTableProps> {
20
29
  ref: import("preact").RefObject<any>;
21
30
  constructor(props: GuiexpertTableProps);