@touchvue/plugin 1.0.0-beta.5 → 1.0.0-beta.6
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 +29 -0
- package/components/echarts-bar/src/echarts-bar.vue.d.ts +54 -0
- package/components/echarts-map/src/echarts-map.d.ts +16 -0
- package/components/echarts-map/src/echarts-map.vue.d.ts +36 -0
- package/components/echarts-pie/src/echarts-pie.d.ts +10 -0
- package/components/echarts-pie/src/echarts-pie.vue.d.ts +37 -0
- package/index.cjs +3 -3
- package/index.mjs +399 -94
- package/package.json +1 -1
- package/style/style.css +1 -1
|
@@ -63,6 +63,11 @@ export interface EchartsBarProps {
|
|
|
63
63
|
tipFontSize?: string | number;
|
|
64
64
|
smooth?: boolean | number;
|
|
65
65
|
interval?: number;
|
|
66
|
+
tooltipType?: string;
|
|
67
|
+
tooltipTextColor?: string;
|
|
68
|
+
tooltipBgColor?: string;
|
|
69
|
+
tooltipBorderColor?: string;
|
|
70
|
+
showDefaultToolTip?: boolean;
|
|
66
71
|
}
|
|
67
72
|
export declare const echartsBarProps: {
|
|
68
73
|
data: {
|
|
@@ -182,6 +187,30 @@ export declare const echartsBarProps: {
|
|
|
182
187
|
type: NumberConstructor;
|
|
183
188
|
default: number;
|
|
184
189
|
};
|
|
190
|
+
tooltipType: {
|
|
191
|
+
type: StringConstructor;
|
|
192
|
+
default: string;
|
|
193
|
+
};
|
|
194
|
+
tooltipTextColor: {
|
|
195
|
+
type: StringConstructor;
|
|
196
|
+
default: string;
|
|
197
|
+
};
|
|
198
|
+
tooltipBgColor: {
|
|
199
|
+
type: StringConstructor;
|
|
200
|
+
default: string;
|
|
201
|
+
};
|
|
202
|
+
tooltipBorderColor: {
|
|
203
|
+
type: StringConstructor;
|
|
204
|
+
default: string;
|
|
205
|
+
};
|
|
206
|
+
showDefaultToolTip: {
|
|
207
|
+
type: BooleanConstructor;
|
|
208
|
+
default: boolean;
|
|
209
|
+
};
|
|
210
|
+
mode: {
|
|
211
|
+
type: StringConstructor;
|
|
212
|
+
default: string;
|
|
213
|
+
};
|
|
185
214
|
};
|
|
186
215
|
export declare const echartsBarEmits: {
|
|
187
216
|
'item-click': (_: any) => boolean;
|
|
@@ -119,6 +119,30 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
119
119
|
type: NumberConstructor;
|
|
120
120
|
default: number;
|
|
121
121
|
};
|
|
122
|
+
tooltipType: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
tooltipTextColor: {
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
130
|
+
tooltipBgColor: {
|
|
131
|
+
type: StringConstructor;
|
|
132
|
+
default: string;
|
|
133
|
+
};
|
|
134
|
+
tooltipBorderColor: {
|
|
135
|
+
type: StringConstructor;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
138
|
+
showDefaultToolTip: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
142
|
+
mode: {
|
|
143
|
+
type: StringConstructor;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
122
146
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
123
147
|
"item-click": (_: any) => void;
|
|
124
148
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
@@ -239,11 +263,36 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
239
263
|
type: NumberConstructor;
|
|
240
264
|
default: number;
|
|
241
265
|
};
|
|
266
|
+
tooltipType: {
|
|
267
|
+
type: StringConstructor;
|
|
268
|
+
default: string;
|
|
269
|
+
};
|
|
270
|
+
tooltipTextColor: {
|
|
271
|
+
type: StringConstructor;
|
|
272
|
+
default: string;
|
|
273
|
+
};
|
|
274
|
+
tooltipBgColor: {
|
|
275
|
+
type: StringConstructor;
|
|
276
|
+
default: string;
|
|
277
|
+
};
|
|
278
|
+
tooltipBorderColor: {
|
|
279
|
+
type: StringConstructor;
|
|
280
|
+
default: string;
|
|
281
|
+
};
|
|
282
|
+
showDefaultToolTip: {
|
|
283
|
+
type: BooleanConstructor;
|
|
284
|
+
default: boolean;
|
|
285
|
+
};
|
|
286
|
+
mode: {
|
|
287
|
+
type: StringConstructor;
|
|
288
|
+
default: string;
|
|
289
|
+
};
|
|
242
290
|
}>> & Readonly<{
|
|
243
291
|
"onItem-click"?: (_: any) => any;
|
|
244
292
|
}>, {
|
|
245
293
|
split: SplitConfig;
|
|
246
294
|
data: BarDatum[];
|
|
295
|
+
mode: string;
|
|
247
296
|
color: string | ColorGradient | ColorGradient[];
|
|
248
297
|
width: string | number;
|
|
249
298
|
legend: LegendConfig;
|
|
@@ -267,5 +316,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
267
316
|
showTooltip: boolean;
|
|
268
317
|
tipFontSize: string | number;
|
|
269
318
|
interval: number;
|
|
319
|
+
tooltipType: string;
|
|
320
|
+
tooltipTextColor: string;
|
|
321
|
+
tooltipBgColor: string;
|
|
322
|
+
tooltipBorderColor: string;
|
|
323
|
+
showDefaultToolTip: boolean;
|
|
270
324
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
271
325
|
export default _default;
|
|
@@ -19,6 +19,22 @@ export declare const echartsMapProps: {
|
|
|
19
19
|
type: PropType<Record<string, string>>;
|
|
20
20
|
default: () => {};
|
|
21
21
|
};
|
|
22
|
+
rotate: {
|
|
23
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
scaleX: {
|
|
27
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
scaleY: {
|
|
31
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
32
|
+
default: number;
|
|
33
|
+
};
|
|
34
|
+
aspectRatio: {
|
|
35
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
22
38
|
shadow: {
|
|
23
39
|
type: StringConstructor;
|
|
24
40
|
default: string;
|
|
@@ -5,6 +5,22 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
5
5
|
type: PropType<Record<string, string>>;
|
|
6
6
|
default: () => {};
|
|
7
7
|
};
|
|
8
|
+
rotate: {
|
|
9
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
scaleX: {
|
|
13
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
scaleY: {
|
|
17
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
aspectRatio: {
|
|
21
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
8
24
|
shadow: {
|
|
9
25
|
type: StringConstructor;
|
|
10
26
|
default: string;
|
|
@@ -168,6 +184,22 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
168
184
|
type: PropType<Record<string, string>>;
|
|
169
185
|
default: () => {};
|
|
170
186
|
};
|
|
187
|
+
rotate: {
|
|
188
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
189
|
+
default: number;
|
|
190
|
+
};
|
|
191
|
+
scaleX: {
|
|
192
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
193
|
+
default: number;
|
|
194
|
+
};
|
|
195
|
+
scaleY: {
|
|
196
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
197
|
+
default: number;
|
|
198
|
+
};
|
|
199
|
+
aspectRatio: {
|
|
200
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
201
|
+
default: string;
|
|
202
|
+
};
|
|
171
203
|
shadow: {
|
|
172
204
|
type: StringConstructor;
|
|
173
205
|
default: string;
|
|
@@ -333,11 +365,15 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
333
365
|
modelValue: string;
|
|
334
366
|
api: string;
|
|
335
367
|
speed: string | number;
|
|
368
|
+
aspectRatio: string | number;
|
|
336
369
|
autoplay: boolean;
|
|
337
370
|
borderColor: string;
|
|
338
371
|
is3d: boolean;
|
|
339
372
|
fontSize: string | number;
|
|
373
|
+
rotate: string | number;
|
|
340
374
|
nameMap: Record<string, string>;
|
|
375
|
+
scaleX: string | number;
|
|
376
|
+
scaleY: string | number;
|
|
341
377
|
itemShadow: string;
|
|
342
378
|
borderColorHover: string;
|
|
343
379
|
borderWidth: string | number;
|
|
@@ -21,6 +21,8 @@ export interface EchartsPieProps {
|
|
|
21
21
|
value?: string | number;
|
|
22
22
|
label?: string | number;
|
|
23
23
|
gap?: string | number;
|
|
24
|
+
emphasisScale?: boolean;
|
|
25
|
+
emphasisScaleSize?: string | number;
|
|
24
26
|
}
|
|
25
27
|
export declare const echartsPieProps: {
|
|
26
28
|
data: {
|
|
@@ -83,6 +85,14 @@ export declare const echartsPieProps: {
|
|
|
83
85
|
type: (NumberConstructor | StringConstructor)[];
|
|
84
86
|
default: number;
|
|
85
87
|
};
|
|
88
|
+
emphasisScale: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
emphasisScaleSize: {
|
|
93
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
94
|
+
default: number;
|
|
95
|
+
};
|
|
86
96
|
};
|
|
87
97
|
export declare const echartsPieEmits: {
|
|
88
98
|
'item-click': (_: any) => boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
+
background?(_: {}): any;
|
|
3
4
|
title?(_: {}): any;
|
|
4
5
|
legend?(_: {
|
|
5
6
|
legendData: any;
|
|
@@ -66,6 +67,22 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
66
67
|
type: (NumberConstructor | StringConstructor)[];
|
|
67
68
|
default: number;
|
|
68
69
|
};
|
|
70
|
+
emphasisScale: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
emphasisScaleSize: {
|
|
75
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
76
|
+
default: number;
|
|
77
|
+
};
|
|
78
|
+
backgroundSizePercentage: {
|
|
79
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
80
|
+
default: number;
|
|
81
|
+
};
|
|
82
|
+
backgroundPosition: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
69
86
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
70
87
|
"item-click": (_: any) => void;
|
|
71
88
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
@@ -129,6 +146,22 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
129
146
|
type: (NumberConstructor | StringConstructor)[];
|
|
130
147
|
default: number;
|
|
131
148
|
};
|
|
149
|
+
emphasisScale: {
|
|
150
|
+
type: BooleanConstructor;
|
|
151
|
+
default: boolean;
|
|
152
|
+
};
|
|
153
|
+
emphasisScaleSize: {
|
|
154
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
155
|
+
default: number;
|
|
156
|
+
};
|
|
157
|
+
backgroundSizePercentage: {
|
|
158
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
159
|
+
default: number;
|
|
160
|
+
};
|
|
161
|
+
backgroundPosition: {
|
|
162
|
+
type: StringConstructor;
|
|
163
|
+
default: string;
|
|
164
|
+
};
|
|
132
165
|
}>> & Readonly<{
|
|
133
166
|
"onItem-click"?: (_: any) => any;
|
|
134
167
|
}>, {
|
|
@@ -147,6 +180,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
147
180
|
borderWidth: string | number;
|
|
148
181
|
startAngle: string | number;
|
|
149
182
|
endAngle: string | number;
|
|
183
|
+
emphasisScale: boolean;
|
|
184
|
+
emphasisScaleSize: string | number;
|
|
185
|
+
backgroundSizePercentage: string | number;
|
|
186
|
+
backgroundPosition: string;
|
|
150
187
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
151
188
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
152
189
|
export default _default;
|