@realsee/dnalogel 3.10.1 → 3.10.3
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 +0 -2
- package/dist/AreaMakerPlugin/utils/Item.d.ts +1 -0
- package/dist/CruisePlugin/BaseController.d.ts +6 -0
- package/dist/CruisePlugin/Work.d.ts +6 -2
- package/dist/GuideLinePlugin/Controller.d.ts +1 -1
- package/dist/PanoTagPlugin/utils/index.d.ts +0 -1
- package/dist/index.cjs.js +49 -49
- package/dist/index.js +1994 -1994
- package/dist/index.umd.js +41 -41
- package/libs/AreaMakerPlugin/Controller.d.ts +0 -2
- package/libs/AreaMakerPlugin/Controller.js +58 -59
- package/libs/AreaMakerPlugin/index.js +3 -2
- package/libs/AreaMakerPlugin/utils/Item.d.ts +1 -0
- package/libs/AreaMakerPlugin/utils/Item.js +35 -32
- package/libs/CruisePlugin/BaseController.d.ts +6 -0
- package/libs/CruisePlugin/BaseController.js +52 -51
- package/libs/CruisePlugin/Work.d.ts +6 -2
- package/libs/CruisePlugin/Work.js +82 -83
- package/libs/CruisePlugin/index.js +1 -1
- package/libs/GuideLinePlugin/Controller.d.ts +1 -1
- package/libs/GuideLinePlugin/Controller.js +14 -14
- package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +12 -12
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/PanoTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/utils/index.d.ts +0 -1
- package/libs/PanoTagPlugin/utils/index.js +4 -6
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +5 -5
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
- /package/dist/{PanoTagPlugin/utils → shared-utils/dom}/resizeObserver.d.ts +0 -0
- /package/libs/{PanoTagPlugin/utils → shared-utils/dom}/resizeObserver.d.ts +0 -0
- /package/libs/{PanoTagPlugin/utils → shared-utils/dom}/resizeObserver.js +0 -0
|
@@ -16,8 +16,6 @@ export declare class Controller extends BasePlugin.Controller<PluginType.State,
|
|
|
16
16
|
data?: PluginType.PluginData;
|
|
17
17
|
/** tag 容器 */
|
|
18
18
|
tagDomContainer: HTMLDivElement;
|
|
19
|
-
/** 用于监听容器尺寸变化的 iframe */
|
|
20
|
-
resizeIframe: HTMLIFrameElement;
|
|
21
19
|
/** 插件配置项 */
|
|
22
20
|
get config(): {
|
|
23
21
|
modelDepthTest: boolean;
|
|
@@ -70,6 +70,7 @@ export declare class AreaMakerItem {
|
|
|
70
70
|
private isInContainerResizeAnimation;
|
|
71
71
|
/** 监听容器 resize 的计时器 id,用于判断 resize 过程是否结束 */
|
|
72
72
|
private containerResizeTimeoutID;
|
|
73
|
+
private resizeObserver?;
|
|
73
74
|
constructor(plugin: Controller, data: PluginType.ServerAreaMakerItem);
|
|
74
75
|
/** 挂载标注 */
|
|
75
76
|
mount(): void;
|
|
@@ -11,6 +11,12 @@ export default abstract class CruiseController<PluginData, Config = unknown> ext
|
|
|
11
11
|
id: string | number;
|
|
12
12
|
};
|
|
13
13
|
protected config?: Config;
|
|
14
|
+
protected pauseDataMap: Map<string | number, {
|
|
15
|
+
fiveState: Partial<State>;
|
|
16
|
+
id?: string | number;
|
|
17
|
+
playedProgress: number;
|
|
18
|
+
duration?: number;
|
|
19
|
+
}>;
|
|
14
20
|
protected privateState: {
|
|
15
21
|
/**
|
|
16
22
|
* privateState.playing 和 state.playing 的区别:
|
|
@@ -75,10 +75,14 @@ export default class WalkController extends CruiseController<PluginData, Config>
|
|
|
75
75
|
/**
|
|
76
76
|
* @description Set pause data
|
|
77
77
|
*/
|
|
78
|
-
protected setPauseData(): Map<string, {
|
|
78
|
+
protected setPauseData(): Map<string | number, {
|
|
79
79
|
fiveState: Partial<State>;
|
|
80
80
|
id?: string | number;
|
|
81
|
-
playedProgress: number;
|
|
81
|
+
playedProgress: number; /**
|
|
82
|
+
* privateState.playing 和 state.playing 的区别:
|
|
83
|
+
* state.playing 先为true,然后才 handleplay,handleplay方法内会检查privateState.playing,如果已经开始(privateState.playing === true),就不执行操作,如果为false,就执行操作
|
|
84
|
+
* 其实就是加了一个不允许重复执行handleplay的逻辑
|
|
85
|
+
*/
|
|
82
86
|
duration?: number;
|
|
83
87
|
}>;
|
|
84
88
|
/**
|
|
@@ -4,7 +4,7 @@ import type { EventMap, PluginData, PluginServerData, PluginState } from './typi
|
|
|
4
4
|
import type * as PluginType from './typing';
|
|
5
5
|
import type { Config } from '../base/BasePlugin';
|
|
6
6
|
import { GuideLineItem } from './GuideLineItem';
|
|
7
|
-
import CruisePluginController from '../CruisePlugin/
|
|
7
|
+
import CruisePluginController from '../CruisePlugin/Work';
|
|
8
8
|
export declare const pluginFlag: (name: string) => string;
|
|
9
9
|
export default class Controller extends BasePluginWithData.Controller<PluginState, EventMap, PluginServerData, PluginData> {
|
|
10
10
|
readonly name = "GuideLinePlugin";
|