ados-rcm 1.1.631 → 1.1.633
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.
- package/dist/AModule/AComponents/ATable/ATable.d.ts +1 -6
- package/dist/AModule/AComponents/ATable/ATableBody.d.ts +1 -1
- package/dist/index.cjs.js +105 -105
- package/dist/index.es.js +6450 -6441
- package/package.json +1 -1
@@ -473,6 +473,7 @@ export interface IATableState<T extends IItem, K extends IItem = any> {
|
|
473
473
|
export interface IATableActions<T extends IItem> {
|
474
474
|
applyFilteration: (cb?: (oldFilteration: TATableFilteration<T>) => TATableFilteration<T>) => TPromisable<void>;
|
475
475
|
fireOnStateChange: (cb?: (oldState: IATableState<T>) => IATableState<T>) => TPromisable<void>;
|
476
|
+
scrollToSelected: (block?: ScrollLogicalPosition) => void;
|
476
477
|
}
|
477
478
|
export interface IATableProps<T extends IItem> {
|
478
479
|
/**
|
@@ -547,12 +548,6 @@ export interface IATableProps<T extends IItem> {
|
|
547
548
|
* Description : isSelectMulti of ATable. if true, multiple items can be selected.
|
548
549
|
*/
|
549
550
|
isSelectMulti?: boolean;
|
550
|
-
/**
|
551
|
-
* isSelectScroll? : boolean
|
552
|
-
*
|
553
|
-
* Description : if true, automatically scrolls to selected row. only works when useSelect is provided.
|
554
|
-
*/
|
555
|
-
isSelectScroll?: boolean;
|
556
551
|
/**
|
557
552
|
* noCount? : boolean
|
558
553
|
*
|
@@ -15,10 +15,10 @@ interface IATableBodyProps<T extends IItem> {
|
|
15
15
|
isLoading?: boolean;
|
16
16
|
isRowRendered: boolean;
|
17
17
|
isSelectMulti?: boolean;
|
18
|
-
isSelectScroll?: boolean;
|
19
18
|
isTableDisabled?: string | boolean;
|
20
19
|
noDefHeader?: boolean;
|
21
20
|
noMarking?: boolean;
|
21
|
+
onScrollToSelectedReady?: (scrollToSelected: (block?: ScrollLogicalPosition) => void) => void;
|
22
22
|
pagedItems: T[];
|
23
23
|
pagination: IATablePagination;
|
24
24
|
rProps?: TCanCallback<IATableTRProps<T>, IABaseProps>;
|