@visactor/vchart-extension 2.0.7-alpha.8 → 2.0.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.
@@ -1,7 +1,6 @@
1
1
  import type { IImageCloudSeriesSpec } from './interface';
2
2
  import { ImageCloudMarkNameEnum } from './constant';
3
3
  import type { IPoint } from '@visactor/vchart';
4
- import { createImage } from '@visactor/vchart';
5
4
  import type { Datum, IImageMark, IMark, IRectMark } from '@visactor/vchart';
6
5
  import { BaseSeries } from '@visactor/vchart';
7
6
  export declare class ImageCloudSeries<T extends IImageCloudSeriesSpec> extends BaseSeries<T> {
@@ -103,7 +102,7 @@ export declare class ImageCloudSeries<T extends IImageCloudSeriesSpec> extends B
103
102
  padding: number;
104
103
  };
105
104
  ratio: number;
106
- mask: string | import("@visactor/vchart").TextShapeMask | import("@visactor/vchart").GeometricMaskShape;
105
+ mask: any;
107
106
  maskConfig: {
108
107
  visible?: boolean;
109
108
  threshold?: number;
@@ -111,9 +110,9 @@ export declare class ImageCloudSeries<T extends IImageCloudSeriesSpec> extends B
111
110
  removeWhiteBorder?: boolean;
112
111
  style?: Partial<import("@visactor/vchart").IImageMarkSpec>;
113
112
  };
114
- layoutConfig: import("@visactor/vchart").LayoutConfigType;
113
+ layoutConfig: ImageCloudLayoutConfig;
115
114
  createCanvas: (params: import("@visactor/vrender-core").ICreateCanvasParams) => any;
116
- createImage: typeof createImage;
115
+ createImage: any;
117
116
  onUpdateMaskCanvas: (inputImage?: HTMLCanvasElement, maskImage?: HTMLCanvasElement) => void;
118
117
  onLayoutFinished: () => void;
119
118
  };
@@ -1,7 +1,7 @@
1
1
  import { type SVGParsedElement, type SVGParserResult } from '@visactor/vchart';
2
2
  import type { IPictogramSeriesSpec } from './interface';
3
3
  import { PictogramSeriesSpecTransformer } from './pictogram-transformer';
4
- import type { IMatrix, IPoint, IPointLike, GraphicEventType } from '@visactor/vchart';
4
+ import type { IPoint, IPointLike } from '@visactor/vchart';
5
5
  import { type IGroup } from '@visactor/vchart';
6
6
  import type { Datum, IGroupMark, IHoverSpec, IMark, ISelectSpec, ISeriesSeriesInfo, PanEventParam, ZoomEventParam } from '@visactor/vchart';
7
7
  import { GeoSeries, STATE_VALUE_ENUM } from '@visactor/vchart';
@@ -107,7 +107,7 @@ export declare class PictogramSeries<T extends IPictogramSeriesSpec = IPictogram
107
107
  private _initLabelMark;
108
108
  initLabelMarkStyle(): void;
109
109
  initMarkStyle(): void;
110
- protected _validElement(element: SVGParsedElement): string;
110
+ protected _validElement(element: SVGParsedElement): any;
111
111
  protected initTooltip(): void;
112
112
  dataToPosition(datum: Datum, global?: boolean): IPointLike;
113
113
  coordToPosition(point: IPoint): IPoint | undefined;
@@ -1,4 +1,4 @@
1
- import { DataView, type ISVGSourceOption } from '@visactor/vchart';
1
+ import { type ISVGSourceOption } from '@visactor/vchart';
2
2
  export declare const svgSourceMap: Map<string, DataView>;
3
3
  export declare function registerSVGSource(key: string, source: ISVGSourceOption): void;
4
4
  export declare function unregisterSVGSource(key: string): void;
@@ -73,4 +73,4 @@ export declare const graphicAttributeTransform: {
73
73
  stroke: any;
74
74
  };
75
75
  };
76
- export declare const pictogram: (data: DataView[]) => {};
76
+ export declare const pictogram: (data: DataView[]) => any;
@@ -43,7 +43,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
43
43
  };
44
44
  };
45
45
  duration: number;
46
- easing: import("@visactor/vchart").EasingType;
46
+ easing: any;
47
47
  };
48
48
  animationExit: boolean | {
49
49
  type: string;
@@ -56,13 +56,13 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
56
56
  };
57
57
  };
58
58
  duration: number;
59
- easing: import("@visactor/vchart").EasingType;
59
+ easing: any;
60
60
  };
61
61
  animationAppear: boolean | {
62
62
  type: string;
63
63
  oneByOne: boolean;
64
64
  duration: number;
65
- easing: import("@visactor/vchart").EasingType;
65
+ easing: any;
66
66
  options: {};
67
67
  channel?: undefined;
68
68
  } | {
@@ -74,7 +74,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
74
74
  opacity?: undefined;
75
75
  };
76
76
  duration: number;
77
- easing: import("@visactor/vchart").EasingType;
77
+ easing: any;
78
78
  type?: undefined;
79
79
  oneByOne?: undefined;
80
80
  options?: undefined;
@@ -87,14 +87,14 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
87
87
  x?: undefined;
88
88
  };
89
89
  duration: number;
90
- easing: import("@visactor/vchart").EasingType;
90
+ easing: any;
91
91
  type?: undefined;
92
92
  oneByOne?: undefined;
93
93
  options?: undefined;
94
94
  };
95
95
  animationUpdate: boolean | {
96
96
  duration: number;
97
- easing: import("@visactor/vchart").EasingType;
97
+ easing: any;
98
98
  };
99
99
  };
100
100
  generateDecorateHaloIcons(spec: any): any;
@@ -117,7 +117,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
117
117
  };
118
118
  };
119
119
  duration: number;
120
- easing: import("@visactor/vchart").EasingType;
120
+ easing: any;
121
121
  };
122
122
  animationExit: boolean | {
123
123
  type: string;
@@ -130,13 +130,13 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
130
130
  };
131
131
  };
132
132
  duration: number;
133
- easing: import("@visactor/vchart").EasingType;
133
+ easing: any;
134
134
  };
135
135
  animationAppear: boolean | {
136
136
  type: string;
137
137
  oneByOne: boolean;
138
138
  duration: number;
139
- easing: import("@visactor/vchart").EasingType;
139
+ easing: any;
140
140
  options: {};
141
141
  channel?: undefined;
142
142
  } | {
@@ -148,7 +148,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
148
148
  opacity?: undefined;
149
149
  };
150
150
  duration: number;
151
- easing: import("@visactor/vchart").EasingType;
151
+ easing: any;
152
152
  type?: undefined;
153
153
  oneByOne?: undefined;
154
154
  options?: undefined;
@@ -161,14 +161,14 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
161
161
  x?: undefined;
162
162
  };
163
163
  duration: number;
164
- easing: import("@visactor/vchart").EasingType;
164
+ easing: any;
165
165
  type?: undefined;
166
166
  oneByOne?: undefined;
167
167
  options?: undefined;
168
168
  };
169
169
  animationUpdate: boolean | {
170
170
  duration: number;
171
- easing: import("@visactor/vchart").EasingType;
171
+ easing: any;
172
172
  };
173
173
  };
174
174
  generateNameLabel(spec: any): {
@@ -189,7 +189,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
189
189
  };
190
190
  };
191
191
  duration: number;
192
- easing: import("@visactor/vchart").EasingType;
192
+ easing: any;
193
193
  };
194
194
  animationExit: boolean | {
195
195
  type: string;
@@ -202,13 +202,13 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
202
202
  };
203
203
  };
204
204
  duration: number;
205
- easing: import("@visactor/vchart").EasingType;
205
+ easing: any;
206
206
  };
207
207
  animationAppear: boolean | {
208
208
  type: string;
209
209
  oneByOne: boolean;
210
210
  duration: number;
211
- easing: import("@visactor/vchart").EasingType;
211
+ easing: any;
212
212
  options: {};
213
213
  channel?: undefined;
214
214
  } | {
@@ -220,7 +220,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
220
220
  opacity?: undefined;
221
221
  };
222
222
  duration: number;
223
- easing: import("@visactor/vchart").EasingType;
223
+ easing: any;
224
224
  type?: undefined;
225
225
  oneByOne?: undefined;
226
226
  options?: undefined;
@@ -233,14 +233,14 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
233
233
  x?: undefined;
234
234
  };
235
235
  duration: number;
236
- easing: import("@visactor/vchart").EasingType;
236
+ easing: any;
237
237
  type?: undefined;
238
238
  oneByOne?: undefined;
239
239
  options?: undefined;
240
240
  };
241
241
  animationUpdate: boolean | {
242
242
  duration: number;
243
- easing: import("@visactor/vchart").EasingType;
243
+ easing: any;
244
244
  };
245
245
  };
246
246
  generateOrderLabel(spec: any): {
@@ -261,7 +261,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
261
261
  };
262
262
  };
263
263
  duration: number;
264
- easing: import("@visactor/vchart").EasingType;
264
+ easing: any;
265
265
  };
266
266
  animationExit: boolean | {
267
267
  type: string;
@@ -274,13 +274,13 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
274
274
  };
275
275
  };
276
276
  duration: number;
277
- easing: import("@visactor/vchart").EasingType;
277
+ easing: any;
278
278
  };
279
279
  animationAppear: boolean | {
280
280
  type: string;
281
281
  oneByOne: boolean;
282
282
  duration: number;
283
- easing: import("@visactor/vchart").EasingType;
283
+ easing: any;
284
284
  options: {};
285
285
  channel?: undefined;
286
286
  } | {
@@ -292,7 +292,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
292
292
  opacity?: undefined;
293
293
  };
294
294
  duration: number;
295
- easing: import("@visactor/vchart").EasingType;
295
+ easing: any;
296
296
  type?: undefined;
297
297
  oneByOne?: undefined;
298
298
  options?: undefined;
@@ -305,14 +305,14 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
305
305
  x?: undefined;
306
306
  };
307
307
  duration: number;
308
- easing: import("@visactor/vchart").EasingType;
308
+ easing: any;
309
309
  type?: undefined;
310
310
  oneByOne?: undefined;
311
311
  options?: undefined;
312
312
  };
313
313
  animationUpdate: boolean | {
314
314
  duration: number;
315
- easing: import("@visactor/vchart").EasingType;
315
+ easing: any;
316
316
  };
317
317
  };
318
318
  generateValueLabel(spec: any): {
@@ -334,7 +334,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
334
334
  };
335
335
  };
336
336
  duration: number;
337
- easing: import("@visactor/vchart").EasingType;
337
+ easing: any;
338
338
  };
339
339
  animationExit: boolean | {
340
340
  type: string;
@@ -347,13 +347,13 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
347
347
  };
348
348
  };
349
349
  duration: number;
350
- easing: import("@visactor/vchart").EasingType;
350
+ easing: any;
351
351
  };
352
352
  animationAppear: boolean | {
353
353
  type: string;
354
354
  oneByOne: boolean;
355
355
  duration: number;
356
- easing: import("@visactor/vchart").EasingType;
356
+ easing: any;
357
357
  options: {};
358
358
  channel?: undefined;
359
359
  } | {
@@ -365,7 +365,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
365
365
  opacity?: undefined;
366
366
  };
367
367
  duration: number;
368
- easing: import("@visactor/vchart").EasingType;
368
+ easing: any;
369
369
  type?: undefined;
370
370
  oneByOne?: undefined;
371
371
  options?: undefined;
@@ -378,14 +378,14 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
378
378
  x?: undefined;
379
379
  };
380
380
  duration: number;
381
- easing: import("@visactor/vchart").EasingType;
381
+ easing: any;
382
382
  type?: undefined;
383
383
  oneByOne?: undefined;
384
384
  options?: undefined;
385
385
  };
386
386
  animationUpdate: boolean | {
387
387
  duration: number;
388
- easing: import("@visactor/vchart").EasingType;
388
+ easing: any;
389
389
  };
390
390
  };
391
391
  transformPaddingSpec(spec: any): void;
@@ -410,7 +410,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
410
410
  };
411
411
  };
412
412
  duration: number;
413
- easing: import("@visactor/vchart").EasingType;
413
+ easing: any;
414
414
  };
415
415
  getAnimationEnter(spec: IRankingListSpec): false | {
416
416
  type: string;
@@ -423,13 +423,13 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
423
423
  };
424
424
  };
425
425
  duration: number;
426
- easing: import("@visactor/vchart").EasingType;
426
+ easing: any;
427
427
  };
428
428
  getAnimationAppear(spec: IRankingListSpec, markType: 'rect' | 'text' | 'symbol' | 'barBack'): false | {
429
429
  type: string;
430
430
  oneByOne: boolean;
431
431
  duration: number;
432
- easing: import("@visactor/vchart").EasingType;
432
+ easing: any;
433
433
  options: {};
434
434
  channel?: undefined;
435
435
  } | {
@@ -441,7 +441,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
441
441
  opacity?: undefined;
442
442
  };
443
443
  duration: number;
444
- easing: import("@visactor/vchart").EasingType;
444
+ easing: any;
445
445
  type?: undefined;
446
446
  oneByOne?: undefined;
447
447
  options?: undefined;
@@ -454,13 +454,13 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
454
454
  x?: undefined;
455
455
  };
456
456
  duration: number;
457
- easing: import("@visactor/vchart").EasingType;
457
+ easing: any;
458
458
  type?: undefined;
459
459
  oneByOne?: undefined;
460
460
  options?: undefined;
461
461
  };
462
462
  getAnimationUpdate(spec: IRankingListSpec): false | {
463
463
  duration: number;
464
- easing: import("@visactor/vchart").EasingType;
464
+ easing: any;
465
465
  };
466
466
  }
@@ -1,4 +1,3 @@
1
- import type { Dict } from '@visactor/vchart';
2
1
  import type { BarLinkAttrs, BarLinkDatum } from './type';
3
2
  import type { IMarkGraphic, ISpec } from '@visactor/vchart';
4
3
  export declare function groupBarsByFields(elements: IMarkGraphic[], groupFields: string[]): Dict<IMarkGraphic[]>;
@@ -10,16 +10,16 @@ export declare function getBarRegressionLineConfig(config: Omit<BarRegressionLin
10
10
  data: (datum: any, ctx: any) => RegressionLineData[];
11
11
  line: {
12
12
  visible?: boolean;
13
- style?: import("@visactor/vchart").ILineGraphicAttribute;
13
+ style?: ILineGraphicAttribute;
14
14
  };
15
15
  confidenceInterval: {
16
16
  visible?: boolean;
17
- style?: import("@visactor/vchart").IAreaGraphicAttribute;
17
+ style?: IAreaGraphicAttribute;
18
18
  };
19
19
  label: {
20
20
  visible?: boolean;
21
21
  text: string;
22
- style?: import("@visactor/vchart").ITextGraphicAttribute;
22
+ style?: ITextGraphicAttribute;
23
23
  };
24
24
  };
25
25
  };
@@ -10,12 +10,12 @@ export declare function getHistogramRegressionLineConfig(type: 'kde' | 'ecdf', c
10
10
  data: (datum: any, ctx: any) => RegressionLineData[];
11
11
  line: {
12
12
  visible?: boolean;
13
- style?: import("@visactor/vchart").ILineGraphicAttribute;
13
+ style?: ILineGraphicAttribute;
14
14
  };
15
15
  label: {
16
16
  visible?: boolean;
17
17
  text: string;
18
- style?: import("@visactor/vchart").ITextGraphicAttribute;
18
+ style?: ITextGraphicAttribute;
19
19
  };
20
20
  };
21
21
  };
@@ -37,7 +37,7 @@ export declare class MapLabelComponent extends BaseComponent<IMapLabelSpec> {
37
37
  protected _updateMarkerLayoutAttribute(): void;
38
38
  protected _evaluateMarker(data: Datum, index: number): {
39
39
  pairInfo: IPairInfo;
40
- contentMarks: Partial<Record<import("./type").IMapLabelNodes, IGraphic<Partial<import("@visactor/vrender-core").IGraphicAttribute>>>>;
40
+ contentMarks: Partial<Record<import("./type").IMapLabelNodes, IGraphic>>;
41
41
  };
42
42
  protected _layoutMarkers(positionedRects: IRect[], contentMarks: MapLabelSceneNodeMap[]): void;
43
43
  protected _renderMarkers(): void;
@@ -9,16 +9,16 @@ export declare function getScatterRegressionLineConfig(type: 'linear' | 'logisit
9
9
  data: (datum: any, ctx: any) => RegressionLineData[];
10
10
  line: {
11
11
  visible?: boolean;
12
- style?: import("@visactor/vchart").ILineGraphicAttribute;
12
+ style?: ILineGraphicAttribute;
13
13
  };
14
14
  confidenceInterval: {
15
15
  visible?: boolean;
16
- style?: import("@visactor/vchart").IAreaGraphicAttribute;
16
+ style?: IAreaGraphicAttribute;
17
17
  };
18
18
  label: {
19
19
  visible?: boolean;
20
20
  text: string;
21
- style?: import("@visactor/vchart").ITextGraphicAttribute;
21
+ style?: ITextGraphicAttribute;
22
22
  };
23
23
  };
24
24
  };
@@ -14,16 +14,16 @@ export declare function getSeriesLabelConfig(position: 'start' | 'end' | 'both-e
14
14
  line: {
15
15
  visible?: boolean;
16
16
  autoVisible?: boolean;
17
- style?: import("@visactor/vchart").ILineGraphicAttribute;
17
+ style?: ILineGraphicAttribute;
18
18
  };
19
19
  label: {
20
20
  formatMethod?: (text: string, datum: any, context: any) => string;
21
- style?: import("@visactor/vchart").ITextGraphicAttribute;
21
+ style?: ITextGraphicAttribute;
22
22
  space: number;
23
23
  styleMap?: {
24
24
  [key: string]: {
25
25
  visible?: boolean;
26
- style?: import("@visactor/vchart").ITextGraphicAttribute;
26
+ style?: ITextGraphicAttribute;
27
27
  formatMethod?: (text: string, datum: any, context: any) => string;
28
28
  };
29
29
  };
@@ -1,7 +1,6 @@
1
1
  import type { IImageCloudSeriesSpec } from './interface';
2
2
  import { ImageCloudMarkNameEnum } from './constant';
3
3
  import type { IPoint } from '@visactor/vchart';
4
- import { createImage } from '@visactor/vchart';
5
4
  import type { Datum, IImageMark, IMark, IRectMark } from '@visactor/vchart';
6
5
  import { BaseSeries } from '@visactor/vchart';
7
6
  export declare class ImageCloudSeries<T extends IImageCloudSeriesSpec> extends BaseSeries<T> {
@@ -103,7 +102,7 @@ export declare class ImageCloudSeries<T extends IImageCloudSeriesSpec> extends B
103
102
  padding: number;
104
103
  };
105
104
  ratio: number;
106
- mask: string | import("@visactor/vchart").TextShapeMask | import("@visactor/vchart").GeometricMaskShape;
105
+ mask: any;
107
106
  maskConfig: {
108
107
  visible?: boolean;
109
108
  threshold?: number;
@@ -111,9 +110,9 @@ export declare class ImageCloudSeries<T extends IImageCloudSeriesSpec> extends B
111
110
  removeWhiteBorder?: boolean;
112
111
  style?: Partial<import("@visactor/vchart").IImageMarkSpec>;
113
112
  };
114
- layoutConfig: import("@visactor/vchart").LayoutConfigType;
113
+ layoutConfig: ImageCloudLayoutConfig;
115
114
  createCanvas: (params: import("@visactor/vrender-core").ICreateCanvasParams) => any;
116
- createImage: typeof createImage;
115
+ createImage: any;
117
116
  onUpdateMaskCanvas: (inputImage?: HTMLCanvasElement, maskImage?: HTMLCanvasElement) => void;
118
117
  onLayoutFinished: () => void;
119
118
  };
@@ -1,7 +1,7 @@
1
1
  import { type SVGParsedElement, type SVGParserResult } from '@visactor/vchart';
2
2
  import type { IPictogramSeriesSpec } from './interface';
3
3
  import { PictogramSeriesSpecTransformer } from './pictogram-transformer';
4
- import type { IMatrix, IPoint, IPointLike, GraphicEventType } from '@visactor/vchart';
4
+ import type { IPoint, IPointLike } from '@visactor/vchart';
5
5
  import { type IGroup } from '@visactor/vchart';
6
6
  import type { Datum, IGroupMark, IHoverSpec, IMark, ISelectSpec, ISeriesSeriesInfo, PanEventParam, ZoomEventParam } from '@visactor/vchart';
7
7
  import { GeoSeries, STATE_VALUE_ENUM } from '@visactor/vchart';
@@ -107,7 +107,7 @@ export declare class PictogramSeries<T extends IPictogramSeriesSpec = IPictogram
107
107
  private _initLabelMark;
108
108
  initLabelMarkStyle(): void;
109
109
  initMarkStyle(): void;
110
- protected _validElement(element: SVGParsedElement): string;
110
+ protected _validElement(element: SVGParsedElement): any;
111
111
  protected initTooltip(): void;
112
112
  dataToPosition(datum: Datum, global?: boolean): IPointLike;
113
113
  coordToPosition(point: IPoint): IPoint | undefined;
@@ -1,4 +1,4 @@
1
- import { DataView, type ISVGSourceOption } from '@visactor/vchart';
1
+ import { type ISVGSourceOption } from '@visactor/vchart';
2
2
  export declare const svgSourceMap: Map<string, DataView>;
3
3
  export declare function registerSVGSource(key: string, source: ISVGSourceOption): void;
4
4
  export declare function unregisterSVGSource(key: string): void;
@@ -73,4 +73,4 @@ export declare const graphicAttributeTransform: {
73
73
  stroke: any;
74
74
  };
75
75
  };
76
- export declare const pictogram: (data: DataView[]) => {};
76
+ export declare const pictogram: (data: DataView[]) => any;
@@ -43,7 +43,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
43
43
  };
44
44
  };
45
45
  duration: number;
46
- easing: import("@visactor/vchart").EasingType;
46
+ easing: any;
47
47
  };
48
48
  animationExit: boolean | {
49
49
  type: string;
@@ -56,13 +56,13 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
56
56
  };
57
57
  };
58
58
  duration: number;
59
- easing: import("@visactor/vchart").EasingType;
59
+ easing: any;
60
60
  };
61
61
  animationAppear: boolean | {
62
62
  type: string;
63
63
  oneByOne: boolean;
64
64
  duration: number;
65
- easing: import("@visactor/vchart").EasingType;
65
+ easing: any;
66
66
  options: {};
67
67
  channel?: undefined;
68
68
  } | {
@@ -74,7 +74,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
74
74
  opacity?: undefined;
75
75
  };
76
76
  duration: number;
77
- easing: import("@visactor/vchart").EasingType;
77
+ easing: any;
78
78
  type?: undefined;
79
79
  oneByOne?: undefined;
80
80
  options?: undefined;
@@ -87,14 +87,14 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
87
87
  x?: undefined;
88
88
  };
89
89
  duration: number;
90
- easing: import("@visactor/vchart").EasingType;
90
+ easing: any;
91
91
  type?: undefined;
92
92
  oneByOne?: undefined;
93
93
  options?: undefined;
94
94
  };
95
95
  animationUpdate: boolean | {
96
96
  duration: number;
97
- easing: import("@visactor/vchart").EasingType;
97
+ easing: any;
98
98
  };
99
99
  };
100
100
  generateDecorateHaloIcons(spec: any): any;
@@ -117,7 +117,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
117
117
  };
118
118
  };
119
119
  duration: number;
120
- easing: import("@visactor/vchart").EasingType;
120
+ easing: any;
121
121
  };
122
122
  animationExit: boolean | {
123
123
  type: string;
@@ -130,13 +130,13 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
130
130
  };
131
131
  };
132
132
  duration: number;
133
- easing: import("@visactor/vchart").EasingType;
133
+ easing: any;
134
134
  };
135
135
  animationAppear: boolean | {
136
136
  type: string;
137
137
  oneByOne: boolean;
138
138
  duration: number;
139
- easing: import("@visactor/vchart").EasingType;
139
+ easing: any;
140
140
  options: {};
141
141
  channel?: undefined;
142
142
  } | {
@@ -148,7 +148,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
148
148
  opacity?: undefined;
149
149
  };
150
150
  duration: number;
151
- easing: import("@visactor/vchart").EasingType;
151
+ easing: any;
152
152
  type?: undefined;
153
153
  oneByOne?: undefined;
154
154
  options?: undefined;
@@ -161,14 +161,14 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
161
161
  x?: undefined;
162
162
  };
163
163
  duration: number;
164
- easing: import("@visactor/vchart").EasingType;
164
+ easing: any;
165
165
  type?: undefined;
166
166
  oneByOne?: undefined;
167
167
  options?: undefined;
168
168
  };
169
169
  animationUpdate: boolean | {
170
170
  duration: number;
171
- easing: import("@visactor/vchart").EasingType;
171
+ easing: any;
172
172
  };
173
173
  };
174
174
  generateNameLabel(spec: any): {
@@ -189,7 +189,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
189
189
  };
190
190
  };
191
191
  duration: number;
192
- easing: import("@visactor/vchart").EasingType;
192
+ easing: any;
193
193
  };
194
194
  animationExit: boolean | {
195
195
  type: string;
@@ -202,13 +202,13 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
202
202
  };
203
203
  };
204
204
  duration: number;
205
- easing: import("@visactor/vchart").EasingType;
205
+ easing: any;
206
206
  };
207
207
  animationAppear: boolean | {
208
208
  type: string;
209
209
  oneByOne: boolean;
210
210
  duration: number;
211
- easing: import("@visactor/vchart").EasingType;
211
+ easing: any;
212
212
  options: {};
213
213
  channel?: undefined;
214
214
  } | {
@@ -220,7 +220,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
220
220
  opacity?: undefined;
221
221
  };
222
222
  duration: number;
223
- easing: import("@visactor/vchart").EasingType;
223
+ easing: any;
224
224
  type?: undefined;
225
225
  oneByOne?: undefined;
226
226
  options?: undefined;
@@ -233,14 +233,14 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
233
233
  x?: undefined;
234
234
  };
235
235
  duration: number;
236
- easing: import("@visactor/vchart").EasingType;
236
+ easing: any;
237
237
  type?: undefined;
238
238
  oneByOne?: undefined;
239
239
  options?: undefined;
240
240
  };
241
241
  animationUpdate: boolean | {
242
242
  duration: number;
243
- easing: import("@visactor/vchart").EasingType;
243
+ easing: any;
244
244
  };
245
245
  };
246
246
  generateOrderLabel(spec: any): {
@@ -261,7 +261,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
261
261
  };
262
262
  };
263
263
  duration: number;
264
- easing: import("@visactor/vchart").EasingType;
264
+ easing: any;
265
265
  };
266
266
  animationExit: boolean | {
267
267
  type: string;
@@ -274,13 +274,13 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
274
274
  };
275
275
  };
276
276
  duration: number;
277
- easing: import("@visactor/vchart").EasingType;
277
+ easing: any;
278
278
  };
279
279
  animationAppear: boolean | {
280
280
  type: string;
281
281
  oneByOne: boolean;
282
282
  duration: number;
283
- easing: import("@visactor/vchart").EasingType;
283
+ easing: any;
284
284
  options: {};
285
285
  channel?: undefined;
286
286
  } | {
@@ -292,7 +292,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
292
292
  opacity?: undefined;
293
293
  };
294
294
  duration: number;
295
- easing: import("@visactor/vchart").EasingType;
295
+ easing: any;
296
296
  type?: undefined;
297
297
  oneByOne?: undefined;
298
298
  options?: undefined;
@@ -305,14 +305,14 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
305
305
  x?: undefined;
306
306
  };
307
307
  duration: number;
308
- easing: import("@visactor/vchart").EasingType;
308
+ easing: any;
309
309
  type?: undefined;
310
310
  oneByOne?: undefined;
311
311
  options?: undefined;
312
312
  };
313
313
  animationUpdate: boolean | {
314
314
  duration: number;
315
- easing: import("@visactor/vchart").EasingType;
315
+ easing: any;
316
316
  };
317
317
  };
318
318
  generateValueLabel(spec: any): {
@@ -334,7 +334,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
334
334
  };
335
335
  };
336
336
  duration: number;
337
- easing: import("@visactor/vchart").EasingType;
337
+ easing: any;
338
338
  };
339
339
  animationExit: boolean | {
340
340
  type: string;
@@ -347,13 +347,13 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
347
347
  };
348
348
  };
349
349
  duration: number;
350
- easing: import("@visactor/vchart").EasingType;
350
+ easing: any;
351
351
  };
352
352
  animationAppear: boolean | {
353
353
  type: string;
354
354
  oneByOne: boolean;
355
355
  duration: number;
356
- easing: import("@visactor/vchart").EasingType;
356
+ easing: any;
357
357
  options: {};
358
358
  channel?: undefined;
359
359
  } | {
@@ -365,7 +365,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
365
365
  opacity?: undefined;
366
366
  };
367
367
  duration: number;
368
- easing: import("@visactor/vchart").EasingType;
368
+ easing: any;
369
369
  type?: undefined;
370
370
  oneByOne?: undefined;
371
371
  options?: undefined;
@@ -378,14 +378,14 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
378
378
  x?: undefined;
379
379
  };
380
380
  duration: number;
381
- easing: import("@visactor/vchart").EasingType;
381
+ easing: any;
382
382
  type?: undefined;
383
383
  oneByOne?: undefined;
384
384
  options?: undefined;
385
385
  };
386
386
  animationUpdate: boolean | {
387
387
  duration: number;
388
- easing: import("@visactor/vchart").EasingType;
388
+ easing: any;
389
389
  };
390
390
  };
391
391
  transformPaddingSpec(spec: any): void;
@@ -410,7 +410,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
410
410
  };
411
411
  };
412
412
  duration: number;
413
- easing: import("@visactor/vchart").EasingType;
413
+ easing: any;
414
414
  };
415
415
  getAnimationEnter(spec: IRankingListSpec): false | {
416
416
  type: string;
@@ -423,13 +423,13 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
423
423
  };
424
424
  };
425
425
  duration: number;
426
- easing: import("@visactor/vchart").EasingType;
426
+ easing: any;
427
427
  };
428
428
  getAnimationAppear(spec: IRankingListSpec, markType: 'rect' | 'text' | 'symbol' | 'barBack'): false | {
429
429
  type: string;
430
430
  oneByOne: boolean;
431
431
  duration: number;
432
- easing: import("@visactor/vchart").EasingType;
432
+ easing: any;
433
433
  options: {};
434
434
  channel?: undefined;
435
435
  } | {
@@ -441,7 +441,7 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
441
441
  opacity?: undefined;
442
442
  };
443
443
  duration: number;
444
- easing: import("@visactor/vchart").EasingType;
444
+ easing: any;
445
445
  type?: undefined;
446
446
  oneByOne?: undefined;
447
447
  options?: undefined;
@@ -454,13 +454,13 @@ export declare class RankingListChartSpecTransformer extends CommonChartSpecTran
454
454
  x?: undefined;
455
455
  };
456
456
  duration: number;
457
- easing: import("@visactor/vchart").EasingType;
457
+ easing: any;
458
458
  type?: undefined;
459
459
  oneByOne?: undefined;
460
460
  options?: undefined;
461
461
  };
462
462
  getAnimationUpdate(spec: IRankingListSpec): false | {
463
463
  duration: number;
464
- easing: import("@visactor/vchart").EasingType;
464
+ easing: any;
465
465
  };
466
466
  }
@@ -1,4 +1,3 @@
1
- import type { Dict } from '@visactor/vchart';
2
1
  import type { BarLinkAttrs, BarLinkDatum } from './type';
3
2
  import type { IMarkGraphic, ISpec } from '@visactor/vchart';
4
3
  export declare function groupBarsByFields(elements: IMarkGraphic[], groupFields: string[]): Dict<IMarkGraphic[]>;
@@ -10,16 +10,16 @@ export declare function getBarRegressionLineConfig(config: Omit<BarRegressionLin
10
10
  data: (datum: any, ctx: any) => RegressionLineData[];
11
11
  line: {
12
12
  visible?: boolean;
13
- style?: import("@visactor/vchart").ILineGraphicAttribute;
13
+ style?: ILineGraphicAttribute;
14
14
  };
15
15
  confidenceInterval: {
16
16
  visible?: boolean;
17
- style?: import("@visactor/vchart").IAreaGraphicAttribute;
17
+ style?: IAreaGraphicAttribute;
18
18
  };
19
19
  label: {
20
20
  visible?: boolean;
21
21
  text: string;
22
- style?: import("@visactor/vchart").ITextGraphicAttribute;
22
+ style?: ITextGraphicAttribute;
23
23
  };
24
24
  };
25
25
  };
@@ -10,12 +10,12 @@ export declare function getHistogramRegressionLineConfig(type: 'kde' | 'ecdf', c
10
10
  data: (datum: any, ctx: any) => RegressionLineData[];
11
11
  line: {
12
12
  visible?: boolean;
13
- style?: import("@visactor/vchart").ILineGraphicAttribute;
13
+ style?: ILineGraphicAttribute;
14
14
  };
15
15
  label: {
16
16
  visible?: boolean;
17
17
  text: string;
18
- style?: import("@visactor/vchart").ITextGraphicAttribute;
18
+ style?: ITextGraphicAttribute;
19
19
  };
20
20
  };
21
21
  };
@@ -37,7 +37,7 @@ export declare class MapLabelComponent extends BaseComponent<IMapLabelSpec> {
37
37
  protected _updateMarkerLayoutAttribute(): void;
38
38
  protected _evaluateMarker(data: Datum, index: number): {
39
39
  pairInfo: IPairInfo;
40
- contentMarks: Partial<Record<import("./type").IMapLabelNodes, IGraphic<Partial<import("@visactor/vrender-core").IGraphicAttribute>>>>;
40
+ contentMarks: Partial<Record<import("./type").IMapLabelNodes, IGraphic>>;
41
41
  };
42
42
  protected _layoutMarkers(positionedRects: IRect[], contentMarks: MapLabelSceneNodeMap[]): void;
43
43
  protected _renderMarkers(): void;
@@ -9,16 +9,16 @@ export declare function getScatterRegressionLineConfig(type: 'linear' | 'logisit
9
9
  data: (datum: any, ctx: any) => RegressionLineData[];
10
10
  line: {
11
11
  visible?: boolean;
12
- style?: import("@visactor/vchart").ILineGraphicAttribute;
12
+ style?: ILineGraphicAttribute;
13
13
  };
14
14
  confidenceInterval: {
15
15
  visible?: boolean;
16
- style?: import("@visactor/vchart").IAreaGraphicAttribute;
16
+ style?: IAreaGraphicAttribute;
17
17
  };
18
18
  label: {
19
19
  visible?: boolean;
20
20
  text: string;
21
- style?: import("@visactor/vchart").ITextGraphicAttribute;
21
+ style?: ITextGraphicAttribute;
22
22
  };
23
23
  };
24
24
  };
@@ -14,16 +14,16 @@ export declare function getSeriesLabelConfig(position: 'start' | 'end' | 'both-e
14
14
  line: {
15
15
  visible?: boolean;
16
16
  autoVisible?: boolean;
17
- style?: import("@visactor/vchart").ILineGraphicAttribute;
17
+ style?: ILineGraphicAttribute;
18
18
  };
19
19
  label: {
20
20
  formatMethod?: (text: string, datum: any, context: any) => string;
21
- style?: import("@visactor/vchart").ITextGraphicAttribute;
21
+ style?: ITextGraphicAttribute;
22
22
  space: number;
23
23
  styleMap?: {
24
24
  [key: string]: {
25
25
  visible?: boolean;
26
- style?: import("@visactor/vchart").ITextGraphicAttribute;
26
+ style?: ITextGraphicAttribute;
27
27
  formatMethod?: (text: string, datum: any, context: any) => string;
28
28
  };
29
29
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vchart-extension",
3
- "version": "2.0.7-alpha.8",
3
+ "version": "2.0.7",
4
4
  "description": "vchart extension package, including extension plugins and components",
5
5
  "sideEffects": false,
6
6
  "main": "cjs/index.js",
@@ -16,7 +16,7 @@
16
16
  "@visactor/vrender-kits": "~1.0.21",
17
17
  "@visactor/vrender-components": "~1.0.21",
18
18
  "@visactor/vrender-animate": "~1.0.21",
19
- "@visactor/vchart": "2.0.7-alpha.8",
19
+ "@visactor/vchart": "2.0.7",
20
20
  "@visactor/vutils": "~1.0.12",
21
21
  "@visactor/vdataset": "~1.0.12",
22
22
  "@visactor/vlayouts": "~1.0.12"