@touchvue/plugin 1.0.0-beta.4 → 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.
@@ -35,6 +35,7 @@ export interface AxisStyleConfig {
35
35
  textColor?: string;
36
36
  show?: boolean;
37
37
  }
38
+ export type EchartsBar3dShape = 'cube' | 'cylinder';
38
39
  export interface EchartsBarProps {
39
40
  data?: BarDatum[];
40
41
  chartsType?: string;
@@ -43,6 +44,8 @@ export interface EchartsBarProps {
43
44
  borderColor?: string;
44
45
  borderRadius?: string | number;
45
46
  is3d?: boolean;
47
+ /** 3D 形状:cube(立方体) / cylinder(圆柱体) */
48
+ d3dShape?: EchartsBar3dShape;
46
49
  isHorizontal?: boolean;
47
50
  fontSize?: string | number;
48
51
  width?: string | number;
@@ -58,6 +61,13 @@ export interface EchartsBarProps {
58
61
  showShadow?: boolean;
59
62
  showTooltip?: boolean;
60
63
  tipFontSize?: string | number;
64
+ smooth?: boolean | number;
65
+ interval?: number;
66
+ tooltipType?: string;
67
+ tooltipTextColor?: string;
68
+ tooltipBgColor?: string;
69
+ tooltipBorderColor?: string;
70
+ showDefaultToolTip?: boolean;
61
71
  }
62
72
  export declare const echartsBarProps: {
63
73
  data: {
@@ -92,6 +102,10 @@ export declare const echartsBarProps: {
92
102
  type: BooleanConstructor;
93
103
  default: boolean;
94
104
  };
105
+ d3dShape: {
106
+ type: PropType<EchartsBar3dShape>;
107
+ default: string;
108
+ };
95
109
  isHorizontal: {
96
110
  type: BooleanConstructor;
97
111
  default: boolean;
@@ -165,6 +179,38 @@ export declare const echartsBarProps: {
165
179
  type: (NumberConstructor | StringConstructor)[];
166
180
  default: number;
167
181
  };
182
+ smooth: {
183
+ type: (BooleanConstructor | NumberConstructor)[];
184
+ default: boolean;
185
+ };
186
+ interval: {
187
+ type: NumberConstructor;
188
+ default: number;
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
+ };
168
214
  };
169
215
  export declare const echartsBarEmits: {
170
216
  'item-click': (_: any) => boolean;
@@ -1,4 +1,4 @@
1
- import { BarDatum, ColorGradient, LegendConfig, SplitConfig, AxisStyleConfig } from './echarts-bar';
1
+ import { BarDatum, ColorGradient, EchartsBar3dShape, LegendConfig, SplitConfig, AxisStyleConfig } from './echarts-bar';
2
2
  import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
 
4
4
  declare const _default: DefineComponent<ExtractPropTypes<{
@@ -34,6 +34,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
34
34
  type: BooleanConstructor;
35
35
  default: boolean;
36
36
  };
37
+ d3dShape: {
38
+ type: PropType<EchartsBar3dShape>;
39
+ default: string;
40
+ };
37
41
  isHorizontal: {
38
42
  type: BooleanConstructor;
39
43
  default: boolean;
@@ -107,6 +111,38 @@ declare const _default: DefineComponent<ExtractPropTypes<{
107
111
  type: (NumberConstructor | StringConstructor)[];
108
112
  default: number;
109
113
  };
114
+ smooth: {
115
+ type: (BooleanConstructor | NumberConstructor)[];
116
+ default: boolean;
117
+ };
118
+ interval: {
119
+ type: NumberConstructor;
120
+ default: number;
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
+ };
110
146
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
111
147
  "item-click": (_: any) => void;
112
148
  }, string, PublicProps, Readonly< ExtractPropTypes<{
@@ -142,6 +178,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
142
178
  type: BooleanConstructor;
143
179
  default: boolean;
144
180
  };
181
+ d3dShape: {
182
+ type: PropType<EchartsBar3dShape>;
183
+ default: string;
184
+ };
145
185
  isHorizontal: {
146
186
  type: BooleanConstructor;
147
187
  default: boolean;
@@ -215,15 +255,49 @@ declare const _default: DefineComponent<ExtractPropTypes<{
215
255
  type: (NumberConstructor | StringConstructor)[];
216
256
  default: number;
217
257
  };
258
+ smooth: {
259
+ type: (BooleanConstructor | NumberConstructor)[];
260
+ default: boolean;
261
+ };
262
+ interval: {
263
+ type: NumberConstructor;
264
+ default: number;
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
+ };
218
290
  }>> & Readonly<{
219
291
  "onItem-click"?: (_: any) => any;
220
292
  }>, {
221
293
  split: SplitConfig;
222
294
  data: BarDatum[];
295
+ mode: string;
223
296
  color: string | ColorGradient | ColorGradient[];
224
297
  width: string | number;
225
298
  legend: LegendConfig;
226
299
  height: string | number;
300
+ smooth: number | boolean;
227
301
  barSize: string | number;
228
302
  showValue: boolean;
229
303
  chartsType: string;
@@ -231,6 +305,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
231
305
  borderColor: string;
232
306
  borderRadius: string | number;
233
307
  is3d: boolean;
308
+ d3dShape: EchartsBar3dShape;
234
309
  isHorizontal: boolean;
235
310
  fontSize: string | number;
236
311
  rotate: number;
@@ -240,5 +315,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
240
315
  showShadow: boolean;
241
316
  showTooltip: boolean;
242
317
  tipFontSize: string | number;
318
+ interval: number;
319
+ tooltipType: string;
320
+ tooltipTextColor: string;
321
+ tooltipBgColor: string;
322
+ tooltipBorderColor: string;
323
+ showDefaultToolTip: boolean;
243
324
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
244
325
  export default _default;
@@ -15,6 +15,26 @@ export type VisualTextInput = string | string[];
15
15
  export type MapFlag = Record<string, any>;
16
16
  export declare const DEFAULT_VIEW_CONTROL: ViewControlConfig;
17
17
  export declare const echartsMapProps: {
18
+ nameMap: {
19
+ type: PropType<Record<string, string>>;
20
+ default: () => {};
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
+ };
18
38
  shadow: {
19
39
  type: StringConstructor;
20
40
  default: string;
@@ -1,6 +1,26 @@
1
1
  import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  import { MapDatum, MapFlag, VisualTextInput, ViewControlConfig } from './echarts-map';
3
3
  declare const _default: DefineComponent<ExtractPropTypes<{
4
+ nameMap: {
5
+ type: PropType<Record<string, string>>;
6
+ default: () => {};
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
+ };
4
24
  shadow: {
5
25
  type: StringConstructor;
6
26
  default: string;
@@ -160,6 +180,26 @@ declare const _default: DefineComponent<ExtractPropTypes<{
160
180
  "item-click": (_payload: any, _event?: any) => void;
161
181
  "node-dblclick": (_payload: any, _event?: any) => void;
162
182
  }, string, PublicProps, Readonly< ExtractPropTypes<{
183
+ nameMap: {
184
+ type: PropType<Record<string, string>>;
185
+ default: () => {};
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
+ };
163
203
  shadow: {
164
204
  type: StringConstructor;
165
205
  default: string;
@@ -325,10 +365,15 @@ declare const _default: DefineComponent<ExtractPropTypes<{
325
365
  modelValue: string;
326
366
  api: string;
327
367
  speed: string | number;
368
+ aspectRatio: string | number;
328
369
  autoplay: boolean;
329
370
  borderColor: string;
330
371
  is3d: boolean;
331
372
  fontSize: string | number;
373
+ rotate: string | number;
374
+ nameMap: Record<string, string>;
375
+ scaleX: string | number;
376
+ scaleY: string | number;
332
377
  itemShadow: string;
333
378
  borderColorHover: string;
334
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;