import * as _angular_core from '@angular/core'; import { TemplateRef } from '@angular/core'; import * as i1 from '@angular/common'; import * as i2 from 'ngx-tethys/shared'; import * as i3 from 'ngx-tethys/icon'; type ThyStatisticColor = 'primary' | 'success' | 'warning' | 'danger' | 'info'; /** @deprecated use ThyStatisticColor, will be removed in v23 */ type ThyStatisticColorType = ThyStatisticColor; type ThyStatisticAppearance = 'card'; /** @deprecated use ThyStatisticAppearance, will be removed in v23 */ type ThyStatisticShape = ThyStatisticAppearance; type ThyStatisticSize = 'default'; /** @deprecated use ThyStatisticSize, will be removed in v23 */ type ThyStatisticSizes = ThyStatisticSize; type ThyStatisticTitlePosition = 'top' | 'bottom'; /** * 用于展示数据统计 * @name thy-statistic */ declare class ThyStatistic { /** * @description 展示数据 * @type number | string */ readonly thyValue: _angular_core.InputSignal; /** * @description 展示数据的 css 样式 * @type { [key: string]: string; } */ readonly thyValueStyle: _angular_core.InputSignal<{ [key: string]: string; }>; /** * @description 展示数据的前缀 * @type string */ readonly thyPrefix: _angular_core.InputSignal; /** * @description 展示数据的后缀 * @type string */ readonly thySuffix: _angular_core.InputSignal; /** * @description 展示数据的标题 * @type string */ readonly thyTitle: _angular_core.InputSignal; /** * @description 展示数据标题的位置,可设置 `top`|`bottom` * @type ThyStatisticTitlePosition */ readonly thyTitlePosition: _angular_core.InputSignal; /** * @description 展示外观 * @type ThyStatisticAppearance * @default card */ readonly thyAppearance: _angular_core.InputSignal<"card" | undefined>; /** * @description 展示形状(已废弃,将在 v23 彻底删除),请使用 thyAppearance * @deprecated please use thyAppearance, will be removed in v23 * @type ThyStatisticShape * @default card */ readonly thyShape: _angular_core.InputSignal<"card" | undefined>; readonly appearance: _angular_core.Signal<"card" | undefined>; /** * @description 主题颜色,可以使用提供的主题色,也可以自定义颜色。 `ThyStatisticColor` 中包含 `primary` | `success` | `warning` | `danger` | `info` * @type ThyStatisticColor | string */ readonly thyColor: _angular_core.InputSignal; /** * @description 前缀和展示数据字体大小 * @type ThyStatisticSize * @default default */ readonly thySize: _angular_core.InputSignal<"default">; /** * @description 自定义展示数据模板 * @type TemplateRef */ readonly thyValueTemplate: _angular_core.InputSignal | undefined>; /** * @description 自定义标题模板 * @type TemplateRef */ readonly thyTitleTemplate: _angular_core.InputSignal | undefined>; /** * @description 自定义前缀模板 * @type TemplateRef */ readonly thyPrefixTemplate: _angular_core.InputSignal | undefined>; /** * @description 自定义后缀模板 * @type TemplateRef */ readonly thySuffixTemplate: _angular_core.InputSignal | undefined>; /** * @description 自定义展示数据模板 * @type TemplateRef */ readonly contentValueTemplate: _angular_core.Signal | undefined>; /** * @description 自定义标题模板 * @type TemplateRef */ readonly contentTitleTemplate: _angular_core.Signal | undefined>; /** * @description 自定义前缀模板 * @type TemplateRef */ readonly contentPrefixTemplate: _angular_core.Signal | undefined>; /** * @description 自定义后缀模板 * @type TemplateRef */ readonly contentSuffixTemplate: _angular_core.Signal | undefined>; readonly valueTemplate: _angular_core.Signal | undefined>; readonly titleTemplate: _angular_core.Signal | undefined>; readonly prefixTemplate: _angular_core.Signal | undefined>; readonly suffixTemplate: _angular_core.Signal | undefined>; private hostRenderer; constructor(); private setClassesByType; private setColor; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class ThyStatisticModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { ThyStatistic, ThyStatisticModule }; export type { ThyStatisticAppearance, ThyStatisticColor, ThyStatisticColorType, ThyStatisticShape, ThyStatisticSize, ThyStatisticSizes, ThyStatisticTitlePosition };