sccoreui 6.1.51 → 6.1.52
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/App.scss +0 -9
- package/dist/components/ag-grid/helper.js +2 -2
- package/dist/components/ag-grid/parent-for-grid.js +1 -1
- package/dist/components/list-box-dropdown/list-box-dropdown.js +0 -1
- package/dist/types/components/ag-grid/Types.d.ts +1 -0
- package/dist/types/components/ag-grid/helper.d.ts +2 -2
- package/package.json +1 -1
package/dist/App.scss
CHANGED
|
@@ -159,7 +159,7 @@ const mergeArrays = (currentUpdatedRows, updatedRecords) => {
|
|
|
159
159
|
// Convert map back to array
|
|
160
160
|
return Array.from(mergedMap.values());
|
|
161
161
|
};
|
|
162
|
-
const autoGroupColumnDef = (isTreeEnable, headerName) => {
|
|
162
|
+
const autoGroupColumnDef = (isTreeEnable, headerName, groupField) => {
|
|
163
163
|
if (isTreeEnable) {
|
|
164
164
|
return {
|
|
165
165
|
headerName: headerName ? headerName : "Group",
|
|
@@ -173,7 +173,7 @@ const autoGroupColumnDef = (isTreeEnable, headerName) => {
|
|
|
173
173
|
else {
|
|
174
174
|
return {
|
|
175
175
|
headerName: headerName ? headerName : "Group",
|
|
176
|
-
field: "group",
|
|
176
|
+
field: groupField || "group",
|
|
177
177
|
cellRenderer: "agGroupCellRenderer",
|
|
178
178
|
cellRendererParams: {
|
|
179
179
|
suppressCount: true,
|
|
@@ -240,7 +240,7 @@ function ParentForGrid(props) {
|
|
|
240
240
|
return Object.assign(Object.assign({}, column), { headerName: (_b = column === null || column === void 0 ? void 0 : column.headerName) === null || _b === void 0 ? void 0 : _b.toUpperCase() });
|
|
241
241
|
}
|
|
242
242
|
}),
|
|
243
|
-
autoGroupColumnDef: (0, helper_1.autoGroupColumnDef)((props === null || props === void 0 ? void 0 : props.enableTree) ? true : false, props === null || props === void 0 ? void 0 : props.treeHeaderName),
|
|
243
|
+
autoGroupColumnDef: (0, helper_1.autoGroupColumnDef)((props === null || props === void 0 ? void 0 : props.enableTree) ? true : false, props === null || props === void 0 ? void 0 : props.treeHeaderName, props === null || props === void 0 ? void 0 : props.groupField),
|
|
244
244
|
treeData: (props === null || props === void 0 ? void 0 : props.enableTree) ? props === null || props === void 0 ? void 0 : props.enableTree : false,
|
|
245
245
|
getDataPath: (props === null || props === void 0 ? void 0 : props.enableTree) ? getDataPath : null,
|
|
246
246
|
defaultColDef: defaultColDef,
|
|
@@ -85,7 +85,6 @@ onChange, footeTemplate, headerTemplate, labelIcon, labelIconPos, label, labelIc
|
|
|
85
85
|
const newPosition = (_a = buttonRef === null || buttonRef === void 0 ? void 0 : buttonRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().top;
|
|
86
86
|
// Hide overlay if the button position changes from the top
|
|
87
87
|
if (buttonPosition !== null && newPosition !== buttonPosition) {
|
|
88
|
-
console.log("new position: " + newPosition, "button position", buttonPosition);
|
|
89
88
|
if (optionsMenuRef === null || optionsMenuRef === void 0 ? void 0 : optionsMenuRef.current)
|
|
90
89
|
optionsMenuRef.current.hide(e);
|
|
91
90
|
}
|
|
@@ -4,7 +4,7 @@ export declare const sortColumns: (columns: any) => any;
|
|
|
4
4
|
export declare const getCheckedStatus: (row: any, featureDetails: any, GRID_CHECKBOX_STATUS: any, setFeatureDetails: any) => any;
|
|
5
5
|
export declare const updateCells: (updatedRowData: any, setUpdateRowData: any, api: any) => void;
|
|
6
6
|
export declare const fillOperation: (params: any, api: any, parentNode: any, editedRecords: any, setEditedRecords: any) => Promise<void>;
|
|
7
|
-
export declare const autoGroupColumnDef: (isTreeEnable: any, headerName: any) => {
|
|
7
|
+
export declare const autoGroupColumnDef: (isTreeEnable: any, headerName: any, groupField: any) => {
|
|
8
8
|
headerName: any;
|
|
9
9
|
minWidth: number;
|
|
10
10
|
cellRendererParams: {
|
|
@@ -14,7 +14,7 @@ export declare const autoGroupColumnDef: (isTreeEnable: any, headerName: any) =>
|
|
|
14
14
|
cellRenderer?: undefined;
|
|
15
15
|
} | {
|
|
16
16
|
headerName: any;
|
|
17
|
-
field:
|
|
17
|
+
field: any;
|
|
18
18
|
cellRenderer: string;
|
|
19
19
|
cellRendererParams: {
|
|
20
20
|
suppressCount: boolean;
|