@touchvue/plugin 1.0.0-beta.7 → 1.0.0-beta.9
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/components/echarts-bar/src/echarts-bar.d.ts +5 -0
- package/components/echarts-bar/src/echarts-bar.vue.d.ts +10 -1
- package/components/echarts-map/src/echarts-map.d.ts +8 -4
- package/components/echarts-map/src/echarts-map.vue.d.ts +20 -11
- package/components/echarts-pie/src/echarts-pie.vue.d.ts +1 -1
- package/components/echarts-radar/index.d.ts +7 -0
- package/components/echarts-radar/src/echarts-radar.d.ts +221 -0
- package/components/echarts-radar/src/echarts-radar.vue.d.ts +294 -0
- package/components/echarts-radar/src/instance.d.ts +1 -0
- package/index.cjs +3 -3
- package/index.d.ts +3 -1
- package/index.mjs +2316 -1457
- package/package.json +1 -1
- package/style/style.css +1 -1
|
@@ -68,6 +68,7 @@ export interface EchartsBarProps {
|
|
|
68
68
|
tooltipBgColor?: string;
|
|
69
69
|
tooltipBorderColor?: string;
|
|
70
70
|
showDefaultTooltip?: boolean;
|
|
71
|
+
showMaxMarkPoint?: boolean;
|
|
71
72
|
}
|
|
72
73
|
export declare const echartsBarProps: {
|
|
73
74
|
data: {
|
|
@@ -211,6 +212,10 @@ export declare const echartsBarProps: {
|
|
|
211
212
|
type: StringConstructor;
|
|
212
213
|
default: string;
|
|
213
214
|
};
|
|
215
|
+
showMaxMarkPoint: {
|
|
216
|
+
type: BooleanConstructor;
|
|
217
|
+
default: boolean;
|
|
218
|
+
};
|
|
214
219
|
};
|
|
215
220
|
export declare const echartsBarEmits: {
|
|
216
221
|
'item-click': (_: any) => boolean;
|
|
@@ -143,6 +143,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
143
143
|
type: StringConstructor;
|
|
144
144
|
default: string;
|
|
145
145
|
};
|
|
146
|
+
showMaxMarkPoint: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
146
150
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
147
151
|
"item-click": (_: any) => void;
|
|
148
152
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
@@ -287,6 +291,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
287
291
|
type: StringConstructor;
|
|
288
292
|
default: string;
|
|
289
293
|
};
|
|
294
|
+
showMaxMarkPoint: {
|
|
295
|
+
type: BooleanConstructor;
|
|
296
|
+
default: boolean;
|
|
297
|
+
};
|
|
290
298
|
}>> & Readonly<{
|
|
291
299
|
"onItem-click"?: (_: any) => any;
|
|
292
300
|
}>, {
|
|
@@ -298,6 +306,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
298
306
|
legend: LegendConfig;
|
|
299
307
|
height: string | number;
|
|
300
308
|
smooth: number | boolean;
|
|
309
|
+
fontSize: string | number;
|
|
301
310
|
barSize: string | number;
|
|
302
311
|
showValue: boolean;
|
|
303
312
|
chartsType: string;
|
|
@@ -307,7 +316,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
307
316
|
is3d: boolean;
|
|
308
317
|
d3dShape: EchartsBar3dShape;
|
|
309
318
|
isHorizontal: boolean;
|
|
310
|
-
fontSize: string | number;
|
|
311
319
|
rotate: number;
|
|
312
320
|
xAxisStyle: AxisStyleConfig;
|
|
313
321
|
yAxisStyle: AxisStyleConfig;
|
|
@@ -321,5 +329,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
321
329
|
tooltipBgColor: string;
|
|
322
330
|
tooltipBorderColor: string;
|
|
323
331
|
showDefaultTooltip: boolean;
|
|
332
|
+
showMaxMarkPoint: boolean;
|
|
324
333
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
325
334
|
export default _default;
|
|
@@ -31,13 +31,13 @@ export declare const echartsMapProps: {
|
|
|
31
31
|
type: (NumberConstructor | StringConstructor)[];
|
|
32
32
|
default: number;
|
|
33
33
|
};
|
|
34
|
-
|
|
34
|
+
aspectScale: {
|
|
35
35
|
type: (NumberConstructor | StringConstructor)[];
|
|
36
|
-
default:
|
|
36
|
+
default: number;
|
|
37
37
|
};
|
|
38
38
|
shadow: {
|
|
39
|
-
type:
|
|
40
|
-
default:
|
|
39
|
+
type: ArrayConstructor;
|
|
40
|
+
default: () => any[];
|
|
41
41
|
};
|
|
42
42
|
itemShadow: {
|
|
43
43
|
type: StringConstructor;
|
|
@@ -148,6 +148,10 @@ export declare const echartsMapProps: {
|
|
|
148
148
|
type: StringConstructor;
|
|
149
149
|
default: string;
|
|
150
150
|
};
|
|
151
|
+
outlineApi: {
|
|
152
|
+
type: StringConstructor;
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
151
155
|
forwardEvent: {
|
|
152
156
|
type: StringConstructor;
|
|
153
157
|
default: string;
|
|
@@ -17,13 +17,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
17
17
|
type: (NumberConstructor | StringConstructor)[];
|
|
18
18
|
default: number;
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
aspectScale: {
|
|
21
21
|
type: (NumberConstructor | StringConstructor)[];
|
|
22
|
-
default:
|
|
22
|
+
default: number;
|
|
23
23
|
};
|
|
24
24
|
shadow: {
|
|
25
|
-
type:
|
|
26
|
-
default:
|
|
25
|
+
type: ArrayConstructor;
|
|
26
|
+
default: () => any[];
|
|
27
27
|
};
|
|
28
28
|
itemShadow: {
|
|
29
29
|
type: StringConstructor;
|
|
@@ -134,6 +134,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
134
134
|
type: StringConstructor;
|
|
135
135
|
default: string;
|
|
136
136
|
};
|
|
137
|
+
outlineApi: {
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
default: string;
|
|
140
|
+
};
|
|
137
141
|
forwardEvent: {
|
|
138
142
|
type: StringConstructor;
|
|
139
143
|
default: string;
|
|
@@ -216,13 +220,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
216
220
|
type: (NumberConstructor | StringConstructor)[];
|
|
217
221
|
default: number;
|
|
218
222
|
};
|
|
219
|
-
|
|
223
|
+
aspectScale: {
|
|
220
224
|
type: (NumberConstructor | StringConstructor)[];
|
|
221
|
-
default:
|
|
225
|
+
default: number;
|
|
222
226
|
};
|
|
223
227
|
shadow: {
|
|
224
|
-
type:
|
|
225
|
-
default:
|
|
228
|
+
type: ArrayConstructor;
|
|
229
|
+
default: () => any[];
|
|
226
230
|
};
|
|
227
231
|
itemShadow: {
|
|
228
232
|
type: StringConstructor;
|
|
@@ -333,6 +337,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
333
337
|
type: StringConstructor;
|
|
334
338
|
default: string;
|
|
335
339
|
};
|
|
340
|
+
outlineApi: {
|
|
341
|
+
type: StringConstructor;
|
|
342
|
+
default: string;
|
|
343
|
+
};
|
|
336
344
|
forwardEvent: {
|
|
337
345
|
type: StringConstructor;
|
|
338
346
|
default: string;
|
|
@@ -401,20 +409,20 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
401
409
|
width: string | number;
|
|
402
410
|
abbr: boolean;
|
|
403
411
|
height: string | number;
|
|
404
|
-
shadow:
|
|
412
|
+
shadow: unknown[];
|
|
405
413
|
modelValue: string;
|
|
406
414
|
api: string;
|
|
407
415
|
position: string;
|
|
408
416
|
speed: string | number;
|
|
409
|
-
|
|
417
|
+
fontSize: string | number;
|
|
410
418
|
autoplay: boolean;
|
|
411
419
|
borderColor: string;
|
|
412
420
|
is3d: boolean;
|
|
413
|
-
fontSize: string | number;
|
|
414
421
|
rotate: string | number;
|
|
415
422
|
nameMap: Record<string, string>;
|
|
416
423
|
scaleX: string | number;
|
|
417
424
|
scaleY: string | number;
|
|
425
|
+
aspectScale: string | number;
|
|
418
426
|
itemShadow: string;
|
|
419
427
|
borderColorHover: string;
|
|
420
428
|
borderWidth: string | number;
|
|
@@ -431,6 +439,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
431
439
|
visual: boolean;
|
|
432
440
|
visualText: VisualTextInput;
|
|
433
441
|
viewControl: ViewControlConfig;
|
|
442
|
+
outlineApi: string;
|
|
434
443
|
forwardEvent: string;
|
|
435
444
|
selectedMode: string | boolean;
|
|
436
445
|
showOutline: boolean;
|
|
@@ -172,10 +172,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
172
172
|
label: string | number;
|
|
173
173
|
gap: string | number;
|
|
174
174
|
layout: string;
|
|
175
|
+
fontSize: string | number;
|
|
175
176
|
barSize: string | number;
|
|
176
177
|
borderColor: string;
|
|
177
178
|
borderRadius: string | number;
|
|
178
|
-
fontSize: string | number;
|
|
179
179
|
tipFontSize: string | number;
|
|
180
180
|
borderWidth: string | number;
|
|
181
181
|
startAngle: string | number;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as EchartsRadar } from './src/echarts-radar.vue';
|
|
2
|
+
import { SFCWithInstall } from '../../../utils/index.ts';
|
|
3
|
+
|
|
4
|
+
export declare const ToEchartsRadar: SFCWithInstall<typeof EchartsRadar>;
|
|
5
|
+
export default ToEchartsRadar;
|
|
6
|
+
export * from './src/instance';
|
|
7
|
+
export type { EchartsRadarInstance } from './src/instance';
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
export interface RadarIndicator {
|
|
4
|
+
name: string;
|
|
5
|
+
max?: number;
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}
|
|
8
|
+
export interface RadarSeriesDatum {
|
|
9
|
+
name: string;
|
|
10
|
+
value: number[];
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}
|
|
13
|
+
export type RadarShape = 'polygon' | 'circle';
|
|
14
|
+
export interface RadarLabelConfig {
|
|
15
|
+
show?: boolean;
|
|
16
|
+
color?: string;
|
|
17
|
+
fontSize?: string | number;
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}
|
|
20
|
+
export interface RadarAxisLineConfig {
|
|
21
|
+
show?: boolean;
|
|
22
|
+
color?: string;
|
|
23
|
+
width?: number;
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}
|
|
26
|
+
export interface RadarSplitLineConfig {
|
|
27
|
+
show?: boolean;
|
|
28
|
+
type?: string;
|
|
29
|
+
color?: string;
|
|
30
|
+
width?: number;
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
}
|
|
33
|
+
export interface RadarSplitAreaConfig {
|
|
34
|
+
show?: boolean;
|
|
35
|
+
color?: string | string[];
|
|
36
|
+
opacity?: number;
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
}
|
|
39
|
+
export interface RadarNameConfig {
|
|
40
|
+
show?: boolean;
|
|
41
|
+
color?: string;
|
|
42
|
+
fontSize?: string | number;
|
|
43
|
+
gap?: number;
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
}
|
|
46
|
+
export interface RadarLegendConfig {
|
|
47
|
+
show?: boolean;
|
|
48
|
+
position?: string;
|
|
49
|
+
orient?: string;
|
|
50
|
+
icon?: string;
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
}
|
|
53
|
+
export interface RadarTooltipConfig {
|
|
54
|
+
show?: boolean;
|
|
55
|
+
showDefaultTooltip?: boolean;
|
|
56
|
+
textColor?: string;
|
|
57
|
+
bgColor?: string;
|
|
58
|
+
borderColor?: string;
|
|
59
|
+
fontSize?: string | number;
|
|
60
|
+
[key: string]: any;
|
|
61
|
+
}
|
|
62
|
+
export interface EchartsRadarProps {
|
|
63
|
+
indicator?: RadarIndicator[];
|
|
64
|
+
data?: RadarSeriesDatum[];
|
|
65
|
+
color?: string | string[];
|
|
66
|
+
shape?: RadarShape;
|
|
67
|
+
radius?: string | number;
|
|
68
|
+
center?: [string | number, string | number];
|
|
69
|
+
splitNumber?: number;
|
|
70
|
+
axisLine?: RadarAxisLineConfig;
|
|
71
|
+
splitLine?: RadarSplitLineConfig;
|
|
72
|
+
splitArea?: RadarSplitAreaConfig;
|
|
73
|
+
name?: RadarNameConfig;
|
|
74
|
+
label?: RadarLabelConfig;
|
|
75
|
+
showSymbol?: boolean;
|
|
76
|
+
symbolSize?: number;
|
|
77
|
+
areaOpacity?: number;
|
|
78
|
+
lineWidth?: number;
|
|
79
|
+
showTooltip?: boolean;
|
|
80
|
+
tooltip?: RadarTooltipConfig;
|
|
81
|
+
legend?: RadarLegendConfig;
|
|
82
|
+
width?: string | number;
|
|
83
|
+
height?: string | number;
|
|
84
|
+
fontSize?: string | number;
|
|
85
|
+
mode?: string;
|
|
86
|
+
option?: Record<string, any>;
|
|
87
|
+
}
|
|
88
|
+
export declare const echartsRadarProps: {
|
|
89
|
+
indicator: {
|
|
90
|
+
type: PropType<RadarIndicator[]>;
|
|
91
|
+
default: () => any[];
|
|
92
|
+
};
|
|
93
|
+
data: {
|
|
94
|
+
type: PropType<RadarSeriesDatum[]>;
|
|
95
|
+
default: () => any[];
|
|
96
|
+
};
|
|
97
|
+
color: {
|
|
98
|
+
type: PropType<string | string[]>;
|
|
99
|
+
default: () => string[];
|
|
100
|
+
};
|
|
101
|
+
shape: {
|
|
102
|
+
type: PropType<RadarShape>;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
radius: {
|
|
106
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
center: {
|
|
110
|
+
type: ArrayConstructor;
|
|
111
|
+
default: () => string[];
|
|
112
|
+
};
|
|
113
|
+
splitNumber: {
|
|
114
|
+
type: NumberConstructor;
|
|
115
|
+
default: number;
|
|
116
|
+
};
|
|
117
|
+
axisLine: {
|
|
118
|
+
type: PropType<RadarAxisLineConfig>;
|
|
119
|
+
default: () => {
|
|
120
|
+
show: boolean;
|
|
121
|
+
color: string;
|
|
122
|
+
width: number;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
splitLine: {
|
|
126
|
+
type: PropType<RadarSplitLineConfig>;
|
|
127
|
+
default: () => {
|
|
128
|
+
show: boolean;
|
|
129
|
+
type: string;
|
|
130
|
+
color: string;
|
|
131
|
+
width: number;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
splitArea: {
|
|
135
|
+
type: PropType<RadarSplitAreaConfig>;
|
|
136
|
+
default: () => {
|
|
137
|
+
show: boolean;
|
|
138
|
+
color: string[];
|
|
139
|
+
opacity: number;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
name: {
|
|
143
|
+
type: PropType<RadarNameConfig>;
|
|
144
|
+
default: () => {
|
|
145
|
+
show: boolean;
|
|
146
|
+
color: string;
|
|
147
|
+
fontSize: number;
|
|
148
|
+
gap: number;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
label: {
|
|
152
|
+
type: PropType<RadarLabelConfig>;
|
|
153
|
+
default: () => {
|
|
154
|
+
show: boolean;
|
|
155
|
+
color: string;
|
|
156
|
+
fontSize: number;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
showSymbol: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
163
|
+
symbolSize: {
|
|
164
|
+
type: NumberConstructor;
|
|
165
|
+
default: number;
|
|
166
|
+
};
|
|
167
|
+
areaOpacity: {
|
|
168
|
+
type: NumberConstructor;
|
|
169
|
+
default: number;
|
|
170
|
+
};
|
|
171
|
+
lineWidth: {
|
|
172
|
+
type: NumberConstructor;
|
|
173
|
+
default: number;
|
|
174
|
+
};
|
|
175
|
+
showTooltip: {
|
|
176
|
+
type: BooleanConstructor;
|
|
177
|
+
default: boolean;
|
|
178
|
+
};
|
|
179
|
+
tooltip: {
|
|
180
|
+
type: PropType<RadarTooltipConfig>;
|
|
181
|
+
default: () => {
|
|
182
|
+
show: boolean;
|
|
183
|
+
showDefaultTooltip: boolean;
|
|
184
|
+
textColor: string;
|
|
185
|
+
bgColor: string;
|
|
186
|
+
borderColor: string;
|
|
187
|
+
fontSize: number;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
legend: {
|
|
191
|
+
type: PropType<RadarLegendConfig>;
|
|
192
|
+
default: () => {
|
|
193
|
+
show: boolean;
|
|
194
|
+
position: string;
|
|
195
|
+
orient: string;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
width: {
|
|
199
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
200
|
+
default: string;
|
|
201
|
+
};
|
|
202
|
+
height: {
|
|
203
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
204
|
+
default: number;
|
|
205
|
+
};
|
|
206
|
+
fontSize: {
|
|
207
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
208
|
+
default: number;
|
|
209
|
+
};
|
|
210
|
+
mode: {
|
|
211
|
+
type: StringConstructor;
|
|
212
|
+
default: string;
|
|
213
|
+
};
|
|
214
|
+
option: {
|
|
215
|
+
type: PropType<Record<string, any>>;
|
|
216
|
+
default: () => {};
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
export declare const echartsRadarEmits: {
|
|
220
|
+
'item-click': (_: any) => boolean;
|
|
221
|
+
};
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
import { RadarIndicator, RadarSeriesDatum, RadarShape, RadarAxisLineConfig, RadarSplitLineConfig, RadarSplitAreaConfig, RadarNameConfig, RadarLabelConfig, RadarTooltipConfig, RadarLegendConfig } from './echarts-radar';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
5
|
+
indicator: {
|
|
6
|
+
type: PropType<RadarIndicator[]>;
|
|
7
|
+
default: () => any[];
|
|
8
|
+
};
|
|
9
|
+
data: {
|
|
10
|
+
type: PropType<RadarSeriesDatum[]>;
|
|
11
|
+
default: () => any[];
|
|
12
|
+
};
|
|
13
|
+
color: {
|
|
14
|
+
type: PropType<string | string[]>;
|
|
15
|
+
default: () => string[];
|
|
16
|
+
};
|
|
17
|
+
shape: {
|
|
18
|
+
type: PropType<RadarShape>;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
radius: {
|
|
22
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
center: {
|
|
26
|
+
type: ArrayConstructor;
|
|
27
|
+
default: () => string[];
|
|
28
|
+
};
|
|
29
|
+
splitNumber: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
default: number;
|
|
32
|
+
};
|
|
33
|
+
axisLine: {
|
|
34
|
+
type: PropType<RadarAxisLineConfig>;
|
|
35
|
+
default: () => {
|
|
36
|
+
show: boolean;
|
|
37
|
+
color: string;
|
|
38
|
+
width: number;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
splitLine: {
|
|
42
|
+
type: PropType<RadarSplitLineConfig>;
|
|
43
|
+
default: () => {
|
|
44
|
+
show: boolean;
|
|
45
|
+
type: string;
|
|
46
|
+
color: string;
|
|
47
|
+
width: number;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
splitArea: {
|
|
51
|
+
type: PropType<RadarSplitAreaConfig>;
|
|
52
|
+
default: () => {
|
|
53
|
+
show: boolean;
|
|
54
|
+
color: string[];
|
|
55
|
+
opacity: number;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
name: {
|
|
59
|
+
type: PropType<RadarNameConfig>;
|
|
60
|
+
default: () => {
|
|
61
|
+
show: boolean;
|
|
62
|
+
color: string;
|
|
63
|
+
fontSize: number;
|
|
64
|
+
gap: number;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
label: {
|
|
68
|
+
type: PropType<RadarLabelConfig>;
|
|
69
|
+
default: () => {
|
|
70
|
+
show: boolean;
|
|
71
|
+
color: string;
|
|
72
|
+
fontSize: number;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
showSymbol: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
symbolSize: {
|
|
80
|
+
type: NumberConstructor;
|
|
81
|
+
default: number;
|
|
82
|
+
};
|
|
83
|
+
areaOpacity: {
|
|
84
|
+
type: NumberConstructor;
|
|
85
|
+
default: number;
|
|
86
|
+
};
|
|
87
|
+
lineWidth: {
|
|
88
|
+
type: NumberConstructor;
|
|
89
|
+
default: number;
|
|
90
|
+
};
|
|
91
|
+
showTooltip: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
tooltip: {
|
|
96
|
+
type: PropType<RadarTooltipConfig>;
|
|
97
|
+
default: () => {
|
|
98
|
+
show: boolean;
|
|
99
|
+
showDefaultTooltip: boolean;
|
|
100
|
+
textColor: string;
|
|
101
|
+
bgColor: string;
|
|
102
|
+
borderColor: string;
|
|
103
|
+
fontSize: number;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
legend: {
|
|
107
|
+
type: PropType<RadarLegendConfig>;
|
|
108
|
+
default: () => {
|
|
109
|
+
show: boolean;
|
|
110
|
+
position: string;
|
|
111
|
+
orient: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
width: {
|
|
115
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
height: {
|
|
119
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
120
|
+
default: number;
|
|
121
|
+
};
|
|
122
|
+
fontSize: {
|
|
123
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
124
|
+
default: number;
|
|
125
|
+
};
|
|
126
|
+
mode: {
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
130
|
+
option: {
|
|
131
|
+
type: PropType<Record<string, any>>;
|
|
132
|
+
default: () => {};
|
|
133
|
+
};
|
|
134
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
135
|
+
"item-click": (_: any) => void;
|
|
136
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
137
|
+
indicator: {
|
|
138
|
+
type: PropType<RadarIndicator[]>;
|
|
139
|
+
default: () => any[];
|
|
140
|
+
};
|
|
141
|
+
data: {
|
|
142
|
+
type: PropType<RadarSeriesDatum[]>;
|
|
143
|
+
default: () => any[];
|
|
144
|
+
};
|
|
145
|
+
color: {
|
|
146
|
+
type: PropType<string | string[]>;
|
|
147
|
+
default: () => string[];
|
|
148
|
+
};
|
|
149
|
+
shape: {
|
|
150
|
+
type: PropType<RadarShape>;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
radius: {
|
|
154
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
155
|
+
default: string;
|
|
156
|
+
};
|
|
157
|
+
center: {
|
|
158
|
+
type: ArrayConstructor;
|
|
159
|
+
default: () => string[];
|
|
160
|
+
};
|
|
161
|
+
splitNumber: {
|
|
162
|
+
type: NumberConstructor;
|
|
163
|
+
default: number;
|
|
164
|
+
};
|
|
165
|
+
axisLine: {
|
|
166
|
+
type: PropType<RadarAxisLineConfig>;
|
|
167
|
+
default: () => {
|
|
168
|
+
show: boolean;
|
|
169
|
+
color: string;
|
|
170
|
+
width: number;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
splitLine: {
|
|
174
|
+
type: PropType<RadarSplitLineConfig>;
|
|
175
|
+
default: () => {
|
|
176
|
+
show: boolean;
|
|
177
|
+
type: string;
|
|
178
|
+
color: string;
|
|
179
|
+
width: number;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
splitArea: {
|
|
183
|
+
type: PropType<RadarSplitAreaConfig>;
|
|
184
|
+
default: () => {
|
|
185
|
+
show: boolean;
|
|
186
|
+
color: string[];
|
|
187
|
+
opacity: number;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
name: {
|
|
191
|
+
type: PropType<RadarNameConfig>;
|
|
192
|
+
default: () => {
|
|
193
|
+
show: boolean;
|
|
194
|
+
color: string;
|
|
195
|
+
fontSize: number;
|
|
196
|
+
gap: number;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
label: {
|
|
200
|
+
type: PropType<RadarLabelConfig>;
|
|
201
|
+
default: () => {
|
|
202
|
+
show: boolean;
|
|
203
|
+
color: string;
|
|
204
|
+
fontSize: number;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
showSymbol: {
|
|
208
|
+
type: BooleanConstructor;
|
|
209
|
+
default: boolean;
|
|
210
|
+
};
|
|
211
|
+
symbolSize: {
|
|
212
|
+
type: NumberConstructor;
|
|
213
|
+
default: number;
|
|
214
|
+
};
|
|
215
|
+
areaOpacity: {
|
|
216
|
+
type: NumberConstructor;
|
|
217
|
+
default: number;
|
|
218
|
+
};
|
|
219
|
+
lineWidth: {
|
|
220
|
+
type: NumberConstructor;
|
|
221
|
+
default: number;
|
|
222
|
+
};
|
|
223
|
+
showTooltip: {
|
|
224
|
+
type: BooleanConstructor;
|
|
225
|
+
default: boolean;
|
|
226
|
+
};
|
|
227
|
+
tooltip: {
|
|
228
|
+
type: PropType<RadarTooltipConfig>;
|
|
229
|
+
default: () => {
|
|
230
|
+
show: boolean;
|
|
231
|
+
showDefaultTooltip: boolean;
|
|
232
|
+
textColor: string;
|
|
233
|
+
bgColor: string;
|
|
234
|
+
borderColor: string;
|
|
235
|
+
fontSize: number;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
legend: {
|
|
239
|
+
type: PropType<RadarLegendConfig>;
|
|
240
|
+
default: () => {
|
|
241
|
+
show: boolean;
|
|
242
|
+
position: string;
|
|
243
|
+
orient: string;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
width: {
|
|
247
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
248
|
+
default: string;
|
|
249
|
+
};
|
|
250
|
+
height: {
|
|
251
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
252
|
+
default: number;
|
|
253
|
+
};
|
|
254
|
+
fontSize: {
|
|
255
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
256
|
+
default: number;
|
|
257
|
+
};
|
|
258
|
+
mode: {
|
|
259
|
+
type: StringConstructor;
|
|
260
|
+
default: string;
|
|
261
|
+
};
|
|
262
|
+
option: {
|
|
263
|
+
type: PropType<Record<string, any>>;
|
|
264
|
+
default: () => {};
|
|
265
|
+
};
|
|
266
|
+
}>> & Readonly<{
|
|
267
|
+
"onItem-click"?: (_: any) => any;
|
|
268
|
+
}>, {
|
|
269
|
+
name: RadarNameConfig;
|
|
270
|
+
data: RadarSeriesDatum[];
|
|
271
|
+
mode: string;
|
|
272
|
+
color: string | string[];
|
|
273
|
+
width: string | number;
|
|
274
|
+
label: RadarLabelConfig;
|
|
275
|
+
legend: RadarLegendConfig;
|
|
276
|
+
option: Record<string, any>;
|
|
277
|
+
height: string | number;
|
|
278
|
+
center: unknown[];
|
|
279
|
+
tooltip: RadarTooltipConfig;
|
|
280
|
+
fontSize: string | number;
|
|
281
|
+
radius: string | number;
|
|
282
|
+
showTooltip: boolean;
|
|
283
|
+
indicator: RadarIndicator[];
|
|
284
|
+
shape: RadarShape;
|
|
285
|
+
splitNumber: number;
|
|
286
|
+
axisLine: RadarAxisLineConfig;
|
|
287
|
+
splitLine: RadarSplitLineConfig;
|
|
288
|
+
splitArea: RadarSplitAreaConfig;
|
|
289
|
+
showSymbol: boolean;
|
|
290
|
+
symbolSize: number;
|
|
291
|
+
areaOpacity: number;
|
|
292
|
+
lineWidth: number;
|
|
293
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
294
|
+
export default _default;
|