@opentinyvue/vue-huicharts 2.21.0 → 3.21.0

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/lib/index.js CHANGED
@@ -97,7 +97,7 @@ var HuiCharts = defineComponent({
97
97
  ]);
98
98
  }
99
99
  });
100
- var version = "2.21.0";
100
+ var version = "3.21.0";
101
101
  HuiCharts.install = function(Vue) {
102
102
  Vue.component(HuiCharts.name, HuiCharts);
103
103
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-huicharts",
3
- "version": "2.21.0",
3
+ "version": "3.21.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
@@ -13,31 +13,31 @@
13
13
  "sideEffects": false,
14
14
  "type": "module",
15
15
  "dependencies": {
16
- "@opentinyvue/vue-huicharts-bar": "~2.21.0",
17
- "@opentinyvue/vue-huicharts-core": "~2.21.0",
18
- "@opentinyvue/vue-huicharts-histogram": "~2.21.0",
19
- "@opentinyvue/vue-huicharts-line": "~2.21.0",
20
- "@opentinyvue/vue-huicharts-pie": "~2.21.0",
21
- "@opentinyvue/vue-huicharts-radar": "~2.21.0",
22
- "@opentinyvue/vue-huicharts-ring": "~2.21.0",
23
- "@opentinyvue/vue-huicharts-waterfall": "~2.21.0",
24
- "@opentinyvue/vue-huicharts-funnel": "~2.21.0",
25
- "@opentinyvue/vue-huicharts-gauge": "~2.21.0",
26
- "@opentinyvue/vue-huicharts-scatter": "~2.21.0",
27
- "@opentinyvue/vue-huicharts-tree": "~2.21.0",
28
- "@opentinyvue/vue-huicharts-sankey": "~2.21.0",
29
- "@opentinyvue/vue-huicharts-candle": "~2.21.0",
30
- "@opentinyvue/vue-huicharts-heatmap": "~2.21.0",
31
- "@opentinyvue/vue-huicharts-liquidfill": "~2.21.0",
32
- "@opentinyvue/vue-huicharts-wordcloud": "~2.21.0",
33
- "@opentinyvue/vue-huicharts-map": "~2.21.0",
34
- "@opentinyvue/vue-huicharts-boxplot": "~2.21.0",
35
- "@opentinyvue/vue-huicharts-amap": "~2.21.0",
36
- "@opentinyvue/vue-huicharts-bmap": "~2.21.0",
37
- "@opentinyvue/vue-huicharts-graph": "~2.21.0",
38
- "@opentinyvue/vue-huicharts-sunburst": "~2.21.0",
39
- "@opentinyvue/vue-common": "~2.21.0",
40
- "@opentinyvue/vue-locale": "~2.21.0",
16
+ "@opentinyvue/vue-huicharts-bar": "~3.21.0",
17
+ "@opentinyvue/vue-huicharts-core": "~3.21.0",
18
+ "@opentinyvue/vue-huicharts-histogram": "~3.21.0",
19
+ "@opentinyvue/vue-huicharts-line": "~3.21.0",
20
+ "@opentinyvue/vue-huicharts-pie": "~3.21.0",
21
+ "@opentinyvue/vue-huicharts-radar": "~3.21.0",
22
+ "@opentinyvue/vue-huicharts-ring": "~3.21.0",
23
+ "@opentinyvue/vue-huicharts-waterfall": "~3.21.0",
24
+ "@opentinyvue/vue-huicharts-funnel": "~3.21.0",
25
+ "@opentinyvue/vue-huicharts-gauge": "~3.21.0",
26
+ "@opentinyvue/vue-huicharts-scatter": "~3.21.0",
27
+ "@opentinyvue/vue-huicharts-tree": "~3.21.0",
28
+ "@opentinyvue/vue-huicharts-sankey": "~3.21.0",
29
+ "@opentinyvue/vue-huicharts-candle": "~3.21.0",
30
+ "@opentinyvue/vue-huicharts-heatmap": "~3.21.0",
31
+ "@opentinyvue/vue-huicharts-liquidfill": "~3.21.0",
32
+ "@opentinyvue/vue-huicharts-wordcloud": "~3.21.0",
33
+ "@opentinyvue/vue-huicharts-map": "~3.21.0",
34
+ "@opentinyvue/vue-huicharts-boxplot": "~3.21.0",
35
+ "@opentinyvue/vue-huicharts-amap": "~3.21.0",
36
+ "@opentinyvue/vue-huicharts-bmap": "~3.21.0",
37
+ "@opentinyvue/vue-huicharts-graph": "~3.21.0",
38
+ "@opentinyvue/vue-huicharts-sunburst": "~3.21.0",
39
+ "@opentinyvue/vue-common": "~3.21.0",
40
+ "@opentinyvue/vue-locale": "~3.21.0",
41
41
  "@opentinyvue/vue-theme": "~3.21.0"
42
42
  },
43
43
  "license": "MIT",
package/src/index.d.ts CHANGED
@@ -1,2 +1,304 @@
1
- declare const _default: any;
1
+ declare const _default: import("@vue/runtime-core").DefineComponent<{
2
+ type: {
3
+ type: StringConstructor;
4
+ };
5
+ data: {
6
+ type: ObjectConstructor;
7
+ default(): {};
8
+ };
9
+ settings: {
10
+ type: ObjectConstructor;
11
+ default(): {};
12
+ };
13
+ width: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ height: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ events: {
22
+ type: ObjectConstructor;
23
+ default(): void;
24
+ };
25
+ initOptions: {
26
+ type: ObjectConstructor;
27
+ default(): {};
28
+ };
29
+ tooltipVisible: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ legendVisible: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ legendPosition: {
38
+ type: StringConstructor;
39
+ };
40
+ theme: ObjectConstructor;
41
+ themeName: (StringConstructor | ObjectConstructor)[];
42
+ judgeWidth: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
46
+ widthChangeDelay: {
47
+ type: NumberConstructor;
48
+ default: number;
49
+ };
50
+ resizeable: {
51
+ type: BooleanConstructor;
52
+ default: boolean;
53
+ };
54
+ changeDelay: {
55
+ type: NumberConstructor;
56
+ default: number;
57
+ };
58
+ dataEmpty: BooleanConstructor;
59
+ beforeConfig: {
60
+ type: FunctionConstructor;
61
+ };
62
+ afterConfig: {
63
+ type: FunctionConstructor;
64
+ };
65
+ afterSetOption: {
66
+ type: FunctionConstructor;
67
+ };
68
+ afterSetOptionOnce: {
69
+ type: FunctionConstructor;
70
+ };
71
+ loading: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ extend: {
76
+ type: ObjectConstructor;
77
+ default(): void;
78
+ };
79
+ tooltipFormatter: {
80
+ type: FunctionConstructor;
81
+ };
82
+ markArea: {
83
+ type: ObjectConstructor;
84
+ };
85
+ markLine: {
86
+ type: ObjectConstructor;
87
+ };
88
+ markPoint: {
89
+ type: ObjectConstructor;
90
+ };
91
+ grid: {
92
+ type: (ObjectConstructor | ArrayConstructor)[];
93
+ };
94
+ colors: {
95
+ type: ArrayConstructor;
96
+ };
97
+ visualMap: (ObjectConstructor | ArrayConstructor)[];
98
+ dataZoom: (ObjectConstructor | ArrayConstructor)[];
99
+ toolbox: (ObjectConstructor | ArrayConstructor)[];
100
+ title: ObjectConstructor;
101
+ legend: (ObjectConstructor | ArrayConstructor)[];
102
+ xAxis: (ObjectConstructor | ArrayConstructor)[];
103
+ yAxis: (ObjectConstructor | ArrayConstructor)[];
104
+ radar: ObjectConstructor;
105
+ tooltip: ObjectConstructor;
106
+ axisPointer: ObjectConstructor;
107
+ brush: (ObjectConstructor | ArrayConstructor)[];
108
+ geo: ObjectConstructor;
109
+ timeline: (ObjectConstructor | ArrayConstructor)[];
110
+ graphic: (ObjectConstructor | ArrayConstructor)[];
111
+ series: (ObjectConstructor | ArrayConstructor)[];
112
+ backgroundColor: (StringConstructor | ObjectConstructor)[];
113
+ textStyle: ObjectConstructor;
114
+ animation: ObjectConstructor;
115
+ options: {
116
+ type: ObjectConstructor;
117
+ default: () => {};
118
+ };
119
+ cancelResizeCheck: {
120
+ type: BooleanConstructor;
121
+ default: boolean;
122
+ };
123
+ setOptionOpts: {
124
+ type: ObjectConstructor;
125
+ default(): void;
126
+ };
127
+ colorMode: {
128
+ type: StringConstructor;
129
+ default: string;
130
+ };
131
+ }, unknown, {}, {}, {
132
+ selfSetting(options: any): void;
133
+ setAnimation(options: any): void;
134
+ applyMarks(options: any): void;
135
+ applyExtend(huiChartOption: any): any;
136
+ refreshChart(): void;
137
+ renderChart(huiChartOption: any): void;
138
+ addEvents(val: any): void;
139
+ removeEvents(oldVal: any): void;
140
+ resize(): void;
141
+ afterConfigFn(huiChartOption: any): any;
142
+ beforeConfigFn(data: any): any;
143
+ isStack(): boolean;
144
+ calcColors({ len, type, isStack }: {
145
+ len: any;
146
+ type: any;
147
+ isStack: any;
148
+ }): string[];
149
+ computedChartColor(): any;
150
+ ready(val: any): void;
151
+ readyOnce(val: any): void;
152
+ handleColor(val: any): void;
153
+ }, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
154
+ type: {
155
+ type: StringConstructor;
156
+ };
157
+ data: {
158
+ type: ObjectConstructor;
159
+ default(): {};
160
+ };
161
+ settings: {
162
+ type: ObjectConstructor;
163
+ default(): {};
164
+ };
165
+ width: {
166
+ type: StringConstructor;
167
+ default: string;
168
+ };
169
+ height: {
170
+ type: StringConstructor;
171
+ default: string;
172
+ };
173
+ events: {
174
+ type: ObjectConstructor;
175
+ default(): void;
176
+ };
177
+ initOptions: {
178
+ type: ObjectConstructor;
179
+ default(): {};
180
+ };
181
+ tooltipVisible: {
182
+ type: BooleanConstructor;
183
+ default: boolean;
184
+ };
185
+ legendVisible: {
186
+ type: BooleanConstructor;
187
+ default: boolean;
188
+ };
189
+ legendPosition: {
190
+ type: StringConstructor;
191
+ };
192
+ theme: ObjectConstructor;
193
+ themeName: (StringConstructor | ObjectConstructor)[];
194
+ judgeWidth: {
195
+ type: BooleanConstructor;
196
+ default: boolean;
197
+ };
198
+ widthChangeDelay: {
199
+ type: NumberConstructor;
200
+ default: number;
201
+ };
202
+ resizeable: {
203
+ type: BooleanConstructor;
204
+ default: boolean;
205
+ };
206
+ changeDelay: {
207
+ type: NumberConstructor;
208
+ default: number;
209
+ };
210
+ dataEmpty: BooleanConstructor;
211
+ beforeConfig: {
212
+ type: FunctionConstructor;
213
+ };
214
+ afterConfig: {
215
+ type: FunctionConstructor;
216
+ };
217
+ afterSetOption: {
218
+ type: FunctionConstructor;
219
+ };
220
+ afterSetOptionOnce: {
221
+ type: FunctionConstructor;
222
+ };
223
+ loading: {
224
+ type: BooleanConstructor;
225
+ default: boolean;
226
+ };
227
+ extend: {
228
+ type: ObjectConstructor;
229
+ default(): void;
230
+ };
231
+ tooltipFormatter: {
232
+ type: FunctionConstructor;
233
+ };
234
+ markArea: {
235
+ type: ObjectConstructor;
236
+ };
237
+ markLine: {
238
+ type: ObjectConstructor;
239
+ };
240
+ markPoint: {
241
+ type: ObjectConstructor;
242
+ };
243
+ grid: {
244
+ type: (ObjectConstructor | ArrayConstructor)[];
245
+ };
246
+ colors: {
247
+ type: ArrayConstructor;
248
+ };
249
+ visualMap: (ObjectConstructor | ArrayConstructor)[];
250
+ dataZoom: (ObjectConstructor | ArrayConstructor)[];
251
+ toolbox: (ObjectConstructor | ArrayConstructor)[];
252
+ title: ObjectConstructor;
253
+ legend: (ObjectConstructor | ArrayConstructor)[];
254
+ xAxis: (ObjectConstructor | ArrayConstructor)[];
255
+ yAxis: (ObjectConstructor | ArrayConstructor)[];
256
+ radar: ObjectConstructor;
257
+ tooltip: ObjectConstructor;
258
+ axisPointer: ObjectConstructor;
259
+ brush: (ObjectConstructor | ArrayConstructor)[];
260
+ geo: ObjectConstructor;
261
+ timeline: (ObjectConstructor | ArrayConstructor)[];
262
+ graphic: (ObjectConstructor | ArrayConstructor)[];
263
+ series: (ObjectConstructor | ArrayConstructor)[];
264
+ backgroundColor: (StringConstructor | ObjectConstructor)[];
265
+ textStyle: ObjectConstructor;
266
+ animation: ObjectConstructor;
267
+ options: {
268
+ type: ObjectConstructor;
269
+ default: () => {};
270
+ };
271
+ cancelResizeCheck: {
272
+ type: BooleanConstructor;
273
+ default: boolean;
274
+ };
275
+ setOptionOpts: {
276
+ type: ObjectConstructor;
277
+ default(): void;
278
+ };
279
+ colorMode: {
280
+ type: StringConstructor;
281
+ default: string;
282
+ };
283
+ }>>, {
284
+ data: Record<string, any>;
285
+ extend: Record<string, any>;
286
+ width: string;
287
+ height: string;
288
+ options: Record<string, any>;
289
+ loading: boolean;
290
+ events: Record<string, any>;
291
+ tooltipVisible: boolean;
292
+ settings: Record<string, any>;
293
+ initOptions: Record<string, any>;
294
+ dataEmpty: boolean;
295
+ judgeWidth: boolean;
296
+ widthChangeDelay: number;
297
+ legendVisible: boolean;
298
+ changeDelay: number;
299
+ colorMode: string;
300
+ cancelResizeCheck: boolean;
301
+ resizeable: boolean;
302
+ setOptionOpts: Record<string, any>;
303
+ }, {}>;
2
304
  export default _default;