@acuteinfo/common-base 1.2.7 → 1.2.9
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/context/propertiesConfig/customProperties.d.ts +5 -0
- package/dist/components/custom/advanceFilter/amountAdvanced.d.ts +5 -0
- package/dist/components/custom/advanceFilter/amountRangeAdvanced.d.ts +6 -0
- package/dist/components/custom/advanceFilter/dateAdvanced.d.ts +7 -0
- package/dist/components/custom/advanceFilter/dateRangeAdvanced.d.ts +7 -0
- package/dist/components/custom/advanceFilter.d.ts +4 -0
- package/dist/components/custom/utils.d.ts +3 -0
- package/dist/components/report/components/dateCell.d.ts +1 -1
- package/dist/components/report/components/dateTimeCell.d.ts +1 -1
- package/dist/components/report/components/numberCell.d.ts +1 -1
- package/dist/components/report/filter/globalFilter.d.ts +2 -2
- package/dist/components/report/filterComponent/filterComponent.d.ts +2 -2
- package/dist/components/report/gridTable.d.ts +1 -0
- package/dist/components/report/serverReport/ReportWrapper.d.ts +1 -0
- package/dist/components/report/serverReport/serverGridTable.d.ts +2 -0
- package/dist/components/report/types.d.ts +15 -0
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -108,6 +108,11 @@ export interface CustomProperties {
|
|
|
108
108
|
* *Note: This flag will be removed in future.*
|
|
109
109
|
*/
|
|
110
110
|
enablePostValidationRun?: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* If true, it will disable column filters in gridWrapper, reportGrid and pagination report grid.
|
|
113
|
+
* @default false
|
|
114
|
+
*/
|
|
115
|
+
disableColumnFilters?: boolean;
|
|
111
116
|
}
|
|
112
117
|
interface ContextProps {
|
|
113
118
|
config?: CustomProperties;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const DateRangeAdvanced: ({ dateRange, setDateRange, columnFormat, setIsError, }: {
|
|
2
|
+
dateRange: any;
|
|
3
|
+
setDateRange: any;
|
|
4
|
+
columnFormat?: string | undefined;
|
|
5
|
+
setIsError: any;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default DateRangeAdvanced;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const DateCell: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
export declare const DateCell: (props: any) => string | import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const DateTimeCell: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
export declare const DateTimeCell: (props: any) => string | import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const NumberCell: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
export declare const NumberCell: (props: any) => string | import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export declare const NumberCell2: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const GlobalFilter: ({
|
|
2
|
-
preGlobalFilteredRows: any;
|
|
1
|
+
export declare const GlobalFilter: ({ globalFilter, setGlobalFilter, rowCount }: {
|
|
3
2
|
globalFilter: any;
|
|
4
3
|
setGlobalFilter: any;
|
|
4
|
+
rowCount: any;
|
|
5
5
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,7 +10,7 @@ export declare const FilterComponent: ({ setQueryFilters, filterMeta, filterData
|
|
|
10
10
|
filterData: any;
|
|
11
11
|
retrievalType: any;
|
|
12
12
|
isOpenRetrievalDefault: any;
|
|
13
|
-
setShowFilters
|
|
14
|
-
setAllFilters: any;
|
|
13
|
+
setShowFilters?: ((param?: boolean) => void) | undefined;
|
|
14
|
+
setAllFilters?: ((param: any) => void) | undefined;
|
|
15
15
|
retrievalComponent: any;
|
|
16
16
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -44,6 +44,7 @@ interface GridTableType {
|
|
|
44
44
|
callback: (event: any, originalData: any, rows: any) => void;
|
|
45
45
|
}[];
|
|
46
46
|
getReportData?: (filters: any[], queryFilters: any, globalFilter: string | undefined, originalData: any, filteredData: any) => void;
|
|
47
|
+
disableFilters?: boolean;
|
|
47
48
|
}
|
|
48
49
|
export declare const GridTable: FC<GridTableType>;
|
|
49
50
|
export {};
|
|
@@ -96,6 +96,11 @@ export interface ReportColumnsType {
|
|
|
96
96
|
* Specify format for date columns
|
|
97
97
|
*/
|
|
98
98
|
format?: string;
|
|
99
|
+
/**
|
|
100
|
+
* If true, disable column filters
|
|
101
|
+
* @default false
|
|
102
|
+
*/
|
|
103
|
+
disableFilters?: boolean;
|
|
99
104
|
}
|
|
100
105
|
export interface ReportFilterProps {
|
|
101
106
|
accessor: string;
|
|
@@ -130,6 +135,11 @@ export interface ReportMetaDataType {
|
|
|
130
135
|
* @default false
|
|
131
136
|
*/
|
|
132
137
|
enablePivot?: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* If true, disable all column filters
|
|
140
|
+
* @default false
|
|
141
|
+
*/
|
|
142
|
+
disableFilters?: boolean;
|
|
133
143
|
}
|
|
134
144
|
export interface ReportGridProps {
|
|
135
145
|
metaData: any;
|
|
@@ -184,4 +194,9 @@ export interface ReportGridProps {
|
|
|
184
194
|
* @returns void
|
|
185
195
|
*/
|
|
186
196
|
getReportData?: (filters: any[], queryFilters: any, globalFilter: string | undefined, originalData: any, filteredData: any) => void;
|
|
197
|
+
/**
|
|
198
|
+
* If true, disable all column filters
|
|
199
|
+
* @default false
|
|
200
|
+
*/
|
|
201
|
+
disableFilters?: boolean;
|
|
187
202
|
}
|