ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
61 lines • 3.33 kB
TypeScript
import * as i0 from "@angular/core";
import { AfterViewInit, OnDestroy, OnInit, QueryList, TemplateRef } from "@angular/core";
import { CdkPortalOutlet, TemplatePortal } from "@angular/cdk/portal";
declare namespace comment_cells_d_exports {
export { NzCommentActionComponent, NzCommentActionHostDirective, NzCommentAvatarDirective, NzCommentContentDirective };
}
export declare class NzCommentAvatarDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<NzCommentAvatarDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzCommentAvatarDirective, "nz-avatar[nz-comment-avatar]", ["nzCommentAvatar"], {}, {}, never, never, true, never>;
}
export declare class NzCommentContentDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<NzCommentContentDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzCommentContentDirective, "nz-comment-content, [nz-comment-content]", ["nzCommentContent"], {}, {}, never, never, true, never>;
}
export declare class NzCommentActionHostDirective extends CdkPortalOutlet implements OnInit, OnDestroy, AfterViewInit {
nzCommentActionHost?: TemplatePortal | null;
ngOnInit(): void;
ngOnDestroy(): void;
ngAfterViewInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NzCommentActionHostDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzCommentActionHostDirective, "[nzCommentActionHost]", ["nzCommentActionHost"], {
"nzCommentActionHost": {
"alias": "nzCommentActionHost";
"required": false;
};
}, {}, never, never, true, never>;
}
export declare class NzCommentActionComponent implements OnInit {
implicitContent: TemplateRef<void>;
private viewContainerRef;
private contentPortal;
get content(): TemplatePortal | null;
ngOnInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NzCommentActionComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzCommentActionComponent, "nz-comment-action", ["nzCommentAction"], {}, {}, never, ["*"], true, never>;
}
declare namespace comment_component_d_exports {
export { NzCommentComponent };
}
export declare class NzCommentComponent {
protected readonly dir: import("@angular/core").WritableSignal<import("@angular/cdk/bidi").Direction>;
nzAuthor?: string | TemplateRef<void>;
nzDatetime?: string | TemplateRef<void>;
actions: QueryList<NzCommentActionComponent>;
static ɵfac: i0.ɵɵFactoryDeclaration<NzCommentComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzCommentComponent, "nz-comment", ["nzComment"], {
"nzAuthor": {
"alias": "nzAuthor";
"required": false;
};
"nzDatetime": {
"alias": "nzDatetime";
"required": false;
};
}, {}, ["actions"], ["nz-avatar[nz-comment-avatar]", "nz-comment-content", "*"], true, never>;
}
export declare class NzCommentModule {
static ɵfac: i0.ɵɵFactoryDeclaration<NzCommentModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NzCommentModule, never, [typeof NzCommentComponent, typeof NzCommentAvatarDirective, typeof NzCommentContentDirective, typeof NzCommentActionComponent, typeof NzCommentActionHostDirective], [typeof NzCommentComponent, typeof NzCommentAvatarDirective, typeof NzCommentContentDirective, typeof NzCommentActionComponent, typeof NzCommentActionHostDirective]>;
static ɵinj: i0.ɵɵInjectorDeclaration<NzCommentModule>;
}