Skip to content

Commit

Permalink
fix: export
Browse files Browse the repository at this point in the history
  • Loading branch information
Wendell committed Jul 15, 2019
1 parent 3ee2f20 commit 66b18ee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
19 changes: 8 additions & 11 deletions components/descriptions/nz-descriptions.component.html
Original file line number Diff line number Diff line change
@@ -1,33 +1,30 @@
<div *ngIf="nzTitle"
class="ant-descriptions-title">
<div *ngIf="nzTitle" class="ant-descriptions-title">
<ng-container *nzStringTemplateOutlet="nzTitle">{{ nzTitle }}</ng-container>
</div>
<div class="ant-descriptions-view">
<table>
<tbody>
<tr class="ant-descriptions-row"
*ngFor="let row of itemMatrix; let i = index">
<tr class="ant-descriptions-row" *ngFor="let row of itemMatrix; let i = index">
<ng-container *ngFor="let item of row; let isLast = last">
<ng-container *ngIf="!nzBordered">
<td class="ant-descriptions-item"
[colSpan]="isLast ? (realColumn - (row.length - 1)) * 2 - 1 : item.span">
<td class="ant-descriptions-item" [colSpan]="isLast ? (realColumn - (row.length - 1)) * 2 - 1 : item.span">
<span class="ant-descriptions-item-label">{{ item.title }}</span>
<span class="ant-descriptions-item-content">
<ng-template [ngTemplateOutlet]="item.content"></ng-template>
</span>
</td>
</ng-container>
<ng-container *ngIf="nzBordered">
<td class="ant-descriptions-item-label"
*nzStringTemplateOutlet="item.title">{{ item.title }}</td>
<td class="ant-descriptions-item-content"
[colSpan]="isLast ? (realColumn - (row.length - 1)) * 2 - 1 : item.span">
<td class="ant-descriptions-item-label" *nzStringTemplateOutlet="item.title">{{ item.title }}</td>
<td
class="ant-descriptions-item-content"
[colSpan]="isLast ? (realColumn - (row.length - 1)) * 2 - 1 : item.span"
>
<ng-template [ngTemplateOutlet]="item.content"></ng-template>
</td>
</ng-container>
</ng-container>
</tr>
</tbody>

</table>
</div>
1 change: 1 addition & 0 deletions components/tabs/public-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ export * from './nz-tabs.module';
export * from './nz-tabs-nav.component';
export * from './nz-tabset.component';
export * from './nz-tab.directive';
export * from './nz-tab-title.directive';

0 comments on commit 66b18ee

Please sign in to comment.