import { OnInit } from '@angular/core'; import { Subscription } from 'rxjs'; import { SubscribeService } from 'rs-ng-core'; /** * 模态框的参数类型 * content?: string // 模态框内容(应该可删除) * data?: object // 模态框数据 * formType?: string // 模态框子表单组件类型 * isBindModalSubject?: boolean // 是否监听modalSubject的推送 * isFooter?: boolean // 是否显示模态框底部 * isVisible?: boolean // 是否显示模态框 * name?: string // 模态框名字,用于区分多个模态框 * title?: string, // 模态框标题 * type?: string // 模态框的类型,有表格、地图、表单等等类型 * width?: string, // 模态框宽度 * */ interface ModalParam { content?: string; data?: any; formType?: string; isBindModalSubject?: boolean; isFooter?: boolean; isVisible?: boolean; name?: string; title?: string; type?: string; width?: string; } export declare class RsNgModalComponent implements OnInit { private subscribeService; formComponent: any; modalParam: ModalParam; subCompParam: object; styleName: any; formItem: any; relationFieldList: object; modalSubscription: Subscription; constructor(subscribeService: SubscribeService); /** * @param formType: 针对表单组件的类型,如果是submit则会用这些数据请求提交接口,如果是submit则会用这些数据请求提交接口 * */ handleOk(formType?: any): void; handleCancel(): void; ngOnInit(): void; ngOnDestroy(): void; getBMapData($event: any): void; getTableData($event: any): void; handleDownload(event: any, data: any): void; listen(): void; } export {};