@realsee/dnalogel 2.28.2 → 2.28.4
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/AreaMakerPlugin/Controller.d.ts +2 -0
- package/dist/AreaMakerPlugin/utils/Item.d.ts +7 -0
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +3 -0
- package/dist/PipelinePlugin/typing/index.d.ts +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.js +22 -5
- package/dist/index.umd.js +24 -24
- package/libs/AreaMakerPlugin/Controller.d.ts +2 -0
- package/libs/AreaMakerPlugin/Controller.js +38 -36
- package/libs/AreaMakerPlugin/utils/Item.d.ts +7 -0
- package/libs/AreaMakerPlugin/utils/Item.js +44 -29
- 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
|
@@ -14,6 +14,8 @@ export declare class Controller extends BasePlugin.Controller<PluginType.State,
|
|
|
14
14
|
data?: PluginType.PluginData;
|
|
15
15
|
/** tag 容器 */
|
|
16
16
|
tagDomContainer: HTMLDivElement;
|
|
17
|
+
/** 用于监听容器尺寸变化的 iframe */
|
|
18
|
+
resizeIframe: HTMLIFrameElement;
|
|
17
19
|
/** 插件配置项 */
|
|
18
20
|
get config(): {
|
|
19
21
|
modelDepthTest: boolean;
|
|
@@ -56,11 +56,16 @@ export declare class AreaMakerItem {
|
|
|
56
56
|
};
|
|
57
57
|
/** 标注标签的显示层级 */
|
|
58
58
|
tagZIndex: number;
|
|
59
|
+
/** 标注实例的事件处理器 */
|
|
59
60
|
hooks: Subscribe<PluginType.AreaMakerItemEventMap>;
|
|
60
61
|
/** Plugin 实例 */
|
|
61
62
|
private plugin;
|
|
62
63
|
/** 标注透明度动画 */
|
|
63
64
|
private opacityAnime?;
|
|
65
|
+
/** 是否在容器 resize 动画中 */
|
|
66
|
+
private isInContainerResizeAnimation;
|
|
67
|
+
/** 监听容器 resize 的计时器 id,用于判断 resize 过程是否结束 */
|
|
68
|
+
private containerResizeTimeoutID;
|
|
64
69
|
constructor(plugin: Controller, data: PluginType.ServerAreaMakerItem);
|
|
65
70
|
/** 挂载标注 */
|
|
66
71
|
mount(): void;
|
|
@@ -112,5 +117,7 @@ export declare class AreaMakerItem {
|
|
|
112
117
|
private checkTagVisible;
|
|
113
118
|
/** 相机位姿发生变化时,更新标签 */
|
|
114
119
|
private onFiveCameraUpdate;
|
|
120
|
+
/** tag container DOM 发生 resize */
|
|
121
|
+
private onContainerResize;
|
|
115
122
|
}
|
|
116
123
|
export {};
|
|
@@ -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;
|