@touchvue/plugin 1.0.0-beta.1 → 1.0.0-beta.3
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/index.d.ts +7 -0
- package/components/echarts-bar/src/echarts-bar.d.ts +160 -0
- package/components/echarts-bar/src/echarts-bar.vue.d.ts +226 -0
- package/components/echarts-bar/src/instance.d.ts +3 -0
- package/components/echarts-map/index.d.ts +7 -0
- package/components/echarts-map/src/echarts-map.d.ts +162 -0
- package/components/echarts-map/src/echarts-map.vue.d.ts +327 -0
- package/components/echarts-map/src/instance.d.ts +3 -0
- package/components/echarts-pie/index.d.ts +7 -0
- package/components/echarts-pie/src/echarts-pie.d.ts +89 -0
- package/components/echarts-pie/src/echarts-pie.vue.d.ts +157 -0
- package/components/echarts-pie/src/instance.d.ts +3 -0
- package/components/editor/index.d.ts +8 -0
- package/components/editor/src/editor.d.ts +99 -0
- package/components/editor/src/editor.vue.d.ts +163 -0
- package/components/editor/src/instance.d.ts +3 -0
- package/components/editor/src/plugins.d.ts +2 -0
- package/components/editor/src/toolbar.d.ts +2 -0
- package/components/step-tree/index.d.ts +8 -0
- package/components/step-tree/src/instance.d.ts +3 -0
- package/components/step-tree/src/step-tree-item.vue.d.ts +56 -0
- package/components/step-tree/src/step-tree.d.ts +78 -0
- package/components/step-tree/src/step-tree.vue.d.ts +38 -0
- package/components/watermark/index.d.ts +8 -0
- package/components/watermark/src/instance.d.ts +3 -0
- package/components/watermark/src/watermark.d.ts +34 -0
- package/components/watermark/src/watermark.vue.d.ts +69 -0
- package/index.cjs +10 -0
- package/index.d.ts +17 -0
- package/index.mjs +29575 -0
- package/package.json +10 -3
- package/style/style.css +1 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as EchartsBar } from './src/echarts-bar.vue';
|
|
2
|
+
import { SFCWithInstall } from '../../../utils/index.ts';
|
|
3
|
+
|
|
4
|
+
export declare const ToEchartsBar: SFCWithInstall<typeof EchartsBar>;
|
|
5
|
+
export default ToEchartsBar;
|
|
6
|
+
export * from './src/instance';
|
|
7
|
+
export type { EchartsBarInstance } from './src/instance';
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 柱状图数据项
|
|
5
|
+
*/
|
|
6
|
+
export interface BarDatum {
|
|
7
|
+
name: string;
|
|
8
|
+
value: number | number[];
|
|
9
|
+
seriesNames?: string[];
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 渐变色配置
|
|
14
|
+
*/
|
|
15
|
+
export interface ColorGradient {
|
|
16
|
+
start: string;
|
|
17
|
+
end: string;
|
|
18
|
+
}
|
|
19
|
+
export interface LegendConfig {
|
|
20
|
+
show?: boolean;
|
|
21
|
+
position?: string;
|
|
22
|
+
icon?: string;
|
|
23
|
+
orient?: string;
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}
|
|
26
|
+
export interface SplitConfig {
|
|
27
|
+
type?: string;
|
|
28
|
+
color?: string;
|
|
29
|
+
show?: boolean;
|
|
30
|
+
}
|
|
31
|
+
export interface AxisStyleConfig {
|
|
32
|
+
type?: string;
|
|
33
|
+
color?: string;
|
|
34
|
+
textColor?: string;
|
|
35
|
+
show?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export interface EchartsBarProps {
|
|
38
|
+
data?: BarDatum[];
|
|
39
|
+
color?: string | ColorGradient | ColorGradient[];
|
|
40
|
+
barSize?: string | number;
|
|
41
|
+
borderColor?: string;
|
|
42
|
+
borderRadius?: string | number;
|
|
43
|
+
is3d?: boolean;
|
|
44
|
+
isHorizontal?: boolean;
|
|
45
|
+
fontSize?: string | number;
|
|
46
|
+
width?: string | number;
|
|
47
|
+
height?: string | number;
|
|
48
|
+
rotate?: number;
|
|
49
|
+
legend?: LegendConfig;
|
|
50
|
+
split?: SplitConfig;
|
|
51
|
+
xAxisStyle?: AxisStyleConfig;
|
|
52
|
+
yAxisStyle?: AxisStyleConfig;
|
|
53
|
+
isUnit?: string;
|
|
54
|
+
showValue?: boolean;
|
|
55
|
+
showShadow?: boolean;
|
|
56
|
+
showTooltip?: boolean;
|
|
57
|
+
tipFontSize?: string | number;
|
|
58
|
+
}
|
|
59
|
+
export declare const echartsBarProps: {
|
|
60
|
+
data: {
|
|
61
|
+
type: PropType<BarDatum[]>;
|
|
62
|
+
default: () => any[];
|
|
63
|
+
};
|
|
64
|
+
color: {
|
|
65
|
+
type: PropType<string | ColorGradient | ColorGradient[]>;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
barSize: {
|
|
69
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
70
|
+
default: number;
|
|
71
|
+
};
|
|
72
|
+
borderColor: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
borderRadius: {
|
|
77
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
78
|
+
default: number;
|
|
79
|
+
};
|
|
80
|
+
is3d: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
isHorizontal: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
fontSize: {
|
|
89
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
90
|
+
default: number;
|
|
91
|
+
};
|
|
92
|
+
width: {
|
|
93
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
height: {
|
|
97
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
rotate: {
|
|
101
|
+
type: NumberConstructor;
|
|
102
|
+
default: number;
|
|
103
|
+
};
|
|
104
|
+
legend: {
|
|
105
|
+
type: PropType<LegendConfig>;
|
|
106
|
+
default: () => {
|
|
107
|
+
show: boolean;
|
|
108
|
+
position: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
split: {
|
|
112
|
+
type: PropType<SplitConfig>;
|
|
113
|
+
default: () => {
|
|
114
|
+
type: string;
|
|
115
|
+
color: string;
|
|
116
|
+
show: boolean;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
xAxisStyle: {
|
|
120
|
+
type: PropType<AxisStyleConfig>;
|
|
121
|
+
default: () => {
|
|
122
|
+
type: string;
|
|
123
|
+
color: string;
|
|
124
|
+
textColor: string;
|
|
125
|
+
show: boolean;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
yAxisStyle: {
|
|
129
|
+
type: PropType<AxisStyleConfig>;
|
|
130
|
+
default: () => {
|
|
131
|
+
type: string;
|
|
132
|
+
color: string;
|
|
133
|
+
textColor: string;
|
|
134
|
+
show: boolean;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
isUnit: {
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
default: string;
|
|
140
|
+
};
|
|
141
|
+
showValue: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
default: boolean;
|
|
144
|
+
};
|
|
145
|
+
showShadow: {
|
|
146
|
+
type: BooleanConstructor;
|
|
147
|
+
default: boolean;
|
|
148
|
+
};
|
|
149
|
+
showTooltip: {
|
|
150
|
+
type: BooleanConstructor;
|
|
151
|
+
default: boolean;
|
|
152
|
+
};
|
|
153
|
+
tipFontSize: {
|
|
154
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
155
|
+
default: number;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
export declare const echartsBarEmits: {
|
|
159
|
+
'item-click': (_: any) => boolean;
|
|
160
|
+
};
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
import { BarDatum, ColorGradient, LegendConfig, SplitConfig, AxisStyleConfig } from './echarts-bar';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
5
|
+
data: {
|
|
6
|
+
type: PropType<BarDatum[]>;
|
|
7
|
+
default: () => any[];
|
|
8
|
+
};
|
|
9
|
+
color: {
|
|
10
|
+
type: PropType<string | ColorGradient | ColorGradient[]>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
barSize: {
|
|
14
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
|
+
borderColor: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
borderRadius: {
|
|
22
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
23
|
+
default: number;
|
|
24
|
+
};
|
|
25
|
+
is3d: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
isHorizontal: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
fontSize: {
|
|
34
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
35
|
+
default: number;
|
|
36
|
+
};
|
|
37
|
+
width: {
|
|
38
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
height: {
|
|
42
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
rotate: {
|
|
46
|
+
type: NumberConstructor;
|
|
47
|
+
default: number;
|
|
48
|
+
};
|
|
49
|
+
legend: {
|
|
50
|
+
type: PropType<LegendConfig>;
|
|
51
|
+
default: () => {
|
|
52
|
+
show: boolean;
|
|
53
|
+
position: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
split: {
|
|
57
|
+
type: PropType<SplitConfig>;
|
|
58
|
+
default: () => {
|
|
59
|
+
type: string;
|
|
60
|
+
color: string;
|
|
61
|
+
show: boolean;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
xAxisStyle: {
|
|
65
|
+
type: PropType<AxisStyleConfig>;
|
|
66
|
+
default: () => {
|
|
67
|
+
type: string;
|
|
68
|
+
color: string;
|
|
69
|
+
textColor: string;
|
|
70
|
+
show: boolean;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
yAxisStyle: {
|
|
74
|
+
type: PropType<AxisStyleConfig>;
|
|
75
|
+
default: () => {
|
|
76
|
+
type: string;
|
|
77
|
+
color: string;
|
|
78
|
+
textColor: string;
|
|
79
|
+
show: boolean;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
isUnit: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
showValue: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
showShadow: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
showTooltip: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
tipFontSize: {
|
|
99
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
100
|
+
default: number;
|
|
101
|
+
};
|
|
102
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
103
|
+
"item-click": (_: any) => void;
|
|
104
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
105
|
+
data: {
|
|
106
|
+
type: PropType<BarDatum[]>;
|
|
107
|
+
default: () => any[];
|
|
108
|
+
};
|
|
109
|
+
color: {
|
|
110
|
+
type: PropType<string | ColorGradient | ColorGradient[]>;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
barSize: {
|
|
114
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
115
|
+
default: number;
|
|
116
|
+
};
|
|
117
|
+
borderColor: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
borderRadius: {
|
|
122
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
123
|
+
default: number;
|
|
124
|
+
};
|
|
125
|
+
is3d: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
isHorizontal: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
133
|
+
fontSize: {
|
|
134
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
135
|
+
default: number;
|
|
136
|
+
};
|
|
137
|
+
width: {
|
|
138
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
139
|
+
default: string;
|
|
140
|
+
};
|
|
141
|
+
height: {
|
|
142
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
143
|
+
default: string;
|
|
144
|
+
};
|
|
145
|
+
rotate: {
|
|
146
|
+
type: NumberConstructor;
|
|
147
|
+
default: number;
|
|
148
|
+
};
|
|
149
|
+
legend: {
|
|
150
|
+
type: PropType<LegendConfig>;
|
|
151
|
+
default: () => {
|
|
152
|
+
show: boolean;
|
|
153
|
+
position: string;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
split: {
|
|
157
|
+
type: PropType<SplitConfig>;
|
|
158
|
+
default: () => {
|
|
159
|
+
type: string;
|
|
160
|
+
color: string;
|
|
161
|
+
show: boolean;
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
xAxisStyle: {
|
|
165
|
+
type: PropType<AxisStyleConfig>;
|
|
166
|
+
default: () => {
|
|
167
|
+
type: string;
|
|
168
|
+
color: string;
|
|
169
|
+
textColor: string;
|
|
170
|
+
show: boolean;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
yAxisStyle: {
|
|
174
|
+
type: PropType<AxisStyleConfig>;
|
|
175
|
+
default: () => {
|
|
176
|
+
type: string;
|
|
177
|
+
color: string;
|
|
178
|
+
textColor: string;
|
|
179
|
+
show: boolean;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
isUnit: {
|
|
183
|
+
type: StringConstructor;
|
|
184
|
+
default: string;
|
|
185
|
+
};
|
|
186
|
+
showValue: {
|
|
187
|
+
type: BooleanConstructor;
|
|
188
|
+
default: boolean;
|
|
189
|
+
};
|
|
190
|
+
showShadow: {
|
|
191
|
+
type: BooleanConstructor;
|
|
192
|
+
default: boolean;
|
|
193
|
+
};
|
|
194
|
+
showTooltip: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: boolean;
|
|
197
|
+
};
|
|
198
|
+
tipFontSize: {
|
|
199
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
200
|
+
default: number;
|
|
201
|
+
};
|
|
202
|
+
}>> & Readonly<{
|
|
203
|
+
"onItem-click"?: (_: any) => any;
|
|
204
|
+
}>, {
|
|
205
|
+
split: SplitConfig;
|
|
206
|
+
data: BarDatum[];
|
|
207
|
+
color: string | ColorGradient | ColorGradient[];
|
|
208
|
+
width: string | number;
|
|
209
|
+
legend: LegendConfig;
|
|
210
|
+
height: string | number;
|
|
211
|
+
barSize: string | number;
|
|
212
|
+
showValue: boolean;
|
|
213
|
+
borderColor: string;
|
|
214
|
+
borderRadius: string | number;
|
|
215
|
+
is3d: boolean;
|
|
216
|
+
isHorizontal: boolean;
|
|
217
|
+
fontSize: string | number;
|
|
218
|
+
rotate: number;
|
|
219
|
+
xAxisStyle: AxisStyleConfig;
|
|
220
|
+
yAxisStyle: AxisStyleConfig;
|
|
221
|
+
isUnit: string;
|
|
222
|
+
showShadow: boolean;
|
|
223
|
+
showTooltip: boolean;
|
|
224
|
+
tipFontSize: string | number;
|
|
225
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
226
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as EchartsMap } from './src/echarts-map.vue';
|
|
2
|
+
import { SFCWithInstall } from '../../../utils/index.ts';
|
|
3
|
+
|
|
4
|
+
export declare const ToEchartsMap: SFCWithInstall<typeof EchartsMap>;
|
|
5
|
+
export default ToEchartsMap;
|
|
6
|
+
export * from './src/instance';
|
|
7
|
+
export type { EchartsMapInstance } from './src/instance';
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
export interface MapDatum {
|
|
4
|
+
name: string;
|
|
5
|
+
value?: number | Record<string, any>;
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}
|
|
8
|
+
export interface ViewControlConfig {
|
|
9
|
+
zoomSensitivity?: number;
|
|
10
|
+
beta?: number;
|
|
11
|
+
alpha?: number;
|
|
12
|
+
distance?: number;
|
|
13
|
+
}
|
|
14
|
+
export type VisualTextInput = string | string[];
|
|
15
|
+
export type MapFlag = Record<string, any>;
|
|
16
|
+
export declare const DEFAULT_VIEW_CONTROL: ViewControlConfig;
|
|
17
|
+
export declare const echartsMapProps: {
|
|
18
|
+
shadow: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
itemShadow: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
height: {
|
|
27
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
width: {
|
|
31
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
data: {
|
|
35
|
+
type: PropType<MapDatum[]>;
|
|
36
|
+
default: () => any[];
|
|
37
|
+
};
|
|
38
|
+
modelValue: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: any;
|
|
41
|
+
};
|
|
42
|
+
value: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
borderColor: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
borderColorHover: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
borderWidth: {
|
|
55
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
56
|
+
default: number;
|
|
57
|
+
};
|
|
58
|
+
color: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
colorRange: {
|
|
63
|
+
type: PropType<string[]>;
|
|
64
|
+
default: () => any[];
|
|
65
|
+
};
|
|
66
|
+
colorStart: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
colorEnd: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
fontSize: {
|
|
75
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
76
|
+
default: number;
|
|
77
|
+
};
|
|
78
|
+
fontColor: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
is3d: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
regionHeight: {
|
|
87
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
88
|
+
default: number;
|
|
89
|
+
};
|
|
90
|
+
flag: {
|
|
91
|
+
type: PropType<MapFlag[]>;
|
|
92
|
+
default: () => any[];
|
|
93
|
+
};
|
|
94
|
+
colorHover: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
fontSizeHover: {
|
|
99
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
fontColorHover: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
leaf: {
|
|
107
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
visual: {
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
visualText: {
|
|
115
|
+
type: PropType<VisualTextInput>;
|
|
116
|
+
default: () => string[];
|
|
117
|
+
};
|
|
118
|
+
viewControl: {
|
|
119
|
+
type: PropType<ViewControlConfig>;
|
|
120
|
+
default: () => {
|
|
121
|
+
zoomSensitivity?: number;
|
|
122
|
+
beta?: number;
|
|
123
|
+
alpha?: number;
|
|
124
|
+
distance?: number;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
api: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
forwardEvent: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default: string;
|
|
134
|
+
};
|
|
135
|
+
abbr: {
|
|
136
|
+
type: BooleanConstructor;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
139
|
+
selectedMode: {
|
|
140
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
141
|
+
default: boolean;
|
|
142
|
+
};
|
|
143
|
+
autoplay: {
|
|
144
|
+
type: BooleanConstructor;
|
|
145
|
+
default: boolean;
|
|
146
|
+
};
|
|
147
|
+
speed: {
|
|
148
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
149
|
+
default: number;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
export declare const echartsMapEmits: {
|
|
153
|
+
'update:modelValue': (_val: string) => boolean;
|
|
154
|
+
'update:value': (_val: string) => boolean;
|
|
155
|
+
change: (_code: string, _area: {
|
|
156
|
+
name: string;
|
|
157
|
+
code: string;
|
|
158
|
+
}, _hasHistory: boolean) => boolean;
|
|
159
|
+
'item-click': (_payload: any, _event?: any) => boolean;
|
|
160
|
+
'node-dblclick': (_payload: any, _event?: any) => boolean;
|
|
161
|
+
};
|
|
162
|
+
export type EchartsMapProps = typeof echartsMapProps;
|