UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

62 lines (55 loc) 3.61 kB
import * as i0 from '@angular/core'; import { OnInit, TemplateRef, OnDestroy, AfterViewInit, QueryList } from '@angular/core'; import { Direction } from '@angular/cdk/bidi'; import { TemplatePortal, CdkPortalOutlet } from '@angular/cdk/portal'; /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ declare class NzCommentAvatarDirective { static ɵfac: i0.ɵɵFactoryDeclaration<NzCommentAvatarDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<NzCommentAvatarDirective, "nz-avatar[nz-comment-avatar]", ["nzCommentAvatar"], {}, {}, never, never, true, never>; } 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>; } 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>; } 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>; } /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ declare class NzCommentComponent implements OnInit { private destroyRef; private cdr; private directionality; nzAuthor?: string | TemplateRef<void>; nzDatetime?: string | TemplateRef<void>; dir: Direction; actions: QueryList<NzCommentActionComponent>; ngOnInit(): void; 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>; } 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>; } export { NzCommentActionComponent, NzCommentActionHostDirective, NzCommentAvatarDirective, NzCommentComponent, NzCommentContentDirective, NzCommentModule };