UNPKG

@visactor/vchart

Version:

charts lib based @visactor/VGrammar

32 lines (31 loc) 1.41 kB
import type { ICommonSpec } from '../typings'; import { BaseMark } from './base/base-mark'; import type { IComponentMark, IMarkOption, IMarkStyle } from './interface'; import { MarkTypeEnum } from './interface/type'; import type { IGraphic, IGroupGraphicAttribute } from '@visactor/vrender-core'; export declare class ComponentMark extends BaseMark<ICommonSpec> implements IComponentMark { static readonly type = MarkTypeEnum.component; type: string; private _componentType; private _component; private _exitingComponent?; private _exitingProduct?; private _mode; constructor(name: string, option: IMarkOption); protected _getDefaultStyle(): IMarkStyle<ICommonSpec>; getComponent(): IGraphic<Partial<import("@visactor/vrender-core").IGraphicAttribute>>; private _clearExitingComponent; private _removeProductAfterExit; private _registerExitingComponent; private _unregisterExitingComponent; private _releaseComponentWithExitAnimation; clearComponent(): void; releaseWithExitAnimation(): boolean; forceReleaseExitAnimation(): void; protected _getAttrsFromConfig(attrs?: IGroupGraphicAttribute): IGroupGraphicAttribute; protected _attributesTransform: (attrs: any) => any; setAttributeTransform(t: (attrs: any) => any): void; renderInner(): void; release(): void; } export declare const registerComponentMark: () => void;