@touchvue/plugin 1.0.0-beta.5 → 1.0.0-beta.7
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 +36 -0
- package/components/echarts-map/src/echarts-map.vue.d.ts +81 -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 +477 -127
- 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;
|
|
@@ -164,6 +180,26 @@ export declare const echartsMapProps: {
|
|
|
164
180
|
type: (NumberConstructor | StringConstructor)[];
|
|
165
181
|
default: number;
|
|
166
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
|
+
};
|
|
167
203
|
};
|
|
168
204
|
export declare const echartsMapEmits: {
|
|
169
205
|
'update:modelValue': (_val: string) => boolean;
|
|
@@ -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;
|
|
@@ -150,6 +166,26 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
150
166
|
type: (NumberConstructor | StringConstructor)[];
|
|
151
167
|
default: number;
|
|
152
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
|
+
};
|
|
153
189
|
}>, {
|
|
154
190
|
back: () => void;
|
|
155
191
|
forward: (name: string, leaf: any) => void;
|
|
@@ -168,6 +204,22 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
168
204
|
type: PropType<Record<string, string>>;
|
|
169
205
|
default: () => {};
|
|
170
206
|
};
|
|
207
|
+
rotate: {
|
|
208
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
209
|
+
default: number;
|
|
210
|
+
};
|
|
211
|
+
scaleX: {
|
|
212
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
213
|
+
default: number;
|
|
214
|
+
};
|
|
215
|
+
scaleY: {
|
|
216
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
217
|
+
default: number;
|
|
218
|
+
};
|
|
219
|
+
aspectRatio: {
|
|
220
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
221
|
+
default: string;
|
|
222
|
+
};
|
|
171
223
|
shadow: {
|
|
172
224
|
type: StringConstructor;
|
|
173
225
|
default: string;
|
|
@@ -313,6 +365,26 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
313
365
|
type: (NumberConstructor | StringConstructor)[];
|
|
314
366
|
default: number;
|
|
315
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
|
+
};
|
|
316
388
|
}>> & Readonly<{
|
|
317
389
|
onChange?: (_code: string, _area: {
|
|
318
390
|
name: string;
|
|
@@ -332,12 +404,17 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
332
404
|
shadow: string;
|
|
333
405
|
modelValue: string;
|
|
334
406
|
api: string;
|
|
407
|
+
position: string;
|
|
335
408
|
speed: string | number;
|
|
409
|
+
aspectRatio: string | number;
|
|
336
410
|
autoplay: boolean;
|
|
337
411
|
borderColor: string;
|
|
338
412
|
is3d: boolean;
|
|
339
413
|
fontSize: string | number;
|
|
414
|
+
rotate: string | number;
|
|
340
415
|
nameMap: Record<string, string>;
|
|
416
|
+
scaleX: string | number;
|
|
417
|
+
scaleY: string | number;
|
|
341
418
|
itemShadow: string;
|
|
342
419
|
borderColorHover: string;
|
|
343
420
|
borderWidth: string | number;
|
|
@@ -359,5 +436,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
359
436
|
showOutline: boolean;
|
|
360
437
|
outlineColor: string;
|
|
361
438
|
outlineWidth: string | number;
|
|
439
|
+
showLabelIcon: boolean;
|
|
440
|
+
labelIcon: string;
|
|
441
|
+
labelIconType: "image" | "text";
|
|
442
|
+
labelIconSize: number | [number, number];
|
|
362
443
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
363
444
|
export default _default;
|
|
@@ -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;
|