@dexteel/mesf-core 6.2.2 → 7.0.2
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/.github/workflows/publish-to-npm.yaml +2 -1
- package/.github/workflows/release-please-v4.yml +61 -0
- package/.github/workflows/release-please-v5.yml +63 -0
- package/.github/workflows/release-please-v7.yml +18 -0
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +10 -25
- package/dist/MESFMain.d.ts +2 -2
- package/dist/components/modals/modal.mesf.d.ts +4 -11
- package/dist/components/navigation/TimeAndUserMenu.d.ts +1 -5
- package/dist/components/shared/buttons/button-with-loading.d.ts +1 -1
- package/dist/controls/alert.d.ts +1 -1
- package/dist/controls/contextMenu/index.d.ts +0 -1
- package/dist/controls/error-label.d.ts +4 -0
- package/dist/controls/filters/dialogFilter.d.ts +1 -1
- package/dist/controls/index.d.ts +0 -1
- package/dist/controls/panels.d.ts +1 -1
- package/dist/css/themeMESF.d.ts +1 -1
- package/dist/globalContext.d.ts +3 -3
- package/dist/index.d.ts +3 -1
- package/dist/index.esm.js +3658 -4038
- package/dist/index.esm.js.map +1 -1
- package/dist/pages/trendings/TrendingsPage.d.ts +16 -3
- package/dist/pages/trendings/components/chart/TableComponent.d.ts +0 -12
- package/dist/pages/trendings/components/chart/Trending.d.ts +2 -1
- package/dist/pages/trendings/components/chart/components/modals/loadView/LoadViewModal.d.ts +1 -2
- package/dist/pages/trendings/components/chart/customOptionsComponent.d.ts +2 -0
- package/dist/pages/trendings/components/chart/repository/TrendingRepository.d.ts +41 -11
- package/dist/pages/trendings/components/chart/sections/header.d.ts +3 -1
- package/dist/pages/trendings/components/chart/sections/trending-chart.d.ts +1 -1
- package/package.json +21 -30
- package/release-please-config.json +10 -2
- package/dist/configuration/pages/log/styles/tableStyles.d.ts +0 -1
- package/dist/configuration/pages/settings/styles/useStyles.d.ts +0 -1
- package/dist/controls/charts/genericChart.d.ts +0 -10
- package/dist/controls/contextMenu/styles/ContextMenuStyles.d.ts +0 -1
- package/dist/pages/logbook/entry/components/entry-viewer/styles/useEntryViewerStyles.d.ts +0 -1
- package/dist/pages/logbook/entry/models/index.d.ts +0 -2
- package/dist/pages/logbook/report/components/entry-viewer/styles/useEntryViewerStyles.d.ts +0 -1
- package/dist/pages/trendings/components/chart/styles/TagColorsStyles.d.ts +0 -1
- package/dist/pages/trendings/components/chart/styles/TagsTableStyles.d.ts +0 -1
- package/dist/pages/trendings/components/chart/styles/TasgTreeModalStyles.d.ts +0 -1
- package/dist/pages/trendings/components/chart/styles/TrendingStyles.d.ts +0 -1
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export {}
|
|
2
|
+
import { TagFromTree } from "./components/chart/models/TagsTree.model";
|
|
3
|
+
import { View, ViewTagDataSet } from "./components/chart/models/TrendingModels";
|
|
4
|
+
export declare const searchViews: ({ autoRefresh, }: {
|
|
5
|
+
autoRefresh?: boolean;
|
|
6
|
+
}) => import("@tanstack/react-query").UseQueryResult<View[], Error>;
|
|
7
|
+
export declare const searchViewTags: ({ viewId }: {
|
|
8
|
+
viewId: number | null;
|
|
9
|
+
}) => import("@tanstack/react-query").UseQueryResult<any[], Error>;
|
|
10
|
+
export declare const searchTagsTree: () => import("@tanstack/react-query").UseQueryResult<TagFromTree[], Error>;
|
|
11
|
+
export declare const searchSeries: ({ start, end, tagIds, autoRefresh, }: {
|
|
12
|
+
start: number;
|
|
13
|
+
end: number;
|
|
14
|
+
tagIds: number[];
|
|
15
|
+
autoRefresh?: boolean;
|
|
16
|
+
}) => import("@tanstack/react-query").UseQueryResult<ViewTagDataSet[][], Error>;
|
|
17
|
+
export declare const TrendingsPage: () => React.JSX.Element;
|
|
@@ -5,22 +5,10 @@ import { CursorData, ViewTag } from "./models/TrendingModels";
|
|
|
5
5
|
interface TableComponentProps {
|
|
6
6
|
cursorData: CursorData;
|
|
7
7
|
chartData: ChartData;
|
|
8
|
-
getTagsFromAPI: Function;
|
|
9
8
|
viewTagForDelete: ViewTag | null;
|
|
10
9
|
setViewTagForDelete: Dispatch<ViewTag | null>;
|
|
11
10
|
selectedRowTagId: number | null;
|
|
12
11
|
setSelectedRowTagId: Dispatch<number | null>;
|
|
13
|
-
handleRightClick: (e: any, tagId: number | null) => void;
|
|
14
|
-
openContextMenu: boolean;
|
|
15
|
-
setOpenContextMenu: Dispatch<boolean>;
|
|
16
|
-
setContextMenuPosition: Dispatch<{
|
|
17
|
-
x: number;
|
|
18
|
-
y: number;
|
|
19
|
-
}>;
|
|
20
|
-
contextMenuPosition: {
|
|
21
|
-
x: number;
|
|
22
|
-
y: number;
|
|
23
|
-
};
|
|
24
12
|
}
|
|
25
13
|
declare const TableComponent: React.FC<TableComponentProps>;
|
|
26
14
|
export default TableComponent;
|
|
@@ -2,7 +2,8 @@ import "chartjs-adapter-moment/dist/chartjs-adapter-moment.esm.js";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
interface TrendingProps {
|
|
4
4
|
title: string;
|
|
5
|
-
|
|
5
|
+
autoRefresh: boolean;
|
|
6
|
+
setAutoRefresh: (autoRefresh: boolean) => void;
|
|
6
7
|
}
|
|
7
8
|
declare const Trending: React.FC<TrendingProps>;
|
|
8
9
|
export default Trending;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
interface Props {
|
|
3
|
-
getTagsFromAPI: Function;
|
|
4
3
|
open: boolean;
|
|
5
4
|
handleClose: (shouldUpdate: boolean) => void;
|
|
6
5
|
}
|
|
7
|
-
export declare const LoadViewModal: ({ open, handleClose
|
|
6
|
+
export declare const LoadViewModal: ({ open, handleClose }: Props) => React.JSX.Element;
|
|
8
7
|
export {};
|
|
@@ -3,6 +3,8 @@ import { CustomOptions } from "./models/TrendingModels";
|
|
|
3
3
|
interface CustomOptionsComponentProps {
|
|
4
4
|
customOptions: CustomOptions;
|
|
5
5
|
setCustomOptions: React.Dispatch<React.SetStateAction<CustomOptions>>;
|
|
6
|
+
autoRefresh: boolean;
|
|
7
|
+
setAutoRefresh: (autoRefresh: boolean) => void;
|
|
6
8
|
}
|
|
7
9
|
declare const CustomOptionsComponent: React.FC<CustomOptionsComponentProps>;
|
|
8
10
|
export default CustomOptionsComponent;
|
|
@@ -1,13 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
1
|
+
import { TagFromTree } from "../models/TagsTree.model";
|
|
2
|
+
import { View } from "../models/TrendingModels";
|
|
3
|
+
export declare const getTagsTree: () => Promise<TagFromTree[]>;
|
|
4
|
+
export declare const deleteTagFolder: (TagFolderId: number) => Promise<void>;
|
|
5
|
+
export declare const upsertTagFolder: ({ tagFolderId, parentTagFolderId, tagFolderName, isActive, }: {
|
|
6
|
+
tagFolderId: number | null;
|
|
7
|
+
parentTagFolderId: number | null;
|
|
8
|
+
tagFolderName: string;
|
|
9
|
+
isActive: boolean;
|
|
10
|
+
}) => Promise<void>;
|
|
11
|
+
export declare const changeTagFolderToTag: ({ tagId, tagFolderId, }: {
|
|
12
|
+
tagId: number | null;
|
|
13
|
+
tagFolderId: number | null;
|
|
14
|
+
}) => Promise<void>;
|
|
5
15
|
export declare const getSeriesData: (TagIds: string, Start: number | null, End: number | null, SampleCount: number) => Promise<import("../../../../../services").ResponseMESF>;
|
|
6
|
-
export declare const saveTagDefaults: (
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
16
|
+
export declare const saveTagDefaults: ({ tagId, alias, color, minScale, maxScale, unit, }: {
|
|
17
|
+
tagId: number;
|
|
18
|
+
alias: string;
|
|
19
|
+
color: string;
|
|
20
|
+
minScale: number;
|
|
21
|
+
maxScale: number;
|
|
22
|
+
unit: string;
|
|
23
|
+
}) => Promise<void>;
|
|
24
|
+
export declare const getViews: (Search: string | null) => Promise<View[]>;
|
|
25
|
+
export declare const upsertView: ({ viewId, viewName, isPublic, }: {
|
|
26
|
+
viewId: number | null;
|
|
27
|
+
viewName: string;
|
|
28
|
+
isPublic: boolean;
|
|
29
|
+
}) => Promise<number>;
|
|
30
|
+
export declare const deleteView: (ViewId: number) => Promise<void>;
|
|
31
|
+
export declare const getViewTags: (ViewId: number) => Promise<any[]>;
|
|
32
|
+
export declare const upsertViewTag: ({ viewId, tagId, color, minScale, maxScale, isVisible, isAutoScale, unit, }: {
|
|
33
|
+
viewId: number;
|
|
34
|
+
tagId: number;
|
|
35
|
+
color: string;
|
|
36
|
+
minScale: number;
|
|
37
|
+
maxScale: number;
|
|
38
|
+
isVisible: boolean;
|
|
39
|
+
isAutoScale: boolean;
|
|
40
|
+
unit: string;
|
|
41
|
+
}) => Promise<void>;
|
|
12
42
|
export declare const deleteViewTag: (ViewId: number, TagId: number) => Promise<import("../../../../../services").ResponseMESF>;
|
|
13
|
-
export declare const deleteAllViewTagsFromView: (ViewId: number) => Promise<
|
|
43
|
+
export declare const deleteAllViewTagsFromView: (ViewId: number) => Promise<void>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
interface Props {
|
|
3
3
|
setChartOptions: (options: any) => void;
|
|
4
|
+
autoRefresh: boolean;
|
|
5
|
+
setAutoRefresh: (autoRefresh: boolean) => void;
|
|
4
6
|
}
|
|
5
|
-
export declare const Header: ({ setChartOptions }: Props) => React.JSX.Element
|
|
7
|
+
export declare const Header: React.MemoExoticComponent<({ setChartOptions, autoRefresh, setAutoRefresh }: Props) => React.JSX.Element>;
|
|
6
8
|
export {};
|
|
@@ -8,5 +8,5 @@ interface Props {
|
|
|
8
8
|
chartData: any;
|
|
9
9
|
setChartData: any;
|
|
10
10
|
}
|
|
11
|
-
export declare const TrendingChart: ({ series, chartOptions, setChartOptions, chartData, setCursorData, setChartData, }: Props) => React.JSX.Element
|
|
11
|
+
export declare const TrendingChart: React.MemoExoticComponent<({ series, chartOptions, setChartOptions, chartData, setCursorData, setChartData, }: Props) => React.JSX.Element>;
|
|
12
12
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dexteel/mesf-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"author": "Dexteel Team",
|
|
5
5
|
"module": "dist/index.esm.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"build": "rimraf -rf ./dist && rollup -c",
|
|
14
14
|
"watch": "cross-env rollup -wc",
|
|
15
15
|
"start": "cross-env rollup -wc",
|
|
16
|
-
"prepare": "husky"
|
|
16
|
+
"prepare": "husky",
|
|
17
|
+
"type-check": "npx --yes -p typescript tsc --noEmit"
|
|
17
18
|
},
|
|
18
19
|
"license": "ISC",
|
|
19
20
|
"devDependencies": {
|
|
@@ -25,13 +26,6 @@
|
|
|
25
26
|
"@babel/preset-typescript": "^7.16.7",
|
|
26
27
|
"@babel/runtime": "^7.17.2",
|
|
27
28
|
"@biomejs/biome": "^1.8.3",
|
|
28
|
-
"@material-ui/core": "^4.12.3",
|
|
29
|
-
"@material-ui/data-grid": "^4.0.0-alpha.37",
|
|
30
|
-
"@material-ui/icons": "^4.11.2",
|
|
31
|
-
"@material-ui/lab": "^4.0.0-alpha.60",
|
|
32
|
-
"@material-ui/pickers": "^3.3.10",
|
|
33
|
-
"@nivo/bar": "^0.79.1",
|
|
34
|
-
"@nivo/core": "^0.79.0",
|
|
35
29
|
"@react-spring/types": "^9.7.3",
|
|
36
30
|
"@reduxjs/toolkit": "^1.8.1",
|
|
37
31
|
"@rollup/plugin-babel": "^5.3.1",
|
|
@@ -40,15 +34,15 @@
|
|
|
40
34
|
"@types/lodash-es": "^4.17.6",
|
|
41
35
|
"@types/markdown-it": "^14.1.2",
|
|
42
36
|
"@types/node": "^12.20.46",
|
|
43
|
-
"@types/react": "^
|
|
37
|
+
"@types/react": "^18.3.26",
|
|
44
38
|
"autoprefixer": "^10.4.2",
|
|
45
39
|
"husky": "^9.1.4",
|
|
46
40
|
"moment": "^2.29.3",
|
|
47
41
|
"prop-types": "^15.8.1",
|
|
48
|
-
"react": "^
|
|
49
|
-
"react-dom": "^
|
|
42
|
+
"react": "^18.3.1",
|
|
43
|
+
"react-dom": "^18.3.1",
|
|
50
44
|
"react-hook-form": "^7.20.2",
|
|
51
|
-
"react-router-dom": "^6.
|
|
45
|
+
"react-router-dom": "^6.30.1",
|
|
52
46
|
"react-spring": "^9.4.3",
|
|
53
47
|
"rimraf": "^3.0.2",
|
|
54
48
|
"rollup": "^2.79.0",
|
|
@@ -62,21 +56,24 @@
|
|
|
62
56
|
"use-complex-state": "^1.1.0"
|
|
63
57
|
},
|
|
64
58
|
"peerDependencies": {
|
|
65
|
-
"@
|
|
66
|
-
"@
|
|
67
|
-
"@
|
|
68
|
-
"@
|
|
69
|
-
"@
|
|
70
|
-
"@
|
|
59
|
+
"@emotion/react": "^11.14.0",
|
|
60
|
+
"@emotion/styled": "^11.14.1",
|
|
61
|
+
"@mui/icons-material": "latest-v6",
|
|
62
|
+
"@mui/lab": "latest-v6",
|
|
63
|
+
"@mui/material": "latest-v6",
|
|
64
|
+
"@mui/styles": "latest-v6",
|
|
65
|
+
"@mui/x-data-grid": "latest-v7",
|
|
66
|
+
"@mui/x-tree-view": "latest-v7",
|
|
67
|
+
"@mui/x-date-pickers": "latest-v7",
|
|
71
68
|
"@reduxjs/toolkit": "^1.6.2",
|
|
72
69
|
"ag-grid-community": "^33.3.1",
|
|
73
70
|
"ag-grid-enterprise": "^33.3.1",
|
|
74
71
|
"ag-grid-react": "^33.3.1",
|
|
75
72
|
"moment": "^2.29.1",
|
|
76
73
|
"prop-types": "^15.8.1",
|
|
77
|
-
"react": "^
|
|
78
|
-
"react-dom": "^
|
|
79
|
-
"react-router-dom": "^6.
|
|
74
|
+
"react": "^18.3.1",
|
|
75
|
+
"react-dom": "^18.3.1",
|
|
76
|
+
"react-router-dom": "^6.30.1",
|
|
80
77
|
"react-spring": "^9.4.3",
|
|
81
78
|
"rimraf": "^3.0.2",
|
|
82
79
|
"string-to-color": "^2.2.2",
|
|
@@ -98,11 +95,9 @@
|
|
|
98
95
|
"@azure/msal-browser": "^2.18.0",
|
|
99
96
|
"@azure/msal-react": "^1.1.0",
|
|
100
97
|
"@date-io/moment": "^1.3.13",
|
|
101
|
-
"@emotion/styled": "^11.11.0",
|
|
102
98
|
"@fortawesome/fontawesome-free": "^6.7.2",
|
|
103
99
|
"@microsoft/signalr": "^8.0.7",
|
|
104
100
|
"@minoru/react-dnd-treeview": "3.4.4",
|
|
105
|
-
"@mui/x-date-pickers": "^7.9.0",
|
|
106
101
|
"axios": "^1.3.5",
|
|
107
102
|
"chart.js": "^4.4.1",
|
|
108
103
|
"chartjs-adapter-moment": "^1.0.1",
|
|
@@ -116,6 +111,7 @@
|
|
|
116
111
|
"react-dnd": "^16.0.1",
|
|
117
112
|
"react-dropzone": "^14.3.8",
|
|
118
113
|
"react-helmet-async": "^2.0.5",
|
|
114
|
+
"react-is": "^18.3.1",
|
|
119
115
|
"react-markdown-editor-lite": "^1.3.4",
|
|
120
116
|
"string-to-color": "^2.2.2",
|
|
121
117
|
"windows-iana": "^5.1.0"
|
|
@@ -124,10 +120,5 @@
|
|
|
124
120
|
"type": "git",
|
|
125
121
|
"url": "https://github.com/dexteel/mesf-core-frontend"
|
|
126
122
|
},
|
|
127
|
-
"description": ""
|
|
128
|
-
"overrides": {
|
|
129
|
-
"react-spring": {
|
|
130
|
-
"@types/react": "^17.0.39"
|
|
131
|
-
}
|
|
132
|
-
}
|
|
123
|
+
"description": ""
|
|
133
124
|
}
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"packages": {
|
|
3
3
|
".": {
|
|
4
|
-
"release-type": "
|
|
4
|
+
"release-type": "simple",
|
|
5
5
|
"package-name": "@dexteel/mesf-core",
|
|
6
|
+
"changelog-path": "CHANGELOG.md",
|
|
6
7
|
"bump-minor-pre-major": true,
|
|
7
8
|
"bump-patch-for-minor-pre-major": true,
|
|
8
9
|
"draft": false,
|
|
9
|
-
"prerelease": false
|
|
10
|
+
"prerelease": false,
|
|
11
|
+
"extra-files": [
|
|
12
|
+
{
|
|
13
|
+
"type": "json",
|
|
14
|
+
"path": "package.json",
|
|
15
|
+
"jsonpath": "$.version"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
10
18
|
}
|
|
11
19
|
},
|
|
12
20
|
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"root" | "card" | "form">;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"root" | "textfield" | "btnModal">;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import PropTypes from "prop-types";
|
|
2
|
-
import React from "react";
|
|
3
|
-
declare const BarChartControl: {
|
|
4
|
-
(props: any): React.JSX.Element;
|
|
5
|
-
propTypes: {
|
|
6
|
-
data: PropTypes.Requireable<any[]>;
|
|
7
|
-
keys: PropTypes.Requireable<any[]>;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export { BarChartControl };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"contextMenu">;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useEntryViewerStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"root" | "paper" | "inputEditable">;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useEntryViewerStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"root" | "paper" | "inputEditable">;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useTagColorsStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"swatch" | "popover">;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useTagsTableStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"topTitles" | "color" | "scale" | "checkbox" | "visible" | "bottomTitlesRow" | "rowHover" | "doubleInput" | "inputCol" | "aliasCol" | "viewSelected" | "autoScale" | "unit" | "numberInput" | "xStats" | "dataType">;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useTagsTreeModalStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"dataTypeOfTree" | "icon" | "root" | "customNodeRoot" | "arrow" | "arrow > div" | "arrow.is-open" | "filetype" | "label" | "selected" | "dragging" | "contextMenu" | "storyRoot" | "assetRoot" | "dropTarget" | "customDragRoot" | "customDragLabel">;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useTrendingStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"datetimePicker" | "select" | "labelOptions" | "isPublicCheckbox" | "navigatorButton" | "iconContainer" | "optionContainer" | "optionLabel" | "inputCustom">;
|