import { LitElement } from 'lit'; import { DragHandle } from '@nvidia-elements/core/drag-handle'; import { IconButton } from '@nvidia-elements/core/icon-button'; import type { DashboardSpanConstraints } from '../dashboard.types.js'; interface DashboardPanelPresentation { readonly placed: boolean; readonly movable: boolean; readonly resizable: boolean; readonly mode?: 'move' | 'resize'; readonly carried?: boolean; readonly lifted?: boolean; readonly fullscreen?: 'selected' | 'excluded'; readonly fullscreenControl?: 'enter' | 'exit' | 'unavailable'; readonly labels: Readonly>; } /** * @element nve-dashboard-panel * @description Hosts application content on the dashboard grid. A durable ID identifies the panel in saved layouts, and a required header supplies its title. * @documentation https://nvidia.github.io/elements/docs/elements/dashboard/ * @since 2.24.0 * @stable false * @entrypoint \@nvidia-elements/core/dashboard * @command --enter-fullscreen - Present this panel in native fullscreen. * @command --exit-fullscreen - Exit native fullscreen. * @command --toggle-fullscreen - Toggle native fullscreen for this panel. * @command --place - Apply the invoking control's integer grid placement without pointer target snapping. Anchored span changes require resizing; other position changes require movement. * @command --move-left - Move left through the same contact-aware movement step as a movement-handle arrow key. The containing dashboard applies its capabilities and layout policy. * @command --move-right - Move right through the same contact-aware movement step as a movement-handle arrow key. The containing dashboard applies its capabilities and layout policy. * @command --move-up - Move up through the same contact-aware movement step as a movement-handle arrow key. The containing dashboard applies its capabilities and layout policy. * @command --move-down - Move down through the same contact-aware movement step as a movement-handle arrow key. The containing dashboard applies its capabilities and layout policy. * @command --move-to-start - Place at the growth-axis start, using available space before making room. Keep the bounded-axis coordinate unless placement supplies another. Uses the same operation as Home on the movement grip. * @command --increase-width - Increase width by one cell, subject to panel constraints and the containing dashboard capabilities. * @command --decrease-width - Decrease width by one cell, subject to panel constraints and the containing dashboard capabilities. * @command --increase-height - Increase height by one cell, subject to panel constraints and the containing dashboard capabilities. * @command --decrease-height - Decrease height by one cell, subject to panel constraints and the containing dashboard capabilities. * @slot - Application content in the scrolling body. Content, data, and native hidden state remain application owned. * @slot header - Required panel header with a title and optional application controls. * @slot footer - Optional status and actions outside the body. * @cssprop --background * @cssprop --border * @cssprop --border-radius * @cssprop --control-width - Width shared by the move and resize controls. Defaults to 36px. * @cssprop --control-height - Height shared by the move and resize controls. Defaults to 48px. * @cssprop --resize-target-size - Extra pointer resize reach on each side of the panel edge. Defaults to 3px; outward reach stops halfway across the cell gap. Configure on the panel. Inward reach covers application content at the edge, including on hybrid touch devices. * @cssprop --box-shadow * @csspart drag-handle - Movement control. * @csspart resize-button - Resize control. * @csspart fullscreen-button - Panel fullscreen control. */ export declare class DashboardPanel extends LitElement { #private; static styles: import("lit").CSSResult[]; static readonly metadata: { tag: string; version: string; parents: string[]; children: string[]; }; static elementDefinitions: { [DragHandle.metadata.tag]: typeof DragHandle; [IconButton.metadata.tag]: typeof IconButton; }; /** Smallest width in columns. */ minColumnSpan: number; /** Smallest height in rows. */ minRowSpan: number; /** Largest width in columns. */ maxColumnSpan: number; /** Largest height in rows. */ maxRowSpan: number; /** Disables direct movement. Collision displacement remains available. */ moveDisabled: boolean; /** Disables direct resizing. */ resizeDisabled: boolean; private presentation?; /** @internal */ _internals: ElementInternals; connectedCallback(): void; disconnectedCallback(): void; /** @internal */ _getSpanConstraints(): DashboardSpanConstraints; /** @internal */ _configure(presentation: DashboardPanelPresentation): void; /** @internal */ _getLabel(): string; render(): import("lit-html").TemplateResult<1>; } export {};