ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
73 lines (64 loc) • 4.13 kB
TypeScript
import * as i0 from '@angular/core';
import { TemplateRef, OnInit, QueryList } from '@angular/core';
import * as i5 from '@angular/cdk/bidi';
import { Direction } from '@angular/cdk/bidi';
import { NzConfigKey } from 'ng-zorro-antd/core/config';
import { NgStyleInterface, NzSizeDSType } from 'ng-zorro-antd/core/types';
declare class NzCardGridDirective {
nzHoverable: boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<NzCardGridDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzCardGridDirective, "[nz-card-grid]", ["nzCardGrid"], { "nzHoverable": { "alias": "nzHoverable"; "required": false; }; }, {}, never, never, true, never>;
static ngAcceptInputType_nzHoverable: unknown;
}
declare class NzCardMetaComponent {
nzTitle: string | TemplateRef<void> | null;
nzDescription: string | TemplateRef<void> | null;
nzAvatar: TemplateRef<void> | null;
static ɵfac: i0.ɵɵFactoryDeclaration<NzCardMetaComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzCardMetaComponent, "nz-card-meta", ["nzCardMeta"], { "nzTitle": { "alias": "nzTitle"; "required": false; }; "nzDescription": { "alias": "nzDescription"; "required": false; }; "nzAvatar": { "alias": "nzAvatar"; "required": false; }; }, {}, never, 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 NzCardTabComponent {
template: TemplateRef<void>;
static ɵfac: i0.ɵɵFactoryDeclaration<NzCardTabComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzCardTabComponent, "nz-card-tab", ["nzCardTab"], {}, {}, 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 NzCardComponent implements OnInit {
private cdr;
private directionality;
private destroyRef;
readonly _nzModuleName: NzConfigKey;
nzBordered: boolean;
nzLoading: boolean;
nzHoverable: boolean;
nzBodyStyle: NgStyleInterface | null;
nzCover?: TemplateRef<void>;
nzActions: Array<TemplateRef<void>>;
nzType: string | 'inner' | null;
nzSize: NzSizeDSType;
nzTitle?: string | TemplateRef<void>;
nzExtra?: string | TemplateRef<void>;
listOfNzCardTabComponent?: NzCardTabComponent;
listOfNzCardGridDirective: QueryList<NzCardGridDirective>;
dir: Direction;
constructor();
ngOnInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NzCardComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzCardComponent, "nz-card", ["nzCard"], { "nzBordered": { "alias": "nzBordered"; "required": false; }; "nzLoading": { "alias": "nzLoading"; "required": false; }; "nzHoverable": { "alias": "nzHoverable"; "required": false; }; "nzBodyStyle": { "alias": "nzBodyStyle"; "required": false; }; "nzCover": { "alias": "nzCover"; "required": false; }; "nzActions": { "alias": "nzActions"; "required": false; }; "nzType": { "alias": "nzType"; "required": false; }; "nzSize": { "alias": "nzSize"; "required": false; }; "nzTitle": { "alias": "nzTitle"; "required": false; }; "nzExtra": { "alias": "nzExtra"; "required": false; }; }, {}, ["listOfNzCardTabComponent", "listOfNzCardGridDirective"], ["*"], true, never>;
static ngAcceptInputType_nzBordered: unknown;
static ngAcceptInputType_nzLoading: unknown;
static ngAcceptInputType_nzHoverable: unknown;
}
declare class NzCardModule {
static ɵfac: i0.ɵɵFactoryDeclaration<NzCardModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NzCardModule, never, [typeof NzCardComponent, typeof NzCardGridDirective, typeof NzCardMetaComponent, typeof NzCardTabComponent], [typeof i5.BidiModule, typeof NzCardComponent, typeof NzCardGridDirective, typeof NzCardMetaComponent, typeof NzCardTabComponent]>;
static ɵinj: i0.ɵɵInjectorDeclaration<NzCardModule>;
}
export { NzCardComponent, NzCardGridDirective, NzCardMetaComponent, NzCardModule, NzCardTabComponent };