@dexteel/mesf-core 4.5.9 → 4.5.10
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/dist/index.esm.js +446 -397
- package/dist/index.esm.js.map +1 -0
- package/dist/pages/trendings/components/chart/TableComponent.d.ts +0 -2
- package/dist/pages/trendings/components/chart/hooks/useYAxisPlugin.d.ts +2 -0
- package/dist/pages/trendings/components/chart/sections/chart/hooks/useChartOptions.d.ts +106 -0
- package/dist/pages/trendings/components/chart/sections/header.d.ts +6 -0
- package/dist/pages/trendings/components/chart/sections/trending-chart.d.ts +13 -0
- package/package.json +1 -1
|
@@ -6,8 +6,6 @@ interface TableComponentProps {
|
|
|
6
6
|
tagList: TagList;
|
|
7
7
|
setTagList: React.Dispatch<React.SetStateAction<TagList>>;
|
|
8
8
|
cursorData: CursorData;
|
|
9
|
-
onDeleteTag: (tagId: number) => void;
|
|
10
|
-
onAddTag: (tagId: number) => void;
|
|
11
9
|
chartData: ChartData;
|
|
12
10
|
}
|
|
13
11
|
declare const TableComponent: React.FC<TableComponentProps>;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const useChartOptions: () => [{
|
|
3
|
+
animation: {
|
|
4
|
+
duration: number;
|
|
5
|
+
};
|
|
6
|
+
responsive: boolean;
|
|
7
|
+
maintainAspectRatio: boolean;
|
|
8
|
+
scales: {
|
|
9
|
+
x: {
|
|
10
|
+
type: "time";
|
|
11
|
+
ticks: {
|
|
12
|
+
autoSkip: boolean;
|
|
13
|
+
maxTicksLimit: number;
|
|
14
|
+
callback: (value: any, index: any, ticks: any) => string | string[];
|
|
15
|
+
};
|
|
16
|
+
grid: {
|
|
17
|
+
display: boolean;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
y: {
|
|
21
|
+
grid: {
|
|
22
|
+
display: boolean;
|
|
23
|
+
};
|
|
24
|
+
afterUpdate(axis: any): void;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
plugins: {
|
|
28
|
+
tooltip: {
|
|
29
|
+
enabled: boolean;
|
|
30
|
+
};
|
|
31
|
+
legend: {
|
|
32
|
+
display: boolean;
|
|
33
|
+
};
|
|
34
|
+
zoom: {
|
|
35
|
+
zoom: {
|
|
36
|
+
wheel: {
|
|
37
|
+
enabled: boolean;
|
|
38
|
+
mode: "x";
|
|
39
|
+
};
|
|
40
|
+
pinch: {
|
|
41
|
+
enabled: boolean;
|
|
42
|
+
mode: "x";
|
|
43
|
+
};
|
|
44
|
+
onZoom: ({ chart }: any) => void;
|
|
45
|
+
mode: "x";
|
|
46
|
+
};
|
|
47
|
+
pan: {
|
|
48
|
+
enabled: boolean;
|
|
49
|
+
mode: "x";
|
|
50
|
+
onPan: ({ chart }: any) => void;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
}, import("react").Dispatch<import("react").SetStateAction<{
|
|
55
|
+
animation: {
|
|
56
|
+
duration: number;
|
|
57
|
+
};
|
|
58
|
+
responsive: boolean;
|
|
59
|
+
maintainAspectRatio: boolean;
|
|
60
|
+
scales: {
|
|
61
|
+
x: {
|
|
62
|
+
type: "time";
|
|
63
|
+
ticks: {
|
|
64
|
+
autoSkip: boolean;
|
|
65
|
+
maxTicksLimit: number;
|
|
66
|
+
callback: (value: any, index: any, ticks: any) => string | string[];
|
|
67
|
+
};
|
|
68
|
+
grid: {
|
|
69
|
+
display: boolean;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
y: {
|
|
73
|
+
grid: {
|
|
74
|
+
display: boolean;
|
|
75
|
+
};
|
|
76
|
+
afterUpdate(axis: any): void;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
plugins: {
|
|
80
|
+
tooltip: {
|
|
81
|
+
enabled: boolean;
|
|
82
|
+
};
|
|
83
|
+
legend: {
|
|
84
|
+
display: boolean;
|
|
85
|
+
};
|
|
86
|
+
zoom: {
|
|
87
|
+
zoom: {
|
|
88
|
+
wheel: {
|
|
89
|
+
enabled: boolean;
|
|
90
|
+
mode: "x";
|
|
91
|
+
};
|
|
92
|
+
pinch: {
|
|
93
|
+
enabled: boolean;
|
|
94
|
+
mode: "x";
|
|
95
|
+
};
|
|
96
|
+
onZoom: ({ chart }: any) => void;
|
|
97
|
+
mode: "x";
|
|
98
|
+
};
|
|
99
|
+
pan: {
|
|
100
|
+
enabled: boolean;
|
|
101
|
+
mode: "x";
|
|
102
|
+
onPan: ({ chart }: any) => void;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}>>];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Tag } from "../models/TrendingModels";
|
|
3
|
+
interface Props {
|
|
4
|
+
tagList: Tag[];
|
|
5
|
+
series: any[];
|
|
6
|
+
chartOptions: any;
|
|
7
|
+
setChartOptions: any;
|
|
8
|
+
setCursorData: any;
|
|
9
|
+
chartData: any;
|
|
10
|
+
setChartData: any;
|
|
11
|
+
}
|
|
12
|
+
export declare const TrendingChart: ({ tagList, series, chartOptions, setChartOptions, chartData, setCursorData, setChartData }: Props) => React.JSX.Element;
|
|
13
|
+
export {};
|