@realsee/dnalogel 3.73.3 → 3.73.5
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/CHANGELOG.md +12 -3
- package/dist/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +14 -1
- package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +7 -0
- package/dist/index.cjs.js +51 -51
- package/dist/index.js +3684 -3569
- package/dist/index.umd.js +73 -73
- package/dist/shared-utils/five/getFloorMesh.d.ts +3 -0
- package/libs/CruisePlugin/Move.js +3 -2
- package/libs/CruisePlugin/Work.js +3 -2
- package/libs/CruisePlugin/index.js +7 -6
- package/libs/GuideLinePlugin/Controller.js +5 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
- package/libs/GuideLinePlugin/index.js +7 -6
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +232 -232
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +14 -1
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +181 -121
- package/libs/PanoTagPlugin/controller/index.js +6 -5
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +7 -0
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +167 -136
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +151 -150
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +41 -33
- package/libs/shared-utils/five/getFloorMesh.d.ts +3 -0
- package/libs/shared-utils/five/getFloorMesh.js +11 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +151 -139
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
|
+
|
|
3
|
+
## 3.73.5
|
|
4
|
+
|
|
5
|
+
- fix(Object3DHelper): 修复垂直拖拽位置不准
|
|
6
|
+
|
|
7
|
+
## 3.73.4
|
|
8
|
+
|
|
9
|
+
- fix(MapviewFloorplanPlugin): 新增虚拟屏幕所属楼层,更新 planeTag 可设置 opacity 属性
|
|
10
|
+
|
|
2
11
|
## 3.73.3
|
|
3
12
|
|
|
4
13
|
- fix(MeasurePlugin): 修复测量事件修改不生效的问题
|
|
5
14
|
|
|
6
15
|
## 3.73.2
|
|
7
16
|
|
|
8
|
-
- feat(MeasurePlugin): 测量完成时,在发送的measureEnd事件中添加当次的所有points
|
|
17
|
+
- feat(MeasurePlugin): 测量完成时,在发送的 measureEnd 事件中添加当次的所有 points
|
|
9
18
|
|
|
10
19
|
## 3.73.1
|
|
11
20
|
|
|
@@ -17,11 +26,11 @@
|
|
|
17
26
|
|
|
18
27
|
## 3.72.5
|
|
19
28
|
|
|
20
|
-
- fix(
|
|
29
|
+
- fix(): 修复文本单词被截断换行问题,采用渐进降级策略(保持单词完整 → 连字符断词 → 省略号截断)
|
|
21
30
|
|
|
22
31
|
## 3.72.4
|
|
23
32
|
|
|
24
|
-
- fix(ModelChassisCompassPlugin): 修复指南针重复load未清理资源导致内存泄漏
|
|
33
|
+
- fix(ModelChassisCompassPlugin): 修复指南针重复 load 未清理资源导致内存泄漏
|
|
25
34
|
|
|
26
35
|
## 3.72.3
|
|
27
36
|
|
|
@@ -6,11 +6,24 @@ import type { Vector3 } from 'three';
|
|
|
6
6
|
import { Rectangle } from '../../../Sculpt/Objects/Rectangle';
|
|
7
7
|
export type PlaneTagInterface<C extends TagContentType = TagContentType> = TagInstance<C, 'Plane'>;
|
|
8
8
|
export declare class PlaneTag<C extends TagContentType = TagContentType> extends BaseTag<C, 'Plane'> {
|
|
9
|
-
constructor(plugin: PanoTagPluginController, tagData: TagData);
|
|
10
9
|
rectanglePlane?: Rectangle;
|
|
10
|
+
private _floorIndex?;
|
|
11
|
+
private _floorIndexDirty;
|
|
12
|
+
private _opacity?;
|
|
13
|
+
constructor(plugin: PanoTagPluginController, tagData: TagData);
|
|
14
|
+
/** 获取透明度 */
|
|
15
|
+
get opacity(): number;
|
|
16
|
+
/** 设置透明度 (0-1) */
|
|
17
|
+
set opacity(value: number);
|
|
18
|
+
/** 获取楼层索引(惰性计算 + 缓存) */
|
|
19
|
+
get floorIndex(): number | undefined;
|
|
20
|
+
/** 标记 floorIndex 需要重新计算(在位置等相关数据变化时调用) */
|
|
21
|
+
invalidateFloorIndex(): void;
|
|
11
22
|
applyVisible(): void;
|
|
12
23
|
set(tag: PartialObjectDeep<Tag<C, 'Plane'>>, deepMerge?: boolean): void;
|
|
13
24
|
setData(...data: Parameters<InstanceType<typeof BaseTag<C, 'Plane'>>['setData']>): void;
|
|
25
|
+
/** 计算楼层索引 */
|
|
26
|
+
private computeFloorIndex;
|
|
14
27
|
private loadModel;
|
|
15
28
|
private initialSculpt;
|
|
16
29
|
editorEnable(): void;
|
|
@@ -15,6 +15,10 @@ declare abstract class MediaPlane extends THREE.Mesh<THREE.BufferGeometry | THRE
|
|
|
15
15
|
name: string;
|
|
16
16
|
src?: string;
|
|
17
17
|
objectFit: ObjectFit;
|
|
18
|
+
/** 获取透明度 */
|
|
19
|
+
get opacity(): number;
|
|
20
|
+
/** 设置透明度 (0-1) */
|
|
21
|
+
set opacity(value: number);
|
|
18
22
|
removeFromParent(): this;
|
|
19
23
|
dispose(): void;
|
|
20
24
|
}
|
|
@@ -24,6 +28,7 @@ declare class ImagePlane extends MediaPlane {
|
|
|
24
28
|
constructor(imageSrc: string, cornerPoints: Vector3[], params?: {
|
|
25
29
|
objectFit?: ObjectFit;
|
|
26
30
|
resolveZFighting?: boolean;
|
|
31
|
+
opacity?: number;
|
|
27
32
|
});
|
|
28
33
|
changePointsOrParams(props: {
|
|
29
34
|
cornerPoints: Vector3[];
|
|
@@ -48,6 +53,7 @@ declare class VideoPlane extends MediaPlane {
|
|
|
48
53
|
private buttonMesh?;
|
|
49
54
|
private videoTextureMap;
|
|
50
55
|
private ImageTextureMap;
|
|
56
|
+
private initialOpacity;
|
|
51
57
|
constructor(videoSrc: string, cornerPoints: Vector3[], params?: {
|
|
52
58
|
paused?: boolean;
|
|
53
59
|
playButton?: 'withText' | 'withoutText' | string;
|
|
@@ -59,6 +65,7 @@ declare class VideoPlane extends MediaPlane {
|
|
|
59
65
|
transparent: boolean;
|
|
60
66
|
}>;
|
|
61
67
|
domEvents?: FiveDomEvents;
|
|
68
|
+
opacity?: number;
|
|
62
69
|
});
|
|
63
70
|
play(muted?: boolean): Promise<void>;
|
|
64
71
|
pause(): void;
|