feat(tree,menu,docs): 对接目录树三类数据并中文化文档
This commit is contained in:
@@ -122,7 +122,7 @@ class ManagerRegistry {
|
||||
buttonGroup: ButtonGroupManager | null;
|
||||
rightKey: RightKeyManager | null;
|
||||
constructTree: ConstructTreeManagerBtn | null;
|
||||
propertyPanel: PropertyPanelManager | null;
|
||||
componentDetail: ComponentDetailManager | null;
|
||||
measure: MeasureDialogManager | null;
|
||||
walkControl: WalkControlManager | null;
|
||||
map: MapDialogManager | null;
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
| 模块 | 路径 | 职责 | 文档 |
|
||||
|------|------|------|------|
|
||||
| **core** | `src/core/` | 核心基础设施:事件系统、管理器基类、注册表 | [core.md](core.md) |
|
||||
| **managers** | `src/managers/` | 15 个管理器,处理业务逻辑和组件协调 | [managers.md](managers.md) |
|
||||
| **components** | `src/components/` | 20+ 个 UI 组件 | [components.md](components.md) |
|
||||
| **services** | `src/services/` | 全局服务:国际化、主题管理 | [services.md](services.md) |
|
||||
| **core** | `src/core/` | 核心基础设施:事件系统、管理器基类、注册表 | [核心模块.md](核心模块.md) |
|
||||
| **managers** | `src/managers/` | 15 个管理器,处理业务逻辑和组件协调 | [管理器模块.md](管理器模块.md) |
|
||||
| **components** | `src/components/` | 20+ 个 UI 组件 | [组件模块.md](组件模块.md) |
|
||||
| **services** | `src/services/` | 全局服务:国际化、主题管理 | [服务模块.md](服务模块.md) |
|
||||
|
||||
## Core 模块
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
| BaseManager | `base-manager.ts` | Manager 抽象基类 |
|
||||
| BaseDialogManager | `base-dialog-manager.ts` | 对话框 Manager 基类 |
|
||||
|
||||
[查看详情 →](core.md)
|
||||
[查看详情 →](核心模块.md)
|
||||
|
||||
## Managers 模块
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
| 管理器 | 职责 |
|
||||
|--------|------|
|
||||
| PropertyPanelManager | 属性面板管理 |
|
||||
| ComponentDetailManager | 构件详情弹窗管理 |
|
||||
| ConstructTreeManagerBtn | 构件树管理 |
|
||||
| MeasureDialogManager | 测量对话框管理 |
|
||||
| SectionPlaneDialogManager | 平面剖切管理 |
|
||||
@@ -51,7 +51,7 @@
|
||||
| WalkPlanViewDialogManager | 漫游平面图管理 |
|
||||
| MapDialogManager | 地图管理 |
|
||||
|
||||
[查看详情 →](managers.md)
|
||||
[查看详情 →](管理器模块.md)
|
||||
|
||||
## Components 模块
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
| BimTab | 标签页 |
|
||||
| BimDescription | 描述列表 |
|
||||
|
||||
[查看详情 →](components.md)
|
||||
[查看详情 →](组件模块.md)
|
||||
|
||||
## Services 模块
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
| LocaleManager | 国际化服务,多语言支持 |
|
||||
| ThemeManager | 主题管理服务,明暗切换 |
|
||||
|
||||
[查看详情 →](services.md)
|
||||
[查看详情 →](服务模块.md)
|
||||
|
||||
## 类型定义
|
||||
|
||||
@@ -18,7 +18,7 @@ src/managers/
|
||||
├── dialog-manager.ts # 对话框管理器
|
||||
├── button-group-manager.ts # 按钮组管理器
|
||||
├── right-key-manager.ts # 右键菜单管理器
|
||||
├── property-panel-manager.ts # 属性面板管理器
|
||||
├── component-detail-manager.ts # 构件详情弹窗管理器
|
||||
├── construct-tree-manager-btn.ts # 构件树管理器
|
||||
├── walk-control-manager.ts # 漫游控制管理器
|
||||
├── measure-dialog-manager.ts # 测量对话框管理器
|
||||
@@ -41,7 +41,7 @@ BaseManager
|
||||
├── DialogManager
|
||||
├── ButtonGroupManager
|
||||
├── RightKeyManager
|
||||
├── PropertyPanelManager
|
||||
├── ComponentDetailManager
|
||||
├── ConstructTreeManagerBtn
|
||||
└── WalkControlManager
|
||||
|
||||
@@ -61,7 +61,7 @@ BaseDialogManager (继承自 BaseManager)
|
||||
|------|--------|------|
|
||||
| **核心** | EngineManager | 3D 引擎管理 |
|
||||
| **UI 容器** | ToolbarManager, DialogManager, ButtonGroupManager | 容器组件管理 |
|
||||
| **交互** | RightKeyManager, PropertyPanelManager, ConstructTreeManagerBtn | 用户交互 |
|
||||
| **交互** | RightKeyManager, ComponentDetailManager, ConstructTreeManagerBtn | 用户交互 |
|
||||
| **3D 工具** | MeasureDialogManager, SectionPlaneDialogManager, SectionAxisDialogManager, SectionBoxDialogManager | 3D 操作工具 |
|
||||
| **漫游** | WalkControlManager, WalkPathDialogManager, WalkPlanViewDialogManager, MapDialogManager | 漫游功能 |
|
||||
|
||||
@@ -350,20 +350,20 @@ class WalkControlManager extends BaseManager {
|
||||
|
||||
---
|
||||
|
||||
## PropertyPanelManager
|
||||
## ComponentDetailManager
|
||||
|
||||
### 概述
|
||||
|
||||
管理构件属性面板的显示。
|
||||
管理构件详情弹窗(属性展示)的显示。
|
||||
|
||||
### API
|
||||
|
||||
```typescript
|
||||
class PropertyPanelManager extends BaseManager {
|
||||
class ComponentDetailManager extends BaseManager {
|
||||
init(): void;
|
||||
show(): void;
|
||||
hide(): void;
|
||||
isOpen(): boolean;
|
||||
hide(): void;
|
||||
destroy(): void;
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user