primeng
Version:
PrimeNG is a premium UI library for Angular featuring a rich set of 90+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBlock,
109 lines (106 loc) • 6.93 kB
TypeScript
import { PassThrough, PassThroughOption } from 'primeng/api';
type SidebarSide = 'left' | 'right';
type SidebarVariant = 'sidebar' | 'floating' | 'inset';
type SidebarCollapsible = 'offcanvas' | 'icon' | 'none';
type SidebarDisplayState = 'expanded' | 'collapsed';
interface SidebarOpenChangeEvent {
originalEvent?: Event;
value: boolean;
}
interface SidebarPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLElement, I>;
}
type SidebarPassThrough<I = unknown> = PassThrough<I, SidebarPassThroughOptions<I>>;
interface SidebarLayoutPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLElement, I>;
}
type SidebarLayoutPassThrough<I = unknown> = PassThrough<I, SidebarLayoutPassThroughOptions<I>>;
interface SidebarSpacerPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLElement, I>;
}
type SidebarSpacerPassThrough<I = unknown> = PassThrough<I, SidebarSpacerPassThroughOptions<I>>;
interface SidebarAsidePassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLElement, I>;
}
type SidebarAsidePassThrough<I = unknown> = PassThrough<I, SidebarAsidePassThroughOptions<I>>;
interface SidebarPanelPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLElement, I>;
}
type SidebarPanelPassThrough<I = unknown> = PassThrough<I, SidebarPanelPassThroughOptions<I>>;
interface SidebarHeaderPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLElement, I>;
}
type SidebarHeaderPassThrough<I = unknown> = PassThrough<I, SidebarHeaderPassThroughOptions<I>>;
interface SidebarContentPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLElement, I>;
}
type SidebarContentPassThrough<I = unknown> = PassThrough<I, SidebarContentPassThroughOptions<I>>;
interface SidebarFooterPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLElement, I>;
}
type SidebarFooterPassThrough<I = unknown> = PassThrough<I, SidebarFooterPassThroughOptions<I>>;
interface SidebarGroupPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLElement, I>;
}
type SidebarGroupPassThrough<I = unknown> = PassThrough<I, SidebarGroupPassThroughOptions<I>>;
interface SidebarGroupLabelPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLElement, I>;
}
type SidebarGroupLabelPassThrough<I = unknown> = PassThrough<I, SidebarGroupLabelPassThroughOptions<I>>;
interface SidebarGroupActionPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLButtonElement, I>;
}
type SidebarGroupActionPassThrough<I = unknown> = PassThrough<I, SidebarGroupActionPassThroughOptions<I>>;
interface SidebarGroupContentPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLElement, I>;
}
type SidebarGroupContentPassThrough<I = unknown> = PassThrough<I, SidebarGroupContentPassThroughOptions<I>>;
interface SidebarMenuPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLUListElement, I>;
}
type SidebarMenuPassThrough<I = unknown> = PassThrough<I, SidebarMenuPassThroughOptions<I>>;
interface SidebarMenuItemPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLLIElement, I>;
}
type SidebarMenuItemPassThrough<I = unknown> = PassThrough<I, SidebarMenuItemPassThroughOptions<I>>;
interface SidebarMenuButtonPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLButtonElement, I>;
}
type SidebarMenuButtonPassThrough<I = unknown> = PassThrough<I, SidebarMenuButtonPassThroughOptions<I>>;
interface SidebarMenuActionPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLButtonElement, I>;
}
type SidebarMenuActionPassThrough<I = unknown> = PassThrough<I, SidebarMenuActionPassThroughOptions<I>>;
interface SidebarMenuBadgePassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLSpanElement, I>;
}
type SidebarMenuBadgePassThrough<I = unknown> = PassThrough<I, SidebarMenuBadgePassThroughOptions<I>>;
interface SidebarMenuSubPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLUListElement, I>;
}
type SidebarMenuSubPassThrough<I = unknown> = PassThrough<I, SidebarMenuSubPassThroughOptions<I>>;
interface SidebarMenuSubItemPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLLIElement, I>;
}
type SidebarMenuSubItemPassThrough<I = unknown> = PassThrough<I, SidebarMenuSubItemPassThroughOptions<I>>;
interface SidebarMenuSubButtonPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLButtonElement, I>;
}
type SidebarMenuSubButtonPassThrough<I = unknown> = PassThrough<I, SidebarMenuSubButtonPassThroughOptions<I>>;
interface SidebarTriggerPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLButtonElement, I>;
}
type SidebarTriggerPassThrough<I = unknown> = PassThrough<I, SidebarTriggerPassThroughOptions<I>>;
interface SidebarRailPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLButtonElement, I>;
}
type SidebarRailPassThrough<I = unknown> = PassThrough<I, SidebarRailPassThroughOptions<I>>;
interface SidebarBackdropPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLElement, I>;
}
type SidebarBackdropPassThrough<I = unknown> = PassThrough<I, SidebarBackdropPassThroughOptions<I>>;
interface SidebarMainPassThroughOptions<I = unknown> {
root?: PassThroughOption<HTMLElement, I>;
}
type SidebarMainPassThrough<I = unknown> = PassThrough<I, SidebarMainPassThroughOptions<I>>;
export type { SidebarAsidePassThrough, SidebarAsidePassThroughOptions, SidebarBackdropPassThrough, SidebarBackdropPassThroughOptions, SidebarCollapsible, SidebarContentPassThrough, SidebarContentPassThroughOptions, SidebarDisplayState, SidebarFooterPassThrough, SidebarFooterPassThroughOptions, SidebarGroupActionPassThrough, SidebarGroupActionPassThroughOptions, SidebarGroupContentPassThrough, SidebarGroupContentPassThroughOptions, SidebarGroupLabelPassThrough, SidebarGroupLabelPassThroughOptions, SidebarGroupPassThrough, SidebarGroupPassThroughOptions, SidebarHeaderPassThrough, SidebarHeaderPassThroughOptions, SidebarLayoutPassThrough, SidebarLayoutPassThroughOptions, SidebarMainPassThrough, SidebarMainPassThroughOptions, SidebarMenuActionPassThrough, SidebarMenuActionPassThroughOptions, SidebarMenuBadgePassThrough, SidebarMenuBadgePassThroughOptions, SidebarMenuButtonPassThrough, SidebarMenuButtonPassThroughOptions, SidebarMenuItemPassThrough, SidebarMenuItemPassThroughOptions, SidebarMenuPassThrough, SidebarMenuPassThroughOptions, SidebarMenuSubButtonPassThrough, SidebarMenuSubButtonPassThroughOptions, SidebarMenuSubItemPassThrough, SidebarMenuSubItemPassThroughOptions, SidebarMenuSubPassThrough, SidebarMenuSubPassThroughOptions, SidebarOpenChangeEvent, SidebarPanelPassThrough, SidebarPanelPassThroughOptions, SidebarPassThrough, SidebarPassThroughOptions, SidebarRailPassThrough, SidebarRailPassThroughOptions, SidebarSide, SidebarSpacerPassThrough, SidebarSpacerPassThroughOptions, SidebarTriggerPassThrough, SidebarTriggerPassThroughOptions, SidebarVariant };