@touchvue/plugin 1.0.0-beta.3 → 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.
@@ -7,6 +7,7 @@ export interface BarDatum {
7
7
  name: string;
8
8
  value: number | number[];
9
9
  seriesNames?: string[];
10
+ type?: string;
10
11
  [key: string]: any;
11
12
  }
12
13
  /**
@@ -34,13 +35,17 @@ export interface AxisStyleConfig {
34
35
  textColor?: string;
35
36
  show?: boolean;
36
37
  }
38
+ export type EchartsBar3dShape = 'cube' | 'cylinder';
37
39
  export interface EchartsBarProps {
38
40
  data?: BarDatum[];
41
+ chartsType?: string;
39
42
  color?: string | ColorGradient | ColorGradient[];
40
43
  barSize?: string | number;
41
44
  borderColor?: string;
42
45
  borderRadius?: string | number;
43
46
  is3d?: boolean;
47
+ /** 3D 形状:cube(立方体) / cylinder(圆柱体) */
48
+ d3dShape?: EchartsBar3dShape;
44
49
  isHorizontal?: boolean;
45
50
  fontSize?: string | number;
46
51
  width?: string | number;
@@ -50,17 +55,28 @@ export interface EchartsBarProps {
50
55
  split?: SplitConfig;
51
56
  xAxisStyle?: AxisStyleConfig;
52
57
  yAxisStyle?: AxisStyleConfig;
58
+ xAxisData?: string[];
53
59
  isUnit?: string;
54
60
  showValue?: boolean;
55
61
  showShadow?: boolean;
56
62
  showTooltip?: boolean;
57
63
  tipFontSize?: string | number;
64
+ smooth?: boolean | number;
65
+ interval?: number;
58
66
  }
59
67
  export declare const echartsBarProps: {
60
68
  data: {
61
69
  type: PropType<BarDatum[]>;
62
70
  default: () => any[];
63
71
  };
72
+ chartsType: {
73
+ type: StringConstructor;
74
+ default: string;
75
+ };
76
+ xAxisData: {
77
+ type: PropType<string[]>;
78
+ default: () => any[];
79
+ };
64
80
  color: {
65
81
  type: PropType<string | ColorGradient | ColorGradient[]>;
66
82
  default: string;
@@ -81,6 +97,10 @@ export declare const echartsBarProps: {
81
97
  type: BooleanConstructor;
82
98
  default: boolean;
83
99
  };
100
+ d3dShape: {
101
+ type: PropType<EchartsBar3dShape>;
102
+ default: string;
103
+ };
84
104
  isHorizontal: {
85
105
  type: BooleanConstructor;
86
106
  default: boolean;
@@ -154,6 +174,14 @@ export declare const echartsBarProps: {
154
174
  type: (NumberConstructor | StringConstructor)[];
155
175
  default: number;
156
176
  };
177
+ smooth: {
178
+ type: (BooleanConstructor | NumberConstructor)[];
179
+ default: boolean;
180
+ };
181
+ interval: {
182
+ type: NumberConstructor;
183
+ default: number;
184
+ };
157
185
  };
158
186
  export declare const echartsBarEmits: {
159
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<{
@@ -6,6 +6,14 @@ declare const _default: DefineComponent<ExtractPropTypes<{
6
6
  type: PropType<BarDatum[]>;
7
7
  default: () => any[];
8
8
  };
9
+ chartsType: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ xAxisData: {
14
+ type: PropType<string[]>;
15
+ default: () => any[];
16
+ };
9
17
  color: {
10
18
  type: PropType<string | ColorGradient | ColorGradient[]>;
11
19
  default: string;
@@ -26,6 +34,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
26
34
  type: BooleanConstructor;
27
35
  default: boolean;
28
36
  };
37
+ d3dShape: {
38
+ type: PropType<EchartsBar3dShape>;
39
+ default: string;
40
+ };
29
41
  isHorizontal: {
30
42
  type: BooleanConstructor;
31
43
  default: boolean;
@@ -99,6 +111,14 @@ declare const _default: DefineComponent<ExtractPropTypes<{
99
111
  type: (NumberConstructor | StringConstructor)[];
100
112
  default: number;
101
113
  };
114
+ smooth: {
115
+ type: (BooleanConstructor | NumberConstructor)[];
116
+ default: boolean;
117
+ };
118
+ interval: {
119
+ type: NumberConstructor;
120
+ default: number;
121
+ };
102
122
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
103
123
  "item-click": (_: any) => void;
104
124
  }, string, PublicProps, Readonly< ExtractPropTypes<{
@@ -106,6 +126,14 @@ declare const _default: DefineComponent<ExtractPropTypes<{
106
126
  type: PropType<BarDatum[]>;
107
127
  default: () => any[];
108
128
  };
129
+ chartsType: {
130
+ type: StringConstructor;
131
+ default: string;
132
+ };
133
+ xAxisData: {
134
+ type: PropType<string[]>;
135
+ default: () => any[];
136
+ };
109
137
  color: {
110
138
  type: PropType<string | ColorGradient | ColorGradient[]>;
111
139
  default: string;
@@ -126,6 +154,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
126
154
  type: BooleanConstructor;
127
155
  default: boolean;
128
156
  };
157
+ d3dShape: {
158
+ type: PropType<EchartsBar3dShape>;
159
+ default: string;
160
+ };
129
161
  isHorizontal: {
130
162
  type: BooleanConstructor;
131
163
  default: boolean;
@@ -199,6 +231,14 @@ declare const _default: DefineComponent<ExtractPropTypes<{
199
231
  type: (NumberConstructor | StringConstructor)[];
200
232
  default: number;
201
233
  };
234
+ smooth: {
235
+ type: (BooleanConstructor | NumberConstructor)[];
236
+ default: boolean;
237
+ };
238
+ interval: {
239
+ type: NumberConstructor;
240
+ default: number;
241
+ };
202
242
  }>> & Readonly<{
203
243
  "onItem-click"?: (_: any) => any;
204
244
  }>, {
@@ -208,11 +248,15 @@ declare const _default: DefineComponent<ExtractPropTypes<{
208
248
  width: string | number;
209
249
  legend: LegendConfig;
210
250
  height: string | number;
251
+ smooth: number | boolean;
211
252
  barSize: string | number;
212
253
  showValue: boolean;
254
+ chartsType: string;
255
+ xAxisData: string[];
213
256
  borderColor: string;
214
257
  borderRadius: string | number;
215
258
  is3d: boolean;
259
+ d3dShape: EchartsBar3dShape;
216
260
  isHorizontal: boolean;
217
261
  fontSize: string | number;
218
262
  rotate: number;
@@ -222,5 +266,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
222
266
  showShadow: boolean;
223
267
  showTooltip: boolean;
224
268
  tipFontSize: string | number;
269
+ interval: number;
225
270
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
226
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;
@@ -148,6 +152,18 @@ export declare const echartsMapProps: {
148
152
  type: (NumberConstructor | StringConstructor)[];
149
153
  default: number;
150
154
  };
155
+ showOutline: {
156
+ type: BooleanConstructor;
157
+ default: boolean;
158
+ };
159
+ outlineColor: {
160
+ type: StringConstructor;
161
+ default: string;
162
+ };
163
+ outlineWidth: {
164
+ type: (NumberConstructor | StringConstructor)[];
165
+ default: number;
166
+ };
151
167
  };
152
168
  export declare const echartsMapEmits: {
153
169
  'update:modelValue': (_val: string) => boolean;
@@ -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;
@@ -134,6 +138,18 @@ declare const _default: DefineComponent<ExtractPropTypes<{
134
138
  type: (NumberConstructor | StringConstructor)[];
135
139
  default: number;
136
140
  };
141
+ showOutline: {
142
+ type: BooleanConstructor;
143
+ default: boolean;
144
+ };
145
+ outlineColor: {
146
+ type: StringConstructor;
147
+ default: string;
148
+ };
149
+ outlineWidth: {
150
+ type: (NumberConstructor | StringConstructor)[];
151
+ default: number;
152
+ };
137
153
  }>, {
138
154
  back: () => void;
139
155
  forward: (name: string, leaf: any) => void;
@@ -148,6 +164,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
148
164
  "item-click": (_payload: any, _event?: any) => void;
149
165
  "node-dblclick": (_payload: any, _event?: any) => void;
150
166
  }, string, PublicProps, Readonly< ExtractPropTypes<{
167
+ nameMap: {
168
+ type: PropType<Record<string, string>>;
169
+ default: () => {};
170
+ };
151
171
  shadow: {
152
172
  type: StringConstructor;
153
173
  default: string;
@@ -281,6 +301,18 @@ declare const _default: DefineComponent<ExtractPropTypes<{
281
301
  type: (NumberConstructor | StringConstructor)[];
282
302
  default: number;
283
303
  };
304
+ showOutline: {
305
+ type: BooleanConstructor;
306
+ default: boolean;
307
+ };
308
+ outlineColor: {
309
+ type: StringConstructor;
310
+ default: string;
311
+ };
312
+ outlineWidth: {
313
+ type: (NumberConstructor | StringConstructor)[];
314
+ default: number;
315
+ };
284
316
  }>> & Readonly<{
285
317
  onChange?: (_code: string, _area: {
286
318
  name: string;
@@ -305,6 +337,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
305
337
  borderColor: string;
306
338
  is3d: boolean;
307
339
  fontSize: string | number;
340
+ nameMap: Record<string, string>;
308
341
  itemShadow: string;
309
342
  borderColorHover: string;
310
343
  borderWidth: string | number;
@@ -323,5 +356,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
323
356
  viewControl: ViewControlConfig;
324
357
  forwardEvent: string;
325
358
  selectedMode: string | boolean;
359
+ showOutline: boolean;
360
+ outlineColor: string;
361
+ outlineWidth: string | number;
326
362
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
327
363
  export default _default;