/// export interface PanelOptions { id?: string; title?: string; titleToolTip?: string; iconCls?: string; width?: number | string; height?: number | string; left?: number; top?: number; cls?: string; headerCls?: string; bodyCls?: string; style?: {}; fit?: boolean; border?: boolean; doSize?: boolean; noheader?: boolean; content?: string; collapsible?: boolean; minimizable?: boolean; maximizable?: boolean; closable?: boolean; tools?: any[] | string; header?: string; footer?: string; openAnimation?: string; openDuration?: number; closeAnimation?: string; closeDuration?: number; collapsed?: boolean; minimized?: boolean; maximized?: boolean; closed?: boolean; href?: string; cache?: boolean; loadingMessage?: string; extractor?: (data: any) => void; method?: string; queryParams?: Object; loader?: Function; onBeforeLoad?: (param: any) => boolean | void; onLoad?: () => void; onLoadError?: () => void; onBeforeOpen?: () => boolean | void; onOpen?: () => void; onBeforeClose?: () => boolean | void; onClose?: () => void; onBeforeDestroy?: () => boolean | void; onDestroy?: () => void; onBeforeCollapse?: () => boolean | void; onCollapse?: () => void; onBeforeExpand?: () => boolean | void; onExpand?: () => void; onResize?: (width: number, height: number) => void; onMove?: (left: number, top: number) => void; onMaximize?: () => void; onRestore?: () => void; onMinimize?: () => void; } export declare class Panel { selector: string | JQuery | HTMLElement; protected func: any; $panel: JQuery; constructor(selector: string | JQuery | HTMLElement, options?: PanelOptions); /** * Return options property. */ options(): PanelOptions; /** * Return the outer panel object. */ panel(): JQuery; /** * Return the panel header object. */ header(): any; /** * Return the panel footer object. */ footer(): any; /** * Return the panel body object. */ body(): any; /** * Set the title text of header. */ setTitle(title: string): this; /** * When forceClose parameter set to true, the panel is closed bypass the onBeforeClose callback. **/ close(forceClose?: boolean): this; /** * When forceOpen parameter set to true, the panel is opened bypass the onBeforeOpen callback. */ open(forceOpen?: boolean): this; /** * When forceDestroy parameter set to true, the panel is destroyed bypass the onBeforeDestroy callback. */ destroy(forceDestroy?: boolean): void; /** * Clear the panel content. */ clear(): this; /** * Refresh the panel to load remote data. If the 'href' parameter is assigned, it will override the old 'href' property. */ refresh(href?: string): this; /** * Set panel size and do layout. */ resize(param?: { width?: number; height?: number; left?: number; top?: number; }): this; /** * Set the sizes of child components within the panel. */ doLayout(): this; /** * Move the panel to a new position. */ move(param: { left?: number; top?: number; }): this; /** * Fits the panel winthin its container. */ maximize(): this; /** * Minimizing the panel. */ minimize(): this; /** * Restores the maximized panel back to its original size and position. */ restore(): this; /** * Collapses the panel body. The 'animate' parameter value indicates if to use animation effect. */ collapse(animate?: boolean): this; /** * Expand the panel body. The 'animate' parameter value indicates if to use animation effect. */ expand(animate?: boolean): this; /*********Custom Functions************/ setupTitle(options: PanelOptions): void; }