UNPKG

@adaptabletools/adaptable

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

22 lines (21 loc) 1.32 kB
import { ApiBase } from './ApiBase'; import { ToolPanelApi } from '../ToolPanelApi'; import { ToolPanelState, ToolPanelVisibilityMode } from '../../AdaptableState/ToolPanelState'; import { CustomToolPanel, ToolPanelButtonContext } from '../../AdaptableOptions/ToolPanelOptions'; import { AdaptableButton } from '../../AdaptableState/Common/AdaptableButton'; import { AdaptableModuleButtons, AdaptableToolPanel } from '../../AdaptableState/Common/Types'; export declare class ToolPanelApiImpl extends ApiBase implements ToolPanelApi { getToolPanelState(): ToolPanelState; showToolPanelPopup(): void; openAdapTableToolPanel(): void; closeAdapTableToolPanel(): void; getCustomToolPanels(): CustomToolPanel[]; getCustomToolPanelButtons(): AdaptableButton<ToolPanelButtonContext>[]; getCustomToolPanelByName(name: string): CustomToolPanel | undefined; setAdaptableToolPanelVisibilityMode(adaptableToolPanel: AdaptableToolPanel, visibilityMode: ToolPanelVisibilityMode): void; setCustomToolPanelVisibilityMode(customToolPanelName: string, visibilityMode: ToolPanelVisibilityMode): void; setModuleButtons(moduleButtons: AdaptableModuleButtons): void; getModuleButtons(): AdaptableModuleButtons; private setExpandedToolPanelVisibility; private setCollapsedToolPanelVisibility; }