import * as _angular_core from '@angular/core'; import * as _ng_nest_ui_core from '@ng-nest/ui/core'; import { XParentIdentityProperty, XDate, XDataArray, XNumber } from '@ng-nest/ui/core'; /** * Comment * @selector x-comment * @decorator component */ declare const XCommentPrefix = "x-comment"; declare const XCommentProperty_base: new () => { config: _ng_nest_ui_core.XCommentConfig | undefined; }; /** * Comment Property */ declare class XCommentProperty extends XCommentProperty_base { /** * @zh_CN 评论数据 * @en_US Comment data */ readonly data: _angular_core.InputSignalWithTransform>; /** * @zh_CN 评论最大字数 * @en_US Maximum number of comments */ readonly contentMax: _angular_core.InputSignalWithTransform; /** * @zh_CN 点赞的事件 * @en_US Like events */ readonly likeClick: _angular_core.OutputEmitterRef; /** * @zh_CN 评论的事件 * @en_US Commented event */ readonly commentClick: _angular_core.OutputEmitterRef; /** * @zh_CN 回复的事件 * @en_US Reply event */ readonly replyClick: _angular_core.OutputEmitterRef; /** * @zh_CN 确认提交的事件 * @en_US Confirm the submitted event */ readonly sureClick: _angular_core.OutputEmitterRef; /** * @zh_CN 更多的事件 * @en_US More events */ readonly moreClick: _angular_core.OutputEmitterRef; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * @zh_CN Comment 数据对象 * @en_US Comment data object */ interface XCommentNode extends XParentIdentityProperty { /** * @zh_CN 作者 * @en_US Author */ author?: string; /** * @zh_CN 作者头像地址 * @en_US Author avatar address */ src?: string; /** * @zh_CN 发布时间 * @en_US release time */ datetime?: XDate; /** * @zh_CN 发布内容 * @en_US Publish content */ content?: string; /** * @zh_CN 点赞数量 * @en_US Like number */ likes?: number; /** * @zh_CN 评论数量 * @en_US Number of comments */ count?: number; /** * @zh_CN 回复作者 * @en_US Reply to author */ replyAuthor?: string; /** * @zh_CN 点击评论/回复提交的内容 * @en_US Click to comment/reply to submitted content */ replyContent?: string; /** * @zh_CN 显示评论/回复框 * @en_US Show comment/reply box */ commentShow?: boolean; } /** * Comment Reply * @selector x-comment-reply * @decorator component */ declare const XCommentReplyPrefix = "x-comment-reply"; declare const XCommentReplyProperty_base: new () => { config: _ng_nest_ui_core.XCommentConfig | undefined; }; /** * Comment Reply Property */ declare class XCommentReplyProperty extends XCommentReplyProperty_base { /** * @zh_CN 回复的最大字数 * @en_US Maximum number of words to reply */ readonly maxlength: _angular_core.InputSignalWithTransform; /** * @zh_CN 回复确认的事件 * @en_US Reply to confirmed event */ readonly sureClick: _angular_core.OutputEmitterRef; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class XCommentComponent extends XCommentProperty { nodes: _angular_core.Signal; likeOnClick(node: XCommentNode): void; commentOnClick(node: XCommentNode): void; replyOnClick(node: XCommentNode): void; sureOnClick(content: string, node: XCommentNode): void; moreOnClick(node: XCommentNode): void; hasMore(node: XCommentNode): boolean; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class XCommentReplyComponent extends XCommentReplyProperty { inputValue: _angular_core.WritableSignal; sureOnClick(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class XCommentModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { XCommentComponent, XCommentModule, XCommentPrefix, XCommentProperty, XCommentReplyComponent, XCommentReplyPrefix, XCommentReplyProperty }; export type { XCommentNode };