@acuteinfo/common-base 1.0.106 → 1.0.108

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.
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Function to compare date is whether less than or greater than the current value.
3
+ * @param value current field value
4
+ * @param minValue min date
5
+ * @param maxValue max date
6
+ * @returns object containg either _maxDt or _minDt
7
+ */
8
+ export declare function getMergeValues(value: string | number | Date, minValue: string | number | Date, maxValue: string | number | Date, ignoreTime?: boolean): {};
@@ -43,6 +43,7 @@ interface GridTableType {
43
43
  buttonName: ReactNode;
44
44
  callback: (event: any, originalData: any, rows: any) => void;
45
45
  }[];
46
+ getReportData?: (filters: any[], queryFilters: any, globalFilter: string | undefined, originalData: any, filteredData: any) => void;
46
47
  }
47
48
  export declare const GridTable: FC<GridTableType>;
48
49
  export {};
@@ -174,4 +174,14 @@ export interface ReportGridProps {
174
174
  buttonName: ReactNode;
175
175
  callback: (event: any, originalData: any, rows: any) => void;
176
176
  }[];
177
+ /**
178
+ * The callback function to extract out current report data.
179
+ * @param filters array containing column filters
180
+ * @param queryFilters array containing retrieval parameter values
181
+ * @param globalFilter string or undefined
182
+ * @param originalData grid api data
183
+ * @param filteredData grid api data filtered by column filter, global filter, etc.
184
+ * @returns void
185
+ */
186
+ getReportData?: (filters: any[], queryFilters: any, globalFilter: string | undefined, originalData: any, filteredData: any) => void;
177
187
  }