import '@oicl/openbridge-webcomponents/dist/components/tab-row/tab-row.js'; import type { TabData } from '@oicl/openbridge-webcomponents/dist/components/tab-row/tab-row.js'; import type { Snippet } from 'svelte'; export interface Props { class?: string; style?: string; /** The list of tabs to display. Each tab is defined by an object with properties such as `id`, `title`, `hasLeadingIcon`, `hasBadge`, `badgeCount`, `badgeType`, `badgeSize`, `badgeShowNumber`, `showLeadingBadgeIcon`, and `disabled`. - `id` (string): Unique identifier for the tab. - `title` (string): Display label for the tab. - `hasLeadingIcon` (boolean): Whether to show a leading icon (default: true). - `hasBadge` (boolean): Whether to show a badge on the tab. - `badgeCount` (number): Number to display in the badge. - `badgeType` (BadgeType): Visual style of the badge (e.g., notification, alarm, enhance). - `badgeSize` (BadgeSize): Size of the badge (e.g., regular, large). - `badgeShowNumber` (boolean): If true, shows the badge number. - `showLeadingBadgeIcon` (boolean): If true, shows a badge icon. - `disabled` (boolean): If true, disables the tab. */ tabs?: TabData[]; /** The `id` of the currently selected tab. Only one tab can be selected at a time. Changing this property updates the selected tab visually and emits the `tab-selected` event when changed by user interaction. */ selectedTabId?: string; /** Whether to display a close button on each tab. When enabled, users can remove tabs individually. Default: `false`. */ hasClose?: boolean; /** Enables "hug" mode for a more compact tab layout with reduced padding. Default: `false`. */ hug?: boolean; /** Whether to display an "add new tab" button at the end of the tab row. When clicked, emits the `add-new-tab` event. Default: `false`. */ hasAddNewTab?: boolean; } export interface Events { onTabSelected?: (event: CustomEvent<{ tab: TabData; id: string; index: number; }>) => void; onTabClosed?: (event: CustomEvent<{ tab: TabData; id: string; index: number; }>) => void; onAddNewTab?: (event: CustomEvent) => void; } export interface Slots { tabIcon?: Snippet<[any]>; tabBadgeIcon?: Snippet<[any]>; } type $$ComponentProps = Props & Events & Slots; declare const ObcTabRow: import("svelte").Component<$$ComponentProps, { TabData: typeof TabData; }, "">; type ObcTabRow = ReturnType; export default ObcTabRow;