import { LitElement, nothing } from 'lit'; import { type StateController } from '../controllers/state.js'; import type { ActiveNode, ColumnConfiguration, Keys } from '../internal/types.js'; import ApexGridCell from './cell.js'; /** * Component representing the DOM row in the Apex grid. */ export default class ApexGridRow extends LitElement { #private; static get tagName(): "apex-grid-row"; static styles: import("lit").CSSResult; static register(): void; protected _cells: NodeListOf>; data: T; columns: Array>; /** Cumulative pin offsets (px) keyed by column key. */ pinOffsets: Map; get cells(): ApexGridCell[]; state: StateController; activeNode: ActiveNode; index: number; /** Reflects current selection state so SCSS can highlight the row. */ selected: boolean; /** Reflects current expansion state so SCSS can rotate the chevron. */ expanded: boolean; /** The column key currently being edited in this row, or `null`. */ editingKey: Keys | null; /** * Reactive token from {@link StateController.decorationVersion}, forwarded to * each cell so a decoration-only change re-renders the row's cells. Stays `0` * for the community grid. */ decorationVersion: number; connectedCallback(): void; /** * The number of "chrome" rows (header + filter) above the body. Used to * derive `aria-rowindex` from {@link index}. Set by the parent grid. */ ariaRowOffset: number; protected willUpdate(): void; protected renderExpansionToggle(colindex: number): import("lit-html").TemplateResult<1> | typeof nothing; protected renderDetailPanel(): import("lit-html").TemplateResult<1> | typeof nothing; protected renderSelectionCell(colindex: number): import("lit-html").TemplateResult<1> | typeof nothing; protected render(): import("lit-html").TemplateResult<1> | typeof nothing; } declare global { interface HTMLElementTagNameMap { [ApexGridRow.tagName]: ApexGridRow; } }