import { HttpClient } from "@angular/common/http"; import { TemplateRef, EventEmitter, ElementRef, ChangeDetectorRef } from "@angular/core"; import * as i0 from "@angular/core"; export declare class WtLensMatrixComponent { private cdr; private http; private el; set _url(v: string); /** * 组件数据源url */ url: string; /** * 根据组件自身的宽度计算每列宽度,将使cellWidth失效 */ self: boolean; /** * 当不为空时,指定要取值的字段名称 */ dataField?: string; /** * 额外参数 */ extraParam: any; /** * 组件容器的宽度 默认100% */ width: string; /** * 组件容器高度 默认500px */ height: string; /** * 要显示的镜片sku */ set lensCd(v: string); /** * 镜片单元格宽度 */ set cellWidth(v: number); /** * 镜片单元格模板 */ nzContent: string | TemplateRef | null; /** * 值为true时,开始加载组件 * */ set init(v: boolean); /** * 镜片矩阵图准备完毕事件 */ nzReady: EventEmitter; nzError: EventEmitter; lensMatrix: ElementRef; loading: boolean; _cellWidth: number; _lensCd: string; _init: boolean; _curCoulmnIdx: number; _sphs: string[]; _cyls: string[]; dataHelper: DataHelper; constructor(cdr: ChangeDetectorRef, http: HttpClient, el: ElementRef); private loadInit; cell(sph: string, cyl: string): any; mouseoverCol(idx: number, e: MouseEvent): void; mouseoutCol(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DataHelper { private cellDataMap; setData(data: CellDataItem[]): void; cell(sph: string, cyl: string): CellDataItem | null; } interface CellDataItem { sph: string; cyl: string; isSupport: boolean; [key: string]: any; } export {};