| 123456789101112131415161718192021222324252627 |
- import { IToolPanelComp } from "../interfaces/iToolPanel";
- export interface ToolPanelDef {
- id: string;
- labelDefault: string;
- labelKey: string;
- iconKey: string;
- toolPanel?: {
- new (): IToolPanelComp;
- } | string;
- toolPanelFramework?: any;
- toolPanelParams?: any;
- }
- export interface SideBarDef {
- toolPanels?: (ToolPanelDef | string)[];
- defaultToolPanel?: string;
- hiddenByDefault?: boolean;
- position?: 'left' | 'right';
- }
- export declare class SideBarDefParser {
- static readonly DEFAULT_COLUMN_COMP: ToolPanelDef;
- static readonly DEFAULT_FILTER_COMP: ToolPanelDef;
- static readonly DEFAULT_BY_KEY: {
- [p: string]: ToolPanelDef;
- };
- static parse(toParse: SideBarDef | string | string[] | boolean): SideBarDef;
- static parseComponents(from: (ToolPanelDef | string)[]): ToolPanelDef[];
- }
|