import * as _angular_core from '@angular/core'; import { TemplateRef, ElementRef } from '@angular/core'; import { BaseComponent } from 'primeng/basecomponent'; import * as i1 from 'primeng/bind'; import { Bind } from 'primeng/bind'; import { TabsPassThrough, TabsScrollStrategy, TabPanelsPassThrough, TabPanelPassThrough, TabListPassThrough, TabPassThrough } from 'primeng/types/tabs'; import { BaseStyle } from 'primeng/base'; import * as i1$1 from 'primeng/ripple'; declare class TabsStyle extends BaseStyle { name: string; style: string; classes: { root: string; }; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * * Tabs facilitates seamless switching between different views. * * [Live Demo](https://www.primeng.org/tabs/) * * @module tabsstyle * */ declare enum TabsClasses { /** * Class name of the root element */ root = "p-tabs", /** * Class name of the wrapper element */ list = "p-tablist", /** * Class name of the content element */ content = "p-tablist-content", /** * Class name of the tab list element */ tablist = "p-tablist-tab-list", /** * Class name of the tab list element */ tab = "p-tab", /** * Class name of the inkbar element */ inkbar = "p-tablist-active-bar", /** * Class name of the navigation buttons */ button = "p-tablist-nav-button", /** * Class name of the tab panels wrapper */ tabpanels = "p-tabpanels", /** * Class name of the tab panel element */ tabpanel = "p-tabs-panel" } /** * Tabs facilitates seamless switching between different views. * @group Components */ declare class Tabs extends BaseComponent { componentName: string; $pcTabs: Tabs | undefined; bindDirectiveInstance: Bind; /** * Value of the active tab. * @defaultValue undefined * @group Props */ value: _angular_core.ModelSignal; /** * Scrolling is enabled by default. This property is no longer needed. * @defaultValue false * @group Props * @deprecated Scrolling is now the default behavior. This property will be removed in a future version. */ scrollable: _angular_core.InputSignalWithTransform; /** * When enabled, tabs are not rendered until activation. * @type boolean * @defaultValue false * @group Props */ lazy: _angular_core.InputSignalWithTransform; /** * When enabled, the focused tab is activated. * @type boolean * @defaultValue false * @group Props */ selectOnFocus: _angular_core.InputSignalWithTransform; /** * Whether to display navigation buttons in container when scrollable is enabled. * @type boolean * @defaultValue true * @group Props */ showNavigators: _angular_core.InputSignalWithTransform; /** * Tabindex of the tab buttons. * @type number * @defaultValue 0 * @group Props */ tabindex: _angular_core.InputSignalWithTransform; /** * Defines the scrolling behavior when the active tab changes. Use 'nearest' to scroll only if the tab is not fully visible, 'center' to always center the active tab, or false to disable auto-scrolling. * @defaultValue 'nearest' * @group Props */ scrollStrategy: _angular_core.InputSignal; id: _angular_core.WritableSignal; _componentStyle: TabsStyle; onAfterViewChecked(): void; updateValue(newValue: string | number | undefined): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class TabPanelsStyle extends BaseStyle { name: string; classes: { root: string; }; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * TabPanels is a helper component for Tabs component. * @group Components */ declare class TabPanels extends BaseComponent { componentName: string; $pcTabPanels: TabPanels | undefined; bindDirectiveInstance: Bind; _componentStyle: TabPanelsStyle; onAfterViewChecked(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class TabPanelStyle extends BaseStyle { name: string; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-tabpanel-active': any; })[]; }; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * TabPanel is a helper component for Tabs component. * @group Components */ declare class TabPanel extends BaseComponent { componentName: string; $pcTabPanel: TabPanel | undefined; bindDirectiveInstance: Bind; pcTabs: Tabs; /** * When enabled, tab is not rendered until activation. * @type boolean * @defaultValue false * @group Props */ lazy: _angular_core.InputSignalWithTransform; /** * Value of the active tab. * @defaultValue undefined * @group Props */ value: _angular_core.ModelSignal; /** * Template for initializing complex content when lazy is enabled. * @group Templates */ content: _angular_core.Signal | undefined>; id: _angular_core.Signal; ariaLabelledby: _angular_core.Signal; active: _angular_core.Signal; isLazyEnabled: _angular_core.Signal; private hasBeenRendered; shouldRender: _angular_core.Signal; _componentStyle: TabPanelStyle; onAfterViewChecked(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class TabListStyle extends BaseStyle { name: string; classes: { root: string; content: string; activeBar: string; prevButton: string; nextButton: string; }; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * TabList is a helper component for Tabs component. * @group Components */ declare class TabList extends BaseComponent { componentName: string; $pcTabList: TabList | undefined; bindDirectiveInstance: Bind; /** * A template reference variable that represents the previous icon in a UI component. * @type {TemplateRef | undefined} * @group Templates */ prevIconTemplate: _angular_core.Signal | undefined>; /** * A template reference variable that represents the next icon in a UI component. * @type {TemplateRef | undefined} * @group Templates */ nextIconTemplate: _angular_core.Signal | undefined>; content: _angular_core.Signal | undefined>; prevButton: _angular_core.Signal | undefined>; nextButton: _angular_core.Signal | undefined>; inkbar: _angular_core.Signal | undefined>; pcTabs: any; isPrevButtonEnabled: _angular_core.WritableSignal; isNextButtonEnabled: _angular_core.WritableSignal; resizeObserver: ResizeObserver; showNavigators: _angular_core.Signal; tabindex: _angular_core.Signal; scrollable: _angular_core.Signal; _componentStyle: TabListStyle; constructor(); get prevButtonAriaLabel(): string | undefined; get nextButtonAriaLabel(): string | undefined; onAfterViewChecked(): void; onAfterViewInit(): void; onDestroy(): void; onScroll(event: Event): void; onPrevButtonClick(): void; onNextButtonClick(): void; updateButtonState(): void; updateInkBar(): void; scrollToActiveTab(): void; getVisibleButtonWidths(): number; bindResizeObserver(): void; unbindResizeObserver(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class TabStyle extends BaseStyle { name: string; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-tab-active': any; 'p-disabled': any; })[]; }; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * Defines valid properties in Tab component. * @group Components */ declare class Tab extends BaseComponent { componentName: string; $pcTab: Tab | undefined; bindDirectiveInstance: Bind; /** * Value of tab. * @defaultValue undefined * @group Props */ value: _angular_core.ModelSignal; /** * Whether the tab is disabled. * @defaultValue false * @group Props */ disabled: _angular_core.InputSignalWithTransform; pcTabs: any; pcTabList: any; el: ElementRef; _componentStyle: TabStyle; ripple: _angular_core.Signal; id: _angular_core.Signal; ariaControls: _angular_core.Signal; active: _angular_core.Signal; tabindex: _angular_core.Signal; mutationObserver: MutationObserver | undefined; onAfterViewChecked(): void; onFocus(event: FocusEvent): void; onClick(event: MouseEvent): void; onKeyDown(event: KeyboardEvent): void; onAfterViewInit(): void; onArrowRightKey(event: KeyboardEvent): void; onArrowLeftKey(event: KeyboardEvent): void; onHomeKey(event: KeyboardEvent): void; onEndKey(event: KeyboardEvent): void; onPageDownKey(event: KeyboardEvent): void; onPageUpKey(event: KeyboardEvent): void; onEnterKey(event: KeyboardEvent): void; findNextTab(tabElement: Element | null, selfCheck?: boolean): Element | null; findPrevTab(tabElement: Element | null, selfCheck?: boolean): Element | null; findFirstTab(): Element | null; findLastTab(): Element | null; changeActiveValue(): void; changeFocusedTab(element: Element | null): void; scrollInView(element: Element | null): void; bindMutationObserver(): void; unbindMutationObserver(): void; onDestroy(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class TabsModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { Tab, TabList, TabPanel, TabPanels, Tabs, TabsClasses, TabsModule, TabsStyle };