iflow-engine 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/button-group/index.d.ts +1 -1
- package/dist/components/button-group/index.type.d.ts +3 -0
- package/dist/components/button-group/toolbar/buttons/ai-chat/index.d.ts +2 -1
- package/dist/components/button-group/toolbar/buttons/fullscreen/index.d.ts +2 -1
- package/dist/components/button-group/toolbar/buttons/home/index.d.ts +2 -1
- package/dist/components/button-group/toolbar/buttons/info/index.d.ts +2 -1
- package/dist/components/button-group/toolbar/buttons/map/index.d.ts +2 -1
- package/dist/components/button-group/toolbar/buttons/measure/index.d.ts +2 -1
- package/dist/components/button-group/toolbar/buttons/property/index.d.ts +2 -1
- package/dist/components/button-group/toolbar/buttons/section/section-axis/index.d.ts +2 -1
- package/dist/components/button-group/toolbar/buttons/section/section-box/index.d.ts +2 -1
- package/dist/components/button-group/toolbar/buttons/section/section-menu/index.d.ts +2 -1
- package/dist/components/button-group/toolbar/buttons/section/section-plane/index.d.ts +2 -1
- package/dist/components/button-group/toolbar/buttons/setting/index.d.ts +2 -1
- package/dist/components/button-group/toolbar/buttons/walk/walk-bird/index.d.ts +2 -1
- package/dist/components/button-group/toolbar/buttons/walk/walk-menu/index.d.ts +2 -1
- package/dist/components/button-group/toolbar/buttons/walk/walk-person/index.d.ts +2 -1
- package/dist/components/button-group/toolbar/buttons/zoom-box/index.d.ts +2 -1
- package/dist/components/engine/index.d.ts +13 -4
- package/dist/components/menu/buttons/four.d.ts +2 -1
- package/dist/components/menu/buttons/home.d.ts +2 -1
- package/dist/components/menu/buttons/info.d.ts +2 -1
- package/dist/components/menu/buttons/second.d.ts +2 -1
- package/dist/components/walk-path-panel/index.d.ts +4 -1
- package/dist/core/base-dialog-manager.d.ts +2 -0
- package/dist/core/base-manager.d.ts +2 -2
- package/dist/core/manager-registry.d.ts +5 -9
- package/dist/iflow-engine.es.js +4224 -4207
- package/dist/iflow-engine.es.js.map +1 -1
- package/dist/iflow-engine.umd.js +161 -161
- package/dist/iflow-engine.umd.js.map +1 -1
- package/dist/managers/ai-chat-manager.d.ts +2 -1
- package/dist/managers/button-group-manager.d.ts +2 -1
- package/dist/managers/component-detail-manager.d.ts +2 -1
- package/dist/managers/construct-tree-manager-btn.d.ts +2 -1
- package/dist/managers/dialog-manager.d.ts +2 -1
- package/dist/managers/engine-info-dialog-manager.d.ts +2 -0
- package/dist/managers/engine-manager.d.ts +4 -3
- package/dist/managers/measure-dialog-manager.d.ts +2 -0
- package/dist/managers/right-key-manager.d.ts +2 -1
- package/dist/managers/section-axis-dialog-manager.d.ts +2 -0
- package/dist/managers/section-box-dialog-manager.d.ts +2 -0
- package/dist/managers/section-plane-dialog-manager.d.ts +2 -0
- package/dist/managers/toolbar-manager.d.ts +2 -1
- package/dist/managers/walk-control-manager.d.ts +2 -1
- package/dist/managers/walk-path-dialog-manager.d.ts +2 -0
- package/dist/managers/walk-plan-view-dialog-manager.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Message, QuestionOption, StepStatus } from '../components/ai-chat/types';
|
|
2
|
+
import { ManagerRegistry } from '../core/manager-registry';
|
|
2
3
|
/**
|
|
3
4
|
* AI 聊天管理器
|
|
4
5
|
* 管理 AI 聊天组件的生命周期和消息交互
|
|
@@ -10,7 +11,7 @@ export declare class AiChatManager {
|
|
|
10
11
|
private registry;
|
|
11
12
|
/** 是否已初始化 */
|
|
12
13
|
private initialized;
|
|
13
|
-
constructor();
|
|
14
|
+
constructor(registry: ManagerRegistry);
|
|
14
15
|
/**
|
|
15
16
|
* 初始化 AI 聊天组件
|
|
16
17
|
* 创建 AiChat 实例并注册事件
|
|
@@ -2,6 +2,7 @@ import { BimButtonGroup } from '../components/button-group';
|
|
|
2
2
|
import { ButtonGroupOptions } from '../components/button-group/index.type';
|
|
3
3
|
import { ThemeConfig } from '../themes/types';
|
|
4
4
|
import { BaseManager } from '../core/base-manager';
|
|
5
|
+
import { ManagerRegistry } from '../core/manager-registry';
|
|
5
6
|
/**
|
|
6
7
|
* 按钮组管理器
|
|
7
8
|
* 统一管理多个按钮组的创建、主题更新和销毁
|
|
@@ -11,7 +12,7 @@ export declare class ButtonGroupManager extends BaseManager {
|
|
|
11
12
|
private groups;
|
|
12
13
|
/** 容器元素 */
|
|
13
14
|
private container;
|
|
14
|
-
constructor(container: HTMLElement);
|
|
15
|
+
constructor(container: HTMLElement, registry: ManagerRegistry);
|
|
15
16
|
/**
|
|
16
17
|
* 创建按钮组
|
|
17
18
|
* @param id 按钮组 ID
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseManager } from '../core/base-manager';
|
|
2
|
+
import { ManagerRegistry } from '../core/manager-registry';
|
|
2
3
|
export declare class ComponentDetailManager extends BaseManager {
|
|
3
4
|
private dialogId;
|
|
4
5
|
private dialog;
|
|
@@ -7,7 +8,7 @@ export declare class ComponentDetailManager extends BaseManager {
|
|
|
7
8
|
private unsubscribeDeselected;
|
|
8
9
|
private tabInstance;
|
|
9
10
|
private propertiesData;
|
|
10
|
-
constructor();
|
|
11
|
+
constructor(registry: ManagerRegistry);
|
|
11
12
|
init(): void;
|
|
12
13
|
show(): void;
|
|
13
14
|
private createDialog;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ButtonGroupColors, ButtonConfig } from '../components/button-group/index.type';
|
|
2
2
|
import { BaseManager } from '../core/base-manager';
|
|
3
|
+
import { ManagerRegistry } from '../core/manager-registry';
|
|
3
4
|
/**
|
|
4
5
|
* 构件树管理器
|
|
5
6
|
*
|
|
@@ -27,7 +28,7 @@ export declare class ConstructTreeManagerBtn extends BaseManager {
|
|
|
27
28
|
* 创建构件树管理器
|
|
28
29
|
* @param container - 按钮挂载的容器元素
|
|
29
30
|
*/
|
|
30
|
-
constructor(container: HTMLElement);
|
|
31
|
+
constructor(container: HTMLElement, registry: ManagerRegistry);
|
|
31
32
|
/**
|
|
32
33
|
* 初始化按钮
|
|
33
34
|
* 创建按钮容器和按钮组,添加构件树按钮
|
|
@@ -2,10 +2,11 @@ import { BimDialog } from '../components/dialog';
|
|
|
2
2
|
import { DialogOptions } from '../components/dialog/index.type';
|
|
3
3
|
import { ThemeConfig } from '../themes/types';
|
|
4
4
|
import { BaseManager } from '../core/base-manager';
|
|
5
|
+
import { ManagerRegistry } from '../core/manager-registry';
|
|
5
6
|
export declare class DialogManager extends BaseManager {
|
|
6
7
|
private container;
|
|
7
8
|
private activeDialogs;
|
|
8
|
-
constructor(container: HTMLElement);
|
|
9
|
+
constructor(container: HTMLElement, registry: ManagerRegistry);
|
|
9
10
|
create(options: Omit<DialogOptions, 'container'>): BimDialog;
|
|
10
11
|
updateTheme(theme: ThemeConfig): void;
|
|
11
12
|
destroy(): void;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { BaseDialogManager } from '../core/base-dialog-manager';
|
|
2
|
+
import { ManagerRegistry } from '../core/manager-registry';
|
|
2
3
|
export declare class EngineInfoDialogManager extends BaseDialogManager {
|
|
3
4
|
protected get dialogId(): string;
|
|
4
5
|
protected get dialogTitle(): string;
|
|
5
6
|
protected get dialogWidth(): number;
|
|
7
|
+
constructor(registry: ManagerRegistry);
|
|
6
8
|
init(): void;
|
|
7
9
|
protected getDialogPosition(): {
|
|
8
10
|
x: number;
|
|
@@ -4,6 +4,7 @@ import { RightKeyManager } from './right-key-manager';
|
|
|
4
4
|
import { MeasureMode } from '../types/measure';
|
|
5
5
|
import { MeasureUnit, MeasurePrecision } from '../components/measure-panel/types';
|
|
6
6
|
import { SectionBoxRange } from '../components/section-box-panel/types';
|
|
7
|
+
import { ManagerRegistry } from '../core/manager-registry';
|
|
7
8
|
/**
|
|
8
9
|
* 3D 引擎管理器
|
|
9
10
|
* 封装底层 3D 引擎,提供模型加载、相机控制、测量等功能
|
|
@@ -15,7 +16,7 @@ export declare class EngineManager extends BaseManager {
|
|
|
15
16
|
private engineInstance;
|
|
16
17
|
/** 右键菜单管理器 */
|
|
17
18
|
rightKey: RightKeyManager | null;
|
|
18
|
-
constructor(container: HTMLElement);
|
|
19
|
+
constructor(container: HTMLElement, registry: ManagerRegistry);
|
|
19
20
|
/**
|
|
20
21
|
* 初始化 3D 引擎
|
|
21
22
|
* @param options 引擎配置选项
|
|
@@ -29,10 +30,10 @@ export declare class EngineManager extends BaseManager {
|
|
|
29
30
|
isInitialized(): boolean;
|
|
30
31
|
/**
|
|
31
32
|
* 加载模型
|
|
32
|
-
* @param
|
|
33
|
+
* @param urls 模型 URL 数组
|
|
33
34
|
* @param options 加载选项
|
|
34
35
|
*/
|
|
35
|
-
loadModel(
|
|
36
|
+
loadModel(urls: string[], options?: ModelLoadOptions): void;
|
|
36
37
|
/**
|
|
37
38
|
* 获取底层引擎实例
|
|
38
39
|
* @returns 引擎实例
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { BaseDialogManager } from '../core/base-dialog-manager';
|
|
2
|
+
import { ManagerRegistry } from '../core/manager-registry';
|
|
2
3
|
import { MeasureConfig, MeasureResult } from '../components/measure-panel/types';
|
|
3
4
|
import { MeasureMode } from '../types/measure';
|
|
4
5
|
export declare class MeasureDialogManager extends BaseDialogManager {
|
|
5
6
|
private panel;
|
|
6
7
|
private config;
|
|
7
8
|
private unsubscribeMeasureChanged;
|
|
9
|
+
constructor(registry: ManagerRegistry);
|
|
8
10
|
protected get dialogId(): string;
|
|
9
11
|
protected get dialogTitle(): string;
|
|
10
12
|
protected get dialogWidth(): number;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseManager } from '../core/base-manager';
|
|
2
|
+
import { ManagerRegistry } from '../core/manager-registry';
|
|
2
3
|
import { MenuItemConfig } from '../components/menu/item';
|
|
3
4
|
/**
|
|
4
5
|
* 右键菜单管理器
|
|
@@ -11,7 +12,7 @@ export declare class RightKeyManager extends BaseManager {
|
|
|
11
12
|
private rightKeyPanel;
|
|
12
13
|
/** 上下文处理器列表 */
|
|
13
14
|
private contextHandlers;
|
|
14
|
-
constructor(container: HTMLElement);
|
|
15
|
+
constructor(container: HTMLElement, registry: ManagerRegistry);
|
|
15
16
|
/** 销毁管理器 */
|
|
16
17
|
destroy(): void;
|
|
17
18
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseDialogManager } from '../core/base-dialog-manager';
|
|
2
|
+
import { ManagerRegistry } from '../core/manager-registry';
|
|
2
3
|
import { SectionAxis } from '../components/section-axis-panel/types';
|
|
3
4
|
/**
|
|
4
5
|
* 轴向剖切对话框管理器
|
|
@@ -7,6 +8,7 @@ import { SectionAxis } from '../components/section-axis-panel/types';
|
|
|
7
8
|
export declare class SectionAxisDialogManager extends BaseDialogManager {
|
|
8
9
|
/** 轴向剖切面板实例 */
|
|
9
10
|
private panel;
|
|
11
|
+
constructor(registry: ManagerRegistry);
|
|
10
12
|
/** 对话框唯一标识 */
|
|
11
13
|
protected get dialogId(): string;
|
|
12
14
|
/** 对话框标题(国际化 key) */
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { BaseDialogManager } from '../core/base-dialog-manager';
|
|
2
|
+
import { ManagerRegistry } from '../core/manager-registry';
|
|
2
3
|
import { SectionBoxRange } from '../components/section-box-panel/types';
|
|
3
4
|
export declare class SectionBoxDialogManager extends BaseDialogManager {
|
|
4
5
|
private panel;
|
|
5
6
|
private unsubscribeSectionMove;
|
|
7
|
+
constructor(registry: ManagerRegistry);
|
|
6
8
|
/** 对话框唯一标识 */
|
|
7
9
|
protected get dialogId(): string;
|
|
8
10
|
/** 对话框标题(国际化 key) */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseDialogManager } from '../core/base-dialog-manager';
|
|
2
|
+
import { ManagerRegistry } from '../core/manager-registry';
|
|
2
3
|
/**
|
|
3
4
|
* 拾取面剖切对话框管理器
|
|
4
5
|
* 继承自 BaseDialogManager,提供拾取面剖切功能的对话框管理
|
|
@@ -6,6 +7,7 @@ import { BaseDialogManager } from '../core/base-dialog-manager';
|
|
|
6
7
|
export declare class SectionPlaneDialogManager extends BaseDialogManager {
|
|
7
8
|
/** 剖切面板实例 */
|
|
8
9
|
private panel;
|
|
10
|
+
constructor(registry: ManagerRegistry);
|
|
9
11
|
/** 对话框唯一标识 */
|
|
10
12
|
protected get dialogId(): string;
|
|
11
13
|
/** 对话框标题(国际化 key) */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ButtonGroupColors, ButtonConfig } from '../components/button-group/index.type';
|
|
2
2
|
import { ThemeConfig } from '../themes/types';
|
|
3
3
|
import { BaseManager } from '../core/base-manager';
|
|
4
|
+
import { ManagerRegistry } from '../core/manager-registry';
|
|
4
5
|
/**
|
|
5
6
|
* 工具栏管理器
|
|
6
7
|
* 提供工具栏按钮的添加、显示/隐藏、主题更新等功能
|
|
@@ -12,7 +13,7 @@ export declare class ToolbarManager extends BaseManager {
|
|
|
12
13
|
private toolbarContainer;
|
|
13
14
|
/** 主容器元素 */
|
|
14
15
|
private container;
|
|
15
|
-
constructor(container: HTMLElement);
|
|
16
|
+
constructor(container: HTMLElement, registry: ManagerRegistry);
|
|
16
17
|
/** 初始化工具栏 */
|
|
17
18
|
private init;
|
|
18
19
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseManager } from '../core/base-manager';
|
|
2
|
+
import { ManagerRegistry } from '../core/manager-registry';
|
|
2
3
|
import { WalkControlPanel } from '../components/walk-control-panel';
|
|
3
4
|
/**
|
|
4
5
|
* 漫游控制管理器
|
|
@@ -9,7 +10,7 @@ export declare class WalkControlManager extends BaseManager {
|
|
|
9
10
|
panel: WalkControlPanel | null;
|
|
10
11
|
/** 路径漫游对话框管理器 */
|
|
11
12
|
private pathManager;
|
|
12
|
-
constructor();
|
|
13
|
+
constructor(registry: ManagerRegistry);
|
|
13
14
|
/** 初始化管理器 */
|
|
14
15
|
init(): void;
|
|
15
16
|
/** 显示漫游控制面板 */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseDialogManager } from '../core/base-dialog-manager';
|
|
2
|
+
import { ManagerRegistry } from '../core/manager-registry';
|
|
2
3
|
/**
|
|
3
4
|
* 漫游路径对话框管理器
|
|
4
5
|
* 继承自 BaseDialogManager,提供漫游路径配置的对话框管理功能
|
|
@@ -6,6 +7,7 @@ import { BaseDialogManager } from '../core/base-dialog-manager';
|
|
|
6
7
|
export declare class WalkPathDialogManager extends BaseDialogManager {
|
|
7
8
|
/** 漫游路径面板实例 */
|
|
8
9
|
private panel;
|
|
10
|
+
constructor(registry: ManagerRegistry);
|
|
9
11
|
/** 对话框唯一标识 */
|
|
10
12
|
protected get dialogId(): string;
|
|
11
13
|
/** 对话框标题(国际化 key) */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseDialogManager } from '../core/base-dialog-manager';
|
|
2
|
+
import { ManagerRegistry } from '../core/manager-registry';
|
|
2
3
|
/**
|
|
3
4
|
* 漫游平面图对话框管理器
|
|
4
5
|
* 继承自 BaseDialogManager,提供漫游平面图的对话框管理功能
|
|
@@ -6,6 +7,7 @@ import { BaseDialogManager } from '../core/base-dialog-manager';
|
|
|
6
7
|
export declare class WalkPlanViewDialogManager extends BaseDialogManager {
|
|
7
8
|
/** 漫游平面图面板实例 */
|
|
8
9
|
private panel;
|
|
10
|
+
constructor(registry: ManagerRegistry);
|
|
9
11
|
/** 对话框唯一标识 */
|
|
10
12
|
protected get dialogId(): string;
|
|
11
13
|
/** 对话框标题(国际化 key) */
|