import * as _angular_core from '@angular/core'; import { AfterViewInit, ElementRef, Signal, TemplateRef } from '@angular/core'; import * as i1 from '@angular/common'; import * as i2 from 'ngx-tethys/shared'; import * as i3 from 'ngx-tethys/icon'; import * as _angular_platform_browser from '@angular/platform-browser'; /** https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-loading */ type ThyEmptyImageLoading = 'eager' | 'lazy'; /** https://wicg.github.io/priority-hints/#idl-index */ type ThyEmptyImageFetchPriority = 'high' | 'low' | 'auto'; /** * 空页面组件 * @name thy-empty * @order 10 */ declare class ThyEmpty implements AfterViewInit { private thyTranslate; private thyEmptyConfig; private elementRef; private ngZone; private sanitizer; private locale; /** * 显示文本提示信息。同时传入 thyMessage,thyTranslationKey,thyEntityName,thyEntityNameTranslateKey 时优先级最高 * @default 暂无数据 */ readonly thyMessage: _angular_core.InputSignal; /** * 已废弃。显示文本提示信息多语言 Key。同时传入 thyTranslationKey,thyEntityName,thyEntityNameTranslateKey 时优先级最高 * @deprecated */ readonly thyTranslationKey: _angular_core.InputSignal; /** * 已废弃。显示文本提示信息多语言 Key 的 Values。传入 thyTranslationKey 后,传入这个才会生效 * @deprecated */ readonly thyTranslationValues: _angular_core.InputSignal; /** * 已废弃。显示默认提示信息,替换默认提示信息的目标对象,比如:没有 {thyEntityName}。同时传入 thyEntityName,thyEntityNameTranslateKey 时优先级较高 * @deprecated */ readonly thyEntityName: _angular_core.InputSignal; /** * 已废弃。thyEntityName 的多语言 Key。thyMessage,thyTranslationKey,thyEntityName 均未传入时才会生效 * @deprecated */ readonly thyEntityNameTranslateKey: _angular_core.InputSignal; /** * 提示图标名 */ readonly thyIconName: _angular_core.InputSignal; /** * 大小 * @type sm | md | lg * @default md */ readonly thySize: _angular_core.InputSignal; /** * 距上距离 */ readonly thyMarginTop: _angular_core.InputSignal; /** * 是否自动根据父容器计算高度,垂直居中 * @default false */ readonly thyTopAuto: _angular_core.InputSignalWithTransform; /** * 自动计算高度垂直居中(即 thyTopAuto 为 true)时,支持传入自定义父容器 */ readonly thyContainer: _angular_core.InputSignal | undefined>; /** * 提示图片链接 */ readonly thyImageUrl: _angular_core.InputSignal; readonly thyImageLoading: _angular_core.InputSignal; readonly thyImageFetchPriority: _angular_core.InputSignal; /** * 显示文本描述 */ readonly thyDescription: _angular_core.InputSignal; private hostRenderer; /** * 除提示图片,文本外的其他信息传入模板 * @type TemplateRef */ readonly extraTemplateRef: Signal | undefined>; protected readonly presetSvg: Signal<_angular_platform_browser.SafeHtml>; protected readonly displayText: _angular_core.WritableSignal; setMessage(text: string): void; constructor(); private _calculatePosition; updateClass(): void; ngAfterViewInit(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class ThyEmptyModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } /** * @deprecated */ declare class ThyEmptyConfig { noResultTranslateKey: string; noResultWithTargetTranslateKey: string; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } export { ThyEmpty, ThyEmptyConfig, ThyEmptyModule }; export type { ThyEmptyImageFetchPriority, ThyEmptyImageLoading };