@datafinder/embed-sdk
Version:
Embed SDK for DataFinder
18 lines (17 loc) • 886 B
TypeScript
import { EmbedEventAnalysisOptions } from '../../types/event-analysis';
import { BaseAnalysisController, IComlinkBaseControllerAction } from '../base-analysis';
import * as Comlink from 'comlink';
import { DSL } from '../../types/dsl';
interface IComlinkControllerAction extends IComlinkBaseControllerAction {
getDsl: () => Promise<DSL.SingleContentDsl<DSL.ContentQueriesItem>>;
}
export declare class EventAnalysisController extends BaseAnalysisController {
protected state: EmbedEventAnalysisOptions;
/** 页面交互控制器 */
protected comlinkController: Comlink.Remote<IComlinkControllerAction> | undefined;
protected eventTrace: () => void;
constructor(props: EmbedEventAnalysisOptions);
/** 获取查询dsl,包含时间、事件 */
getDsl: () => Promise<DSL.SingleContentDsl<DSL.ContentQueriesItem>> | undefined;
}
export {};