/** * @file 组件 modal/Modal * @author baozhixin * @borrows https://ant.design/components/modal-cn/ */ import * as I from './interface'; import Base from 'santd/base'; import button from '../button'; import icon from '../icon'; import { Component } from 'san'; export default class Modal extends Base { static components: { 's-button': typeof button; 's-icon': typeof icon; }; static computed: I.Computed; initData(): I.State; inited(this: TBase): void; dialog: Component<{}> | null; attached(): void; handleCancel(e: MouseEvent): void; handleOk(e: MouseEvent): void; afterClose(): void; static template: string; }