@easyquery/ui
Version:
EasyQuery.JS Community UI widgets
31 lines (30 loc) • 932 B
TypeScript
import { Widget, EqContext, Query } from '@easyquery/core';
/**
* The widget responsed for rendering the name of the current query.
*/
export declare class AggregationBar extends Widget {
private dialogLink;
private linkClickCallback;
private queryEventCallbackId;
private customQuery?;
/**
* The default constructor.
* @param slot The HTML element where our widget should be placed.
* @param customQuery The custom query
*/
constructor(slot: HTMLElement, customQuery?: Query);
init(context: EqContext, options: any): void;
protected get cssPrefix(): string;
getWidgetType(): string;
/**
* Refresh widget implementation
*/
protected refreshCore(): void;
protected getLinkText(): string;
private render;
private clear;
private attachQueryObserver;
private detachQueryObserver;
protected destroyCore(): void;
getQuery(): Query;
}