ados-rcm 1.0.28 → 1.0.30
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/AInput/AUnitInput.d.ts +10 -0
- package/dist/AModule/AComponents/ATable/ATable.d.ts +36 -0
- package/dist/AModule/AComponents/ATable/ATableBody.d.ts +1 -0
- package/dist/AModule/AComponents/ATable/ATableHeader.d.ts +2 -0
- package/dist/index.cjs.js +13 -13
- package/dist/index.es.js +2283 -2229
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TUseValues } from '../../AHooks/useValues';
|
|
2
|
+
import { IAInputProps } from './AInput';
|
|
3
|
+
export interface IAUnitInputProps extends IAInputProps {
|
|
4
|
+
unit?: string;
|
|
5
|
+
min?: number;
|
|
6
|
+
max?: number;
|
|
7
|
+
useNumber?: TUseValues<number | '*'>;
|
|
8
|
+
canAsterisk?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const AUnitInput: (props: IAUnitInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -660,6 +660,42 @@ export interface IATableProps<T extends IItem> {
|
|
|
660
660
|
* Description : useSortation of ATable. sortation can be controlled by useSortation.
|
|
661
661
|
*/
|
|
662
662
|
useSortation?: TUseValues<IATableSortation<T>>;
|
|
663
|
+
/**
|
|
664
|
+
* showRows? : number
|
|
665
|
+
*
|
|
666
|
+
* Description : showRows of ATable. if provided, it will show the rows of the table.
|
|
667
|
+
*/
|
|
668
|
+
showRows?: number;
|
|
669
|
+
/**
|
|
670
|
+
* noHeader? : boolean
|
|
671
|
+
*
|
|
672
|
+
* Description : hides header if set to true
|
|
673
|
+
*/
|
|
674
|
+
noHeader?: boolean;
|
|
675
|
+
/**
|
|
676
|
+
* noFooter? : boolean
|
|
677
|
+
*
|
|
678
|
+
* Description : hides footer if set to true
|
|
679
|
+
*/
|
|
680
|
+
noFooter?: boolean;
|
|
681
|
+
/**
|
|
682
|
+
* noFilter? : boolean
|
|
683
|
+
*
|
|
684
|
+
* Description : hides filter if set to true
|
|
685
|
+
*/
|
|
686
|
+
noFilter?: boolean;
|
|
687
|
+
/**
|
|
688
|
+
* noCount? : boolean
|
|
689
|
+
*
|
|
690
|
+
* Description : hides count if set to true
|
|
691
|
+
*/
|
|
692
|
+
noCount?: boolean;
|
|
693
|
+
/**
|
|
694
|
+
* TopLeftAddon? : React.ReactNode
|
|
695
|
+
*
|
|
696
|
+
* Description : TopLeftAddon of ATable
|
|
697
|
+
*/
|
|
698
|
+
TopLeftAddon?: React.ReactNode;
|
|
663
699
|
/**
|
|
664
700
|
* TopRightAddon? : React.ReactNode
|
|
665
701
|
*
|
|
@@ -14,6 +14,7 @@ interface IATableBodyProps<T extends IItem> {
|
|
|
14
14
|
useSortation: TUseValues<IATableSortation<T>>;
|
|
15
15
|
pagination: IATablePagination;
|
|
16
16
|
pagedItems: T[];
|
|
17
|
+
showRows?: number;
|
|
17
18
|
}
|
|
18
19
|
export declare const ATableBody: <T extends IItem>(props: IATableBodyProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
19
20
|
export declare const randomHexColor: (alpha?: number) => string;
|
|
@@ -14,6 +14,8 @@ export interface IATableHeaderProps<T extends IItem> {
|
|
|
14
14
|
useCheck?: TUseValues<T[]>;
|
|
15
15
|
useFilteration: TUseValues<TATableFilteration<T>>;
|
|
16
16
|
filterF: IATableFilterF;
|
|
17
|
+
noFilter?: boolean;
|
|
18
|
+
noCount?: boolean;
|
|
17
19
|
TopLeftAddon?: React.ReactNode;
|
|
18
20
|
TopRightAddon?: React.ReactNode;
|
|
19
21
|
resources: typeof Resources.ATable;
|