@dexteel/mesf-core 5.3.0 → 5.4.0
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/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +13 -0
- package/dist/index.esm.js +4 -6
- package/dist/index.esm.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [5.4.0](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v5.3.0...@dexteel/mesf-core-v5.4.0) (2025-05-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **AG GRID:** Update to v33 (breaking) ([5fdd388](https://github.com/dexteel/mesf-core-frontend/commit/5fdd38852b38cd853241c728ae07ef987b306cd9))
|
|
9
|
+
|
|
10
|
+
## [5.3.0] - 2025-05-28
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
1
14
|
# Changelog
|
|
2
15
|
|
|
3
16
|
## [5.3.0](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v5.2.0...@dexteel/mesf-core-v5.3.0) (2025-05-28)
|
package/dist/index.esm.js
CHANGED
|
@@ -3681,12 +3681,11 @@ var DataTable = function (_a) {
|
|
|
3681
3681
|
var _c = useState([]), allActions = _c[0], setAllActions = _c[1];
|
|
3682
3682
|
var _d = useState(""), error = _d[0], setError = _d[1];
|
|
3683
3683
|
var _e = useState(null), gridApi = _e[0], setGridApi = _e[1];
|
|
3684
|
-
var _f = useState(null); _f[0]; var setColumnApi = _f[1];
|
|
3685
3684
|
var handlerFilter = function (e) {
|
|
3686
3685
|
setFilterInput(e.target.value);
|
|
3687
3686
|
};
|
|
3688
3687
|
var sortRows = function (event) {
|
|
3689
|
-
event.
|
|
3688
|
+
event.api.applyColumnState({
|
|
3690
3689
|
state: [{ colId: "ActionName", sort: "asc", sortIndex: 0 }],
|
|
3691
3690
|
});
|
|
3692
3691
|
};
|
|
@@ -3747,10 +3746,9 @@ var DataTable = function (_a) {
|
|
|
3747
3746
|
}, [sortRows]);
|
|
3748
3747
|
var onGridReady = useCallback(function (event) {
|
|
3749
3748
|
setGridApi(event.api);
|
|
3750
|
-
setColumnApi(event.columnApi);
|
|
3751
3749
|
}, [setGridApi]);
|
|
3752
3750
|
useEffect(function () {
|
|
3753
|
-
gridApi === null || gridApi === void 0 ? void 0 : gridApi.
|
|
3751
|
+
gridApi === null || gridApi === void 0 ? void 0 : gridApi.setGridOption("quickFilterText", filterInput.trim());
|
|
3754
3752
|
}, [filterInput, gridApi]);
|
|
3755
3753
|
useEffect(function () {
|
|
3756
3754
|
(function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -7810,7 +7808,7 @@ var TableUsers = function (_a) {
|
|
|
7810
7808
|
}, []);
|
|
7811
7809
|
useEffect(function () {
|
|
7812
7810
|
if (gridApi) {
|
|
7813
|
-
gridApi.
|
|
7811
|
+
gridApi.setGridOption("quickFilterText", searchText || "");
|
|
7814
7812
|
}
|
|
7815
7813
|
}, [searchText, gridApi]);
|
|
7816
7814
|
return (React.createElement(React.Fragment, null,
|
|
@@ -10989,7 +10987,7 @@ var TableSettings = function (_a) {
|
|
|
10989
10987
|
React__default.createElement(Grid, { item: true, md: 12, xs: 12, style: { margin: "10px 20px" } },
|
|
10990
10988
|
React__default.createElement(TextField, { fullWidth: true, label: "Search", variant: "outlined", size: "small", margin: "dense", value: filterValue, onChange: function (event) {
|
|
10991
10989
|
setFilterValue(event.target.value);
|
|
10992
|
-
gridApi === null || gridApi === void 0 ? void 0 : gridApi.
|
|
10990
|
+
gridApi === null || gridApi === void 0 ? void 0 : gridApi.setGridOption("quickFilterText", event.target.value);
|
|
10993
10991
|
}, InputProps: {
|
|
10994
10992
|
startAdornment: (React__default.createElement(InputAdornment, { position: "start" },
|
|
10995
10993
|
React__default.createElement(IconButton$1, { edge: "start", type: "submit" },
|