import { WidgetBase, HTMLContentComponent, HTMLTitleComponent } from '@shujujiang/core'; import { IDataSet, IFilter, IFilterGroup } from '@shujujiang/core/widget/dataset'; import { IDataSetConditionCalculator } from '@shujujiang/core/widget/threshold'; import { IDestroyHook, IHTMLLayoutMeasure, IResizeHook } from '@shujujiang/core/widget/widget'; import { IWidgetModel } from '@shujujiang/core/widget/widgetmodel'; import * as echarts from 'echarts'; import { IEmitter } from 'neurons-emitter'; export declare class ECWidgetBase extends WidgetBase implements IResizeHook, IDestroyHook { protected _title: HTMLTitleComponent; protected _content: HTMLContentComponent; protected _option: IWidgetModel; protected _dataset: IDataSet; protected _chartOption: any; protected _inited: boolean; protected _measure: IHTMLLayoutMeasure; protected _previousMeasure: IHTMLLayoutMeasure; onDestroy(): void; onResize(): void; render(option: IWidgetModel): void | PromiseLike; protected composeOption(option: IWidgetModel): any | PromiseLike; protected setChartOption(chartOption: any): void; protected onRender(chartOption: any): void | PromiseLike; protected _createChildren(): void; protected _updateElements(): void; protected _updateLayout(): void; protected _measureLayout(): void; protected _getTitleText(chartOption: any): any; } export declare class ECWidget extends ECWidgetBase { protected _nativeContainer: HTMLElement; protected _nativeChart: echarts.ECharts; protected _selectedFilter: IFilter | IFilterGroup; private _firstRendered; pointClick: IEmitter; pointDbClick: IEmitter; pointHover: IEmitter; pointHovering: IEmitter; pointContextMenu: IEmitter; container(container: HTMLElement): void; selectPoints(filter: IFilter | IFilterGroup): void; onResize(): void; onDestroy(): void; protected _createChildren(): void; protected resetChart(): void; protected disposeChart(): void; protected _updateLayout(): void; protected assembleSelection(chartOption: any, filter: IFilter | IFilterGroup): any; protected invokeSelectPoints(calculator: IDataSetConditionCalculator): boolean; protected invokeClearSelectedPoints(): void; protected setChartOption(chartOption: any): void; protected eachSeries(fn: (series: any, seriesIndex: any) => void): void; protected eachDataPoint(fn: (point: any, pointIndex: any, series: any, seriesIndex: any) => void): void; protected isEmptyDataset(dataset: IDataSet): boolean; protected composeOption(option: IWidgetModel): any | PromiseLike; protected onPointClicked(event: any): void; protected _wrapPointEvent(event: any): { data: { columns: import("../../../../../../Documents/Gitee/shujujiang/widgets/node_modules/@shujujiang/core/widget/dataset").IField[]; values: (string | number)[][]; }; event: any; }; protected _getIndexKeyFromPointEvent(event: any): number | string; }