@acuteinfo/common-base 1.2.25 → 1.2.27
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/components/dataTable/components/filters2/rangeFilter/dateRange.d.ts +2 -1
- package/dist/components/dataTable/gridWrapper.d.ts +5 -1
- package/dist/components/dataTable/utils/utils.d.ts +6 -1
- package/dist/components/dataTableStatic/types.d.ts +4 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/pages_audit/common/serverGrid/serverGrid.d.ts +6 -2
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export declare const DateRange: ({ filterValue, id, columnName, gridProps, dispatch, }: {
|
|
1
|
+
export declare const DateRange: ({ filterValue, id, columnName, gridProps, dispatch, filterProps, }: {
|
|
2
2
|
filterValue: any;
|
|
3
3
|
id: any;
|
|
4
4
|
columnName: any;
|
|
5
5
|
gridProps: any;
|
|
6
6
|
dispatch: any;
|
|
7
|
+
filterProps: any;
|
|
7
8
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,6 +11,10 @@ interface GridWrapperPropsType {
|
|
|
11
11
|
defaultSortOrder?: any;
|
|
12
12
|
dataTransformer?: any;
|
|
13
13
|
autoRefreshInterval?: any;
|
|
14
|
+
enableExport?: boolean;
|
|
15
|
+
reportTemplateCode?: string;
|
|
16
|
+
variant?: "standard" | "contained" | "outlined";
|
|
17
|
+
autoFetch?: boolean;
|
|
14
18
|
}
|
|
15
|
-
export declare const GridWrapper: React.ForwardRefExoticComponent<
|
|
19
|
+
export declare const GridWrapper: React.ForwardRefExoticComponent<GridWrapperPropsType & React.RefAttributes<any>>;
|
|
16
20
|
export {};
|
|
@@ -2,4 +2,9 @@ export declare const formatSortBy: (sortBy?: never[]) => {
|
|
|
2
2
|
ACCESSOR: any;
|
|
3
3
|
VALUE: string;
|
|
4
4
|
}[];
|
|
5
|
-
export declare const formatFilterBy: (filterBy?: never[]) =>
|
|
5
|
+
export declare const formatFilterBy: (filterBy?: never[]) => {
|
|
6
|
+
ACCESSOR: any;
|
|
7
|
+
CONDITION: any;
|
|
8
|
+
VALUE: any;
|
|
9
|
+
TYPE: any;
|
|
10
|
+
}[];
|
|
@@ -195,6 +195,10 @@ export interface GridConfigType {
|
|
|
195
195
|
hideActionBar?: boolean;
|
|
196
196
|
enablePaginationInput?: boolean;
|
|
197
197
|
enablePdfPrint?: boolean;
|
|
198
|
+
/**
|
|
199
|
+
* Set false to prevent auto fetch api for server grid
|
|
200
|
+
*/
|
|
201
|
+
autoFetch?: boolean;
|
|
198
202
|
}
|
|
199
203
|
export interface GridMetaDataType {
|
|
200
204
|
columns: GridColumnType[];
|