Files
vue-desktop/src/core/window/IWindowForm.ts

14 lines
492 B
TypeScript
Raw Normal View History

2025-08-28 08:05:16 +08:00
import type { IProcess } from '@/core/process/IProcess.ts'
2025-09-12 14:45:32 +08:00
import type { TWindowFormState } from '@/core/window/types/WindowFormTypes.ts'
2025-09-22 13:23:12 +08:00
import type { IDestroyable } from '@/core/common/types/IDestroyable.ts'
2025-08-28 08:05:16 +08:00
2025-09-22 13:23:12 +08:00
export interface IWindowForm extends IDestroyable {
2025-09-12 14:45:32 +08:00
/** 窗体id */
2025-08-28 08:05:16 +08:00
get id(): string;
2025-09-12 14:45:32 +08:00
/** 窗体所属的进程 */
2025-08-28 08:05:16 +08:00
get proc(): IProcess | undefined;
2025-09-12 14:45:32 +08:00
/** 窗体元素 */
get windowFormEle(): HTMLElement;
/** 窗体状态 */
get windowFormState(): TWindowFormState;
2025-08-28 08:05:16 +08:00
}