UNPKG

ng-zorro-antd

Version:

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

848 lines (827 loc) 27.7 kB
import { Component, ChangeDetectionStrategy, Input, TemplateRef, ViewEncapsulation, ElementRef, Renderer2, ContentChild, ViewChild, NgZone, ChangeDetectorRef, ContentChildren, Directive, HostBinding, NgModule } from '@angular/core'; import { __decorate, __metadata } from 'tslib'; import { InputBoolean } from 'ng-zorro-antd/core/util'; import { Subject, defer, of, merge, BehaviorSubject } from 'rxjs'; import { take, switchMap, takeUntil } from 'rxjs/operators'; import { CommonModule } from '@angular/common'; import { NzAvatarModule } from 'ng-zorro-antd/avatar'; import { NzOutletModule } from 'ng-zorro-antd/core/outlet'; import { NzEmptyModule } from 'ng-zorro-antd/empty'; import { NzGridModule } from 'ng-zorro-antd/grid'; import { NzSpinModule } from 'ng-zorro-antd/spin'; /** * @fileoverview added by tsickle * Generated from: interface.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @license * Copyright Alibaba.com All Rights Reserved. * * 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 */ /** * @record */ function NzListGrid() { } if (false) { /** @type {?|undefined} */ NzListGrid.prototype.gutter; /** @type {?|undefined} */ NzListGrid.prototype.span; /** @type {?|undefined} */ NzListGrid.prototype.column; /** @type {?|undefined} */ NzListGrid.prototype.xs; /** @type {?|undefined} */ NzListGrid.prototype.sm; /** @type {?|undefined} */ NzListGrid.prototype.md; /** @type {?|undefined} */ NzListGrid.prototype.lg; /** @type {?|undefined} */ NzListGrid.prototype.xl; /** @type {?|undefined} */ NzListGrid.prototype.xxl; } /** * @fileoverview added by tsickle * Generated from: list-item-meta-cell.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ class NzListItemMetaTitleComponent { } NzListItemMetaTitleComponent.decorators = [ { type: Component, args: [{ selector: 'nz-list-item-meta-title', exportAs: 'nzListItemMetaTitle', template: ` <h4 class="ant-list-item-meta-title"> <ng-content></ng-content> </h4> `, changeDetection: ChangeDetectionStrategy.OnPush }] } ]; class NzListItemMetaDescriptionComponent { } NzListItemMetaDescriptionComponent.decorators = [ { type: Component, args: [{ selector: 'nz-list-item-meta-description', exportAs: 'nzListItemMetaDescription', template: ` <div class="ant-list-item-meta-description"> <ng-content></ng-content> </div> `, changeDetection: ChangeDetectionStrategy.OnPush }] } ]; class NzListItemMetaAvatarComponent { } NzListItemMetaAvatarComponent.decorators = [ { type: Component, args: [{ selector: 'nz-list-item-meta-avatar', exportAs: 'nzListItemMetaAvatar', template: ` <div class="ant-list-item-meta-avatar"> <nz-avatar *ngIf="nzSrc" [nzSrc]="nzSrc"></nz-avatar> <ng-content *ngIf="!nzSrc"></ng-content> </div> `, changeDetection: ChangeDetectionStrategy.OnPush }] } ]; NzListItemMetaAvatarComponent.propDecorators = { nzSrc: [{ type: Input }] }; if (false) { /** @type {?} */ NzListItemMetaAvatarComponent.prototype.nzSrc; } /** * @fileoverview added by tsickle * Generated from: list-item-meta.component.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ class NzListItemMetaComponent { /** * @param {?} elementRef * @param {?} renderer */ constructor(elementRef, renderer) { this.elementRef = elementRef; this.renderer = renderer; this.avatarStr = ''; this.renderer.addClass(elementRef.nativeElement, 'ant-list-item-meta'); } /** * @param {?} value * @return {?} */ set nzAvatar(value) { if (value instanceof TemplateRef) { this.avatarStr = ''; this.avatarTpl = value; } else { this.avatarStr = value; } } } NzListItemMetaComponent.decorators = [ { type: Component, args: [{ selector: 'nz-list-item-meta, [nz-list-item-meta]', exportAs: 'nzListItemMeta', template: ` <!--Old API Start--> <nz-list-item-meta-avatar *ngIf="avatarStr" [nzSrc]="avatarStr"></nz-list-item-meta-avatar> <nz-list-item-meta-avatar *ngIf="avatarTpl"> <ng-container [ngTemplateOutlet]="avatarTpl"></ng-container> </nz-list-item-meta-avatar> <!--Old API End--> <ng-content select="nz-list-item-meta-avatar"></ng-content> <div *ngIf="nzTitle || nzDescription || descriptionComponent || titleComponent" class="ant-list-item-meta-content"> <!--Old API Start--> <nz-list-item-meta-title *ngIf="nzTitle && !titleComponent"> <ng-container *nzStringTemplateOutlet="nzTitle">{{ nzTitle }}</ng-container> </nz-list-item-meta-title> <nz-list-item-meta-description *ngIf="nzDescription && !descriptionComponent"> <ng-container *nzStringTemplateOutlet="nzDescription">{{ nzDescription }}</ng-container> </nz-list-item-meta-description> <!--Old API End--> <ng-content select="nz-list-item-meta-title"></ng-content> <ng-content select="nz-list-item-meta-description"></ng-content> </div> `, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None }] } ]; /** @nocollapse */ NzListItemMetaComponent.ctorParameters = () => [ { type: ElementRef }, { type: Renderer2 } ]; NzListItemMetaComponent.propDecorators = { nzAvatar: [{ type: Input }], nzTitle: [{ type: Input }], nzDescription: [{ type: Input }], descriptionComponent: [{ type: ContentChild, args: [NzListItemMetaDescriptionComponent,] }], titleComponent: [{ type: ContentChild, args: [NzListItemMetaTitleComponent,] }] }; if (false) { /** @type {?} */ NzListItemMetaComponent.prototype.avatarStr; /** @type {?} */ NzListItemMetaComponent.prototype.avatarTpl; /** @type {?} */ NzListItemMetaComponent.prototype.nzTitle; /** @type {?} */ NzListItemMetaComponent.prototype.nzDescription; /** @type {?} */ NzListItemMetaComponent.prototype.descriptionComponent; /** @type {?} */ NzListItemMetaComponent.prototype.titleComponent; /** @type {?} */ NzListItemMetaComponent.prototype.elementRef; /** * @type {?} * @private */ NzListItemMetaComponent.prototype.renderer; } /** * @fileoverview added by tsickle * Generated from: list-item-cell.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ class NzListItemExtraComponent { constructor() { } } NzListItemExtraComponent.decorators = [ { type: Component, args: [{ selector: 'nz-list-item-extra, [nz-list-item-extra]', exportAs: 'nzListItemExtra', changeDetection: ChangeDetectionStrategy.OnPush, template: ` <ng-content></ng-content> `, host: { class: 'ant-list-item-extra' } }] } ]; /** @nocollapse */ NzListItemExtraComponent.ctorParameters = () => []; class NzListItemActionComponent { constructor() { } } NzListItemActionComponent.decorators = [ { type: Component, args: [{ selector: 'nz-list-item-action', exportAs: 'nzListItemAction', changeDetection: ChangeDetectionStrategy.OnPush, template: ` <ng-template><ng-content></ng-content></ng-template> ` }] } ]; /** @nocollapse */ NzListItemActionComponent.ctorParameters = () => []; NzListItemActionComponent.propDecorators = { templateRef: [{ type: ViewChild, args: [TemplateRef,] }] }; if (false) { /** @type {?} */ NzListItemActionComponent.prototype.templateRef; } class NzListItemActionsComponent { /** * @param {?} ngZone * @param {?} cdr */ constructor(ngZone, cdr) { this.ngZone = ngZone; this.cdr = cdr; this.nzActions = []; this.actions = []; this.destroy$ = new Subject(); this.inputActionChanges$ = new Subject(); this.contentChildrenChanges$ = defer((/** * @return {?} */ () => { if (this.nzListItemActions) { return of(null); } return this.ngZone.onStable.asObservable().pipe(take(1), switchMap((/** * @return {?} */ () => this.contentChildrenChanges$))); })); merge(this.contentChildrenChanges$, this.inputActionChanges$) .pipe(takeUntil(this.destroy$)) .subscribe((/** * @return {?} */ () => { if (this.nzActions.length) { this.actions = this.nzActions; } else { this.actions = this.nzListItemActions.map((/** * @param {?} action * @return {?} */ action => action.templateRef)); } this.cdr.markForCheck(); })); } /** * @return {?} */ ngOnChanges() { this.inputActionChanges$.next(null); } /** * @return {?} */ ngOnDestroy() { this.destroy$.next(); this.destroy$.complete(); } } NzListItemActionsComponent.decorators = [ { type: Component, args: [{ selector: 'ul[nz-list-item-actions]', exportAs: 'nzListItemActions', changeDetection: ChangeDetectionStrategy.OnPush, template: ` <li *ngFor="let i of actions; let last = last"> <ng-template [ngTemplateOutlet]="i"></ng-template> <em *ngIf="!last" class="ant-list-item-action-split"></em> </li> `, host: { class: 'ant-list-item-action' } }] } ]; /** @nocollapse */ NzListItemActionsComponent.ctorParameters = () => [ { type: NgZone }, { type: ChangeDetectorRef } ]; NzListItemActionsComponent.propDecorators = { nzActions: [{ type: Input }], nzListItemActions: [{ type: ContentChildren, args: [NzListItemActionComponent,] }] }; if (false) { /** @type {?} */ NzListItemActionsComponent.prototype.nzActions; /** @type {?} */ NzListItemActionsComponent.prototype.nzListItemActions; /** @type {?} */ NzListItemActionsComponent.prototype.actions; /** * @type {?} * @private */ NzListItemActionsComponent.prototype.destroy$; /** * @type {?} * @private */ NzListItemActionsComponent.prototype.inputActionChanges$; /** * @type {?} * @private */ NzListItemActionsComponent.prototype.contentChildrenChanges$; /** * @type {?} * @private */ NzListItemActionsComponent.prototype.ngZone; /** * @type {?} * @private */ NzListItemActionsComponent.prototype.cdr; } /** * @fileoverview added by tsickle * Generated from: list-cell.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ class NzListEmptyComponent { } NzListEmptyComponent.decorators = [ { type: Component, args: [{ selector: 'nz-list-empty', exportAs: 'nzListHeader', changeDetection: ChangeDetectionStrategy.OnPush, template: ` <nz-embed-empty [nzComponentName]="'list'" [specificContent]="nzNoResult"></nz-embed-empty> `, host: { class: 'ant-list-empty-text' } }] } ]; NzListEmptyComponent.propDecorators = { nzNoResult: [{ type: Input }] }; if (false) { /** @type {?} */ NzListEmptyComponent.prototype.nzNoResult; } class NzListHeaderComponent { } NzListHeaderComponent.decorators = [ { type: Component, args: [{ selector: 'nz-list-header', exportAs: 'nzListHeader', changeDetection: ChangeDetectionStrategy.OnPush, template: ` <ng-content></ng-content> `, host: { class: 'ant-list-header' } }] } ]; class NzListFooterComponent { } NzListFooterComponent.decorators = [ { type: Component, args: [{ selector: 'nz-list-footer', exportAs: 'nzListFooter', changeDetection: ChangeDetectionStrategy.OnPush, template: ` <ng-content></ng-content> `, host: { class: 'ant-list-footer' } }] } ]; class NzListPaginationComponent { } NzListPaginationComponent.decorators = [ { type: Component, args: [{ selector: 'nz-list-pagination', exportAs: 'nzListPagination', changeDetection: ChangeDetectionStrategy.OnPush, template: ` <ng-content></ng-content> `, host: { class: 'ant-list-pagination' } }] } ]; class NzListLoadMoreDirective { } NzListLoadMoreDirective.decorators = [ { type: Directive, args: [{ selector: 'nz-list-load-more', exportAs: 'nzListLoadMoreDirective' },] } ]; class NzListGridDirective { } NzListGridDirective.decorators = [ { type: Directive, args: [{ selector: 'nz-list[nzGrid]', host: { class: 'ant-list-grid' } },] } ]; /** * @fileoverview added by tsickle * Generated from: list.component.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ class NzListComponent { constructor() { this.nzBordered = false; this.nzItemLayout = 'horizontal'; this.nzLoading = false; this.nzSize = 'default'; this.nzSplit = true; this.hasSomethingAfterLastItem = false; this.itemLayoutNotifySource = new BehaviorSubject(this.nzItemLayout); } /** * @return {?} */ get itemLayoutNotify$() { return this.itemLayoutNotifySource.asObservable(); } /** * @return {?} */ getSomethingAfterLastItem() { return !!(this.nzLoadMore || this.nzPagination || this.nzFooter || this.nzListFooterComponent || this.nzListPaginationComponent || this.nzListLoadMoreDirective); } /** * @param {?} changes * @return {?} */ ngOnChanges(changes) { if (changes.nzItemLayout) { this.itemLayoutNotifySource.next(this.nzItemLayout); } } /** * @return {?} */ ngOnDestroy() { this.itemLayoutNotifySource.unsubscribe(); } /** * @return {?} */ ngAfterContentInit() { this.hasSomethingAfterLastItem = this.getSomethingAfterLastItem(); } } NzListComponent.decorators = [ { type: Component, args: [{ selector: 'nz-list, [nz-list]', exportAs: 'nzList', template: ` <ng-template #itemsTpl> <div class="ant-list-items"> <ng-container *ngFor="let item of nzDataSource; let index = index"> <ng-template [ngTemplateOutlet]="nzRenderItem" [ngTemplateOutletContext]="{ $implicit: item, index: index }"></ng-template> </ng-container> <ng-content select="nz-list-item, [nz-list-item]"></ng-content> </div> </ng-template> <nz-list-header *ngIf="nzHeader"> <ng-container *nzStringTemplateOutlet="nzHeader">{{ nzHeader }}</ng-container> </nz-list-header> <ng-content select="nz-list-header"></ng-content> <nz-spin [nzSpinning]="nzLoading"> <ng-container> <div *ngIf="nzLoading && nzDataSource && nzDataSource.length === 0" [style.min-height.px]="53"></div> <div *ngIf="nzGrid && nzDataSource; else itemsTpl" nz-row [nzGutter]="nzGrid.gutter"> <div nz-col [nzSpan]="nzGrid.span" [nzXs]="nzGrid.xs" [nzSm]="nzGrid.sm" [nzMd]="nzGrid.md" [nzLg]="nzGrid.lg" [nzXl]="nzGrid.xl" [nzXXl]="nzGrid.xxl" *ngFor="let item of nzDataSource; let index = index" > <ng-template [ngTemplateOutlet]="nzRenderItem" [ngTemplateOutletContext]="{ $implicit: item, index: index }"></ng-template> </div> </div> <nz-list-empty *ngIf="!nzLoading && nzDataSource && nzDataSource.length === 0" [nzNoResult]="nzNoResult"></nz-list-empty> </ng-container> <ng-content></ng-content> </nz-spin> <nz-list-footer *ngIf="nzFooter"> <ng-container *nzStringTemplateOutlet="nzFooter">{{ nzFooter }}</ng-container> </nz-list-footer> <ng-content select="nz-list-footer, [nz-list-footer]"></ng-content> <ng-template [ngTemplateOutlet]="nzLoadMore"></ng-template> <ng-content select="nz-list-load-more, [nz-list-load-more]"></ng-content> <nz-list-pagination *ngIf="nzPagination"> <ng-template [ngTemplateOutlet]="nzPagination"></ng-template> </nz-list-pagination> <ng-content select="nz-list-pagination, [nz-list-pagination]"></ng-content> `, preserveWhitespaces: false, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { '[class.ant-list]': 'true', '[class.ant-list-vertical]': 'nzItemLayout === "vertical"', '[class.ant-list-lg]': 'nzSize === "large"', '[class.ant-list-sm]': 'nzSize === "small"', '[class.ant-list-split]': 'nzSplit', '[class.ant-list-bordered]': 'nzBordered', '[class.ant-list-loading]': 'nzLoading', '[class.ant-list-something-after-last-item]': 'hasSomethingAfterLastItem' } }] } ]; /** @nocollapse */ NzListComponent.ctorParameters = () => []; NzListComponent.propDecorators = { nzDataSource: [{ type: Input }], nzBordered: [{ type: Input }], nzGrid: [{ type: Input }], nzHeader: [{ type: Input }], nzFooter: [{ type: Input }], nzItemLayout: [{ type: Input }], nzRenderItem: [{ type: Input }], nzLoading: [{ type: Input }], nzLoadMore: [{ type: Input }], nzPagination: [{ type: Input }], nzSize: [{ type: Input }], nzSplit: [{ type: Input }], nzNoResult: [{ type: Input }], nzListFooterComponent: [{ type: ContentChild, args: [NzListFooterComponent,] }], nzListPaginationComponent: [{ type: ContentChild, args: [NzListPaginationComponent,] }], nzListLoadMoreDirective: [{ type: ContentChild, args: [NzListLoadMoreDirective,] }] }; __decorate([ InputBoolean(), __metadata("design:type", Object) ], NzListComponent.prototype, "nzBordered", void 0); __decorate([ InputBoolean(), __metadata("design:type", Object) ], NzListComponent.prototype, "nzLoading", void 0); __decorate([ InputBoolean(), __metadata("design:type", Object) ], NzListComponent.prototype, "nzSplit", void 0); if (false) { /** @type {?} */ NzListComponent.ngAcceptInputType_nzBordered; /** @type {?} */ NzListComponent.ngAcceptInputType_nzLoading; /** @type {?} */ NzListComponent.ngAcceptInputType_nzSplit; /** @type {?} */ NzListComponent.prototype.nzDataSource; /** @type {?} */ NzListComponent.prototype.nzBordered; /** @type {?} */ NzListComponent.prototype.nzGrid; /** @type {?} */ NzListComponent.prototype.nzHeader; /** @type {?} */ NzListComponent.prototype.nzFooter; /** @type {?} */ NzListComponent.prototype.nzItemLayout; /** @type {?} */ NzListComponent.prototype.nzRenderItem; /** @type {?} */ NzListComponent.prototype.nzLoading; /** @type {?} */ NzListComponent.prototype.nzLoadMore; /** @type {?} */ NzListComponent.prototype.nzPagination; /** @type {?} */ NzListComponent.prototype.nzSize; /** @type {?} */ NzListComponent.prototype.nzSplit; /** @type {?} */ NzListComponent.prototype.nzNoResult; /** @type {?} */ NzListComponent.prototype.nzListFooterComponent; /** @type {?} */ NzListComponent.prototype.nzListPaginationComponent; /** @type {?} */ NzListComponent.prototype.nzListLoadMoreDirective; /** @type {?} */ NzListComponent.prototype.hasSomethingAfterLastItem; /** * @type {?} * @private */ NzListComponent.prototype.itemLayoutNotifySource; } /** * @fileoverview added by tsickle * Generated from: list-item.component.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ class NzListItemComponent { /** * @param {?} elementRef * @param {?} renderer * @param {?} parentComp * @param {?} cdr */ constructor(elementRef, renderer, parentComp, cdr) { this.parentComp = parentComp; this.cdr = cdr; this.nzActions = []; this.nzNoFlex = false; renderer.addClass(elementRef.nativeElement, 'ant-list-item'); } /** * @return {?} */ get isVerticalAndExtra() { return this.itemLayout === 'vertical' && (!!this.listItemExtraDirective || !!this.nzExtra); } /** * @return {?} */ ngAfterViewInit() { this.itemLayout$ = this.parentComp.itemLayoutNotify$.subscribe((/** * @param {?} val * @return {?} */ val => { this.itemLayout = val; this.cdr.detectChanges(); })); } /** * @return {?} */ ngOnDestroy() { if (this.itemLayout$) { this.itemLayout$.unsubscribe(); } } } NzListItemComponent.decorators = [ { type: Component, args: [{ selector: 'nz-list-item, [nz-list-item]', exportAs: 'nzListItem', template: ` <ng-template #actionsTpl> <ul nz-list-item-actions *ngIf="nzActions?.length > 0" [nzActions]="nzActions"></ul> <ng-content select="nz-list-item-actions, [nz-list-item-actions]"></ng-content> </ng-template> <ng-template #contentTpl> <ng-content select="nz-list-item-meta, [nz-list-item-meta]"></ng-content> <ng-content></ng-content> <ng-container *ngIf="nzContent"> <ng-container *nzStringTemplateOutlet="nzContent">{{ nzContent }}</ng-container> </ng-container> </ng-template> <ng-template #extraTpl> <ng-content select="nz-list-item-extra, [nz-list-item-extra]"></ng-content> </ng-template> <ng-template #simpleTpl> <ng-template [ngTemplateOutlet]="contentTpl"></ng-template> <ng-template [ngTemplateOutlet]="nzExtra"></ng-template> <ng-template [ngTemplateOutlet]="extraTpl"></ng-template> <ng-template [ngTemplateOutlet]="actionsTpl"></ng-template> </ng-template> <ng-container *ngIf="isVerticalAndExtra; else simpleTpl"> <div class="ant-list-item-main"> <ng-template [ngTemplateOutlet]="contentTpl"></ng-template> <ng-template [ngTemplateOutlet]="actionsTpl"></ng-template> </div> <nz-list-item-extra *ngIf="nzExtra"> <ng-template [ngTemplateOutlet]="nzExtra"></ng-template> </nz-list-item-extra> <ng-template [ngTemplateOutlet]="extraTpl"></ng-template> </ng-container> `, preserveWhitespaces: false, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush }] } ]; /** @nocollapse */ NzListItemComponent.ctorParameters = () => [ { type: ElementRef }, { type: Renderer2 }, { type: NzListComponent }, { type: ChangeDetectorRef } ]; NzListItemComponent.propDecorators = { nzActions: [{ type: Input }], nzContent: [{ type: Input }], nzExtra: [{ type: Input }], nzNoFlex: [{ type: Input }, { type: HostBinding, args: ['class.ant-list-item-no-flex',] }], listItemExtraDirective: [{ type: ContentChild, args: [NzListItemExtraComponent,] }] }; __decorate([ InputBoolean(), __metadata("design:type", Boolean) ], NzListItemComponent.prototype, "nzNoFlex", void 0); if (false) { /** @type {?} */ NzListItemComponent.ngAcceptInputType_nzNoFlex; /** @type {?} */ NzListItemComponent.prototype.nzActions; /** @type {?} */ NzListItemComponent.prototype.nzContent; /** @type {?} */ NzListItemComponent.prototype.nzExtra; /** @type {?} */ NzListItemComponent.prototype.nzNoFlex; /** @type {?} */ NzListItemComponent.prototype.listItemExtraDirective; /** * @type {?} * @private */ NzListItemComponent.prototype.itemLayout; /** * @type {?} * @private */ NzListItemComponent.prototype.itemLayout$; /** * @type {?} * @private */ NzListItemComponent.prototype.parentComp; /** * @type {?} * @private */ NzListItemComponent.prototype.cdr; } /** * @fileoverview added by tsickle * Generated from: list.module.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const DIRECTIVES = [ NzListComponent, NzListHeaderComponent, NzListFooterComponent, NzListPaginationComponent, NzListEmptyComponent, NzListItemComponent, NzListItemMetaComponent, NzListItemMetaTitleComponent, NzListItemMetaDescriptionComponent, NzListItemMetaAvatarComponent, NzListItemActionsComponent, NzListItemActionComponent, NzListItemExtraComponent, NzListLoadMoreDirective, NzListGridDirective ]; class NzListModule { } NzListModule.decorators = [ { type: NgModule, args: [{ imports: [CommonModule, NzSpinModule, NzGridModule, NzAvatarModule, NzOutletModule, NzEmptyModule], declarations: [DIRECTIVES], exports: [DIRECTIVES] },] } ]; /** * @fileoverview added by tsickle * Generated from: public-api.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @fileoverview added by tsickle * Generated from: ng-zorro-antd-list.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ export { NzListComponent, NzListEmptyComponent, NzListFooterComponent, NzListGridDirective, NzListHeaderComponent, NzListItemActionComponent, NzListItemActionsComponent, NzListItemComponent, NzListItemExtraComponent, NzListItemMetaAvatarComponent, NzListItemMetaComponent, NzListItemMetaDescriptionComponent, NzListItemMetaTitleComponent, NzListLoadMoreDirective, NzListModule, NzListPaginationComponent }; //# sourceMappingURL=ng-zorro-antd-list.js.map