39 lines
1.8 KiB
TypeScript
39 lines
1.8 KiB
TypeScript
import * as i0 from '@angular/core';
|
|
import { OnChanges, TemplateRef, EventEmitter, SimpleChanges } from '@angular/core';
|
|
|
|
/**
|
|
* 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
|
|
*/
|
|
type NzModeType = 'single' | 'double' | 'strip' | 'rect';
|
|
|
|
/**
|
|
* 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 NzHashCodeComponent implements OnChanges {
|
|
private cdr;
|
|
nzValue: string;
|
|
nzTitle: string;
|
|
nzLogo: TemplateRef<void> | string;
|
|
nzMode: NzModeType;
|
|
nzType: 'default' | 'primary';
|
|
readonly nzOnCopy: EventEmitter<string>;
|
|
hashDataList: string[];
|
|
copyHandle(): void;
|
|
ngOnChanges(changes: SimpleChanges): void;
|
|
setData(value: string): void;
|
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzHashCodeComponent, never>;
|
|
static ɵcmp: i0.ɵɵComponentDeclaration<NzHashCodeComponent, "nz-hash-code", ["nzHashCode"], { "nzValue": { "alias": "nzValue"; "required": false; }; "nzTitle": { "alias": "nzTitle"; "required": false; }; "nzLogo": { "alias": "nzLogo"; "required": false; }; "nzMode": { "alias": "nzMode"; "required": false; }; "nzType": { "alias": "nzType"; "required": false; }; }, { "nzOnCopy": "nzOnCopy"; }, never, never, true, never>;
|
|
}
|
|
|
|
declare class NzHashCodeModule {
|
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzHashCodeModule, never>;
|
|
static ɵmod: i0.ɵɵNgModuleDeclaration<NzHashCodeModule, never, [typeof NzHashCodeComponent], [typeof NzHashCodeComponent]>;
|
|
static ɵinj: i0.ɵɵInjectorDeclaration<NzHashCodeModule>;
|
|
}
|
|
|
|
export { NzHashCodeComponent, NzHashCodeModule };
|
|
export type { NzModeType };
|