import * as _angular_core from '@angular/core'; import { OnDestroy, TemplateRef, ElementRef } from '@angular/core'; import * as i1 from '@angular/common'; import * as i2 from 'ngx-tethys/flexible-text'; import * as i3 from 'ngx-tethys/tooltip'; type ThyPropertiesLayout = 'horizontal' | 'vertical'; /** * 属性列表组件 * @name thy-properties */ declare class ThyProperties { /** * 展示布局 * @type "horizontal" | "vertical" */ readonly layout: _angular_core.InputSignal; /** * 设置一行的可以 property-item 的数量 */ readonly thyColumn: _angular_core.InputSignalWithTransform; /** * 设置编辑状态触发方法 * @type 'hover' | 'click' */ readonly thyEditTrigger: _angular_core.InputSignal<"hover" | "click">; protected readonly gridTemplateColumns: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } type ThyPropertyItemOperationTrigger = 'hover' | 'always'; /** * 属性组件 * @name thy-property-item */ declare class ThyPropertyItem implements OnDestroy { private clickDispatcher; private ngZone; private overlayOutsideClickDispatcher; private parent; private destroyRef; /** * 属性名称 */ readonly thyLabelText: _angular_core.InputSignal; /** * 设置属性是否是可编辑的 */ readonly thyEditable: _angular_core.InputSignalWithTransform; /** * 设置跨列的数量 */ readonly thySpan: _angular_core.InputSignalWithTransform; /** * 设置编辑状态触发方法 * @type 'hover' | 'click' */ readonly thyEditTrigger: _angular_core.InputSignal<"hover" | "click" | undefined>; /** * 设置属性操作现实触发方式,默认 always 一直显示 * @type 'hover' | 'always' */ readonly thyOperationTrigger: _angular_core.InputSignal; readonly thyEditingChange: _angular_core.OutputEmitterRef; /** * 属性名称自定义模板 * @type TemplateRef */ readonly label: _angular_core.Signal | undefined>; /** * 属性内容编辑模板,只有在 thyEditable 为 true 时生效 * @type TemplateRef */ readonly editor: _angular_core.Signal | undefined>; /** * 操作区模板 * @type TemplateRef */ readonly operation: _angular_core.Signal | undefined>; /** * @private */ readonly content: _angular_core.Signal | undefined>; /** * @private */ readonly itemContent: _angular_core.Signal>; editing: _angular_core.WritableSignal; private eventDestroy$; private originOverlays; private clickEventSubscription; protected readonly gridColumn: _angular_core.Signal; readonly isVertical: _angular_core.Signal; constructor(); setEditing(editing: boolean): void; /** * @deprecated please use setEditing(editing: boolean) */ setKeepEditing(keep: boolean): void; private hasOverlay; private subscribeClick; private subscribeOverlayDetach; private subscribeDocumentClick; private bindEditorBlurEvent; ngOnDestroy(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class ThyPropertyModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { ThyProperties, ThyPropertyItem, ThyPropertyModule }; export type { ThyPropertiesLayout, ThyPropertyItemOperationTrigger };