完善定义
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
/** 面板区枚举 */
|
||||
export type PanelPosition = 'left' | 'right' | 'top' | 'bottom' | 'center';
|
||||
export type PanelPosition = 'left' | 'right' | 'top' | 'bottom' | 'center' | 'floating';
|
||||
|
||||
/** 影响关系项 */
|
||||
export interface InfluenceEntry {
|
||||
@@ -75,6 +75,7 @@ export interface MinSizes {
|
||||
export interface DockLayoutState {
|
||||
rootAreaId: string; // 根面板区id
|
||||
areas: Record<string, PanelArea>; // 面板区(一级容器)
|
||||
floatingAreaIds: Set<string>; // 浮动面板区id集合(全局去重)
|
||||
allPanels: Record<string, PanelMeta>; // 全局面板列表(非 DOM 实例)
|
||||
pendingGlobalRecompute?: Set<string>; // 全局待重算队列(可选,防循环控制)面板区id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user