@touchvue/plugin 1.0.0-beta.4 → 1.0.0-beta.5

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,8 @@ export interface EchartsBarProps {
58
61
  showShadow?: boolean;
59
62
  showTooltip?: boolean;
60
63
  tipFontSize?: string | number;
64
+ smooth?: boolean | number;
65
+ interval?: number;
61
66
  }
62
67
  export declare const echartsBarProps: {
63
68
  data: {
@@ -92,6 +97,10 @@ export declare const echartsBarProps: {
92
97
  type: BooleanConstructor;
93
98
  default: boolean;
94
99
  };
100
+ d3dShape: {
101
+ type: PropType<EchartsBar3dShape>;
102
+ default: string;
103
+ };
95
104
  isHorizontal: {
96
105
  type: BooleanConstructor;
97
106
  default: boolean;
@@ -165,6 +174,14 @@ export declare const echartsBarProps: {
165
174
  type: (NumberConstructor | StringConstructor)[];
166
175
  default: number;
167
176
  };
177
+ smooth: {
178
+ type: (BooleanConstructor | NumberConstructor)[];
179
+ default: boolean;
180
+ };
181
+ interval: {
182
+ type: NumberConstructor;
183
+ default: number;
184
+ };
168
185
  };
169
186
  export declare const echartsBarEmits: {
170
187
  '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,14 @@ 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
+ };
110
122
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
111
123
  "item-click": (_: any) => void;
112
124
  }, string, PublicProps, Readonly< ExtractPropTypes<{
@@ -142,6 +154,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
142
154
  type: BooleanConstructor;
143
155
  default: boolean;
144
156
  };
157
+ d3dShape: {
158
+ type: PropType<EchartsBar3dShape>;
159
+ default: string;
160
+ };
145
161
  isHorizontal: {
146
162
  type: BooleanConstructor;
147
163
  default: boolean;
@@ -215,6 +231,14 @@ declare const _default: DefineComponent<ExtractPropTypes<{
215
231
  type: (NumberConstructor | StringConstructor)[];
216
232
  default: number;
217
233
  };
234
+ smooth: {
235
+ type: (BooleanConstructor | NumberConstructor)[];
236
+ default: boolean;
237
+ };
238
+ interval: {
239
+ type: NumberConstructor;
240
+ default: number;
241
+ };
218
242
  }>> & Readonly<{
219
243
  "onItem-click"?: (_: any) => any;
220
244
  }>, {
@@ -224,6 +248,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
224
248
  width: string | number;
225
249
  legend: LegendConfig;
226
250
  height: string | number;
251
+ smooth: number | boolean;
227
252
  barSize: string | number;
228
253
  showValue: boolean;
229
254
  chartsType: string;
@@ -231,6 +256,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
231
256
  borderColor: string;
232
257
  borderRadius: string | number;
233
258
  is3d: boolean;
259
+ d3dShape: EchartsBar3dShape;
234
260
  isHorizontal: boolean;
235
261
  fontSize: string | number;
236
262
  rotate: number;
@@ -240,5 +266,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
240
266
  showShadow: boolean;
241
267
  showTooltip: boolean;
242
268
  tipFontSize: string | number;
269
+ interval: number;
243
270
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
244
271
  export default _default;
@@ -15,6 +15,10 @@ 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
+ };
18
22
  shadow: {
19
23
  type: StringConstructor;
20
24
  default: string;
@@ -1,6 +1,10 @@
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
+ };
4
8
  shadow: {
5
9
  type: StringConstructor;
6
10
  default: string;
@@ -160,6 +164,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
160
164
  "item-click": (_payload: any, _event?: any) => void;
161
165
  "node-dblclick": (_payload: any, _event?: any) => void;
162
166
  }, string, PublicProps, Readonly< ExtractPropTypes<{
167
+ nameMap: {
168
+ type: PropType<Record<string, string>>;
169
+ default: () => {};
170
+ };
163
171
  shadow: {
164
172
  type: StringConstructor;
165
173
  default: string;
@@ -329,6 +337,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
329
337
  borderColor: string;
330
338
  is3d: boolean;
331
339
  fontSize: string | number;
340
+ nameMap: Record<string, string>;
332
341
  itemShadow: string;
333
342
  borderColorHover: string;
334
343
  borderWidth: string | number;