UNPKG

ng-zorro-antd

Version:

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

46 lines (45 loc) 2.02 kB
/** * 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 */ import { Direction, Directionality } from '@angular/cdk/bidi'; import { AfterContentInit, ChangeDetectorRef, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges, TemplateRef } from '@angular/core'; import { NzConfigKey, NzConfigService } from 'ng-zorro-antd/core/config'; import { NzBreakpointEnum, NzBreakpointService } from 'ng-zorro-antd/core/services'; import { BooleanInput } from 'ng-zorro-antd/core/types'; import { NzDescriptionsItemComponent } from './descriptions-item.component'; import { NzDescriptionsItemRenderProps, NzDescriptionsLayout, NzDescriptionsSize } from './typings'; export declare class NzDescriptionsComponent implements OnChanges, OnDestroy, AfterContentInit, OnInit { nzConfigService: NzConfigService; private cdr; private breakpointService; private directionality; readonly _nzModuleName: NzConfigKey; static ngAcceptInputType_nzBordered: BooleanInput; static ngAcceptInputType_nzColon: BooleanInput; items: QueryList<NzDescriptionsItemComponent>; nzBordered: boolean; nzLayout: NzDescriptionsLayout; nzColumn: number | { [key in NzBreakpointEnum]: number; }; nzSize: NzDescriptionsSize; nzTitle: string | TemplateRef<void>; nzExtra?: string | TemplateRef<void>; nzColon: boolean; itemMatrix: NzDescriptionsItemRenderProps[][]; realColumn: number; dir: Direction; private breakpoint; private destroy$; constructor(nzConfigService: NzConfigService, cdr: ChangeDetectorRef, breakpointService: NzBreakpointService, directionality: Directionality); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngAfterContentInit(): void; ngOnDestroy(): void; /** * Prepare the render matrix according to description items' spans. */ private prepareMatrix; private getColumn; }