@devtable/dashboard 10.47.1 → 10.48.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.
Files changed (22) hide show
  1. package/dist/components/plugins/viz-components/boxplot-chart/option/index.d.ts +4 -34
  2. package/dist/components/plugins/viz-components/boxplot-chart/option/reference-line.d.ts +2 -0
  3. package/dist/components/plugins/viz-components/cartesian/option/x-axis.d.ts +1 -18
  4. package/dist/components/plugins/viz-components/cartesian/option/y-axis.d.ts +1 -25
  5. package/dist/components/plugins/viz-components/horizontal-bar-chart/option/x-axis.d.ts +1 -30
  6. package/dist/components/plugins/viz-components/horizontal-bar-chart/option/y-axis.d.ts +1 -22
  7. package/dist/components/plugins/viz-components/pareto-chart/option/index.d.ts +22 -71
  8. package/dist/components/plugins/viz-components/pareto-chart/option/mark-line-and-area.d.ts +39 -0
  9. package/dist/components/plugins/viz-components/pareto-chart/option/series.d.ts +20 -8
  10. package/dist/components/plugins/viz-components/pareto-chart/option/x-axis.d.ts +1 -24
  11. package/dist/components/plugins/viz-components/pareto-chart/option/y-axes.d.ts +1 -39
  12. package/dist/components/plugins/viz-components/regression-chart/option/x-axis.d.ts +1 -17
  13. package/dist/components/plugins/viz-components/scatter-chart/option/x-axis.d.ts +1 -15
  14. package/dist/components/plugins/viz-components/scatter-chart/option/y-axis.d.ts +1 -25
  15. package/dist/dashboard.es.js +4608 -4582
  16. package/dist/dashboard.umd.js +68 -68
  17. package/dist/stats.html +1 -1
  18. package/dist/styles/default-echarts-options/index.d.ts +40 -0
  19. package/dist/styles/default-echarts-options/x-axis.d.ts +21 -0
  20. package/dist/styles/default-echarts-options/y-axis.d.ts +19 -0
  21. package/package.json +1 -1
  22. package/dist/components/plugins/viz-components/pareto-chart/option/mark-line.d.ts +0 -27
@@ -30,40 +30,8 @@ export declare function getOption({ config, data, variables }: IGetOption): {
30
30
  value: import("../type").IBoxplotDataItem;
31
31
  }) => string;
32
32
  };
33
- xAxis: {
34
- type: string;
35
- name: string;
36
- nameGap: number;
37
- nameLocation: string;
38
- nameTextStyle: {
39
- fontWeight: string;
40
- align: string;
41
- };
42
- axisTick: {
43
- show: boolean;
44
- alignWithLabel: boolean;
45
- };
46
- axisLabel: {
47
- formatter: (value: string | number, index: number) => any;
48
- width: number;
49
- overflow: "truncate" | "break" | "breakAll";
50
- ellipsis: "...";
51
- rotate: number;
52
- };
53
- }[];
54
- yAxis: {
55
- name: string;
56
- minInterval: number;
57
- nameTextStyle: {
58
- fontWeight: string;
59
- };
60
- axisLine: {
61
- show: boolean;
62
- };
63
- axisLabel: {
64
- formatter: (value: number) => string;
65
- };
66
- }[];
33
+ xAxis: any[];
34
+ yAxis: any[];
67
35
  series: ({
68
36
  name: string;
69
37
  type: string;
@@ -112,6 +80,8 @@ export declare function getOption({ config, data, variables }: IGetOption): {
112
80
  }[];
113
81
  silent: boolean;
114
82
  symbol: string[];
83
+ symbolRotate: number;
84
+ symbolSize: number[];
115
85
  label: {
116
86
  formatter: () => string;
117
87
  position: string;
@@ -11,6 +11,8 @@ export declare function getReferenceLines(reference_lines: IBoxplotReferenceLine
11
11
  }[];
12
12
  silent: boolean;
13
13
  symbol: string[];
14
+ symbolRotate: number;
15
+ symbolSize: number[];
14
16
  label: {
15
17
  formatter: () => string;
16
18
  position: string;
@@ -1,19 +1,2 @@
1
1
  import { ICartesianChartConf } from '../type';
2
- export declare function getXAxes(conf: ICartesianChartConf, xAxisData: $TSFixMe[]): {
3
- data: any[];
4
- name: string;
5
- nameGap: number | undefined;
6
- id: string;
7
- axisTick: {
8
- show: boolean;
9
- alignWithLabel: boolean;
10
- };
11
- type: "value" | "time" | "log" | "category";
12
- axisLabel: {
13
- formatter: (value: string | number, index: number) => any;
14
- width: number;
15
- overflow: "truncate" | "break" | "breakAll";
16
- ellipsis: "...";
17
- rotate: number;
18
- };
19
- }[];
2
+ export declare function getXAxes(conf: ICartesianChartConf, xAxisData: $TSFixMe[]): any[];
@@ -5,29 +5,5 @@ type PartialSeriesConfType = {
5
5
  yAxisIndex: number;
6
6
  data: SeriesDataIn;
7
7
  };
8
- export declare function getYAxes(conf: ICartesianChartConf, labelFormatters: Record<string, (p: $TSFixMe) => string>, series: PartialSeriesConfType[]): {
9
- minInterval: number;
10
- show: boolean;
11
- min: string | undefined;
12
- max: string | undefined;
13
- position: "left" | "right";
14
- axisLabel: {
15
- show: boolean;
16
- formatter: (p: $TSFixMe) => string;
17
- };
18
- axisLine: {
19
- show: boolean;
20
- };
21
- nameTextStyle: {
22
- fontWeight: string;
23
- align: "center" | "left" | "right";
24
- };
25
- nameLocation: string;
26
- nameGap: number;
27
- splitLine: {
28
- show: boolean;
29
- };
30
- name: string;
31
- label_formatter: import("../../../../panel/settings/common/numbro-format-selector").TNumbroFormat;
32
- }[];
8
+ export declare function getYAxes(conf: ICartesianChartConf, labelFormatters: Record<string, (p: $TSFixMe) => string>, series: PartialSeriesConfType[]): any[];
33
9
  export {};
@@ -1,31 +1,2 @@
1
1
  import { IHorizontalBarChartConf } from '../type';
2
- export declare function getXAxes(conf: IHorizontalBarChartConf, labelFormatters: Record<string, (p: $TSFixMe) => string>): {
3
- type: string;
4
- min: string | undefined;
5
- max: string | undefined;
6
- position: "top" | "bottom";
7
- axisLabel: {
8
- show: boolean;
9
- margin: number;
10
- formatter: (p: $TSFixMe) => string;
11
- };
12
- axisLine: {
13
- show: boolean;
14
- };
15
- axisTick: {
16
- show: boolean;
17
- };
18
- splitLine: {
19
- show: boolean;
20
- };
21
- nameTextStyle: {
22
- fontWeight: string;
23
- };
24
- nameLocation: string;
25
- nameGap: number;
26
- id: string;
27
- name: string;
28
- data_key: string;
29
- label_formatter: import("../../../../panel/settings/common/numbro-format-selector").TNumbroFormat;
30
- show: boolean;
31
- }[];
2
+ export declare function getXAxes(conf: IHorizontalBarChartConf, labelFormatters: Record<string, (p: $TSFixMe) => string>): any[];
@@ -1,23 +1,2 @@
1
1
  import { IHorizontalBarChartConf } from '../type';
2
- export declare function getYAxes(conf: IHorizontalBarChartConf, yAxisData: $TSFixMe[]): {
3
- data: any[];
4
- name: string;
5
- nameLocation: string;
6
- nameTextStyle: {
7
- align: string;
8
- fontWeight: string;
9
- };
10
- id: string;
11
- axisTick: {
12
- show: boolean;
13
- alignWithLabel: boolean;
14
- };
15
- type: string;
16
- axisLabel: {
17
- formatter: (value: string | number, index: number) => any;
18
- width: number;
19
- overflow: "truncate" | "break" | "breakAll";
20
- ellipsis: "...";
21
- };
22
- z: number;
23
- }[];
2
+ export declare function getYAxes(conf: IHorizontalBarChartConf, yAxisData: $TSFixMe[]): any[];
@@ -39,69 +39,8 @@ export declare function getOption(conf: IParetoChartConf, data: TPanelData, _var
39
39
  trigger: string;
40
40
  formatter: (params: import("echarts/types/dist/shared").CallbackDataParams) => string;
41
41
  };
42
- xAxis: {
43
- type: string;
44
- name: string;
45
- nameLocation: string;
46
- nameGap: number;
47
- nameTextStyle: {
48
- fontWeight: string;
49
- align: string;
50
- };
51
- splitLine: {
52
- show: boolean;
53
- };
54
- axisTick: {
55
- show: boolean;
56
- alignWithLabel: boolean;
57
- };
58
- axisLabel: {
59
- formatter: (value: string | number, index: number) => any;
60
- width: number;
61
- overflow: "truncate" | "break" | "breakAll";
62
- ellipsis: "...";
63
- rotate: number;
64
- };
65
- }[];
66
- yAxis: ({
67
- name: string;
68
- nameGap: number;
69
- minInterval: number;
70
- nameTextStyle: {
71
- fontWeight: string;
72
- align: "center" | "left" | "right";
73
- };
74
- position: string;
75
- axisLine: {
76
- show: boolean;
77
- };
78
- axisLabel: {
79
- show: boolean;
80
- formatter: (payload: any) => void;
81
- };
82
- splitLine: {
83
- show: boolean;
84
- };
85
- } | {
86
- name: string;
87
- nameGap: number;
88
- nameTextStyle: {
89
- fontWeight: string;
90
- align: "center" | "left" | "right";
91
- };
92
- position: string;
93
- axisLine: {
94
- show: boolean;
95
- };
96
- axisLabel: {
97
- show: boolean;
98
- formatter: typeof import("./utils").formatPercentage;
99
- };
100
- splitLine: {
101
- show: boolean;
102
- };
103
- minInterval?: undefined;
104
- })[];
42
+ xAxis: any[];
43
+ yAxis: any[];
105
44
  series: ({
106
45
  name: string;
107
46
  type: string;
@@ -119,6 +58,7 @@ export declare function getOption(conf: IParetoChartConf, data: TPanelData, _var
119
58
  symbolSize?: undefined;
120
59
  lineStyle?: undefined;
121
60
  markLine?: undefined;
61
+ markArea?: undefined;
122
62
  } | {
123
63
  name: string;
124
64
  type: string;
@@ -128,6 +68,10 @@ export declare function getOption(conf: IParetoChartConf, data: TPanelData, _var
128
68
  symbolSize: number;
129
69
  lineStyle: {
130
70
  width: number;
71
+ shadowColor: string;
72
+ shadowBlur: number;
73
+ shadowOffsetX: number;
74
+ shadowOffsetY: number;
131
75
  };
132
76
  label: {
133
77
  show: boolean;
@@ -137,13 +81,6 @@ export declare function getOption(conf: IParetoChartConf, data: TPanelData, _var
137
81
  yAxisIndex: number;
138
82
  data: import("./types").TLineDataItem[];
139
83
  markLine: {
140
- name?: undefined;
141
- silent?: undefined;
142
- symbol?: undefined;
143
- symbolRotate?: undefined;
144
- symbolSize?: undefined;
145
- data?: undefined;
146
- } | {
147
84
  name: string;
148
85
  silent: boolean;
149
86
  symbol: string;
@@ -160,7 +97,21 @@ export declare function getOption(conf: IParetoChartConf, data: TPanelData, _var
160
97
  formatter: any;
161
98
  };
162
99
  }[];
163
- };
100
+ } | undefined;
101
+ markArea: {
102
+ name: string;
103
+ silent: boolean;
104
+ itemStyle: {
105
+ color: string;
106
+ };
107
+ data: ({
108
+ type: string;
109
+ xAxis?: undefined;
110
+ } | {
111
+ xAxis: string | number;
112
+ type?: undefined;
113
+ })[][];
114
+ } | undefined;
164
115
  barMaxWidth?: undefined;
165
116
  })[];
166
117
  grid: {
@@ -0,0 +1,39 @@
1
+ import { IParetoChartConf } from '../type';
2
+ import { TLineDataItem } from './types';
3
+ export declare function getMarkLineAndArea(conf: IParetoChartConf, lineData: TLineDataItem[]): {
4
+ markLine?: undefined;
5
+ markArea?: undefined;
6
+ } | {
7
+ markLine: {
8
+ name: string;
9
+ silent: boolean;
10
+ symbol: string;
11
+ symbolRotate: number;
12
+ symbolSize: number[];
13
+ data: {
14
+ name: string;
15
+ symbol: string;
16
+ xAxis: string | number;
17
+ lineStyle: {
18
+ color: string;
19
+ };
20
+ label: {
21
+ formatter: any;
22
+ };
23
+ }[];
24
+ };
25
+ markArea: {
26
+ name: string;
27
+ silent: boolean;
28
+ itemStyle: {
29
+ color: string;
30
+ };
31
+ data: ({
32
+ type: string;
33
+ xAxis?: undefined;
34
+ } | {
35
+ xAxis: string | number;
36
+ type?: undefined;
37
+ })[][];
38
+ };
39
+ };
@@ -18,6 +18,7 @@ export declare function getSeries(conf: IParetoChartConf, data: TPanelData, form
18
18
  symbolSize?: undefined;
19
19
  lineStyle?: undefined;
20
20
  markLine?: undefined;
21
+ markArea?: undefined;
21
22
  } | {
22
23
  name: string;
23
24
  type: string;
@@ -27,6 +28,10 @@ export declare function getSeries(conf: IParetoChartConf, data: TPanelData, form
27
28
  symbolSize: number;
28
29
  lineStyle: {
29
30
  width: number;
31
+ shadowColor: string;
32
+ shadowBlur: number;
33
+ shadowOffsetX: number;
34
+ shadowOffsetY: number;
30
35
  };
31
36
  label: {
32
37
  show: boolean;
@@ -36,13 +41,6 @@ export declare function getSeries(conf: IParetoChartConf, data: TPanelData, form
36
41
  yAxisIndex: number;
37
42
  data: TLineDataItem[];
38
43
  markLine: {
39
- name?: undefined;
40
- silent?: undefined;
41
- symbol?: undefined;
42
- symbolRotate?: undefined;
43
- symbolSize?: undefined;
44
- data?: undefined;
45
- } | {
46
44
  name: string;
47
45
  silent: boolean;
48
46
  symbol: string;
@@ -59,6 +57,20 @@ export declare function getSeries(conf: IParetoChartConf, data: TPanelData, form
59
57
  formatter: any;
60
58
  };
61
59
  }[];
62
- };
60
+ } | undefined;
61
+ markArea: {
62
+ name: string;
63
+ silent: boolean;
64
+ itemStyle: {
65
+ color: string;
66
+ };
67
+ data: ({
68
+ type: string;
69
+ xAxis?: undefined;
70
+ } | {
71
+ xAxis: string | number;
72
+ type?: undefined;
73
+ })[][];
74
+ } | undefined;
63
75
  barMaxWidth?: undefined;
64
76
  })[];
@@ -1,25 +1,2 @@
1
1
  import { IParetoChartConf } from '../type';
2
- export declare function getXAxis(conf: IParetoChartConf): {
3
- type: string;
4
- name: string;
5
- nameLocation: string;
6
- nameGap: number;
7
- nameTextStyle: {
8
- fontWeight: string;
9
- align: string;
10
- };
11
- splitLine: {
12
- show: boolean;
13
- };
14
- axisTick: {
15
- show: boolean;
16
- alignWithLabel: boolean;
17
- };
18
- axisLabel: {
19
- formatter: (value: string | number, index: number) => any;
20
- width: number;
21
- overflow: "truncate" | "break" | "breakAll";
22
- ellipsis: "...";
23
- rotate: number;
24
- };
25
- }[];
2
+ export declare function getXAxis(conf: IParetoChartConf): any[];
@@ -1,41 +1,3 @@
1
1
  import { IParetoChartConf } from '../type';
2
2
  import { TParetoFormatters } from './utils';
3
- export declare function getYAxes(conf: IParetoChartConf, formatters: TParetoFormatters): ({
4
- name: string;
5
- nameGap: number;
6
- minInterval: number;
7
- nameTextStyle: {
8
- fontWeight: string;
9
- align: "center" | "left" | "right";
10
- };
11
- position: string;
12
- axisLine: {
13
- show: boolean;
14
- };
15
- axisLabel: {
16
- show: boolean;
17
- formatter: (payload: any) => void;
18
- };
19
- splitLine: {
20
- show: boolean;
21
- };
22
- } | {
23
- name: string;
24
- nameGap: number;
25
- nameTextStyle: {
26
- fontWeight: string;
27
- align: "center" | "left" | "right";
28
- };
29
- position: string;
30
- axisLine: {
31
- show: boolean;
32
- };
33
- axisLabel: {
34
- show: boolean;
35
- formatter: typeof import("./utils").formatPercentage;
36
- };
37
- splitLine: {
38
- show: boolean;
39
- };
40
- minInterval?: undefined;
41
- })[];
3
+ export declare function getYAxes(conf: IParetoChartConf, formatters: TParetoFormatters): any[];
@@ -1,18 +1,2 @@
1
1
  import { IRegressionChartConf } from '../type';
2
- export declare function getXAxis(conf: IRegressionChartConf): {
3
- type: string;
4
- name: string;
5
- nameLocation: string;
6
- nameGap: number;
7
- axisTick: {
8
- show: boolean;
9
- alignWithLabel: boolean;
10
- };
11
- axisLabel: {
12
- formatter: (value: number, index: number) => any;
13
- width: number;
14
- overflow: "truncate" | "break" | "breakAll";
15
- ellipsis: "...";
16
- rotate: number;
17
- };
18
- };
2
+ export declare function getXAxis(conf: IRegressionChartConf): any;
@@ -1,16 +1,2 @@
1
1
  import { IScatterChartConf } from '../type';
2
- export declare function getXAxes(conf: IScatterChartConf, xAxisData: $TSFixMe[]): {
3
- data: any[];
4
- name: string;
5
- nameGap: number | undefined;
6
- id: string;
7
- axisTick: {
8
- show: boolean;
9
- alignWithLabel: boolean;
10
- };
11
- type: string;
12
- axisLabel: {
13
- formatter: (value: string | number, index: number) => any;
14
- rotate: number;
15
- };
16
- }[];
2
+ export declare function getXAxes(conf: IScatterChartConf, xAxisData: $TSFixMe[]): any[];
@@ -1,26 +1,2 @@
1
1
  import { IScatterChartConf } from '../type';
2
- export declare function getYAxes(conf: IScatterChartConf, labelFormatters: Record<string, (p: $TSFixMe) => string>): {
3
- minInterval: number;
4
- min: string | undefined;
5
- max: string | undefined;
6
- position: "left" | "right";
7
- axisLabel: {
8
- show: boolean;
9
- formatter: (p: $TSFixMe) => string;
10
- };
11
- axisLine: {
12
- show: boolean;
13
- };
14
- nameTextStyle: {
15
- fontWeight: string;
16
- align: "center" | "left" | "right";
17
- };
18
- nameLocation: string;
19
- nameGap: number;
20
- splitLine: {
21
- show: boolean;
22
- };
23
- name: string;
24
- show: boolean;
25
- label_formatter: import("../../../../panel/settings/common/numbro-format-selector").TNumbroFormat;
26
- }[];
2
+ export declare function getYAxes(conf: IScatterChartConf, labelFormatters: Record<string, (p: $TSFixMe) => string>): any[];