import { SidebarLayoutPassThrough, SidebarSpacerPassThrough, SidebarAsidePassThrough, SidebarPanelPassThrough, SidebarHeaderPassThrough, SidebarContentPassThrough, SidebarFooterPassThrough, SidebarGroupPassThrough, SidebarGroupLabelPassThrough, SidebarGroupContentPassThrough, SidebarGroupActionPassThrough, SidebarMenuPassThrough, SidebarMenuItemPassThrough, SidebarMenuButtonPassThrough, SidebarMenuActionPassThrough, SidebarMenuBadgePassThrough, SidebarMenuSubPassThrough, SidebarMenuSubItemPassThrough, SidebarMenuSubButtonPassThrough, SidebarTriggerPassThrough, SidebarRailPassThrough, SidebarBackdropPassThrough, SidebarMainPassThrough, SidebarPassThrough, SidebarSide, SidebarVariant, SidebarCollapsible, SidebarDisplayState } from 'primeng/types/sidebar'; export * from 'primeng/types/sidebar'; import * as i0 from '@angular/core'; import { InjectionToken } from '@angular/core'; import { BaseComponent } from 'primeng/basecomponent'; import * as i1 from 'primeng/bind'; import { Bind } from 'primeng/bind'; import { BaseStyle } from 'primeng/base'; declare class SidebarStyle extends BaseStyle { name: string; style: string; classes: { root: string; layout: string; spacer: string; aside: string; panel: string; header: string; content: string; footer: string; group: string; groupLabel: string; groupAction: string; groupContent: string; menu: string; menuItem: string; menuButton: string; menuAction: string; menuBadge: string; menuSub: string; menuSubItem: string; menuSubButton: string; trigger: string; rail: string; main: string; backdrop: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * * Sidebar is a panel displayed as an overlay or static side navigation with a compound API. * * [Live Demo](https://www.primeng.org/sidebar/) * * @module sidebarstyle * */ declare enum SidebarClasses { /** * Class name of the root element */ root = "p-sidebar", /** * Class name of the layout element */ layout = "p-sidebar-layout", /** * Class name of the spacer element */ spacer = "p-sidebar-spacer", /** * Class name of the aside element */ aside = "p-sidebar-aside", /** * Class name of the panel element */ panel = "p-sidebar-panel", /** * Class name of the header element */ header = "p-sidebar-header", /** * Class name of the content element */ content = "p-sidebar-content", /** * Class name of the footer element */ footer = "p-sidebar-footer", /** * Class name of the group element */ group = "p-sidebar-group", /** * Class name of the group label element */ groupLabel = "p-sidebar-group-label", /** * Class name of the group action element */ groupAction = "p-sidebar-group-action", /** * Class name of the group content element */ groupContent = "p-sidebar-group-content", /** * Class name of the menu element */ menu = "p-sidebar-menu", /** * Class name of the menu item element */ menuItem = "p-sidebar-menu-item", /** * Class name of the menu button element */ menuButton = "p-sidebar-menu-button", /** * Class name of the menu action element */ menuAction = "p-sidebar-menu-action", /** * Class name of the menu badge element */ menuBadge = "p-sidebar-menu-badge", /** * Class name of the menu sub element */ menuSub = "p-sidebar-menu-sub", /** * Class name of the menu sub item element */ menuSubItem = "p-sidebar-menu-sub-item", /** * Class name of the menu sub button element */ menuSubButton = "p-sidebar-menu-sub-button", /** * Class name of the trigger element */ trigger = "p-sidebar-trigger", /** * Class name of the rail element */ rail = "p-sidebar-rail", /** * Class name of the main element */ main = "p-sidebar-main", /** * Class name of the backdrop element */ backdrop = "p-sidebar-backdrop" } /** * SidebarLayout is a helper component for Sidebar component. * @group Components */ declare class SidebarLayout extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; _componentStyle: SidebarStyle; private sidebars; private version; isAnyOpen: i0.Signal; registerSidebar(id: string, sidebar: Sidebar): void; unregisterSidebar(id: string): void; getSidebar(id: string): Sidebar | undefined; toggle(target?: string, event?: Event): void; collapseAll(event?: Event): void; onMainClick(event: Event): void; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * SidebarSpacer is a helper component for Sidebar component. * @group Components */ declare class SidebarSpacer extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; _componentStyle: SidebarStyle; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * SidebarAside is a helper component for Sidebar component. * @group Components */ declare class SidebarAside extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; _componentStyle: SidebarStyle; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * SidebarPanel is a helper component for Sidebar component. * @group Components */ declare class SidebarPanel extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; _componentStyle: SidebarStyle; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * SidebarHeader is a helper component for Sidebar component. * @group Components */ declare class SidebarHeader extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; _componentStyle: SidebarStyle; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * SidebarContent is a helper component for Sidebar component. * @group Components */ declare class SidebarContent extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; _componentStyle: SidebarStyle; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * SidebarFooter is a helper component for Sidebar component. * @group Components */ declare class SidebarFooter extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; _componentStyle: SidebarStyle; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * SidebarGroup is a helper component for Sidebar component. * @group Components */ declare class SidebarGroup extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; _componentStyle: SidebarStyle; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * SidebarGroupLabel is a helper component for Sidebar component. * @group Components */ declare class SidebarGroupLabel extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; _componentStyle: SidebarStyle; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * SidebarGroupContent is a helper component for Sidebar component. * @group Components */ declare class SidebarGroupContent extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; _componentStyle: SidebarStyle; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * SidebarGroupAction is a helper directive for Sidebar component. * @group Components */ declare class SidebarGroupAction extends BaseComponent { componentName: string; bindDirectiveInstance: Bind | undefined; _componentStyle: SidebarStyle; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * SidebarMenu is a helper component for Sidebar component. * @group Components */ declare class SidebarMenu extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; _componentStyle: SidebarStyle; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * SidebarMenuItem is a helper component for Sidebar component. * @group Components */ declare class SidebarMenuItem extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; _componentStyle: SidebarStyle; /** * When enabled, renders a collapsible item that toggles the nested SidebarMenuSub. * @defaultValue false * @group Props */ collapsible: i0.InputSignalWithTransform; /** * Two-way bound open state for the nested sub-menu (only when `collapsible`). * @defaultValue false * @group Props */ open: i0.ModelSignal; /** * Initial open state applied once on init (like React's defaultOpen). Does not continuously bind. * @defaultValue undefined * @group Props */ defaultOpen: i0.InputSignal; /** * Disables interaction within the item. * @defaultValue false * @group Props */ disabled: i0.InputSignalWithTransform; isOpen: i0.Signal; dataCollapsible: i0.Signal<"" | null>; dataOpen: i0.Signal<"" | null>; dataDisabled: i0.Signal<"" | null>; constructor(); private defaultApplied; toggle(): void; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * SidebarMenuButton is a helper directive for Sidebar component. * @group Components */ declare class SidebarMenuButton extends BaseComponent { componentName: string; bindDirectiveInstance: Bind | undefined; _componentStyle: SidebarStyle; pcMenuItem: SidebarMenuItem | undefined; /** * Whether this button represents the active menu entry. * @defaultValue false * @group Props */ isActive: i0.InputSignalWithTransform; dataActive: i0.Signal<"true" | null>; onAfterViewChecked(): void; onClick(_event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * SidebarMenuAction is a helper directive for Sidebar component. * @group Components */ declare class SidebarMenuAction extends BaseComponent { componentName: string; bindDirectiveInstance: Bind | undefined; _componentStyle: SidebarStyle; /** * Hide the action until the parent menu item is hovered / focus-within. * @defaultValue false * @group Props */ showOnHover: i0.InputSignalWithTransform; dataShowOnHover: i0.Signal<"" | null>; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * SidebarMenuBadge is a helper component for Sidebar component. * @group Components */ declare class SidebarMenuBadge extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; _componentStyle: SidebarStyle; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * SidebarMenuSub is a helper component for Sidebar component. * @group Components */ declare class SidebarMenuSub extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; _componentStyle: SidebarStyle; pcMenuItem: SidebarMenuItem | undefined; private motion; private isInitialMount; constructor(); onAfterViewChecked(): void; onDestroy(): void; private cancel; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * SidebarMenuSubItem is a helper component for Sidebar component. * @group Components */ declare class SidebarMenuSubItem extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; _componentStyle: SidebarStyle; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * SidebarMenuSubButton is a helper directive for Sidebar component. * @group Components */ declare class SidebarMenuSubButton extends BaseComponent { componentName: string; bindDirectiveInstance: Bind | undefined; _componentStyle: SidebarStyle; /** * Whether this button represents the active sub-menu entry. * @defaultValue false * @group Props */ isActive: i0.InputSignalWithTransform; /** * Optional size variant. * @group Props */ size: i0.InputSignal<"sm" | "md">; dataActive: i0.Signal<"true" | null>; dataSize: i0.Signal<"sm" | null>; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * SidebarTrigger is a helper directive for Sidebar component. * @group Components */ declare class SidebarTrigger extends BaseComponent { componentName: string; bindDirectiveInstance: Bind | undefined; _componentStyle: SidebarStyle; private layout; private ancestorSidebar; /** * Id of the target Sidebar within the parent Layout. * @group Props */ target: i0.InputSignal; onAfterViewChecked(): void; resolveTarget(): any; onClick(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * SidebarRail is a helper directive for Sidebar component. * @group Components */ declare class SidebarRail extends BaseComponent { componentName: string; bindDirectiveInstance: Bind | undefined; _componentStyle: SidebarStyle; pcSidebar: Sidebar | undefined; onAfterViewChecked(): void; onClick(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * SidebarBackdrop is a helper component for Sidebar component. * @group Components */ declare class SidebarBackdrop extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; _componentStyle: SidebarStyle; private pcSidebar; private layout; visible: i0.Signal; private motion; private isInitialMount; constructor(); onAfterViewChecked(): void; onClick(event: Event): void; onDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * SidebarMain is a helper component for Sidebar component. * @group Components */ declare class SidebarMain extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; _componentStyle: SidebarStyle; private layout; onAfterViewChecked(): void; onClick(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Sidebar is a compound navigation panel with collapsible icon mode, offcanvas mode, variants and optional overlay. * @group Components */ declare class Sidebar extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; private layout; /** * Two-way bound open state. * @defaultValue true * @group Props */ open: i0.ModelSignal; /** * Side the sidebar attaches to. * @defaultValue 'left' * @group Props */ side: i0.InputSignal; /** * Visual variant. * @defaultValue 'sidebar' * @group Props */ variant: i0.InputSignal; /** * Collapse mode. * @defaultValue 'icon' * @group Props */ collapsible: i0.InputSignal; /** * When enabled, the sidebar overlays the inset instead of pushing it. * @defaultValue false * @group Props */ overlay: i0.InputSignal; /** * Clicking the backdrop closes the sidebar when overlay is active. * @defaultValue true * @group Props */ dismissable: i0.InputSignal; /** * When overlay is active, clicking inside the SidebarMain area collapses the sidebar. Clicks originating from a [pSidebarTrigger] are excluded so opening via the trigger is not immediately undone. * @defaultValue true * @group Props */ hideOnOutsideClick: i0.InputSignal; /** * Expanded width (CSS length). * @defaultValue '16rem' * @group Props */ width: i0.InputSignal; /** * Icon-mode width (CSS length). * @defaultValue '3rem' * @group Props */ iconWidth: i0.InputSignal; /** * Open/close the sidebar on pointer enter/leave of the root. * @defaultValue false * @group Props */ openOnHover: i0.InputSignal; /** * Delay in ms before opening on hover. * @defaultValue 50 * @group Props */ hoverOpenDelay: i0.InputSignal; /** * Delay in ms before closing on hover leave. * @defaultValue 100 * @group Props */ hoverCloseDelay: i0.InputSignal; /** * Unique id used by [pSidebarTrigger] target lookup. * @group Props */ id: i0.InputSignal; displayState: i0.Signal; dataCollapsible: i0.Signal; dataOverlay: i0.Signal<"" | null>; _componentStyle: SidebarStyle; private hoverTimer; constructor(); onAfterViewChecked(): void; toggle(event?: Event): void; expand(event?: Event): void; collapse(event?: Event): void; onPointerEnter(event: PointerEvent): void; onPointerLeave(event: PointerEvent): void; private clearHoverTimer; onDestroy(): void; onEscape(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SidebarModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare const SIDEBAR_INSTANCE: InjectionToken; declare const SIDEBAR_LAYOUT_INSTANCE: InjectionToken; declare const SIDEBAR_ASIDE_INSTANCE: InjectionToken; declare const SIDEBAR_CONTENT_INSTANCE: InjectionToken; declare const SIDEBAR_HEADER_INSTANCE: InjectionToken; declare const SIDEBAR_PANEL_INSTANCE: InjectionToken; declare const SIDEBAR_FOOTER_INSTANCE: InjectionToken; declare const SIDEBAR_GROUP_INSTANCE: InjectionToken; declare const SIDEBAR_MENU_INSTANCE: InjectionToken; declare const SIDEBAR_MENU_ITEM_INSTANCE: InjectionToken; declare const SIDEBAR_MENU_SUB_INSTANCE: InjectionToken; declare const SIDEBAR_MENU_SUB_ITEM_INSTANCE: InjectionToken; export { SIDEBAR_ASIDE_INSTANCE, SIDEBAR_CONTENT_INSTANCE, SIDEBAR_FOOTER_INSTANCE, SIDEBAR_GROUP_INSTANCE, SIDEBAR_HEADER_INSTANCE, SIDEBAR_INSTANCE, SIDEBAR_LAYOUT_INSTANCE, SIDEBAR_MENU_INSTANCE, SIDEBAR_MENU_ITEM_INSTANCE, SIDEBAR_MENU_SUB_INSTANCE, SIDEBAR_MENU_SUB_ITEM_INSTANCE, SIDEBAR_PANEL_INSTANCE, Sidebar, SidebarAside, SidebarBackdrop, SidebarClasses, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarLayout, SidebarMain, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarModule, SidebarPanel, SidebarRail, SidebarSpacer, SidebarStyle, SidebarTrigger };