/** @packageDocumentation * @module Base */ import type { PanelSide } from "../widget-panels/PanelTypes.js"; import type { XAndY } from "./internal/NineZoneStateHelpers.js"; import type { PanelWidgetRestoreState } from "./WidgetRestoreState.js"; import type { SizeProps } from "../../utils/SizeProps.js"; /** `WidgetDef` is equivalent structure in `appui-react`. * @internal */ export interface TabState { readonly id: string; readonly label: string; readonly preferredFloatingWidgetSize?: SizeProps; readonly preferredPanelWidgetSize?: "fit-content"; readonly allowedPanelTargets?: ReadonlyArray; readonly canPopout?: boolean; readonly userSized?: boolean; readonly isFloatingWidgetResizable?: boolean; readonly hideWithUiWhenFloating?: boolean; readonly unloaded?: boolean; } /** @internal */ export interface TabsState { readonly [id: string]: TabState; } /** @internal */ export interface DraggedTabState { readonly tabId: TabState["id"]; readonly position: XAndY; readonly home: PanelWidgetRestoreState; readonly active: boolean; } //# sourceMappingURL=TabState.d.ts.map