import * as i0 from '@angular/core'; import { ElementRef, TemplateRef, OnChanges, AfterContentInit, QueryList, AfterViewInit, OnInit, SimpleChanges } from '@angular/core'; import { Direction } from '@angular/cdk/bidi'; import { Observable } from 'rxjs'; import { NzSafeAny, NzDirectionVHType, NzSizeLDSType } from 'ng-zorro-antd/core/types'; /** * 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 */ type ColumnCount = 1 | 2 | 3 | 4 | 6 | 8 | 12 | 24; interface NzListGrid { gutter?: number; span?: number; column?: ColumnCount; xs?: ColumnCount; sm?: ColumnCount; md?: ColumnCount; lg?: ColumnCount; xl?: ColumnCount; xxl?: ColumnCount; } declare class NzListItemMetaTitleComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzListItemMetaDescriptionComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzListItemMetaAvatarComponent { nzSrc?: string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzListItemMetaComponent { readonly elementRef: ElementRef; avatarStr: string; avatarTpl?: TemplateRef; set nzAvatar(value: string | TemplateRef); nzTitle?: string | TemplateRef; nzDescription?: string | TemplateRef; descriptionComponent?: NzListItemMetaDescriptionComponent; titleComponent?: NzListItemMetaTitleComponent; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzListItemExtraComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzListItemActionComponent { templateRef?: TemplateRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzListItemActionsComponent implements OnChanges, AfterContentInit { private cdr; nzActions: Array>; nzListItemActions: QueryList; actions: Array>; private inputActionChanges$; private contentChildrenChanges$; private initialized; constructor(); ngOnChanges(): void; ngAfterContentInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzListItemComponent implements AfterViewInit { private cdr; private destroyRef; private parentComp; nzActions: Array>; nzContent?: string | TemplateRef; nzExtra: TemplateRef | null; nzNoFlex: boolean; listItemExtraDirective?: NzListItemExtraComponent; private itemLayout?; get isVerticalAndExtra(): boolean; ngAfterViewInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_nzNoFlex: unknown; } /** * 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 NzListEmptyComponent { nzNoResult?: string | TemplateRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzListHeaderComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzListFooterComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzListPaginationComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzListLoadMoreDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class NzListGridDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * 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 NzListComponent implements AfterContentInit, OnChanges, OnInit { private directionality; private destroyRef; nzDataSource?: NzSafeAny[]; nzBordered: boolean; nzGrid?: NzListGrid | '' | null | undefined; nzHeader?: string | TemplateRef; nzFooter?: string | TemplateRef; nzItemLayout: NzDirectionVHType; nzRenderItem: TemplateRef<{ $implicit: NzSafeAny; index: number; }> | null; nzLoading: boolean; nzLoadMore: TemplateRef | null; nzPagination?: TemplateRef; nzSize: NzSizeLDSType; nzSplit: boolean; nzNoResult?: string | TemplateRef; nzListFooterComponent: NzListFooterComponent; nzListPaginationComponent: NzListPaginationComponent; nzListLoadMoreDirective: NzListLoadMoreDirective; hasSomethingAfterLastItem: boolean; dir: Direction; private itemLayoutNotifySource; get itemLayoutNotify$(): Observable; constructor(); ngOnInit(): void; getSomethingAfterLastItem(): boolean; ngOnChanges(changes: SimpleChanges): void; ngAfterContentInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_nzBordered: unknown; static ngAcceptInputType_nzLoading: unknown; static ngAcceptInputType_nzSplit: unknown; } declare class NzListModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { NzListComponent, NzListEmptyComponent, NzListFooterComponent, NzListGridDirective, NzListHeaderComponent, NzListItemActionComponent, NzListItemActionsComponent, NzListItemComponent, NzListItemExtraComponent, NzListItemMetaAvatarComponent, NzListItemMetaComponent, NzListItemMetaDescriptionComponent, NzListItemMetaTitleComponent, NzListLoadMoreDirective, NzListModule, NzListPaginationComponent }; export type { ColumnCount, NzListGrid };