@acuteinfo/common-base 1.0.107 → 1.0.109
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/common/datetime/utils.d.ts +8 -0
- package/dist/components/layoutReport/LayoutReportGrid.d.ts +1 -1
- package/dist/components/layoutReport/types.d.ts +3 -0
- package/dist/components/report/serverReport/ReportWrapper.d.ts +1 -0
- package/dist/components/report/serverReport/serverGridTable.d.ts +1 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/packages/form/src/field.d.ts +2 -2
- package/package.json +1 -1
|
@@ -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): {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
2
|
import { LayoutReportGridType } from "./types";
|
|
3
|
-
export declare const LayoutReportGrid: ({ columns, data, originalData, loading, metaData, hideFooter, }: LayoutReportGridType) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const LayoutReportGrid: ({ columns, data, originalData, loading, metaData, hideFooter, onDoubleClickAction, }: LayoutReportGridType) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -38,12 +38,14 @@ export interface LayoutReportTypes {
|
|
|
38
38
|
retrievalType?: string;
|
|
39
39
|
onClose?: VoidFunction;
|
|
40
40
|
allowRefetch?: boolean;
|
|
41
|
+
onDoubleClickAction?: Function;
|
|
41
42
|
}
|
|
42
43
|
export interface GroupRowType {
|
|
43
44
|
group: any;
|
|
44
45
|
level: number;
|
|
45
46
|
columns: GroupReportColumnMeta[];
|
|
46
47
|
columnWidths: Record<any, any>;
|
|
48
|
+
onDoubleClickAction?: Function;
|
|
47
49
|
}
|
|
48
50
|
interface ReportFilterProps {
|
|
49
51
|
accessor: string;
|
|
@@ -89,5 +91,6 @@ export interface LayoutReportGridType {
|
|
|
89
91
|
[key: string]: any;
|
|
90
92
|
}[];
|
|
91
93
|
hideFooter?: boolean;
|
|
94
|
+
onDoubleClickAction?: Function;
|
|
92
95
|
}
|
|
93
96
|
export {};
|