/** * @file 组件 modal/Dialog * @author baozhixin * @borrows https://github.com/react-component/dialog */ import './style/index.less'; import * as I from './interface'; import Base from 'santd/base'; import san from 'san'; import button from '../button'; export declare const filters: { css(style: I.styleType | string): string | I.styleType; mergeStyle(style: string, zIndex: number): string; }; export default class Dialog extends Base { static template: string; static components: { sentinel: san.DefinedComponentClass<{}, { template: string; }>; 's-button': typeof button; }; static filters: { css(style: string | I.styleType): string | I.styleType; mergeStyle(style: string, zIndex: number): string; }; dialogStyle(width: number, modalStyle: I.styleType | string): string; modalTrans(transitionName: string, needCallback: boolean): { enter(el: HTMLElement, done: () => void): void; leave(el: HTMLElement, done: () => void): void; } | undefined; initData(): I.DialogState; inited(): void; attached(): void; disposed(): void; onMaskClick(e: MouseEvent): void; onKeydown(e: KeyboardEvent): void; close(e: MouseEvent | KeyboardEvent): void; addScrollingEffect(): void; removeScrollingEffect(): void; checkScrollbar(): void; setScrollbar(): void; resetScrollbar(): void; tryFocus(): void; afterMouseEvent(): void; }