ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
48 lines (47 loc) • 1.53 kB
TypeScript
/**
* @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
*/
import { ChangeDetectorRef, EventEmitter, TemplateRef } from '@angular/core';
import { TransferDirection, TransferItem } from './interface';
export declare class NzTransferListComponent {
private cdr;
direction: TransferDirection;
titleText: string;
showSelectAll: boolean;
dataSource: TransferItem[];
itemUnit: string;
itemsUnit: string;
filter: string;
disabled: boolean;
showSearch: boolean;
searchPlaceholder: string;
notFoundContent: string;
filterOption: (inputValue: string, item: TransferItem) => boolean;
renderList: TemplateRef<void>;
render: TemplateRef<void>;
footer: TemplateRef<void>;
readonly handleSelectAll: EventEmitter<boolean>;
readonly handleSelect: EventEmitter<TransferItem>;
readonly filterChange: EventEmitter<{
direction: TransferDirection;
value: string;
}>;
stat: {
checkAll: boolean;
checkHalf: boolean;
checkCount: number;
shownCount: number;
};
onItemSelect: (item: TransferItem) => void;
onItemSelectAll: (status: boolean) => void;
private updateCheckStatus;
handleFilter(value: string): void;
handleClear(): void;
private matchFilter;
constructor(cdr: ChangeDetectorRef);
markForCheck(): void;
}