@dexteel/mesf-core 5.13.1 → 5.14.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 +18 -0
- package/dist/components/shared/CenteredLazyLoading.d.ts +2 -0
- package/dist/configuration/pages/log/LogsPage.d.ts +8 -0
- package/dist/configuration/pages/log/components/Filters/dateFilter.d.ts +2 -2
- package/dist/configuration/pages/log/components/LogsTable/TableLogs.d.ts +1 -9
- package/dist/configuration/pages/log/components/LogsTable/customHooks/useLogTableData.d.ts +0 -8
- package/dist/configuration/pages/log/repositories/LogsRepository.d.ts +8 -1
- package/dist/index.esm.js +334 -373
- package/dist/index.esm.js.map +1 -1
- package/dist/services/ApiService.d.ts +1 -1
- package/package.json +3 -1
- package/dist/configuration/pages/log/context/LogsContext.d.ts +0 -77
- package/dist/configuration/pages/log/reducers/LogsReducer.d.ts +0 -72
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [5.14.0](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v5.13.1...@dexteel/mesf-core-v5.14.0) (2025-09-23)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **logs:** Refactor logs with react-query | Remove context ([#471](https://github.com/dexteel/mesf-core-frontend/issues/471)) ([d436c8f](https://github.com/dexteel/mesf-core-frontend/commit/d436c8fa186f1e1c9249b9a3967b0cd711d8cf91))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* show message on logout if needed ([e92b1e1](https://github.com/dexteel/mesf-core-frontend/commit/e92b1e107dabf4dcda7604df691e6ef77bc80734))
|
|
14
|
+
|
|
15
|
+
## [5.13.1] - 2025-09-22
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
1
19
|
# Changelog
|
|
2
20
|
|
|
3
21
|
## [5.13.1](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v5.13.0...@dexteel/mesf-core-v5.13.1) (2025-09-22)
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { Log } from "./models/Log";
|
|
2
3
|
type Props = {};
|
|
4
|
+
type useLogsProps = {
|
|
5
|
+
startDate: Date;
|
|
6
|
+
endDate: Date | null;
|
|
7
|
+
logTypeCode: number | string | null;
|
|
8
|
+
autoRefresh: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const useLogs: ({ startDate, endDate, logTypeCode, autoRefresh, }: useLogsProps) => import("@tanstack/react-query").UseQueryResult<Log[], Error>;
|
|
3
11
|
export declare const Logs: (prop: Props) => React.JSX.Element;
|
|
4
12
|
export {};
|
|
@@ -1,11 +1,3 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { Log } from "../../models/Log";
|
|
3
2
|
import "ag-grid-enterprise";
|
|
4
|
-
|
|
5
|
-
interface Props {
|
|
6
|
-
isLoading: boolean;
|
|
7
|
-
rowData: Log[];
|
|
8
|
-
refreshData: ({ Start, End, Search, LogTypeCode, }: SearchData) => Promise<(() => void) | undefined>;
|
|
9
|
-
}
|
|
10
|
-
export declare const TableLogs: ({ isLoading, rowData, refreshData }: Props) => React.JSX.Element;
|
|
11
|
-
export {};
|
|
3
|
+
export declare const TableLogs: () => React.JSX.Element;
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
import { ColDef } from "ag-grid-community";
|
|
2
2
|
export declare const useLogTableData: () => {
|
|
3
|
-
rows: {
|
|
4
|
-
id: number;
|
|
5
|
-
Timestamp: string;
|
|
6
|
-
Source: string;
|
|
7
|
-
Message: string;
|
|
8
|
-
LogTypeCode: string;
|
|
9
|
-
User: string;
|
|
10
|
-
}[];
|
|
11
3
|
columnDefs: ColDef<any, any>[];
|
|
12
4
|
};
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { Log } from "../models/Log";
|
|
2
|
+
type Props = {
|
|
3
|
+
startDate: Date;
|
|
4
|
+
endDate: Date | null;
|
|
5
|
+
logTypeCode: number | string | null;
|
|
6
|
+
};
|
|
7
|
+
export declare const getLogs: ({ startDate, endDate, logTypeCode }: Props) => Promise<Log[]>;
|
|
8
|
+
export {};
|