ados-rcm 1.0.533 → 1.0.535

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,9 +3,9 @@ import { TUseValues } from '../../AHooks/useValues';
3
3
  import { TCanCallback } from '../../AUtils/cbF';
4
4
  import { IItem } from '../../AUtils/objF';
5
5
  import { IABaseProps } from '../ABase/ABase';
6
+ import { IDateRange } from '../ADatePicker/ADateRangePicker';
6
7
  import { Resources } from '../AResource/AResource';
7
8
  import { TActionRef, TIdx, TPromisable } from '../ATypes/ATypes';
8
- import { IDateRange } from '../ADatePicker/ADateRangePicker';
9
9
  export interface IATableTHProps<T extends IItem> {
10
10
  /**
11
11
  * defKey : TIdx
@@ -356,8 +356,8 @@ export interface IATableState<T extends IItem, K extends IItem = any> {
356
356
  */
357
357
  sortation: IATableSortation<T>;
358
358
  }
359
- export interface IATableActions {
360
- fireOnStateChange: () => TPromisable<void>;
359
+ export interface IATableActions<T extends IItem> {
360
+ fireOnStateChange: (cb?: (oldState: IATableState<T>) => IATableState<T>) => TPromisable<void>;
361
361
  }
362
362
  export interface IATableProps<T extends IItem> {
363
363
  /**
@@ -539,7 +539,7 @@ export interface IATableProps<T extends IItem> {
539
539
  *
540
540
  * Description : actionRef of ATable
541
541
  */
542
- actionRef?: TActionRef<IATableActions>;
542
+ actionRef?: TActionRef<IATableActions<T>>;
543
543
  /**
544
544
  * resources? : Partial<typeof Resources.ATable>
545
545
  *