@touchvue/plugin 1.0.0-beta.6 → 1.0.0-beta.8
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 +7 -2
- package/components/echarts-bar/src/echarts-bar.vue.d.ts +12 -3
- package/components/echarts-map/src/echarts-map.d.ts +20 -0
- package/components/echarts-map/src/echarts-map.vue.d.ts +45 -0
- 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 +930 -379
- package/package.json +1 -1
- package/style/style.css +1 -1
|
@@ -67,7 +67,8 @@ export interface EchartsBarProps {
|
|
|
67
67
|
tooltipTextColor?: string;
|
|
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: {
|
|
@@ -203,7 +204,7 @@ export declare const echartsBarProps: {
|
|
|
203
204
|
type: StringConstructor;
|
|
204
205
|
default: string;
|
|
205
206
|
};
|
|
206
|
-
|
|
207
|
+
showDefaultTooltip: {
|
|
207
208
|
type: BooleanConstructor;
|
|
208
209
|
default: boolean;
|
|
209
210
|
};
|
|
@@ -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;
|
|
@@ -135,7 +135,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
135
135
|
type: StringConstructor;
|
|
136
136
|
default: string;
|
|
137
137
|
};
|
|
138
|
-
|
|
138
|
+
showDefaultTooltip: {
|
|
139
139
|
type: BooleanConstructor;
|
|
140
140
|
default: boolean;
|
|
141
141
|
};
|
|
@@ -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<{
|
|
@@ -279,7 +283,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
279
283
|
type: StringConstructor;
|
|
280
284
|
default: string;
|
|
281
285
|
};
|
|
282
|
-
|
|
286
|
+
showDefaultTooltip: {
|
|
283
287
|
type: BooleanConstructor;
|
|
284
288
|
default: boolean;
|
|
285
289
|
};
|
|
@@ -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
|
}>, {
|
|
@@ -320,6 +328,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
320
328
|
tooltipTextColor: string;
|
|
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;
|
|
@@ -180,6 +180,26 @@ export declare const echartsMapProps: {
|
|
|
180
180
|
type: (NumberConstructor | StringConstructor)[];
|
|
181
181
|
default: number;
|
|
182
182
|
};
|
|
183
|
+
showLabelIcon: {
|
|
184
|
+
type: BooleanConstructor;
|
|
185
|
+
default: boolean;
|
|
186
|
+
};
|
|
187
|
+
labelIcon: {
|
|
188
|
+
type: StringConstructor;
|
|
189
|
+
default: string;
|
|
190
|
+
};
|
|
191
|
+
labelIconType: {
|
|
192
|
+
type: PropType<"text" | "image">;
|
|
193
|
+
default: string;
|
|
194
|
+
};
|
|
195
|
+
labelIconSize: {
|
|
196
|
+
type: PropType<number | [number, number] | undefined>;
|
|
197
|
+
default: any;
|
|
198
|
+
};
|
|
199
|
+
position: {
|
|
200
|
+
type: StringConstructor;
|
|
201
|
+
default: string;
|
|
202
|
+
};
|
|
183
203
|
};
|
|
184
204
|
export declare const echartsMapEmits: {
|
|
185
205
|
'update:modelValue': (_val: string) => boolean;
|
|
@@ -166,6 +166,26 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
166
166
|
type: (NumberConstructor | StringConstructor)[];
|
|
167
167
|
default: number;
|
|
168
168
|
};
|
|
169
|
+
showLabelIcon: {
|
|
170
|
+
type: BooleanConstructor;
|
|
171
|
+
default: boolean;
|
|
172
|
+
};
|
|
173
|
+
labelIcon: {
|
|
174
|
+
type: StringConstructor;
|
|
175
|
+
default: string;
|
|
176
|
+
};
|
|
177
|
+
labelIconType: {
|
|
178
|
+
type: PropType<"text" | "image">;
|
|
179
|
+
default: string;
|
|
180
|
+
};
|
|
181
|
+
labelIconSize: {
|
|
182
|
+
type: PropType<number | [number, number] | undefined>;
|
|
183
|
+
default: any;
|
|
184
|
+
};
|
|
185
|
+
position: {
|
|
186
|
+
type: StringConstructor;
|
|
187
|
+
default: string;
|
|
188
|
+
};
|
|
169
189
|
}>, {
|
|
170
190
|
back: () => void;
|
|
171
191
|
forward: (name: string, leaf: any) => void;
|
|
@@ -345,6 +365,26 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
345
365
|
type: (NumberConstructor | StringConstructor)[];
|
|
346
366
|
default: number;
|
|
347
367
|
};
|
|
368
|
+
showLabelIcon: {
|
|
369
|
+
type: BooleanConstructor;
|
|
370
|
+
default: boolean;
|
|
371
|
+
};
|
|
372
|
+
labelIcon: {
|
|
373
|
+
type: StringConstructor;
|
|
374
|
+
default: string;
|
|
375
|
+
};
|
|
376
|
+
labelIconType: {
|
|
377
|
+
type: PropType<"text" | "image">;
|
|
378
|
+
default: string;
|
|
379
|
+
};
|
|
380
|
+
labelIconSize: {
|
|
381
|
+
type: PropType<number | [number, number] | undefined>;
|
|
382
|
+
default: any;
|
|
383
|
+
};
|
|
384
|
+
position: {
|
|
385
|
+
type: StringConstructor;
|
|
386
|
+
default: string;
|
|
387
|
+
};
|
|
348
388
|
}>> & Readonly<{
|
|
349
389
|
onChange?: (_code: string, _area: {
|
|
350
390
|
name: string;
|
|
@@ -364,6 +404,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
364
404
|
shadow: string;
|
|
365
405
|
modelValue: string;
|
|
366
406
|
api: string;
|
|
407
|
+
position: string;
|
|
367
408
|
speed: string | number;
|
|
368
409
|
aspectRatio: string | number;
|
|
369
410
|
autoplay: boolean;
|
|
@@ -395,5 +436,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
395
436
|
showOutline: boolean;
|
|
396
437
|
outlineColor: string;
|
|
397
438
|
outlineWidth: string | number;
|
|
439
|
+
showLabelIcon: boolean;
|
|
440
|
+
labelIcon: string;
|
|
441
|
+
labelIconType: "image" | "text";
|
|
442
|
+
labelIconSize: number | [number, number];
|
|
398
443
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
399
444
|
export default _default;
|
|
@@ -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
|
+
radius: string | number;
|
|
281
|
+
fontSize: 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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EchartsRadarInstance = any;
|