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