@visactor/vchart-types 1.13.13-alpha.2 → 1.13.13
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/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/types/component/axis/cartesian/band-axis.d.ts +8 -0
- package/types/component/axis/mixin/band-axis-mixin.d.ts +2 -0
- package/types/core/index.d.ts +0 -1
- package/types/series/dot/dot.d.ts +1 -1
- package/types/series/link/link.d.ts +1 -1
- package/types/series/sankey/interface.d.ts +0 -2
- package/types/series/sankey/sankey.d.ts +6 -7
|
@@ -37,5 +37,13 @@ export declare class CartesianBandAxis<T extends ICartesianBandAxisSpec = ICarte
|
|
|
37
37
|
maxBandSize: number;
|
|
38
38
|
minBandSize: number;
|
|
39
39
|
};
|
|
40
|
+
_compareSpec(spec: T, prevSpec: T): {
|
|
41
|
+
change: boolean;
|
|
42
|
+
reMake: boolean;
|
|
43
|
+
reRender: boolean;
|
|
44
|
+
reSize: boolean;
|
|
45
|
+
reCompile: boolean;
|
|
46
|
+
};
|
|
47
|
+
reInit(spec?: T): void;
|
|
40
48
|
}
|
|
41
49
|
export declare const registerCartesianBandAxis: () => void;
|
|
@@ -32,10 +32,12 @@ export interface BandAxisMixin {
|
|
|
32
32
|
_tickTransformOption: () => any;
|
|
33
33
|
_forceLayout: () => void;
|
|
34
34
|
_getNormalizedValue: (values: any[], length: number) => number;
|
|
35
|
+
registerTicksTransform: () => string;
|
|
35
36
|
}
|
|
36
37
|
export declare class BandAxisMixin {
|
|
37
38
|
private _tickDataMap;
|
|
38
39
|
protected _initData(): void;
|
|
40
|
+
protected _updateData(): void;
|
|
39
41
|
protected _rawDomainIndex: {
|
|
40
42
|
[key: string | number | symbol]: number;
|
|
41
43
|
}[];
|
package/types/core/index.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ export type { IRegion } from '../region/interface';
|
|
|
8
8
|
export * from '../typings/spec/common';
|
|
9
9
|
export * from '../event/interface';
|
|
10
10
|
export * from '../theme/interface';
|
|
11
|
-
export * from '../compile/mark/interface';
|
|
12
11
|
export * from './interface';
|
|
13
12
|
export * from '../constant/base';
|
|
14
13
|
export * from '../constant/data';
|
|
@@ -63,7 +63,7 @@ export declare class DotSeries<T extends IDotSeriesSpec = IDotSeriesSpec> extend
|
|
|
63
63
|
protected initTooltip(): void;
|
|
64
64
|
onEvaluateEnd(ctx: IModelEvaluateOption): void;
|
|
65
65
|
protected onMarkTreePositionUpdate(marks: IMark[]): void;
|
|
66
|
-
getDotData(): import("
|
|
66
|
+
getDotData(): import("../../compile/mark").IMarkData;
|
|
67
67
|
protected _getDataIdKey(): any;
|
|
68
68
|
getStackValueField(): string;
|
|
69
69
|
getActiveMarks(): IMark[];
|
|
@@ -47,7 +47,7 @@ export declare class LinkSeries<T extends ILinkSeriesSpec = ILinkSeriesSpec> ext
|
|
|
47
47
|
initInteraction(): void;
|
|
48
48
|
protected initTooltip(): void;
|
|
49
49
|
protected onMarkTreePositionUpdate(marks: IMark[]): void;
|
|
50
|
-
getDotInfoData(): import("
|
|
50
|
+
getDotInfoData(): import("../../compile/mark").IMarkData;
|
|
51
51
|
getActiveMarks(): IMark[];
|
|
52
52
|
}
|
|
53
53
|
export declare const registerLinkSeries: () => void;
|
|
@@ -48,8 +48,6 @@ export interface ISankeySeriesSpec extends Omit<ISeriesSpec, 'data'>, IAnimation
|
|
|
48
48
|
enable: boolean;
|
|
49
49
|
trigger?: 'click' | 'hover';
|
|
50
50
|
effect: 'self' | 'adjacency' | 'related';
|
|
51
|
-
highlightState?: string;
|
|
52
|
-
blurState?: string;
|
|
53
51
|
};
|
|
54
52
|
[SeriesMarkNameEnum.label]?: ISankeyLabelSpec | ISankeyLabelSpec[];
|
|
55
53
|
overflow?: 'scroll' | 'hidden' | 'scroll-x' | 'scroll-y';
|
|
@@ -50,16 +50,15 @@ export declare class SankeySeries<T extends ISankeySeriesSpec = ISankeySeriesSpe
|
|
|
50
50
|
private _createText;
|
|
51
51
|
initAnimation(): void;
|
|
52
52
|
protected initEvent(): void;
|
|
53
|
-
protected _initEmphasisEvent(): void;
|
|
54
53
|
private nodesSeriesDataUpdate;
|
|
55
54
|
private linksSeriesDataUpdate;
|
|
56
55
|
protected _handleEmphasisElement: (params: ExtendEventParam) => void;
|
|
57
|
-
protected _handleClearEmpty: (
|
|
58
|
-
protected _handleNodeAdjacencyClick: (element: IElement
|
|
59
|
-
protected _handleLinkAdjacencyClick: (element: IGlyphElement
|
|
60
|
-
protected _handleNodeRelatedClick: (element: IElement
|
|
61
|
-
protected _handleLinkRelatedClick: (element: IGlyphElement
|
|
62
|
-
protected _highLightElements(vGrammarElements: IVgrammarMark['elements'], highlightNodes: string[]
|
|
56
|
+
protected _handleClearEmpty: () => void;
|
|
57
|
+
protected _handleNodeAdjacencyClick: (element: IElement) => void;
|
|
58
|
+
protected _handleLinkAdjacencyClick: (element: IGlyphElement) => void;
|
|
59
|
+
protected _handleNodeRelatedClick: (element: IElement) => void;
|
|
60
|
+
protected _handleLinkRelatedClick: (element: IGlyphElement) => void;
|
|
61
|
+
protected _highLightElements(vGrammarElements: IVgrammarMark['elements'], highlightNodes: string[]): void;
|
|
63
62
|
protected initTooltip(): void;
|
|
64
63
|
_setNodeOrdinalColorScale(): void;
|
|
65
64
|
getNodeList(): any;
|