import { AfterViewInit, ChangeDetectorRef, ElementRef, Injector, OnDestroy } from '@angular/core'; import { ShortcutKeyDesc } from '../../../interface/placeholder'; /** * 标签页为空时的占位元素 * @remarks 展示一些常用的快捷键以及一些快捷操作的链接 */ export declare class PlaceholderComponent implements AfterViewInit, OnDestroy { private injector; private cd; /** 快捷键列表 */ shortcuts: ShortcutKeyDesc[]; private _shortcuts; verticalPos: number; private _verticalPos; readonly hasShortcut: boolean; /** 总体的高度:图标高度 + 快捷键列表高度 */ private totalHeight; /** 页面元素初始化后监听大小变化 */ private inited; /** 是否显示快捷键列表 */ showShortcuts: boolean; /** 外层样式,用来设定垂直高度 */ wrapperStyle: any; containerEl: ElementRef; constructor(injector: Injector, // 防止依赖变更导致需要重新打包 cd: ChangeDetectorRef); private getTotalHeight; private handleResize; ngAfterViewInit(): void; ngOnDestroy(): void; }