ados-rcm 1.0.591 → 1.0.593
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/AModule/AComponents/AClock/AClock.d.ts +6 -0
- package/dist/AModule/AComponents/ATable/ATable.d.ts +6 -6
- package/dist/AModule/AComponents/ATable/ATableBody.d.ts +1 -1
- package/dist/AModule/AUtils/tableF.d.ts +1 -1
- package/dist/index.cjs.js +10 -10
- package/dist/index.es.js +1164 -1161
- package/package.json +1 -1
@@ -47,6 +47,12 @@ export interface IAClockProps extends IAWrapProps, IABaseProps {
|
|
47
47
|
* Description : onFinish of AClock
|
48
48
|
*/
|
49
49
|
onFinish?: () => void;
|
50
|
+
/**
|
51
|
+
* noStartOnRender? : boolean
|
52
|
+
*
|
53
|
+
* Description : if true, AClock will not start on render
|
54
|
+
*/
|
55
|
+
noStartOnRender?: boolean;
|
50
56
|
/**
|
51
57
|
* actionRef? : TActionRef<IAClockActions>
|
52
58
|
*
|
@@ -297,13 +297,13 @@ export interface IATableSortation<T extends IItem> {
|
|
297
297
|
*
|
298
298
|
* Description : defKey of the sortation
|
299
299
|
*/
|
300
|
-
defKey
|
300
|
+
defKey: keyof T;
|
301
301
|
/**
|
302
302
|
* isAsc? : boolean
|
303
303
|
*
|
304
304
|
* Description : isAsc of the sortation
|
305
305
|
*/
|
306
|
-
isAsc
|
306
|
+
isAsc: boolean;
|
307
307
|
/**
|
308
308
|
* sortF? : TATableSortF<T>
|
309
309
|
*
|
@@ -356,11 +356,11 @@ export interface IATableState<T extends IItem, K extends IItem = any> {
|
|
356
356
|
*/
|
357
357
|
pagination: IATablePagination;
|
358
358
|
/**
|
359
|
-
* sortation : IATableSortation<T>
|
359
|
+
* sortation? : IATableSortation<T>
|
360
360
|
*
|
361
361
|
* Description : sortation of the state
|
362
362
|
*/
|
363
|
-
sortation
|
363
|
+
sortation?: IATableSortation<T>;
|
364
364
|
}
|
365
365
|
export interface IATableActions<T extends IItem> {
|
366
366
|
fireOnStateChange: (cb?: (oldState: IATableState<T>) => IATableState<T>) => TPromisable<void>;
|
@@ -482,11 +482,11 @@ export interface IATableProps<T extends IItem> {
|
|
482
482
|
*/
|
483
483
|
usePagination?: TUseValues<Partial<IATablePagination>, IATablePagination>;
|
484
484
|
/**
|
485
|
-
* useSortation? : TUseValues<IATableSortation<T
|
485
|
+
* useSortation? : TUseValues<IATableSortation<T> | undefined>;
|
486
486
|
*
|
487
487
|
* Description : useSortation of ATable. sortation can be controlled by useSortation.
|
488
488
|
*/
|
489
|
-
useSortation?: TUseValues<IATableSortation<T
|
489
|
+
useSortation?: TUseValues<IATableSortation<T> | undefined>;
|
490
490
|
/**
|
491
491
|
* showRows? : number
|
492
492
|
*
|
@@ -14,7 +14,7 @@ interface IATableBodyProps<T extends IItem> {
|
|
14
14
|
isSelectMulti?: boolean;
|
15
15
|
selectDisabled?: (item: T) => string | boolean | undefined;
|
16
16
|
appliedFilteration: TATableFilteration<T>;
|
17
|
-
useSortation: TUseValues<IATableSortation<T
|
17
|
+
useSortation: TUseValues<IATableSortation<T> | undefined>;
|
18
18
|
pagination: IATablePagination;
|
19
19
|
pagedItems: T[];
|
20
20
|
noMarking?: boolean;
|
@@ -9,7 +9,7 @@ export declare const defaultPredicate: TDefaultPredicate;
|
|
9
9
|
*/
|
10
10
|
export declare const tableF: {
|
11
11
|
applyFilteration: <T extends IItem>(items: T[], defs: TATableDefs<T>, filteration: TATableFilteration<T>) => T[];
|
12
|
-
applySortation: <T_1 extends IItem>(items: T_1[], defs: TATableDefs<T_1>, sortation
|
12
|
+
applySortation: <T_1 extends IItem>(items: T_1[], defs: TATableDefs<T_1>, sortation?: IATableSortation<T_1> | undefined) => T_1[];
|
13
13
|
applyPagination: <T_2 extends IItem>(items: T_2[], page: number, pageSize: number) => T_2[];
|
14
14
|
getPages: (totalCount: number, pageSize: number) => number[];
|
15
15
|
getRangedPages: (page: number, totalCount: number, pageSize: number, pageRange: number) => {
|