@nokecy/qc-ui 0.3.9 → 0.3.11
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.
|
@@ -173,8 +173,8 @@ var FormRender = function FormRender(props) {
|
|
|
173
173
|
var state = columnStates.find(function (x) {
|
|
174
174
|
return x.colId == colDef.field;
|
|
175
175
|
});
|
|
176
|
-
|
|
177
|
-
return _objectSpread(_objectSpread({}, colDef), state);
|
|
176
|
+
var columnDefs = gridApi === null || gridApi === void 0 ? void 0 : gridApi.getColumnDef(colDef.field);
|
|
177
|
+
return _objectSpread(_objectSpread(_objectSpread({}, columnDefs), colDef), state);
|
|
178
178
|
});
|
|
179
179
|
columns = columns ? (_columns = columns) === null || _columns === void 0 ? void 0 : _columns.filter(function (i) {
|
|
180
180
|
return (i === null || i === void 0 ? void 0 : i.visible) != false && !(i !== null && i !== void 0 && i.hide) && !(i !== null && i !== void 0 && i.hideInSearch) || (i === null || i === void 0 ? void 0 : i.hideInTable);
|
|
@@ -152,8 +152,8 @@ var FormRender = function FormRender(props) {
|
|
|
152
152
|
var state = columnStates.find(function (x) {
|
|
153
153
|
return x.colId == colDef.field;
|
|
154
154
|
});
|
|
155
|
-
|
|
156
|
-
return _objectSpread(_objectSpread({}, colDef), state);
|
|
155
|
+
var columnDefs = gridApi === null || gridApi === void 0 ? void 0 : gridApi.getColumnDef(colDef.field);
|
|
156
|
+
return _objectSpread(_objectSpread(_objectSpread({}, columnDefs), colDef), state);
|
|
157
157
|
});
|
|
158
158
|
columns = columns ? (_columns = columns) === null || _columns === void 0 ? void 0 : _columns.filter(function (i) {
|
|
159
159
|
return (i === null || i === void 0 ? void 0 : i.visible) != false && !(i !== null && i !== void 0 && i.hide) && !(i !== null && i !== void 0 && i.hideInSearch) || (i === null || i === void 0 ? void 0 : i.hideInTable);
|