@realsee/dnalogel 2.28.3 → 2.28.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/dist/PanoCompassPlugin/Controller.d.ts +4 -0
- package/dist/PanoCompassPlugin/typings.d.ts +3 -2
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +3 -0
- package/dist/PipelinePlugin/typing/index.d.ts +1 -1
- package/dist/index.cjs.js +38 -38
- package/dist/index.js +982 -958
- package/dist/index.umd.js +34 -34
- package/libs/PanoCompassPlugin/Controller.d.ts +4 -0
- package/libs/PanoCompassPlugin/Controller.js +99 -75
- package/libs/PanoCompassPlugin/typings.d.ts +3 -2
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +3 -0
- package/libs/PipelinePlugin/typing/index.d.ts +1 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +2 -2
|
@@ -13,6 +13,8 @@ export declare class PanoCompassController extends BasePlugin.Controller<State,
|
|
|
13
13
|
private roomInfoWrapperInstance?;
|
|
14
14
|
private compassMeshTween?;
|
|
15
15
|
private compassMesh?;
|
|
16
|
+
private logoMesh?;
|
|
17
|
+
private logoMeshTween?;
|
|
16
18
|
private entryDoorMesh?;
|
|
17
19
|
constructor(five: Five, config?: PanoCompassPluginParameterType);
|
|
18
20
|
/**
|
|
@@ -68,6 +70,7 @@ export declare class PanoCompassController extends BasePlugin.Controller<State,
|
|
|
68
70
|
*/
|
|
69
71
|
private _toggleVisible;
|
|
70
72
|
private _clearCompassIfNeed;
|
|
73
|
+
private _clearLogoIfNeed;
|
|
71
74
|
private _clearEntryDoorIfNeed;
|
|
72
75
|
/**
|
|
73
76
|
* 初始化
|
|
@@ -75,6 +78,7 @@ export declare class PanoCompassController extends BasePlugin.Controller<State,
|
|
|
75
78
|
*/
|
|
76
79
|
private init;
|
|
77
80
|
private loadCompassMesh;
|
|
81
|
+
private loadLogoMesh;
|
|
78
82
|
private loadEntryDoorMesh;
|
|
79
83
|
private loadRoomInfo;
|
|
80
84
|
private onFivePanoWillArrive;
|
|
@@ -2,6 +2,7 @@ import type { FloorplanServerRoomItem } from '../floorplan/typings/floorplanServ
|
|
|
2
2
|
import type * as BasePlugin from '../base/BasePluginWithData';
|
|
3
3
|
export interface Config extends BasePlugin.Config {
|
|
4
4
|
compassImageUrl: string;
|
|
5
|
+
logoURL?: string;
|
|
5
6
|
entryDoorImageUrl: string;
|
|
6
7
|
}
|
|
7
8
|
export interface State extends BasePlugin.State {
|
|
@@ -10,14 +11,14 @@ export interface State extends BasePlugin.State {
|
|
|
10
11
|
}
|
|
11
12
|
export interface PluginData {
|
|
12
13
|
north_rad: null | number;
|
|
13
|
-
entrance
|
|
14
|
+
entrance?: null | {
|
|
14
15
|
position: {
|
|
15
16
|
x: number;
|
|
16
17
|
y: number;
|
|
17
18
|
z: number;
|
|
18
19
|
};
|
|
19
20
|
};
|
|
20
|
-
room_observers
|
|
21
|
+
room_observers?: {
|
|
21
22
|
index: number;
|
|
22
23
|
floor_index: number;
|
|
23
24
|
room: FloorplanServerRoomItem;
|
|
@@ -169,6 +169,9 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
|
169
169
|
* @default true
|
|
170
170
|
*/
|
|
171
171
|
clickable?: boolean;
|
|
172
|
+
/**
|
|
173
|
+
* @deprecated private property
|
|
174
|
+
*/
|
|
172
175
|
isMerged?: boolean;
|
|
173
176
|
}
|
|
174
177
|
export declare const defaultGlobalConfig: TagConfig;
|