This commit is contained in:
yuding
2025-12-22 14:31:23 +08:00
parent 9d1ebfd817
commit 005535a26d
14 changed files with 548 additions and 401 deletions

View File

@@ -315,6 +315,13 @@ interface IBimComponent {
- 管理引擎生命周期
- **`types.ts`**: 引擎类型定义 (`EngineOptions`、`ModelLoadOptions`)
#### `tab/`
- **`index.ts`**: `BimTab` 类 - 固定标签页组件(不支持运行时增删)
- 管理标签头与内容切换,可托管 `content` 或通过 `onChange` 外部切换
- 实现 `IBimComponent` 接口
- **`index.type.ts`**: 标签页类型定义
- **`index.css`**: 标签页样式
### 3.4 管理器目录 (`src/managers/`)
#### `dialog-manager.ts`
@@ -420,6 +427,7 @@ interface IBimComponent {
- `dialog.md` - Dialog 组件详细文档
- `button-group.md` - ButtonGroup 组件详细文档
- `engine.md` - Engine 组件详细文档
- `tab.md` - Tab 组件详细文档
#### 文档内容结构
每个组件文档包含以下部分:
@@ -551,6 +559,7 @@ engine.toolbar.setButtonVisibility('my-button', false);
| `BimRightKey` | `src/components/right-key/index.ts` | 右键浮层容器 | `IBimComponent` |
| `BimMenu` | `src/components/menu/index.ts` | 通用菜单列表 | `IBimComponent` |
| `BimTree` | `src/components/tree/index.ts` | 通用树形组件 | `IBimComponent` |
| `BimTab` | `src/components/tab/index.ts` | 固定标签页组件(无运行时增删,当前在 ConstructTreeManagerBtn 内直接使用) | `IBimComponent` |
### 4.3 服务类清单