@visactor/vchart-types 1.13.15 → 1.13.16

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.
@@ -8,6 +8,7 @@ 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';
11
12
  export * from './interface';
12
13
  export * from '../constant/base';
13
14
  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("../../compile/mark").IMarkData;
66
+ getDotData(): import("../..").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("../../compile/mark").IMarkData;
50
+ getDotInfoData(): import("../..").IMarkData;
51
51
  getActiveMarks(): IMark[];
52
52
  }
53
53
  export declare const registerLinkSeries: () => void;
@@ -48,6 +48,8 @@ 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;
51
53
  };
52
54
  [SeriesMarkNameEnum.label]?: ISankeyLabelSpec | ISankeyLabelSpec[];
53
55
  overflow?: 'scroll' | 'hidden' | 'scroll-x' | 'scroll-y';
@@ -50,15 +50,16 @@ 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;
53
54
  private nodesSeriesDataUpdate;
54
55
  private linksSeriesDataUpdate;
55
56
  protected _handleEmphasisElement: (params: ExtendEventParam) => void;
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;
57
+ protected _handleClearEmpty: (highlightState: string, blurState: string) => void;
58
+ protected _handleNodeAdjacencyClick: (element: IElement, highlightState: string, blurState: string) => void;
59
+ protected _handleLinkAdjacencyClick: (element: IGlyphElement, highlightState: string, blurState: string) => void;
60
+ protected _handleNodeRelatedClick: (element: IElement, highlightState: string, blurState: string) => void;
61
+ protected _handleLinkRelatedClick: (element: IGlyphElement, highlightState: string, blurState: string) => void;
62
+ protected _highLightElements(vGrammarElements: IVgrammarMark['elements'], highlightNodes: string[], highlightState: string, blurState: string): void;
62
63
  protected initTooltip(): void;
63
64
  _setNodeOrdinalColorScale(): void;
64
65
  getNodeList(): any;