增加测量窗口
This commit is contained in:
@@ -322,6 +322,15 @@ interface IBimComponent {
|
||||
- **`index.type.ts`**: 标签页类型定义
|
||||
- **`index.css`**: 标签页样式
|
||||
|
||||
#### `measure-panel/`
|
||||
- **`index.ts`**: `MeasurePanel` 类 - 测量面板组件(仅 UI,不包含真实测量算法)
|
||||
- 顶部:8 种测量方式按钮(默认显示前 4 种,可展开/收起)
|
||||
- 中部:显示“当前测量方式”与“测量结果”(结果由外部注入)
|
||||
- 底部:删除全部/设置入口(本期仅预留方法/回调)
|
||||
- 实现 `IBimComponent` 接口,支持主题与国际化
|
||||
- **`types.ts`**: 测量面板类型定义(`MeasureMode`、`MeasureResult`、`MeasurePanelOptions`)
|
||||
- **`index.css`**: 测量面板样式
|
||||
|
||||
### 3.4 管理器目录 (`src/managers/`)
|
||||
|
||||
#### `dialog-manager.ts`
|
||||
@@ -512,6 +521,7 @@ const dialog = engine.dialog.create({
|
||||
| `RightKeyManager` | `src/managers/right-key-manager.ts` | 管理右键菜单 (Context Menu) | `BimComponent` |
|
||||
| `ModelTreeManager` | `src/managers/model-tree-manager.ts` | 模型树业务管理器 | `BimComponent` |
|
||||
| `PropertyPanelManager` | `src/managers/property-panel-manager.ts` | 属性面板业务管理器 (演示 Collapse) | `BimComponent` |
|
||||
| `MeasureDialogManager` | `src/managers/measure-dialog-manager.ts` | 测量弹窗管理器 | `BimComponent` |
|
||||
|
||||
### 4.2 组件类清单
|
||||
|
||||
@@ -528,6 +538,7 @@ const dialog = engine.dialog.create({
|
||||
| `BimTab` | `src/components/tab/index.ts` | 固定标签页组件 | `IBimComponent` |
|
||||
| `BimCollapse` | `src/components/collapse/index.ts` | 折叠面板组件 | `IBimComponent` |
|
||||
| `BimDescription` | `src/components/description/index.ts` | 描述列表组件 (Key-Value) | `IBimComponent` |
|
||||
| `MeasurePanel` | `src/components/measure-panel/index.ts` | 测量面板组件(仅 UI) | `IBimComponent` |
|
||||
|
||||
### 4.3 服务类清单
|
||||
|
||||
|
||||
Reference in New Issue
Block a user