import * as i0 from '@angular/core'; import { AfterViewInit, OnDestroy, ElementRef, Type, TemplateRef, ChangeDetectorRef, EventEmitter, TrackByFunction, Injector, OnInit, Provider, ModuleWithProviders, InjectionToken } from '@angular/core'; import * as _abp_ng_core from '@abp/ng.core'; import { eLayoutType, ApplicationInfo, CurrentUserDto, RouterEvents, LanguageInfo, EnvironmentService, RoutesService, TreeNode, ABP, SubscriptionService } from '@abp/ng.core'; import { AuthWrapperService, TenantBoxService } from '@volo/abp.ng.account.core'; import * as rxjs from 'rxjs'; import { Subscription, BehaviorSubject, Observable, Subject } from 'rxjs'; import { ProfilePictureImage, ModuleVisibility } from '@volo/abp.commercial.ng.ui/config'; import { Location } from '@angular/common'; import { ActivatedRoute, Router } from '@angular/router'; import * as i2 from '@abp/ng.theme.shared'; import { UserMenuService, UserMenu, NavItemsService, NavItem, PageAlertService, ToasterService } from '@abp/ng.theme.shared'; import * as _angular_forms from '@angular/forms'; import { UntypedFormBuilder } from '@angular/forms'; import * as _volo_abp_ng_theme_lepton_proxy from '@volo/abp.ng.theme.lepton/proxy'; import { UpdateLeptonThemeSettingsDto, MenuPlacement, MenuStatus } from '@volo/abp.ng.theme.lepton/proxy'; import * as i4 from '@ngx-validate/core'; import { ValidationErrorComponent as ValidationErrorComponent$1, Validation } from '@ngx-validate/core'; import * as i3 from '@ng-bootstrap/ng-bootstrap'; declare class AccountLayoutComponent implements AfterViewInit, OnDestroy { private renderer; static type: eLayoutType; authWrapperKey: string; isCollapsed: boolean; ngAfterViewInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class AccountLogoComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class AuthWrapperComponent { service: AuthWrapperService; isFlagIconEnabled: boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TenantBoxComponent { service: TenantBoxService; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare const enum eThemeLeptonComponents { AccountLayout = "Theme.AccountLayoutComponent", ApplicationLayout = "Theme.ApplicationLayoutComponent", ApplicationLayoutHeader = "Theme.ApplicationLayoutHeaderComponent", ApplicationLayoutFooter = "Theme.ApplicationLayoutFooterComponent", CurrentUser = "Theme.CurrentUserComponent", CurrentUserImage = "Theme.CurrentUserImageComponent", EmptyLayout = "Theme.EmptyLayoutComponent", FullScreen = "Theme.FullScreenComponent", Languages = "Theme.LanguagesComponent", Logo = "Theme.LogoComponent", Routes = "Theme.RoutesComponent", Navbar = "Theme.NavbarComponent", NavbarMobile = "Theme.NavbarMobileComponent", NavItems = "Theme.NavItemsComponent", Sidebar = "Theme.Sidebar" } declare class ApplicationLayoutComponent implements OnDestroy { private environment; private layoutState; private layout; static type: eLayoutType; headerComponentKey: eThemeLeptonComponents; footerComponentKey: eThemeLeptonComponents; mouseMoveSubscription: Subscription; containers$: BehaviorSubject[]>; get appInfo(): ApplicationInfo; listenMouseMove(containerRefs: ElementRef[]): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare namespace ThemeLepton { interface Options { contentAfterRoutes?: Type[]; contentBeforeRoutes?: Type[]; customStyle?: boolean; } interface CurrentUserImageComponentInputs { readonly currentUser?: CurrentUserDto; readonly classes: string; } } declare class CurrentUserImageComponent implements ThemeLepton.CurrentUserImageComponentInputs { profilePicture$: BehaviorSubject; classes: string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class EmptyLayoutComponent { static type: eLayoutType; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare namespace Layout { enum MenuStatus { AlwaysOpened = 0, OpenOnHover = 1 } enum MenuPlacement { Left = 0, Top = 1 } type LogoColor = 'dark' | 'light'; interface NavigationElement { name: string; element: TemplateRef; order?: number; } interface State { isMenuExpanded: boolean; isNavbarExpanded: boolean; smallScreen: boolean; isSidebarCollapsed: boolean; isMenuPlacementTop: boolean; mouseOnSidebar: boolean; style: number; styleElement: HTMLLinkElement; menuPlacement: MenuPlacement; boxedLayout: boolean; menuStatus: MenuStatus; } type StateKeys = keyof State; } declare class LayoutStateService { private store; state$: Observable; getPrimaryLogoColor(): Layout.LogoColor; getPrimaryLogoColor$(): Observable; getSecondaryLogoColor(): Layout.LogoColor; getSecondaryLogoColor$(): Observable; get(key: T): Layout.State[T]; get$(key: T): Observable; update$(key: T): Observable<{ isMenuExpanded?: boolean; isNavbarExpanded?: boolean; smallScreen?: boolean; isSidebarCollapsed?: boolean; isMenuPlacementTop?: boolean; mouseOnSidebar?: boolean; style?: number; styleElement?: HTMLLinkElement; menuPlacement?: Layout.MenuPlacement; boxedLayout?: boolean; menuStatus?: Layout.MenuStatus; }[T]>; patch(state: Partial): void; private getLogoColor; private getLogoColor$; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class HeaderComponent implements AfterViewInit { protected readonly layoutStateService: LayoutStateService; protected readonly cdr: ChangeDetectorRef; state$: rxjs.Observable<{ isNavbarExpanded: boolean; isMenuExpanded: boolean; smallScreen: boolean; isMenuPlacementTop: boolean; }>; logoComponentKey: eThemeLeptonComponents; navbarComponentKey: eThemeLeptonComponents; navbarMobileComponentKey: eThemeLeptonComponents; sidebarComponentKey: eThemeLeptonComponents; mouseMoveContainer: EventEmitter[]>; navbarBrandRef: ElementRef; ngAfterViewInit(): void; navbarIconClick(isNavbarExpanded: boolean): void; menuIconClick(isMenuExpanded: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class FooterComponent { currentYear: number; appInfo: ApplicationInfo; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class HttpErrorComponent { protected readonly activatedRoute: ActivatedRoute; protected readonly router: Router; protected readonly location: Location; protected readonly routerEvents: RouterEvents; destroy$: Subject; readonly status: i0.WritableSignal; protected readonly errorStatusText: i0.Signal; protected readonly errorDetail: i0.Signal; readonly lastNavigation: i0.Signal; readonly currentNavigation: i0.Signal; constructor(); goBack(): void; goHome(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class LogoComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CurrentUserComponent { readonly userMenu: UserMenuService; private authService; private sessionState; private configState; currentUser$: rxjs.Observable<_abp_ng_core.CurrentUserDto>; selectedTenant$: rxjs.Observable<_abp_ng_core.CurrentTenantDto>; currentUserImageComponentKey: eThemeLeptonComponents; trackByFn: TrackByFunction; get smallScreen(): boolean; navigateToLogin(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class FullScreenComponent { protected readonly document: Document; get fullscreen(): boolean; toggleFullscreen(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class LanguagesComponent { private configState; private sessionState; isFlagIconEnabled: boolean; get smallScreen(): boolean; languages$: Observable; get defaultLanguage$(): Observable<{ displayName: string; flagIcon: string; }>; get dropdownLanguages$(): Observable; get selectedLangCulture(): string; changeLang(cultureName: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NavItemsComponent { readonly navItems: NavItemsService; trackByFn: TrackByFunction; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NavbarComponent { isNavbarExpanded: boolean; smallScreen: any; navItemsComponentKey: eThemeLeptonComponents; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NavbarMobileComponent { isNavbarExpanded: boolean; isMenuExpanded: boolean; navbarIconClick: EventEmitter; menuIconClick: EventEmitter; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class PageAlertContainerComponent { service: PageAlertService; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class RoutesComponent implements AfterViewInit { clickedToLink: EventEmitter; isMenuPlacementTop: boolean; smallScreen: boolean; readonly expandedRoutes: Set; readonly initialLevel = 1; readonly environmentService: EnvironmentService; private router; readonly routes: RoutesService; readonly injector: Injector; contentBefore: Type[]; contentAfter: Type[]; filterOp: rxjs.OperatorFunction[], TreeNode[]>; trackByFn: TrackByFunction>; get routes$(): rxjs.Observable[]>; constructor(); ngAfterViewInit(): void; isDropdown(node: TreeNode): boolean; onNavigate({ parentName }: ABP.Route, level: number): void; toggleExpand({ name }: ABP.Route, level: number): void; collapseDropdowns(name: string, level: number): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class LayoutService { private renderer; private rendererFactory; private themeSettingsService; private layoutState; private configState; protected injector: Injector; layoutConfigKey: string; constructor(); listenToLeptonSettings(): void; fetchThemeSettings(): rxjs.Observable<_volo_abp_ng_theme_lepton_proxy.LeptonThemeSettingsDto>; updateThemeSettings(themeSettings: UpdateLeptonThemeSettingsDto): rxjs.Observable; setLayoutBoxed(boxedLayout: boolean): void; setMenuStatus(menuStatus: Layout.MenuStatus): void; setMenuPlacement(menuPlacement: Layout.MenuPlacement): void; onClickMenuIcon(value: boolean): void; addMenuPlacementClasses(menuPlacement: Layout.MenuPlacement): void; addMenuStatusClasses(menuStatus: Layout.MenuStatus): void; addSidebarClasses(mouseOnSidebar: any): void; changeMenuPlacementByScreenSize(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class SettingsComponent implements OnInit, AfterViewInit { protected readonly subscription: SubscriptionService; protected readonly layoutService: LayoutService; protected readonly toaster: ToasterService; protected readonly fb: UntypedFormBuilder; protected readonly customStyle: boolean; protected readonly form: _angular_forms.UntypedFormGroup; placements: { Left: MenuPlacement; Top: MenuPlacement; }; statuses: { AlwaysOpened: MenuStatus; OpenOnHover: MenuStatus; }; boxedLayout: boolean; loading: boolean; viewInitialized: boolean; get isSmallScreen(): boolean; ngOnInit(): void; ngAfterViewInit(): void; save(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SidebarComponent implements AfterViewInit { private layoutStateService; private layout; isMenuExpanded: boolean; smallScreen: boolean; isMenuPlacementTop: boolean; mouseMoveContainer: EventEmitter[]>; routesComponentKey: eThemeLeptonComponents; mouseOnSidebar$: rxjs.Observable; isSidebarCollapsed$: rxjs.Observable; navbarSidebarRef: ElementRef; onClickLink(): void; onClickMenuIcon(isSidebarCollapsed: boolean): void; ngAfterViewInit(): void; listenResize(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ValidationErrorComponent extends ValidationErrorComponent$1 { get abpErrors(): Validation.Error[] & { interpoliteParams?: string[]; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare const LEPTON_STYLE_ELEMENT_ID = "lepton-styles"; declare const LEPTON_THEME_NAV_ITEM_PROVIDERS: i0.EnvironmentProviders[]; declare const LEPTON_THEME_SETTING_TAB_PROVIDERS: i0.EnvironmentProviders[]; declare const LEPTON_THEME_STYLES_PROVIDERS: i0.EnvironmentProviders[]; declare enum ThemeLeptonFeatureKind { Options = 0 } interface ThemeLeptonFeature { ɵkind: KindT; ɵproviders: Provider[]; } declare function withOptions(options: ThemeLepton.Options): ThemeLeptonFeature; declare function provideThemeLepton(...features: ThemeLeptonFeature[]): i0.EnvironmentProviders; declare const LAYOUTS: (typeof EmptyLayoutComponent)[]; declare class BaseThemeLeptonModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class ThemeLeptonModule { /** * @deprecated forRoot method is deprecated, use `provideThemeLepton` *function* for config settings. */ static forRoot(options?: ThemeLepton.Options): ModuleWithProviders; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare const CONTENT_BEFORE_ROUTES: InjectionToken[]>; declare const CONTENT_AFTER_ROUTES: InjectionToken[]>; declare const CUSTOM_STYLE: InjectionToken; declare const LEPTON_THEME_FEATURES: InjectionToken>; declare const SET_LEPTON_THEME_SETTING_TAB_VISIBILITY: InjectionToken; declare const LEPTON_THEME_FEATURES_PROVIDERS: i0.EnvironmentProviders[]; export { AccountLayoutComponent, AccountLogoComponent, ApplicationLayoutComponent, AuthWrapperComponent, BaseThemeLeptonModule, CONTENT_AFTER_ROUTES, CONTENT_BEFORE_ROUTES, CUSTOM_STYLE, CurrentUserComponent, CurrentUserImageComponent, EmptyLayoutComponent, FooterComponent, FullScreenComponent, HeaderComponent, HttpErrorComponent, LAYOUTS, LEPTON_STYLE_ELEMENT_ID, LEPTON_THEME_FEATURES, LEPTON_THEME_FEATURES_PROVIDERS, LEPTON_THEME_NAV_ITEM_PROVIDERS, LEPTON_THEME_SETTING_TAB_PROVIDERS, LEPTON_THEME_STYLES_PROVIDERS, LanguagesComponent, Layout, LayoutService, LayoutStateService, LogoComponent, NavItemsComponent, NavbarComponent, NavbarMobileComponent, PageAlertContainerComponent, RoutesComponent, SET_LEPTON_THEME_SETTING_TAB_VISIBILITY, SettingsComponent, SidebarComponent, TenantBoxComponent, ThemeLepton, ThemeLeptonModule, ValidationErrorComponent, eThemeLeptonComponents, provideThemeLepton, withOptions };