@realsee/dnalogel 2.9.0-0 → 2.9.0-alpha.0
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/PanoTagPlugin/controller/TagComputer.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +6 -6
- package/dist/PanoTagPlugin/utils/px2rem.d.ts +1 -1
- package/dist/base/BasePlugin.d.ts +6 -6
- package/dist/index.cjs.js +43 -43
- package/dist/index.js +4365 -4339
- package/dist/index.umd.js +37 -37
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +51 -51
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +5 -5
- package/docs/functions/CameraMovementPlugin.html +5 -5
- package/docs/functions/CruisePlugin.html +5 -5
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +5 -5
- package/docs/functions/MapviewFloorplanPlugin.html +5 -5
- package/docs/functions/ModelChassisCompassPlugin.html +5 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
- package/docs/functions/ModelFloorplanPlugin.html +5 -5
- package/docs/functions/ModelItemLabelPlugin.html +5 -5
- package/docs/functions/ModelRoomLabelPlugin.html +5 -5
- package/docs/functions/ModelTVVideoPlugin.html +5 -5
- package/docs/functions/ModelViewPlugin.html +5 -5
- package/docs/functions/Object3DHelperPlugin.html +5 -5
- package/docs/functions/PanoCompassPlugin.html +5 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
- package/docs/functions/PanoDoorLabelPlugin.html +5 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
- package/docs/functions/PanoMeasurePlugin.html +5 -5
- package/docs/functions/PanoRulerPlugin.html +5 -5
- package/docs/functions/PanoRulerProPlugin.html +5 -5
- package/docs/functions/PanoSpatialTagPlugin.html +5 -5
- package/docs/functions/PanoTagPlugin.html +5 -5
- package/docs/functions/TopviewFloorplanPlugin.html +5 -5
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/EventMap.html +15 -15
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +12 -12
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCache.html +12 -12
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagIconUrl.html +9 -9
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelElement.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TagPointType.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/VERSION.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +90 -90
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +11 -12
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +184 -146
- package/libs/PanoTagPlugin/Components/Tag/index.js +111 -112
- package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
- package/libs/PanoTagPlugin/Components/TagItem.js +2 -3
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/index.js +5 -6
- package/libs/PanoTagPlugin/index.js +11 -12
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +6 -6
- package/libs/PanoTagPlugin/utils/px2rem.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/px2rem.js +3 -3
- package/libs/base/BasePlugin.d.ts +6 -6
- package/libs/index.js +100 -101
- package/package.json +1 -1
- package/dist/PanoTagPlugin/utils/color.d.ts +0 -7
- package/dist/PanoTagPlugin/utils/timeToString.d.ts +0 -1
- package/libs/PanoVideoPlugin/Controller.d.ts +0 -31
- package/libs/PanoVideoPlugin/Controller.js +0 -127
- package/libs/PanoVideoPlugin/VideoMeshController.d.ts +0 -85
- package/libs/PanoVideoPlugin/VideoMeshController.js +0 -152
- package/libs/PanoVideoPlugin/index.d.ts +0 -16
- package/libs/PanoVideoPlugin/index.js +0 -31
- package/libs/PanoVideoPlugin/typings/index.js +0 -6
- package/libs/PanoVideoPlugin/typings.d.ts +0 -64
- package/libs/PanoVideoPlugin/typings.js +0 -1
- package/libs/PanoVideoPlugin/utils/shader.d.ts +0 -2
- package/libs/PanoVideoPlugin/utils/shader.js +0 -25
|
@@ -83,12 +83,6 @@ declare abstract class Controller<PluginState extends State, PluginEventMap exte
|
|
|
83
83
|
* 隐藏UI
|
|
84
84
|
*/
|
|
85
85
|
hide?(options?: BaseOptions): Promise<void>;
|
|
86
|
-
/**
|
|
87
|
-
* 设置state
|
|
88
|
-
* @param state 插件的目标状态
|
|
89
|
-
* @param options 配置项
|
|
90
|
-
*/
|
|
91
|
-
setState?(state: Partial<PluginState>, options?: BaseOptions): void;
|
|
92
86
|
/**
|
|
93
87
|
* 启用插件,让插件能够响应交互
|
|
94
88
|
*/
|
|
@@ -101,6 +95,12 @@ declare abstract class Controller<PluginState extends State, PluginEventMap exte
|
|
|
101
95
|
* 插件进行销毁
|
|
102
96
|
*/
|
|
103
97
|
abstract dispose(): void;
|
|
98
|
+
/**
|
|
99
|
+
* 设置state
|
|
100
|
+
* @param state 插件的目标状态
|
|
101
|
+
* @param options 配置项
|
|
102
|
+
*/
|
|
103
|
+
abstract setState(state: Partial<PluginState>, options?: BaseOptions): void;
|
|
104
104
|
}
|
|
105
105
|
export type { State, EventMap, BaseOptions };
|
|
106
106
|
export { Controller };
|
package/libs/index.js
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { PaintBrush as
|
|
2
|
-
import { PaintBrushTypeEnum as
|
|
3
|
-
import { ModelViewPlugin as
|
|
4
|
-
import { CSS3DRenderPlugin as
|
|
5
|
-
import { PanoCursorRaycasterPlugin as
|
|
6
|
-
import { ModelRoomLabelPlugin as
|
|
7
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
8
|
-
import { ModelFloorplanPlugin as
|
|
9
|
-
import { MapviewFloorplanPlugin as
|
|
10
|
-
import { TopviewFloorplanPlugin as
|
|
11
|
-
import { PanoFloorplanRadarPlugin as
|
|
12
|
-
import { FLOOR_TYPE_MAP as
|
|
13
|
-
import { ModelChassisCompassPlugin as
|
|
14
|
-
import { ModelEntryDoorGuidePlugin as
|
|
15
|
-
import { CameraMovementPlugin as
|
|
16
|
-
import { CameraMovementEffect as
|
|
17
|
-
import { PanoRulerPlugin as
|
|
18
|
-
import { PanoRulerProPlugin as
|
|
19
|
-
import { PanoCompassPlugin as
|
|
20
|
-
import { PanoMeasurePlugin as
|
|
21
|
-
import { PanoSpatialTagPlugin as
|
|
22
|
-
import { modelItemLabelPluginServerParams as
|
|
23
|
-
import { ModelTVVideoPlugin as
|
|
24
|
-
import { DIRECTION as
|
|
25
|
-
import { itemLabelPluginServerParams as
|
|
26
|
-
import { PanoDoorLabelPlugin as
|
|
27
|
-
import { GuideLinePlugin as
|
|
28
|
-
import { CruisePlugin as
|
|
29
|
-
import { PanoTagPlugin as
|
|
30
|
-
import { Object3DHelperPlugin as
|
|
31
|
-
import { index as
|
|
32
|
-
import { CSS3DRender as
|
|
33
|
-
import { Model as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { Polyline as
|
|
37
|
-
import { default as
|
|
38
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
39
|
-
import { ModelItemLabelPlugin as
|
|
40
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
41
|
-
import { Plugin as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { ContentType as
|
|
45
|
-
import { DimensionType as
|
|
46
|
-
import { Object3DHelperController as
|
|
1
|
+
import { PaintBrush as Ip } from "./components/PaintBrush/index.js";
|
|
2
|
+
import { PaintBrushTypeEnum as Dp } from "./components/PaintBrush/typings.js";
|
|
3
|
+
import { ModelViewPlugin as Yp } from "./ModelViewPlugin/Plugin.js";
|
|
4
|
+
import { CSS3DRenderPlugin as Fp } from "./CSS3DRenderPlugin/index.js";
|
|
5
|
+
import { PanoCursorRaycasterPlugin as Gp } from "./PanoCursorRaycasterPlugin/index.js";
|
|
6
|
+
import { ModelRoomLabelPlugin as cp, modelRoomLabelPluginServerParams as Vp } from "./ModelRoomLabelPlugin/index.js";
|
|
7
|
+
import { FLOOR_PLAN_ATTACHED_TO as wp } from "./floorplan/constant.js";
|
|
8
|
+
import { ModelFloorplanPlugin as Hp } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
9
|
+
import { MapviewFloorplanPlugin as jp } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
10
|
+
import { TopviewFloorplanPlugin as qp } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
11
|
+
import { PanoFloorplanRadarPlugin as Jp } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
12
|
+
import { FLOOR_TYPE_MAP as Qp, ROOM_FETILE_TYPE_MAP as Wp, ROOM_TYPE_MAP as Xp } from "./floorplan/typings/floorplanServerData.js";
|
|
13
|
+
import { ModelChassisCompassPlugin as $p } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
14
|
+
import { ModelEntryDoorGuidePlugin as ri } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
15
|
+
import { CameraMovementPlugin as mi } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
16
|
+
import { CameraMovementEffect as ii, Rotation as ei } from "./CameraMovementPlugin/typing.js";
|
|
17
|
+
import { PanoRulerPlugin as ni } from "./PanoRulerPlugin/Plugin.js";
|
|
18
|
+
import { PanoRulerProPlugin as Pi } from "./PanoRulerProPlugin/index.js";
|
|
19
|
+
import { PanoCompassPlugin as fi } from "./PanoCompassPlugin/index.js";
|
|
20
|
+
import { PanoMeasurePlugin as gi } from "./PanoMeasurePlugin/index.js";
|
|
21
|
+
import { PanoSpatialTagPlugin as Mi } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
22
|
+
import { modelItemLabelPluginServerParams as di } from "./ModelItemLabelPlugin/index.js";
|
|
23
|
+
import { ModelTVVideoPlugin as Ei } from "./ModelTVVideoPlugin/Plugin.js";
|
|
24
|
+
import { DIRECTION as _i } from "./ModelTVVideoPlugin/typings.js";
|
|
25
|
+
import { itemLabelPluginServerParams as Oi } from "./ItemLabelPlugin/index.js";
|
|
26
|
+
import { PanoDoorLabelPlugin as Ii } from "./PanoDoorLabelPlugin/index.js";
|
|
27
|
+
import { GuideLinePlugin as Di } from "./GuideLinePlugin/index.js";
|
|
28
|
+
import { CruisePlugin as Yi } from "./CruisePlugin/index.js";
|
|
29
|
+
import { PanoTagPlugin as Fi } from "./PanoTagPlugin/index.js";
|
|
30
|
+
import { Object3DHelperPlugin as Gi } from "./Object3DHelperPlugin/index.js";
|
|
31
|
+
import { index as ci } from "./shared-utils/index.js";
|
|
32
|
+
import { CSS3DRender as hi } from "./CSS3DRenderPlugin/CSS3DRender.js";
|
|
33
|
+
import { Model as Bi } from "./PanoMeasurePlugin/Model/index.js";
|
|
34
|
+
import { default as Ui } from "./PanoMeasurePlugin/Model/point.js";
|
|
35
|
+
import { default as ki } from "./PanoMeasurePlugin/Model/line.js";
|
|
36
|
+
import { Polyline as zi } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
37
|
+
import { default as Ki } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
38
|
+
import { DISPLAY_STRATEGY_TYPE as Wi } from "./ModelItemLabelPlugin/typings.js";
|
|
39
|
+
import { ModelItemLabelPlugin as Zi } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
40
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as oe } from "./ItemLabelPlugin/typings.js";
|
|
41
|
+
import { Plugin as te } from "./ItemLabelPlugin/Plugin.js";
|
|
42
|
+
import { default as pe } from "./CruisePlugin/Controller.js";
|
|
43
|
+
import { default as ee, pluginFlag as le } from "./PanoTagPlugin/controller/index.js";
|
|
44
|
+
import { ContentType as ae } from "./PanoTagPlugin/typings/tag/TagData.js";
|
|
45
|
+
import { DimensionType as ue, PointType as fe } from "./PanoTagPlugin/typings/tag/Utils.js";
|
|
46
|
+
import { Object3DHelperController as ge, PLUGIN as se, VERSION as Me } from "./Object3DHelperPlugin/Controller.js";
|
|
47
47
|
import "./components/PaintBrush/Controller.js";
|
|
48
48
|
import "./components/PaintBrush/utils.js";
|
|
49
49
|
import "./components/PaintBrush/tween.js";
|
|
@@ -279,7 +279,6 @@ import "./shared-utils/audio.js";
|
|
|
279
279
|
import "./PanoTagPlugin/utils/audio/SharedAudio.js";
|
|
280
280
|
import "./PanoTagPlugin/Components/Common/Icon/audioIcon.js";
|
|
281
281
|
import "./PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
282
|
-
import "./PanoTagPlugin/utils/color.js";
|
|
283
282
|
import "./PanoTagPlugin/Components/Tag/MediaPlane.js";
|
|
284
283
|
import "./PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
285
284
|
import "./PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
@@ -339,58 +338,58 @@ import "./shared-utils/three/Assets/index.js";
|
|
|
339
338
|
import "./shared-utils/three/PointDomHelper.js";
|
|
340
339
|
import "./shared-utils/three/FivePointSelector.js";
|
|
341
340
|
export {
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
341
|
+
hi as CSS3DRender,
|
|
342
|
+
Fp as CSS3DRenderPlugin,
|
|
343
|
+
ii as CameraMovementEffect,
|
|
344
|
+
mi as CameraMovementPlugin,
|
|
345
|
+
ae as ContentType,
|
|
346
|
+
Yi as CruisePlugin,
|
|
347
|
+
pe as CruisePluginController,
|
|
348
|
+
_i as DIRECTION,
|
|
349
|
+
Wi as DISPLAY_STRATEGY_TYPE,
|
|
350
|
+
ue as DimensionType,
|
|
351
|
+
wp as FLOOR_PLAN_ATTACHED_TO,
|
|
352
|
+
Qp as FLOOR_TYPE_MAP,
|
|
353
|
+
Di as GuideLinePlugin,
|
|
354
|
+
oe as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
355
|
+
te as ItemLabelPlugin,
|
|
356
|
+
Ki as Magnifier,
|
|
357
|
+
jp as MapviewFloorplanPlugin,
|
|
358
|
+
$p as ModelChassisCompassPlugin,
|
|
359
|
+
ri as ModelEntryDoorGuidePlugin,
|
|
360
|
+
Hp as ModelFloorplanPlugin,
|
|
361
|
+
Zi as ModelItemLabelPlugin,
|
|
362
|
+
cp as ModelRoomLabelPlugin,
|
|
363
|
+
Ei as ModelTVVideoPlugin,
|
|
364
|
+
Yp as ModelViewPlugin,
|
|
365
|
+
ge as Object3DHelperController,
|
|
366
|
+
Gi as Object3DHelperPlugin,
|
|
367
|
+
se as PLUGIN,
|
|
368
|
+
Ip as PaintBrush,
|
|
369
|
+
Dp as PaintBrushTypeEnum,
|
|
370
|
+
fi as PanoCompassPlugin,
|
|
371
|
+
Gp as PanoCursorRaycasterPlugin,
|
|
372
|
+
Ii as PanoDoorLabelPlugin,
|
|
373
|
+
Jp as PanoFloorplanRadarPlugin,
|
|
374
|
+
gi as PanoMeasurePlugin,
|
|
375
|
+
ki as PanoMeasurePluginLine,
|
|
376
|
+
Bi as PanoMeasurePluginModel,
|
|
377
|
+
Ui as PanoMeasurePluginPoint,
|
|
378
|
+
zi as PanoMeasurePluginPolyline,
|
|
379
|
+
ni as PanoRulerPlugin,
|
|
380
|
+
Pi as PanoRulerProPlugin,
|
|
381
|
+
Mi as PanoSpatialTagPlugin,
|
|
382
|
+
Fi as PanoTagPlugin,
|
|
383
|
+
ee as PanoTagPluginController,
|
|
384
|
+
fe as PointType,
|
|
385
|
+
Wp as ROOM_FETILE_TYPE_MAP,
|
|
386
|
+
Xp as ROOM_TYPE_MAP,
|
|
387
|
+
ei as Rotation,
|
|
388
|
+
qp as TopviewFloorplanPlugin,
|
|
389
|
+
ci as Util,
|
|
390
|
+
Me as VERSION,
|
|
391
|
+
Oi as itemLabelPluginServerParams,
|
|
392
|
+
di as modelItemLabelPluginServerParams,
|
|
393
|
+
Vp as modelRoomLabelPluginServerParams,
|
|
394
|
+
le as pluginFlag
|
|
396
395
|
};
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "2.9.0-0",
|
|
10
|
+
"version": "2.9.0-alpha.0",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function timeToString(time: number): string;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { Five } from '@realsee/five';
|
|
2
|
-
import type { LoadParams, PluginEventMap, PluginState, PluginData, VideoItem } from './typings';
|
|
3
|
-
import * as BasePlugin from '../base/BasePlugin';
|
|
4
|
-
export declare class PanoVideoPluginController extends BasePlugin.Controller<PluginState, PluginEventMap> {
|
|
5
|
-
/** 插件 State */
|
|
6
|
-
get state(): {
|
|
7
|
-
enabled: boolean;
|
|
8
|
-
};
|
|
9
|
-
/** 插件是否已被销毁 */
|
|
10
|
-
get disposed(): boolean;
|
|
11
|
-
private enabled;
|
|
12
|
-
private controllerMap;
|
|
13
|
-
private _disposed;
|
|
14
|
-
constructor(five: Five);
|
|
15
|
-
/** 加载点位视频数据,加载数据并不代表会加载点位视频。 */
|
|
16
|
-
load(data: PluginData, params?: LoadParams): void;
|
|
17
|
-
/** 开启插件功能。 */
|
|
18
|
-
enable(options?: BasePlugin.BaseOptions): void;
|
|
19
|
-
/** 禁用插件功能。 */
|
|
20
|
-
disable(options?: BasePlugin.BaseOptions): void;
|
|
21
|
-
/** 为一个点位添加视频(可以是多条)。 */
|
|
22
|
-
add(panoIndex: number, videoItems: VideoItem[]): void;
|
|
23
|
-
/** 根据 VideoItem render_id 删除某个视频。 */
|
|
24
|
-
removeByRenderID(id: string): void;
|
|
25
|
-
/** 清空现有数据 */
|
|
26
|
-
clear(): void;
|
|
27
|
-
/** 销毁插件 */
|
|
28
|
-
dispose(): void;
|
|
29
|
-
/** 控制台打印警告 */
|
|
30
|
-
private logWarning;
|
|
31
|
-
}
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
var f = Object.defineProperty, g = Object.defineProperties;
|
|
2
|
-
var D = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var h = Object.getOwnPropertySymbols;
|
|
4
|
-
var m = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var n = (t, e, r) => e in t ? f(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, l = (t, e) => {
|
|
6
|
-
for (var r in e || (e = {}))
|
|
7
|
-
m.call(e, r) && n(t, r, e[r]);
|
|
8
|
-
if (h)
|
|
9
|
-
for (var r of h(e))
|
|
10
|
-
B.call(e, r) && n(t, r, e[r]);
|
|
11
|
-
return t;
|
|
12
|
-
}, a = (t, e) => g(t, D(e));
|
|
13
|
-
var u = (t, e, r) => (n(t, typeof e != "symbol" ? e + "" : e, r), r);
|
|
14
|
-
import { VideoMeshController as p } from "./VideoMeshController.js";
|
|
15
|
-
import { Controller as A } from "../base/BasePlugin.js";
|
|
16
|
-
import "./utils/shader.js";
|
|
17
|
-
import "hammerjs";
|
|
18
|
-
import "three";
|
|
19
|
-
import "@realsee/five";
|
|
20
|
-
import "@tweenjs/tween.js";
|
|
21
|
-
import "../CSS3DRenderPlugin/CSS3DRender.js";
|
|
22
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
23
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
24
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
25
|
-
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
26
|
-
import "../CSS3DRenderPlugin/utils/even.js";
|
|
27
|
-
import "../shared-utils/Subscribe.js";
|
|
28
|
-
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
29
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
30
|
-
import "../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
31
|
-
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
32
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
33
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
34
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
35
|
-
import "../shared-utils/animationFrame/index.js";
|
|
36
|
-
import "../shared-utils/animationFrame/BetterTween.js";
|
|
37
|
-
class L extends A {
|
|
38
|
-
constructor(r) {
|
|
39
|
-
super(r);
|
|
40
|
-
u(this, "enabled", !0);
|
|
41
|
-
u(this, "controllerMap", /* @__PURE__ */ new Map());
|
|
42
|
-
u(this, "_disposed", !1);
|
|
43
|
-
this.five = r;
|
|
44
|
-
}
|
|
45
|
-
get state() {
|
|
46
|
-
return {
|
|
47
|
-
enabled: this.enabled
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
get disposed() {
|
|
51
|
-
return this._disposed;
|
|
52
|
-
}
|
|
53
|
-
load(r, o) {
|
|
54
|
-
if (this.disposed)
|
|
55
|
-
return this.logWarning("\u63D2\u4EF6\u5DF2\u88AB\u9500\u6BC1");
|
|
56
|
-
r.list.forEach((i) => {
|
|
57
|
-
const s = i.pano_index, c = i.render_id;
|
|
58
|
-
i.video_list.forEach((d) => {
|
|
59
|
-
this.controllerMap.set(
|
|
60
|
-
d.render_id,
|
|
61
|
-
new p(this.five, a(l({}, d), { panoIndex: s, renderID: c, initialState: o == null ? void 0 : o.initialState }))
|
|
62
|
-
);
|
|
63
|
-
});
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
enable(r) {
|
|
67
|
-
var i;
|
|
68
|
-
if (this.disposed)
|
|
69
|
-
return this.logWarning("\u63D2\u4EF6\u5DF2\u88AB\u9500\u6BC1");
|
|
70
|
-
if (this.enabled)
|
|
71
|
-
return;
|
|
72
|
-
this._disposed = !1, Array.from(this.controllerMap.values()).forEach((s) => s.enable());
|
|
73
|
-
const o = (i = r == null ? void 0 : r.userAction) != null ? i : !0;
|
|
74
|
-
this.hooks.emit("enable", { userAction: o });
|
|
75
|
-
}
|
|
76
|
-
disable(r) {
|
|
77
|
-
var i;
|
|
78
|
-
if (this.disposed)
|
|
79
|
-
return this.logWarning("\u63D2\u4EF6\u5DF2\u88AB\u9500\u6BC1");
|
|
80
|
-
if (!this.enabled)
|
|
81
|
-
return;
|
|
82
|
-
this._disposed = !0, Array.from(this.controllerMap.values()).forEach((s) => s.disable());
|
|
83
|
-
const o = (i = r == null ? void 0 : r.userAction) != null ? i : !0;
|
|
84
|
-
this.hooks.emit("disable", { userAction: o });
|
|
85
|
-
}
|
|
86
|
-
add(r, o) {
|
|
87
|
-
if (this.disposed)
|
|
88
|
-
return this.logWarning("\u63D2\u4EF6\u5DF2\u88AB\u9500\u6BC1");
|
|
89
|
-
o.forEach((i) => {
|
|
90
|
-
if (this.controllerMap.get(i.render_id))
|
|
91
|
-
return this.logWarning(`ID \u4E3A ${i.render_id} \u7684\u70B9\u4F4D\u89C6\u9891\u5DF2\u5B58\u5728`);
|
|
92
|
-
const s = i.render_id;
|
|
93
|
-
this.controllerMap.set(
|
|
94
|
-
i.render_id,
|
|
95
|
-
new p(this.five, a(l({}, i), {
|
|
96
|
-
panoIndex: r,
|
|
97
|
-
renderID: s,
|
|
98
|
-
initialState: { enabled: this.enabled }
|
|
99
|
-
}))
|
|
100
|
-
);
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
removeByRenderID(r) {
|
|
104
|
-
if (this.disposed)
|
|
105
|
-
return this.logWarning("\u63D2\u4EF6\u5DF2\u88AB\u9500\u6BC1");
|
|
106
|
-
const o = this.controllerMap.get(r);
|
|
107
|
-
if (!o)
|
|
108
|
-
return this.logWarning(`ID \u4E3A ${r} \u7684\u70B9\u4F4D\u89C6\u9891\u4E0D\u5B58\u5728`);
|
|
109
|
-
o.dispose(), this.controllerMap.delete(r);
|
|
110
|
-
}
|
|
111
|
-
clear() {
|
|
112
|
-
if (this.disposed)
|
|
113
|
-
return this.logWarning("\u63D2\u4EF6\u5DF2\u88AB\u9500\u6BC1");
|
|
114
|
-
Array.from(this.controllerMap.values()).forEach((r) => r.dispose()), this.controllerMap.clear();
|
|
115
|
-
}
|
|
116
|
-
dispose() {
|
|
117
|
-
if (this.disposed)
|
|
118
|
-
return this.logWarning("\u63D2\u4EF6\u5DF2\u88AB\u9500\u6BC1");
|
|
119
|
-
this._disposed = !0, Array.from(this.controllerMap.values()).forEach((r) => r.dispose()), this.controllerMap.clear();
|
|
120
|
-
}
|
|
121
|
-
logWarning(r) {
|
|
122
|
-
console.warn("\u26D4 ==> [PanoVideoPluginController]:", r);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
export {
|
|
126
|
-
L as PanoVideoPluginController
|
|
127
|
-
};
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import type { Five } from '@realsee/five';
|
|
2
|
-
import type { VideoMeshParams } from './typings';
|
|
3
|
-
/** 点位视频控制器
|
|
4
|
-
* @description 控制器存在副作用,包括:
|
|
5
|
-
* - 对 Five 事件的监听。
|
|
6
|
-
* - 对 DOM 原生事件的监听。
|
|
7
|
-
* - 用于播放视频的模型。
|
|
8
|
-
* - 视频实例。
|
|
9
|
-
* @description 清除副作用的力度从弱到强:
|
|
10
|
-
* - 隐藏:hide,用于隐藏 UI 元素;不销毁多媒体资源。用于临时隐藏。
|
|
11
|
-
* - 取消挂载:unmount,销毁视频资源;移除模型。用于不符合自身展示条件时执行。
|
|
12
|
-
* - 禁用:disable,销毁视频资源;移除模型;取消监听。用于外部条件变换导致的功能禁用。
|
|
13
|
-
* - 销毁:dispose,用于彻底销毁实例,dispose 之后将不响应任何事件。
|
|
14
|
-
*/
|
|
15
|
-
export declare class VideoMeshController {
|
|
16
|
-
/** 传入的 ID,不可更改 */
|
|
17
|
-
get renderID(): string;
|
|
18
|
-
/** 是否已经销毁 */
|
|
19
|
-
get disposed(): boolean;
|
|
20
|
-
/** 是否已经启用 */
|
|
21
|
-
get enabled(): boolean;
|
|
22
|
-
private _id;
|
|
23
|
-
/** 视频资源地址 */
|
|
24
|
-
private url;
|
|
25
|
-
/** Five Instance */
|
|
26
|
-
private five;
|
|
27
|
-
/** 视频对应的点位 */
|
|
28
|
-
private panoIndex;
|
|
29
|
-
/** 视频在球面的 uv:[left, top, width, height] */
|
|
30
|
-
private origin;
|
|
31
|
-
/** Video DOM */
|
|
32
|
-
private video;
|
|
33
|
-
/** Video Mesh */
|
|
34
|
-
private videoMesh;
|
|
35
|
-
private _enabled;
|
|
36
|
-
private _disposed;
|
|
37
|
-
/** 视频是否曾经播放过 */
|
|
38
|
-
private hasVideoEverPlayed;
|
|
39
|
-
/** 自动 render five 的销毁函数
|
|
40
|
-
* @remark 由于 render video 依赖 Five render,因此需要自动 render five。
|
|
41
|
-
*/
|
|
42
|
-
private renderFiveDisposer?;
|
|
43
|
-
/** 初始化视频、模型以及相关事件监听。 */
|
|
44
|
-
constructor(five: Five, params: VideoMeshParams);
|
|
45
|
-
/** 彻底销毁,不响应之后的任何事件 */
|
|
46
|
-
dispose(): void;
|
|
47
|
-
enable(): void;
|
|
48
|
-
/** 禁用插件 */
|
|
49
|
-
disable(): void;
|
|
50
|
-
/** 添加时间监听 */
|
|
51
|
-
private addEventListeners;
|
|
52
|
-
/** 移除事件监听 */
|
|
53
|
-
private removeEventListeners;
|
|
54
|
-
/** 如果满足 mount 条件,mount */
|
|
55
|
-
private mountIfNeeded;
|
|
56
|
-
/** 挂载:加载视频资源;添加模型。 */
|
|
57
|
-
private mount;
|
|
58
|
-
/** 卸载:销毁视频资源;移除模型。 */
|
|
59
|
-
private unmount;
|
|
60
|
-
/** 暂停视频,去除模型。 */
|
|
61
|
-
private hide;
|
|
62
|
-
/** Five 数据加载后需要根据点位位姿调整点位模型位置 */
|
|
63
|
-
private onFiveDataLoaded;
|
|
64
|
-
/** 兼容视频播放 */
|
|
65
|
-
private onFiveWantsMoveToPano;
|
|
66
|
-
/** 走到某个点位上时,挂载/卸载视频 */
|
|
67
|
-
private onFivePanoArrived;
|
|
68
|
-
private onFivePanoWillArrive;
|
|
69
|
-
/** Five 模型变化 */
|
|
70
|
-
private onFiveModeChange;
|
|
71
|
-
/** Five mode change 动画结束 */
|
|
72
|
-
private onFiveInitAnimationEnded;
|
|
73
|
-
/** video playing 事件触发
|
|
74
|
-
* @remarks
|
|
75
|
-
* 事件触发时机:
|
|
76
|
-
* - video is ready to start after having been paused.
|
|
77
|
-
* - video is ready to play after delayed due to lack of data.
|
|
78
|
-
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
|
|
79
|
-
*/
|
|
80
|
-
private onVideoPlaying;
|
|
81
|
-
/** video pause 事件触发 */
|
|
82
|
-
private onVideoPaused;
|
|
83
|
-
/** 控制台打印警告 */
|
|
84
|
-
private logWarning;
|
|
85
|
-
}
|