@visactor/vchart-extension 1.13.5-alpha.5 → 1.13.5-alpha.7

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.
Files changed (43) hide show
  1. package/build/index.js +0 -674
  2. package/build/index.min.js +2 -2
  3. package/cjs/components/bar-link/index.js +1 -2
  4. package/cjs/components/series-label/type.js +2 -1
  5. package/cjs/index.d.ts +0 -1
  6. package/cjs/index.js +3 -3
  7. package/cjs/index.js.map +1 -1
  8. package/esm/components/bar-link/index.js +1 -2
  9. package/esm/components/series-label/type.js +2 -1
  10. package/esm/index.d.ts +0 -1
  11. package/esm/index.js +0 -2
  12. package/esm/index.js.map +1 -1
  13. package/package.json +2 -3
  14. package/cjs/charts/ranking-list/constant.d.ts +0 -2
  15. package/cjs/charts/ranking-list/constant.js +0 -74
  16. package/cjs/charts/ranking-list/constant.js.map +0 -1
  17. package/cjs/charts/ranking-list/interface.d.ts +0 -73
  18. package/cjs/charts/ranking-list/interface.js +0 -6
  19. package/cjs/charts/ranking-list/interface.js.map +0 -1
  20. package/cjs/charts/ranking-list/ranking-list-transformer.d.ts +0 -457
  21. package/cjs/charts/ranking-list/ranking-list-transformer.js +0 -374
  22. package/cjs/charts/ranking-list/ranking-list-transformer.js.map +0 -1
  23. package/cjs/charts/ranking-list/ranking-list.d.ts +0 -16
  24. package/cjs/charts/ranking-list/ranking-list.js +0 -34
  25. package/cjs/charts/ranking-list/ranking-list.js.map +0 -1
  26. package/cjs/charts/ranking-list/utils.d.ts +0 -7
  27. package/cjs/charts/ranking-list/utils.js +0 -51
  28. package/cjs/charts/ranking-list/utils.js.map +0 -1
  29. package/esm/charts/ranking-list/constant.d.ts +0 -2
  30. package/esm/charts/ranking-list/constant.js +0 -70
  31. package/esm/charts/ranking-list/constant.js.map +0 -1
  32. package/esm/charts/ranking-list/interface.d.ts +0 -73
  33. package/esm/charts/ranking-list/interface.js +0 -2
  34. package/esm/charts/ranking-list/interface.js.map +0 -1
  35. package/esm/charts/ranking-list/ranking-list-transformer.d.ts +0 -457
  36. package/esm/charts/ranking-list/ranking-list-transformer.js +0 -374
  37. package/esm/charts/ranking-list/ranking-list-transformer.js.map +0 -1
  38. package/esm/charts/ranking-list/ranking-list.d.ts +0 -16
  39. package/esm/charts/ranking-list/ranking-list.js +0 -27
  40. package/esm/charts/ranking-list/ranking-list.js.map +0 -1
  41. package/esm/charts/ranking-list/utils.d.ts +0 -7
  42. package/esm/charts/ranking-list/utils.js +0 -41
  43. package/esm/charts/ranking-list/utils.js.map +0 -1
@@ -1,457 +0,0 @@
1
- import { Datum } from '@visactor/vchart/src/typings';
2
- import type { IRankingListSpec } from './interface';
3
- import { CommonChartSpecTransformer } from '@visactor/vchart';
4
- import { TextMeasure } from '@visactor/vutils';
5
- export declare class RankingListChartSpecTransformer extends CommonChartSpecTransformer {
6
- protected nameLabelTextMeasure: TextMeasure<any>;
7
- protected valueLabelTextMeasure: TextMeasure<any>;
8
- protected orderLabelTextMeasure: TextMeasure<any>;
9
- protected originalData: Datum[];
10
- protected originalSpec: IRankingListSpec;
11
- protected dataSpecs: any[];
12
- protected formatMap: {
13
- [key: string]: (text: string, ctx: any) => string;
14
- };
15
- transformSpec(spec: any): void;
16
- normalizeSpec(spec: any): void;
17
- upgradeTextMeasure(spec: any): void;
18
- upgradeFormatMap(spec: any): void;
19
- processData(spec: any): void;
20
- transformBaseSpec(spec: any): void;
21
- transformAnimationSpec(spec: any): void;
22
- transformAxesSpec(spec: any): void;
23
- generateBarBackground(spec: any): {
24
- type: any;
25
- dataId: string;
26
- visible: boolean;
27
- dataKey: string;
28
- zIndex: number;
29
- state: any;
30
- style: any;
31
- animation: boolean;
32
- animationEnter: boolean | {
33
- type: string;
34
- options: {
35
- direction: string;
36
- orient: string;
37
- excludeChannels: string[];
38
- point: (datum: Datum, element: IElement) => {
39
- y: any;
40
- };
41
- };
42
- duration: number;
43
- easing: import("@visactor/vrender-core").EasingType;
44
- };
45
- animationExit: boolean | {
46
- type: string;
47
- options: {
48
- direction: string;
49
- orient: string;
50
- point: (datum: Datum, element: IElement) => {
51
- y: number;
52
- };
53
- };
54
- duration: number;
55
- easing: import("@visactor/vrender-core").EasingType;
56
- };
57
- animationAppear: boolean | {
58
- type: string;
59
- oneByOne: boolean;
60
- duration: number;
61
- easing: import("@visactor/vrender-core").EasingType;
62
- options: {};
63
- channel?: undefined;
64
- } | {
65
- channel: {
66
- x: {
67
- from: number;
68
- to: (datum: Datum, element: IElement) => any;
69
- };
70
- opacity?: undefined;
71
- };
72
- duration: number;
73
- easing: import("@visactor/vrender-core").EasingType;
74
- type?: undefined;
75
- oneByOne?: undefined;
76
- options?: undefined;
77
- } | {
78
- channel: {
79
- opacity: {
80
- from: number;
81
- to: number;
82
- };
83
- x?: undefined;
84
- };
85
- duration: number;
86
- easing: import("@visactor/vrender-core").EasingType;
87
- type?: undefined;
88
- oneByOne?: undefined;
89
- options?: undefined;
90
- };
91
- animationUpdate: boolean | {
92
- duration: number;
93
- easing: import("@visactor/vrender-core").EasingType;
94
- };
95
- };
96
- generateDecorateHaloIcons(spec: any): any;
97
- generateRankingIcon(spec: any): {
98
- type: string;
99
- dataId: string;
100
- visible: boolean;
101
- dataKey: string;
102
- state: any;
103
- style: any;
104
- animation: boolean;
105
- animationEnter: boolean | {
106
- type: string;
107
- options: {
108
- direction: string;
109
- orient: string;
110
- excludeChannels: string[];
111
- point: (datum: Datum, element: IElement) => {
112
- y: any;
113
- };
114
- };
115
- duration: number;
116
- easing: import("@visactor/vrender-core").EasingType;
117
- };
118
- animationExit: boolean | {
119
- type: string;
120
- options: {
121
- direction: string;
122
- orient: string;
123
- point: (datum: Datum, element: IElement) => {
124
- y: number;
125
- };
126
- };
127
- duration: number;
128
- easing: import("@visactor/vrender-core").EasingType;
129
- };
130
- animationAppear: boolean | {
131
- type: string;
132
- oneByOne: boolean;
133
- duration: number;
134
- easing: import("@visactor/vrender-core").EasingType;
135
- options: {};
136
- channel?: undefined;
137
- } | {
138
- channel: {
139
- x: {
140
- from: number;
141
- to: (datum: Datum, element: IElement) => any;
142
- };
143
- opacity?: undefined;
144
- };
145
- duration: number;
146
- easing: import("@visactor/vrender-core").EasingType;
147
- type?: undefined;
148
- oneByOne?: undefined;
149
- options?: undefined;
150
- } | {
151
- channel: {
152
- opacity: {
153
- from: number;
154
- to: number;
155
- };
156
- x?: undefined;
157
- };
158
- duration: number;
159
- easing: import("@visactor/vrender-core").EasingType;
160
- type?: undefined;
161
- oneByOne?: undefined;
162
- options?: undefined;
163
- };
164
- animationUpdate: boolean | {
165
- duration: number;
166
- easing: import("@visactor/vrender-core").EasingType;
167
- };
168
- };
169
- generateNameLabel(spec: any): {
170
- type: string;
171
- dataId: string;
172
- dataKey: string;
173
- state: any;
174
- style: any;
175
- animation: boolean;
176
- animationEnter: boolean | {
177
- type: string;
178
- options: {
179
- direction: string;
180
- orient: string;
181
- excludeChannels: string[];
182
- point: (datum: Datum, element: IElement) => {
183
- y: any;
184
- };
185
- };
186
- duration: number;
187
- easing: import("@visactor/vrender-core").EasingType;
188
- };
189
- animationExit: boolean | {
190
- type: string;
191
- options: {
192
- direction: string;
193
- orient: string;
194
- point: (datum: Datum, element: IElement) => {
195
- y: number;
196
- };
197
- };
198
- duration: number;
199
- easing: import("@visactor/vrender-core").EasingType;
200
- };
201
- animationAppear: boolean | {
202
- type: string;
203
- oneByOne: boolean;
204
- duration: number;
205
- easing: import("@visactor/vrender-core").EasingType;
206
- options: {};
207
- channel?: undefined;
208
- } | {
209
- channel: {
210
- x: {
211
- from: number;
212
- to: (datum: Datum, element: IElement) => any;
213
- };
214
- opacity?: undefined;
215
- };
216
- duration: number;
217
- easing: import("@visactor/vrender-core").EasingType;
218
- type?: undefined;
219
- oneByOne?: undefined;
220
- options?: undefined;
221
- } | {
222
- channel: {
223
- opacity: {
224
- from: number;
225
- to: number;
226
- };
227
- x?: undefined;
228
- };
229
- duration: number;
230
- easing: import("@visactor/vrender-core").EasingType;
231
- type?: undefined;
232
- oneByOne?: undefined;
233
- options?: undefined;
234
- };
235
- animationUpdate: boolean | {
236
- duration: number;
237
- easing: import("@visactor/vrender-core").EasingType;
238
- };
239
- };
240
- generateOrderLabel(spec: any): {
241
- type: string;
242
- dataId: string;
243
- dataKey: string;
244
- state: any;
245
- style: any;
246
- animation: boolean;
247
- animationEnter: boolean | {
248
- type: string;
249
- options: {
250
- direction: string;
251
- orient: string;
252
- excludeChannels: string[];
253
- point: (datum: Datum, element: IElement) => {
254
- y: any;
255
- };
256
- };
257
- duration: number;
258
- easing: import("@visactor/vrender-core").EasingType;
259
- };
260
- animationExit: boolean | {
261
- type: string;
262
- options: {
263
- direction: string;
264
- orient: string;
265
- point: (datum: Datum, element: IElement) => {
266
- y: number;
267
- };
268
- };
269
- duration: number;
270
- easing: import("@visactor/vrender-core").EasingType;
271
- };
272
- animationAppear: boolean | {
273
- type: string;
274
- oneByOne: boolean;
275
- duration: number;
276
- easing: import("@visactor/vrender-core").EasingType;
277
- options: {};
278
- channel?: undefined;
279
- } | {
280
- channel: {
281
- x: {
282
- from: number;
283
- to: (datum: Datum, element: IElement) => any;
284
- };
285
- opacity?: undefined;
286
- };
287
- duration: number;
288
- easing: import("@visactor/vrender-core").EasingType;
289
- type?: undefined;
290
- oneByOne?: undefined;
291
- options?: undefined;
292
- } | {
293
- channel: {
294
- opacity: {
295
- from: number;
296
- to: number;
297
- };
298
- x?: undefined;
299
- };
300
- duration: number;
301
- easing: import("@visactor/vrender-core").EasingType;
302
- type?: undefined;
303
- oneByOne?: undefined;
304
- options?: undefined;
305
- };
306
- animationUpdate: boolean | {
307
- duration: number;
308
- easing: import("@visactor/vrender-core").EasingType;
309
- };
310
- };
311
- generateValueLabel(spec: any): {
312
- type: string;
313
- dataId: string;
314
- visible: boolean;
315
- dataKey: string;
316
- state: any;
317
- style: any;
318
- animation: boolean;
319
- animationEnter: boolean | {
320
- type: string;
321
- options: {
322
- direction: string;
323
- orient: string;
324
- excludeChannels: string[];
325
- point: (datum: Datum, element: IElement) => {
326
- y: any;
327
- };
328
- };
329
- duration: number;
330
- easing: import("@visactor/vrender-core").EasingType;
331
- };
332
- animationExit: boolean | {
333
- type: string;
334
- options: {
335
- direction: string;
336
- orient: string;
337
- point: (datum: Datum, element: IElement) => {
338
- y: number;
339
- };
340
- };
341
- duration: number;
342
- easing: import("@visactor/vrender-core").EasingType;
343
- };
344
- animationAppear: boolean | {
345
- type: string;
346
- oneByOne: boolean;
347
- duration: number;
348
- easing: import("@visactor/vrender-core").EasingType;
349
- options: {};
350
- channel?: undefined;
351
- } | {
352
- channel: {
353
- x: {
354
- from: number;
355
- to: (datum: Datum, element: IElement) => any;
356
- };
357
- opacity?: undefined;
358
- };
359
- duration: number;
360
- easing: import("@visactor/vrender-core").EasingType;
361
- type?: undefined;
362
- oneByOne?: undefined;
363
- options?: undefined;
364
- } | {
365
- channel: {
366
- opacity: {
367
- from: number;
368
- to: number;
369
- };
370
- x?: undefined;
371
- };
372
- duration: number;
373
- easing: import("@visactor/vrender-core").EasingType;
374
- type?: undefined;
375
- oneByOne?: undefined;
376
- options?: undefined;
377
- };
378
- animationUpdate: boolean | {
379
- duration: number;
380
- easing: import("@visactor/vrender-core").EasingType;
381
- };
382
- };
383
- transformPaddingSpec(spec: any): void;
384
- paginateDataArr: (spec: IRankingListSpec) => {
385
- orderCount: number;
386
- result: {
387
- [key: string]: Datum[];
388
- };
389
- };
390
- processRankingData: (spec: IRankingListSpec) => any[];
391
- getMaxDataLabelLens(spec: IRankingListSpec, field: string, textMeasure: TextMeasure<any>): number;
392
- formatDatum(field: string, datum: Datum): any;
393
- getLabelWidth(padding: number, width: number): number;
394
- getAnimationExit(spec: IRankingListSpec): false | {
395
- type: string;
396
- options: {
397
- direction: string;
398
- orient: string;
399
- point: (datum: Datum, element: IElement) => {
400
- y: number;
401
- };
402
- };
403
- duration: number;
404
- easing: import("@visactor/vrender-core").EasingType;
405
- };
406
- getAnimationEnter(spec: IRankingListSpec): false | {
407
- type: string;
408
- options: {
409
- direction: string;
410
- orient: string;
411
- excludeChannels: string[];
412
- point: (datum: Datum, element: IElement) => {
413
- y: any;
414
- };
415
- };
416
- duration: number;
417
- easing: import("@visactor/vrender-core").EasingType;
418
- };
419
- getAnimationAppear(spec: IRankingListSpec, markType: 'rect' | 'text' | 'symbol' | 'barBack'): false | {
420
- type: string;
421
- oneByOne: boolean;
422
- duration: number;
423
- easing: import("@visactor/vrender-core").EasingType;
424
- options: {};
425
- channel?: undefined;
426
- } | {
427
- channel: {
428
- x: {
429
- from: number;
430
- to: (datum: Datum, element: IElement) => any;
431
- };
432
- opacity?: undefined;
433
- };
434
- duration: number;
435
- easing: import("@visactor/vrender-core").EasingType;
436
- type?: undefined;
437
- oneByOne?: undefined;
438
- options?: undefined;
439
- } | {
440
- channel: {
441
- opacity: {
442
- from: number;
443
- to: number;
444
- };
445
- x?: undefined;
446
- };
447
- duration: number;
448
- easing: import("@visactor/vrender-core").EasingType;
449
- type?: undefined;
450
- oneByOne?: undefined;
451
- options?: undefined;
452
- };
453
- getAnimationUpdate(spec: IRankingListSpec): false | {
454
- duration: number;
455
- easing: import("@visactor/vrender-core").EasingType;
456
- };
457
- }