import { LitElement } from 'lit'; import type { Constructor } from '../../../common/mixins/constructor.js'; import type { IgcDragResizeEventArguments } from '../../drag-drop/drag.service.js'; import { type IgcDockManagerPoint } from '../dockmanager.interfaces.js'; export interface IgcFloatingPaneEventMap { wndResizeStart: CustomEvent; wndResizeMove: CustomEvent; wndResizeEnd: CustomEvent; } declare const IgcFloatingPaneComponent_base: Constructor> & Constructor; /** * @hidden * Represents a floating pane inside the Dock Manager layout. * This pane can be freely positioned and resized and optionally maximized. * * @element igc-floating-pane * * @fires wndResizeStart - Emitted when a resize interaction begins. * @fires wndResizeMove - Emitted during the pane resize movement. * @fires wndResizeEnd - Emitted when the resize interaction ends. * * @slot header - Renders the floating pane header content. * @slot - Renders the main content of the floating pane. * * @csspart floating-window - The root floating pane container. */ export default class IgcFloatingPaneComponent extends IgcFloatingPaneComponent_base { static readonly tagName = "igc-floating-pane"; static styles: import("lit").CSSResult[]; static register(): void; private _floatingLocation; private _floatingHeight; private _floatingWidth; private _floatingMinHeight; private _floatingMinWidth; private _maximized; /** * Indicates whether the floating pane can be resized. * * @default true */ allowResize: boolean; /** * The current location of the floating pane. * Defaults to top-left corner position. */ set floatingLocation(value: IgcDockManagerPoint); get floatingLocation(): IgcDockManagerPoint; /** * The current width of the floating pane. * * @default 100 */ set floatingWidth(value: number); get floatingWidth(): number; /** * The current height of the floating pane. * * @default 100 */ set floatingHeight(value: number); get floatingHeight(): number; /** * Indicates whether the pane has a header section. * * @default false */ hasHeader: boolean; /** * The minimum height constraint for the floating pane. * * @default 100 */ set floatingMinHeight(value: number); get floatingMinHeight(): number; /** * The minimum width constraint for the floating pane. * * @default 100 */ set floatingMinWidth(value: number); get floatingMinWidth(): number; /** * A unique identifier for the floating pane. */ floatingId: string; /** * Indicates whether the floating pane is currently maximized. * * @default false */ set maximized(value: boolean); get maximized(): boolean; connectedCallback(): void; private get _dynamicStyles(); private _applyDynamicStyles; private _handleResizeStart; private _handleResizeMove; private _handleResizeEnd; protected render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'igc-floating-pane': IgcFloatingPaneComponent; } } export {};