UNPKG

xframelib

Version:

The accumulated front-end development foundation library originates from projects and serves projects.

39 lines (38 loc) 981 B
/** * 传递的WindowPanel数据模型 */ export interface IWindowData { id: string; icon?: string; title?: string; pid?: string; data?: any; } /** * Windows窗体Map集合 */ export declare const WindowsMap: Map<string, IWindowData>; /** * 最小化窗体Map集合 */ export declare const MinWindowMap: import('vue').Ref<Map<string, number> & Omit<Map<string, number>, keyof Map<any, any>>, Map<string, number> | (Map<string, number> & Omit<Map<string, number>, keyof Map<any, any>>)>; declare class XWindowManager { static ZIndexMax: number; /** * 注册添加窗体对象 * @param panelData */ static addWindowPanel(panelData: IWindowData): void; /** * 移除窗体 * @param id */ static removeWindowPanel(id: string): void; static minimizeWindowPanel(id: string): void; /** * 打开窗体 * @param id */ static openWindowPanel(id: string): void; } export default XWindowManager;