UNPKG

flowbite-angular

Version:

<div align="center"> <h1>:construction: flowbite-angular (unreleased) :construction:</h1> <p> <a href="https://flowbite.com"> <img alt="Flowbite - Tailwind CSS components" width="350" src="https://flowbite.s3.amazonaws.com/github/logo-github

94 lines (93 loc) 3.75 kB
import { SidebarItemGroupComponent } from './sidebar-item-group.component'; import { SidebarItemComponent } from './sidebar-item.component'; import type { SidebarMenuClass } from './sidebar-menu.theme'; import { SidebarMenuThemeService } from './sidebar-menu.theme.service'; import { SidebarComponent } from './sidebar.component'; import type { SidebarColors } from './sidebar.theme'; import { BaseComponent } from 'flowbite-angular'; import { InjectionToken } from '@angular/core'; import * as i0 from "@angular/core"; export declare const FLOWBITE_SIDEBAR_MENU_CUSTOM_STYLE_DEFAULT_VALUE: InjectionToken<{ root?: { base?: string | undefined; displayMode?: { push?: string | undefined; over?: string | undefined; backdrop?: string | undefined; } | undefined; isOpen?: { enabled?: string | undefined; disabled?: string | undefined; } | undefined; color?: { [x: string]: string | undefined; primary?: string | undefined; dark?: string | undefined; blue?: string | undefined; red?: string | undefined; green?: string | undefined; yellow?: string | undefined; } | undefined; } | undefined; }>; export declare const sidebarMenuDefaultValueProvider: import("@angular/core").EnvironmentProviders; /** * @see https://flowbite.com/docs/components/sidebar/ */ export declare class SidebarMenuComponent extends BaseComponent<SidebarMenuClass> { /** * Service injected used to generate class */ readonly themeService: SidebarMenuThemeService; /** * The parent `SidebarComponent` */ readonly sidebarComponent: SidebarComponent; /** * List of `SidebarItemGroupComponent` */ readonly sidebarItemGroupChildren: import("@angular/core").Signal<readonly SidebarItemGroupComponent[]>; /** * List of `SidebarItemComponent` */ readonly sidebarItemChildren: import("@angular/core").Signal<readonly SidebarItemComponent[]>; /** * Set the sidebar menu color * * @default `SidebarComponent`'s color */ color: import("@angular/core").ModelSignal<keyof SidebarColors>; /** * Set the custom style for this sidebar menu */ customStyle: import("@angular/core").ModelSignal<{ root?: { base?: string | undefined; displayMode?: { push?: string | undefined; over?: string | undefined; backdrop?: string | undefined; } | undefined; isOpen?: { enabled?: string | undefined; disabled?: string | undefined; } | undefined; color?: { [x: string]: string | undefined; primary?: string | undefined; dark?: string | undefined; blue?: string | undefined; red?: string | undefined; green?: string | undefined; yellow?: string | undefined; } | undefined; } | undefined; }>; fetchClass(): SidebarMenuClass; /** * Toggle visibility of ll children to false */ closeAll(): void; static ɵfac: i0.ɵɵFactoryDeclaration<SidebarMenuComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<SidebarMenuComponent, "flowbite-sidebar-menu", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "customStyle": { "alias": "customStyle"; "required": false; "isSignal": true; }; }, { "color": "colorChange"; "customStyle": "customStyleChange"; }, ["sidebarItemGroupChildren", "sidebarItemChildren"], ["*"], true, never>; }