@visactor/vchart-types 2.0.18 → 2.0.20-alpha.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.
@@ -32,6 +32,7 @@ export interface IMarkStateManager {
32
32
  addStateInfo: (stateInfo: IStateInfo) => void;
33
33
  changeStateInfo: (stateInfo: Partial<IStateInfo>) => void;
34
34
  clearStateInfo: (stateValues: StateValue[]) => void;
35
+ clearAllStateInfo: () => void;
35
36
  checkOneState: (renderNode: IMarkGraphic, datum: Datum[], state: IStateInfo) => 'in' | 'out' | 'skip';
36
37
  checkState: (renderNode: IMarkGraphic, datum: Datum[]) => StateValue[];
37
38
  getStateMap: () => StateValueMap;
@@ -14,6 +14,7 @@ export declare class MarkStateManager extends StateManager implements IMarkState
14
14
  private _clearStateBeforeSet;
15
15
  changeStateInfo(stateInfo: Partial<IStateInfo>): void;
16
16
  clearStateInfo(stateValues: StateValue[]): void;
17
+ clearAllStateInfo(): void;
17
18
  protected _isMultiMark(): boolean;
18
19
  checkOneState(renderNode: IMarkGraphic, datum: Datum[], state: IStateInfo): 'in' | 'out' | 'skip';
19
20
  checkState(renderNode: IMarkGraphic, datum: Datum[]): StateValue[];
@@ -3,5 +3,6 @@ import type { CirclePackingOptions } from '@visactor/vlayouts';
3
3
  export interface ICirclePackingOpt extends CirclePackingOptions {
4
4
  width: number;
5
5
  height: number;
6
+ valueField?: string;
6
7
  }
7
8
  export declare const circlePackingLayout: (data: Array<Datum>, op: () => ICirclePackingOpt) => Datum[];
@@ -188,4 +188,5 @@ export declare class BaseMark<T extends ICommonSpec> extends GrammarItem impleme
188
188
  hasAnimationByState(state: AnimationStateValues): boolean;
189
189
  hasAnimation(): boolean;
190
190
  runAnimation(): void;
191
+ clearBeforeReInit(): void;
191
192
  }
@@ -99,6 +99,7 @@ export interface IMarkRaw<T extends ICommonSpec> extends ICompilableMark {
99
99
  needClear?: boolean;
100
100
  disableAnimationByState: (state: string | string[]) => void;
101
101
  enableAnimationByState: (state: string | string[]) => void;
102
+ clearBeforeReInit: () => void;
102
103
  }
103
104
  export type IMark = IMarkRaw<ICommonSpec>;
104
105
  export interface ICompileMarkConfig extends IMarkConfig {