@dexteel/mesf-core 7.11.0 → 7.11.1
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 +7 -0
- package/dist/MESFMain.d.ts +1 -1
- package/dist/components/navigation/Header.d.ts +1 -2
- package/dist/components/navigation/Navigation.d.ts +1 -2
- package/dist/index.d.ts +0 -1
- package/dist/index.esm.js +637 -3353
- package/dist/index.esm.js.map +1 -1
- package/dist/pages/trendings-v2/TrendingsPageV2.d.ts +2 -2
- package/dist/pages/trendings-v2/components/chart/components/TagFolderCustomNodeV2.d.ts +1 -1
- package/dist/pages/trendings-v2/components/chart/components/TagSearchInput.d.ts +1 -1
- package/dist/pages/trendings-v2/components/chart/components/TagsTreeModalV2.d.ts +1 -1
- package/dist/pages/{trendings/components/chart/components/modals/tagsTreeModal/ContextMenu → trendings-v2/components/chart/components/modals/tagsTreeModal}/ContextMenu.d.ts +1 -1
- package/dist/pages/{trendings → trendings-v2}/components/chart/components/modals/tagsTreeModal/CustomDragView.d.ts +1 -1
- package/dist/pages/{trendings/components/chart/components/modals/tagsTreeModal/ContextMenu/NewFolder/NewFolder.d.ts → trendings-v2/components/chart/components/modals/tagsTreeModal/NewFolderModal.d.ts} +1 -1
- package/dist/pages/{trendings/components/chart/components/modals/tagsTreeModal/ContextMenu/RemoveFolder/RemoveFolder.d.ts → trendings-v2/components/chart/components/modals/tagsTreeModal/RemoveFolderModal.d.ts} +1 -1
- package/dist/pages/trendings-v2/components/chart/context/TrendingContextV2.d.ts +1 -2
- package/dist/pages/trendings-v2/components/chart/hooks/useTagSearch.d.ts +1 -1
- package/dist/pages/trendings-v2/components/chart/models/TrendingModelsV2.d.ts +1 -0
- package/dist/pages/trendings-v2/components/chart/repository/TrendingRepositoryV2.d.ts +47 -1
- package/dist/pages/trendings-v2/components/chart/utils/buildTagsTree.d.ts +3 -0
- package/dist/pages/trendings-v2/components/chart/utils/calculateDateFromPeriod.d.ts +1 -1
- package/dist/pages/{trendings → trendings-v2}/components/chart/utils/dateNavigator.d.ts +1 -1
- package/package.json +1 -1
- package/dist/pages/trendings/TrendingsPage.d.ts +0 -3
- package/dist/pages/trendings/components/chart/DateComponent.d.ts +0 -6
- package/dist/pages/trendings/components/chart/TableComponent.d.ts +0 -14
- package/dist/pages/trendings/components/chart/Trending.d.ts +0 -9
- package/dist/pages/trendings/components/chart/components/CellComponent.d.ts +0 -11
- package/dist/pages/trendings/components/chart/components/ColorPicker.d.ts +0 -8
- package/dist/pages/trendings/components/chart/components/DraggableLineControl.d.ts +0 -11
- package/dist/pages/trendings/components/chart/components/modals/deleteViewModal/DeleteViewModal.d.ts +0 -9
- package/dist/pages/trendings/components/chart/components/modals/editViewModal/EditViewModal.d.ts +0 -9
- package/dist/pages/trendings/components/chart/components/modals/loadView/LoadViewModal.d.ts +0 -7
- package/dist/pages/trendings/components/chart/components/modals/saveAsView/SaveAsViewModal.d.ts +0 -7
- package/dist/pages/trendings/components/chart/components/modals/saveView/SaveViewModal.d.ts +0 -7
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagFolderCustomNode.d.ts +0 -20
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagSelectionModal.d.ts +0 -9
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagsTreeModal.d.ts +0 -9
- package/dist/pages/trendings/components/chart/context/TrendingContext.d.ts +0 -120
- package/dist/pages/trendings/components/chart/customOptionsComponent.d.ts +0 -10
- package/dist/pages/trendings/components/chart/hooks/useGetVerticalLinePlugin.d.ts +0 -2
- package/dist/pages/trendings/components/chart/hooks/useTagsDataTable.d.ts +0 -24
- package/dist/pages/trendings/components/chart/hooks/useUpdateCursorData.d.ts +0 -2
- package/dist/pages/trendings/components/chart/hooks/useXAxisDatePlugin.d.ts +0 -2
- package/dist/pages/trendings/components/chart/hooks/useYAxisPlugin.d.ts +0 -2
- package/dist/pages/trendings/components/chart/models/TagsTree.model.d.ts +0 -12
- package/dist/pages/trendings/components/chart/models/TrendingModels.d.ts +0 -65
- package/dist/pages/trendings/components/chart/models/scopes.model.d.ts +0 -1
- package/dist/pages/trendings/components/chart/repository/TrendingRepository.d.ts +0 -48
- package/dist/pages/trendings/components/chart/sections/chart/hooks/useChartOptions.d.ts +0 -105
- package/dist/pages/trendings/components/chart/sections/header.d.ts +0 -8
- package/dist/pages/trendings/components/chart/sections/trending-chart.d.ts +0 -12
- package/dist/pages/trendings/components/chart/utils/areRangeSimilar.d.ts +0 -2
- package/dist/pages/trendings/components/chart/utils/buildTagsTree.d.ts +0 -4
- package/dist/pages/trendings/components/chart/utils/calculateScales.d.ts +0 -4
- package/dist/pages/trendings/components/chart/utils/formatDateTimeToString.d.ts +0 -4
- package/dist/pages/trendings/components/chart/utils/formatTimeDiffWithMs.d.ts +0 -1
- package/dist/pages/trendings/components/chart/utils/timeDifference.d.ts +0 -1
- package/dist/pages/trendings/hooks/useTrendingQueries.d.ts +0 -15
- package/dist/pages/trendings/index.d.ts +0 -3
- package/dist/pages/trendings/reducers/trendings.reducer.d.ts +0 -115
- /package/dist/pages/{trendings → trendings-v2}/components/chart/utils/tagColors.d.ts +0 -0
|
@@ -1,48 +0,0 @@
|
|
|
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>;
|
|
15
|
-
export declare const getSeriesData: (TagIds: string, Start: number | null, End: number | null, SampleCount: number) => Promise<import("../../../../../services").ResponseMESF>;
|
|
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, order, alias, tagType, sourceTagId, bitIndex, }: {
|
|
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
|
-
order?: number;
|
|
42
|
-
alias?: string;
|
|
43
|
-
tagType?: string;
|
|
44
|
-
sourceTagId?: number;
|
|
45
|
-
bitIndex?: number;
|
|
46
|
-
}) => Promise<void>;
|
|
47
|
-
export declare const deleteViewTag: (ViewId: number, TagId: number) => Promise<import("../../../../../services").ResponseMESF>;
|
|
48
|
-
export declare const deleteAllViewTagsFromView: (ViewId: number) => Promise<void>;
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
export declare const useChartOptions: () => [{
|
|
2
|
-
animation: {
|
|
3
|
-
duration: number;
|
|
4
|
-
};
|
|
5
|
-
responsive: boolean;
|
|
6
|
-
maintainAspectRatio: boolean;
|
|
7
|
-
scales: {
|
|
8
|
-
x: {
|
|
9
|
-
type: "time";
|
|
10
|
-
ticks: {
|
|
11
|
-
autoSkip: boolean;
|
|
12
|
-
maxTicksLimit: number;
|
|
13
|
-
callback: (value: any, index: any, ticks: any) => string | string[];
|
|
14
|
-
};
|
|
15
|
-
grid: {
|
|
16
|
-
display: boolean;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
y: {
|
|
20
|
-
grid: {
|
|
21
|
-
display: boolean;
|
|
22
|
-
};
|
|
23
|
-
afterUpdate(axis: any): void;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
plugins: {
|
|
27
|
-
tooltip: {
|
|
28
|
-
enabled: boolean;
|
|
29
|
-
};
|
|
30
|
-
legend: {
|
|
31
|
-
display: boolean;
|
|
32
|
-
};
|
|
33
|
-
zoom: {
|
|
34
|
-
zoom: {
|
|
35
|
-
wheel: {
|
|
36
|
-
enabled: boolean;
|
|
37
|
-
mode: "x";
|
|
38
|
-
};
|
|
39
|
-
pinch: {
|
|
40
|
-
enabled: boolean;
|
|
41
|
-
mode: "x";
|
|
42
|
-
};
|
|
43
|
-
onZoom: ({ chart }: any) => void;
|
|
44
|
-
mode: "x";
|
|
45
|
-
};
|
|
46
|
-
pan: {
|
|
47
|
-
enabled: boolean;
|
|
48
|
-
mode: "x";
|
|
49
|
-
onPan: ({ chart }: any) => void;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
}, import("react").Dispatch<import("react").SetStateAction<{
|
|
54
|
-
animation: {
|
|
55
|
-
duration: number;
|
|
56
|
-
};
|
|
57
|
-
responsive: boolean;
|
|
58
|
-
maintainAspectRatio: boolean;
|
|
59
|
-
scales: {
|
|
60
|
-
x: {
|
|
61
|
-
type: "time";
|
|
62
|
-
ticks: {
|
|
63
|
-
autoSkip: boolean;
|
|
64
|
-
maxTicksLimit: number;
|
|
65
|
-
callback: (value: any, index: any, ticks: any) => string | string[];
|
|
66
|
-
};
|
|
67
|
-
grid: {
|
|
68
|
-
display: boolean;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
y: {
|
|
72
|
-
grid: {
|
|
73
|
-
display: boolean;
|
|
74
|
-
};
|
|
75
|
-
afterUpdate(axis: any): void;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
plugins: {
|
|
79
|
-
tooltip: {
|
|
80
|
-
enabled: boolean;
|
|
81
|
-
};
|
|
82
|
-
legend: {
|
|
83
|
-
display: boolean;
|
|
84
|
-
};
|
|
85
|
-
zoom: {
|
|
86
|
-
zoom: {
|
|
87
|
-
wheel: {
|
|
88
|
-
enabled: boolean;
|
|
89
|
-
mode: "x";
|
|
90
|
-
};
|
|
91
|
-
pinch: {
|
|
92
|
-
enabled: boolean;
|
|
93
|
-
mode: "x";
|
|
94
|
-
};
|
|
95
|
-
onZoom: ({ chart }: any) => void;
|
|
96
|
-
mode: "x";
|
|
97
|
-
};
|
|
98
|
-
pan: {
|
|
99
|
-
enabled: boolean;
|
|
100
|
-
mode: "x";
|
|
101
|
-
onPan: ({ chart }: any) => void;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
}>>];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface Props {
|
|
3
|
-
setChartOptions: (options: any) => void;
|
|
4
|
-
autoRefresh: boolean;
|
|
5
|
-
setAutoRefresh: (autoRefresh: boolean) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const Header: React.MemoExoticComponent<({ setChartOptions, autoRefresh, setAutoRefresh }: Props) => React.JSX.Element>;
|
|
8
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ViewTagDataSet } from "../models/TrendingModels";
|
|
3
|
-
interface Props {
|
|
4
|
-
series: ViewTagDataSet[][];
|
|
5
|
-
chartOptions: any;
|
|
6
|
-
setChartOptions: any;
|
|
7
|
-
setCursorData: any;
|
|
8
|
-
chartData: any;
|
|
9
|
-
setChartData: any;
|
|
10
|
-
}
|
|
11
|
-
export declare const TrendingChart: React.MemoExoticComponent<({ series, chartOptions, setChartOptions, chartData, setCursorData, setChartData, }: Props) => React.JSX.Element>;
|
|
12
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NodeModel } from "@minoru/react-dnd-treeview";
|
|
2
|
-
import { TagFromTree } from "../models/TagsTree.model";
|
|
3
|
-
export declare function buildTagsTree(data: TagFromTree[]): TagFromTree[];
|
|
4
|
-
export declare function buildTagsTreeV2(data: TagFromTree[]): NodeModel<TagFromTree>[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const formatTimeDiffWithMs: (start: number, end: number) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const timeDifference: (start: number, end: number) => string;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { TagFromTree } from "../components/chart/models/TagsTree.model";
|
|
2
|
-
import { View, ViewTagDataSet } from "../components/chart/models/TrendingModels";
|
|
3
|
-
export declare const useSearchViews: ({ autoRefresh, }: {
|
|
4
|
-
autoRefresh?: boolean;
|
|
5
|
-
}) => import("@tanstack/react-query").UseQueryResult<View[], Error>;
|
|
6
|
-
export declare const useSearchViewTags: ({ viewId }: {
|
|
7
|
-
viewId: number | null;
|
|
8
|
-
}) => import("@tanstack/react-query").UseQueryResult<any[], Error>;
|
|
9
|
-
export declare const useSearchTagsTree: () => import("@tanstack/react-query").UseQueryResult<TagFromTree[], Error>;
|
|
10
|
-
export declare const useSearchSeries: ({ start, end, tagIds, autoRefresh, }: {
|
|
11
|
-
start: number;
|
|
12
|
-
end: number;
|
|
13
|
-
tagIds: number[];
|
|
14
|
-
autoRefresh?: boolean;
|
|
15
|
-
}) => import("@tanstack/react-query").UseQueryResult<ViewTagDataSet[][], Error>;
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { View, ViewTagsMap } from "../components/chart/models/TrendingModels";
|
|
2
|
-
import { scopeType } from "../components/chart/models/scopes.model";
|
|
3
|
-
export declare const TrendingsReducer: import("@reduxjs/toolkit").Slice<{
|
|
4
|
-
timeScopeStart: Date;
|
|
5
|
-
timeScopeEnd: Date;
|
|
6
|
-
scope: scopeType;
|
|
7
|
-
graphPan?: boolean;
|
|
8
|
-
graphShouldUpdate: number;
|
|
9
|
-
shouldRefetchSeries: number;
|
|
10
|
-
views: View[];
|
|
11
|
-
viewSelected: View | null;
|
|
12
|
-
viewTags: ViewTagsMap;
|
|
13
|
-
}, {
|
|
14
|
-
setTotalScope(state: import("immer/dist/internal").WritableDraft<{
|
|
15
|
-
timeScopeStart: Date;
|
|
16
|
-
timeScopeEnd: Date;
|
|
17
|
-
scope: scopeType;
|
|
18
|
-
graphPan?: boolean;
|
|
19
|
-
graphShouldUpdate: number;
|
|
20
|
-
shouldRefetchSeries: number;
|
|
21
|
-
views: View[];
|
|
22
|
-
viewSelected: View | null;
|
|
23
|
-
viewTags: ViewTagsMap;
|
|
24
|
-
}>, { payload, type, }: {
|
|
25
|
-
payload: {
|
|
26
|
-
scope: scopeType;
|
|
27
|
-
start?: Date;
|
|
28
|
-
end?: Date;
|
|
29
|
-
graphPan?: boolean;
|
|
30
|
-
} | {
|
|
31
|
-
scope?: scopeType;
|
|
32
|
-
start: Date;
|
|
33
|
-
end?: Date;
|
|
34
|
-
graphPan?: boolean;
|
|
35
|
-
} | {
|
|
36
|
-
scope?: scopeType;
|
|
37
|
-
start?: Date;
|
|
38
|
-
end: Date;
|
|
39
|
-
graphPan?: boolean;
|
|
40
|
-
} | {
|
|
41
|
-
scope?: scopeType;
|
|
42
|
-
start: Date;
|
|
43
|
-
end: Date;
|
|
44
|
-
graphPan: boolean;
|
|
45
|
-
};
|
|
46
|
-
type: string;
|
|
47
|
-
}): void;
|
|
48
|
-
setViews(state: import("immer/dist/internal").WritableDraft<{
|
|
49
|
-
timeScopeStart: Date;
|
|
50
|
-
timeScopeEnd: Date;
|
|
51
|
-
scope: scopeType;
|
|
52
|
-
graphPan?: boolean;
|
|
53
|
-
graphShouldUpdate: number;
|
|
54
|
-
shouldRefetchSeries: number;
|
|
55
|
-
views: View[];
|
|
56
|
-
viewSelected: View | null;
|
|
57
|
-
viewTags: ViewTagsMap;
|
|
58
|
-
}>, { payload }: {
|
|
59
|
-
payload: any;
|
|
60
|
-
type: string;
|
|
61
|
-
}): void;
|
|
62
|
-
setViewSelected(state: import("immer/dist/internal").WritableDraft<{
|
|
63
|
-
timeScopeStart: Date;
|
|
64
|
-
timeScopeEnd: Date;
|
|
65
|
-
scope: scopeType;
|
|
66
|
-
graphPan?: boolean;
|
|
67
|
-
graphShouldUpdate: number;
|
|
68
|
-
shouldRefetchSeries: number;
|
|
69
|
-
views: View[];
|
|
70
|
-
viewSelected: View | null;
|
|
71
|
-
viewTags: ViewTagsMap;
|
|
72
|
-
}>, { payload }: {
|
|
73
|
-
payload: any;
|
|
74
|
-
type: string;
|
|
75
|
-
}): void;
|
|
76
|
-
setViewTags(state: import("immer/dist/internal").WritableDraft<{
|
|
77
|
-
timeScopeStart: Date;
|
|
78
|
-
timeScopeEnd: Date;
|
|
79
|
-
scope: scopeType;
|
|
80
|
-
graphPan?: boolean;
|
|
81
|
-
graphShouldUpdate: number;
|
|
82
|
-
shouldRefetchSeries: number;
|
|
83
|
-
views: View[];
|
|
84
|
-
viewSelected: View | null;
|
|
85
|
-
viewTags: ViewTagsMap;
|
|
86
|
-
}>, { payload }: {
|
|
87
|
-
payload: any;
|
|
88
|
-
type: string;
|
|
89
|
-
}): void;
|
|
90
|
-
setViewTagsAndRefetch(state: import("immer/dist/internal").WritableDraft<{
|
|
91
|
-
timeScopeStart: Date;
|
|
92
|
-
timeScopeEnd: Date;
|
|
93
|
-
scope: scopeType;
|
|
94
|
-
graphPan?: boolean;
|
|
95
|
-
graphShouldUpdate: number;
|
|
96
|
-
shouldRefetchSeries: number;
|
|
97
|
-
views: View[];
|
|
98
|
-
viewSelected: View | null;
|
|
99
|
-
viewTags: ViewTagsMap;
|
|
100
|
-
}>, { payload }: {
|
|
101
|
-
payload: any;
|
|
102
|
-
type: string;
|
|
103
|
-
}): void;
|
|
104
|
-
setGraphShouldUpdate(state: import("immer/dist/internal").WritableDraft<{
|
|
105
|
-
timeScopeStart: Date;
|
|
106
|
-
timeScopeEnd: Date;
|
|
107
|
-
scope: scopeType;
|
|
108
|
-
graphPan?: boolean;
|
|
109
|
-
graphShouldUpdate: number;
|
|
110
|
-
shouldRefetchSeries: number;
|
|
111
|
-
views: View[];
|
|
112
|
-
viewSelected: View | null;
|
|
113
|
-
viewTags: ViewTagsMap;
|
|
114
|
-
}>): void;
|
|
115
|
-
}, "__">;
|
|
File without changes
|