import * as i0 from '@angular/core'; import { SimpleChanges } from '@angular/core'; import * as _ng_nest_ui_core from '@ng-nest/ui/core'; import { XTemplate, XData, XIdentityProperty, XStyle, XBoolean } from '@ng-nest/ui/core'; import { Subject } from 'rxjs'; /** * Prompts * @selector x-prompts * @decorator component */ declare const XPromptsPrefix = "x-prompts"; declare const XPromptsProperty_base: new () => { config: _ng_nest_ui_core.XPromptsConfig | undefined; }; /** * Prompts Property */ declare class XPromptsProperty extends XPromptsProperty_base { /** * @zh_CN 显示标题,支持自定义模板 * @en_US Display title, support custom template */ readonly title: i0.InputSignal; /** * @zh_CN 列表数据 * @en_US List data */ readonly data: i0.InputSignal>; /** * @zh_CN 纵向展示 * @en_US List vertical display */ readonly vertical: i0.InputSignalWithTransform; /** * @zh_CN wrap * @en_US List wrap display */ readonly wrap: i0.InputSignalWithTransform; /** * @zh_CN Item 点击事件 * @en_US Item click event */ readonly itemClick: i0.OutputEmitterRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * @zh_CN 提示词 * @en_US Promtp */ interface XPromptsNode extends XIdentityProperty { /** * @zh_CN 描述 * @en_US Description */ description?: string; /** * @zh_CN 图标 * @en_US Icon */ icon?: string; /** * @zh_CN 节点样式 * @en_US Icon style */ style?: XStyle; /** * @zh_CN 图标样式 * @en_US Icon style */ iconStyle?: XStyle; /** * @zh_CN 是否禁用 * @en_US Whether to disable */ disabled?: boolean; /** * @zh_CN 自定义属性 * @en_US Custom attributes */ [property: string]: any; } declare class XPromptsComponent extends XPromptsProperty { nodes: i0.WritableSignal; unSubject: Subject; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; onItemClick(node: XPromptsNode): void; private setData; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class XPromptsModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { XPromptsComponent, XPromptsModule, XPromptsPrefix, XPromptsProperty }; export type { XPromptsNode };