import { nothing, PropertyValueMap } from "lit"; import { FCheckbox, FIconButton, FRadio, FRoot } from "@nonfx/flow-core"; import { FTableSelectable } from "../f-table/f-table"; import { FTrowChevronPosition } from "../f-trow/f-trow"; export type FTcellAction = { icon: string; id: string; tooltip?: string; disabled?: boolean; onClick?: (event: PointerEvent, element?: FIconButton) => void; onMouseOver?: (event: MouseEvent, element?: FIconButton) => void; onMouseLeave?: (event: MouseEvent, element?: FIconButton) => void; }; export type FTcellActions = FTcellAction[]; export type FTcellAlign = "top-left" | "top-center" | "top-right" | "middle-left" | "middle-center" | "middle-right" | "bottom-left" | "bottom-center" | "bottom-right"; export declare class FTcell extends FRoot { /** * css loaded from scss file */ static styles: import("lit").CSSResult[]; /** * @attribute comments baout title */ actions?: FTcellActions; selected?: boolean | undefined; width?: string; align?: FTcellAlign; selectable?: FTableSelectable; isDisabled: boolean; expandIcon: boolean; expandIconPosition: FTrowChevronPosition; checkbox?: FCheckbox; radio?: FRadio; chevron?: FIconButton; renderActions(): import("lit").TemplateResult<1> | typeof nothing; protected willUpdate(changedProperties: PropertyValueMap | Map): void; render(): import("lit").TemplateResult<1>; setSelection(value?: boolean, isDisabled?: boolean): void; handleSelection(event: CustomEvent): void; toggleDetails(): void; protected updated(changedProperties: PropertyValueMap | Map): void; toggleColumnSelection(): void; toggleColumnHighlight(type: "add" | "remove"): void; } /** * Required for typescript */ declare global { export interface HTMLElementTagNameMap { "f-tcell": FTcell; } }