import { Observable, Subscription } from 'rxjs'; import { IGraphic } from './graphic'; import { IGraphicView } from './graphic.view'; import { OuterModelEventTarget } from '../event/model.event'; export declare abstract class DefaultGraphic implements IGraphic { $element: JQuery; protected _view: IGraphicView; protected _modelEventTarget: OuterModelEventTarget; /** * 一般用于初始化 新建Graphic的时候调用 * 如果有content的,则创建相应的content;负责配置面板的创建 * @param option */ abstract init(...params: Array): any; abstract accept(model: Observable): Subscription; /** * 更新全局样式 目前只有Echart图表使用的到 * @param {string} theme */ updateTheme(theme: string): void; resize(): void; activate(): void; deactivate(): void; destroy(): void; }