@kre-form/ant
Version:
23 lines (22 loc) • 702 B
TypeScript
import { NzModalService } from "ng-zorro-antd";
declare type ModalSizeType = "small" | "medium" | "large";
export interface ModalOptions {
nzContent: any;
size: ModalSizeType;
nzTitle?: string;
primaryLabel?: string;
vertical?: boolean;
hideBtn?: boolean;
showResetBtn?: boolean;
}
export declare class KreDialogService {
modalService: NzModalService;
constructor(modalService: NzModalService);
switchSize(size: any): {
width: number;
height: number;
};
CreateModelDialog(modalOptions: ModalOptions, params: any, callback: any): void;
CreateModelDialogField(modalOptions: ModalOptions, params: any, callback: any): void;
}
export {};