@realsee/dnalogel 3.5.0-dev.1 → 3.5.0-dev.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/CruisePlugin/{CruiseController.d.ts → BaseController.d.ts} +19 -7
- package/dist/CruisePlugin/Move.d.ts +3 -3
- package/dist/CruisePlugin/Work.d.ts +48 -92
- package/dist/index.cjs.js +51 -51
- package/dist/index.js +2798 -2938
- package/dist/index.umd.js +44 -44
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/GuideLineItem.GuideLineItem.html +18 -18
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +40 -40
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/MoveController.html +25 -25
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +26 -26
- package/docs/classes/PanoMeasurePluginModel.html +26 -26
- package/docs/classes/PanoMeasurePluginPoint.html +10 -10
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +46 -46
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.LineSegments.html +7 -7
- package/docs/classes/Util.Magnifier.html +19 -19
- package/docs/classes/Util.Object3D.html +7 -7
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.PointSelectorHelper.html +15 -15
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/classes/WalkController.html +77 -74
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +20 -20
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/AreaMakerPlugin.html +4 -4
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/CurrentPanoImagePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +4 -4
- package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
- package/docs/functions/Util.equal.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
- package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +5 -5
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +18 -18
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +18 -18
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +15 -15
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +13 -13
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/interfaces/Util.PointIntersection.html +7 -7
- package/docs/modules/AreaMakerPluginType.html +4 -4
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/CurrentPanoImagePluginType.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
- package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
- package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelId.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PipelinePluginParameterType.html +4 -4
- package/docs/types/PipelinePluginReturnType.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagConfigByKey.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +4 -4
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/defaultGlobalConfig.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/CruisePlugin/{CruiseController.d.ts → BaseController.d.ts} +19 -7
- package/libs/CruisePlugin/{CruiseController.js → BaseController.js} +67 -73
- package/libs/CruisePlugin/Move.d.ts +3 -3
- package/libs/CruisePlugin/Move.js +2 -2
- package/libs/CruisePlugin/Work.d.ts +48 -92
- package/libs/CruisePlugin/Work.js +240 -375
- package/libs/CruisePlugin/index.js +3 -3
- package/libs/GuideLinePlugin/Controller.js +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.js +2 -2
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +29 -29
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Five, State } from '@realsee/five';
|
|
2
2
|
import type { BaseOptions } from '../base/BasePlugin';
|
|
3
|
+
import type { GuideLinePluginExportType } from '../GuideLinePlugin';
|
|
3
4
|
import * as BasePlugin from '../base/BasePlugin';
|
|
4
|
-
import type { PluginState, EventMap } from './typing';
|
|
5
|
+
import type { PluginState, EventMap, MoveEffect } from './typing';
|
|
5
6
|
import type { PartialDeep } from 'type-fest';
|
|
6
7
|
export declare const pluginFlag: (name: string) => string;
|
|
7
8
|
export default abstract class CruiseController<PluginData, Config = unknown> extends BasePlugin.Controller<PluginState, EventMap> {
|
|
@@ -10,8 +11,20 @@ export default abstract class CruiseController<PluginData, Config = unknown> ext
|
|
|
10
11
|
id: string | number;
|
|
11
12
|
};
|
|
12
13
|
protected config?: Config;
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
protected privateState: {
|
|
15
|
+
/**
|
|
16
|
+
* privateState.playing 和 state.playing 的区别:
|
|
17
|
+
* state.playing 先为true,然后才 handleplay,handleplay方法内会检查privateState.playing,如果已经开始(privateState.playing === true),就不执行操作,如果为false,就执行操作
|
|
18
|
+
* 其实就是加了一个不允许重复执行handleplay的逻辑
|
|
19
|
+
*/
|
|
20
|
+
playing: boolean;
|
|
21
|
+
broke: boolean;
|
|
22
|
+
playId?: string;
|
|
23
|
+
moveToFirstPanoEffect?: MoveEffect;
|
|
24
|
+
moveToFirstPanoDuration?: number;
|
|
25
|
+
modeChanging?: boolean;
|
|
26
|
+
};
|
|
27
|
+
protected GuideLine?: GuideLinePluginExportType;
|
|
15
28
|
constructor(five: Five, config?: Config);
|
|
16
29
|
/**
|
|
17
30
|
* @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
|
|
@@ -76,10 +89,6 @@ export default abstract class CruiseController<PluginData, Config = unknown> ext
|
|
|
76
89
|
* @description Get duration by speed
|
|
77
90
|
*/
|
|
78
91
|
protected getSpeededDuration(duration: number): number;
|
|
79
|
-
/**
|
|
80
|
-
* @description Change five mode
|
|
81
|
-
*/
|
|
82
|
-
protected changeMode(data: Partial<State>, duration?: number): Promise<void>;
|
|
83
92
|
/**
|
|
84
93
|
* @description Force interupt five updateCamera
|
|
85
94
|
*/
|
|
@@ -110,6 +119,9 @@ export default abstract class CruiseController<PluginData, Config = unknown> ext
|
|
|
110
119
|
protected actionIfStateIsEnabled<T = any>(func: () => T, options?: {
|
|
111
120
|
warnLog?: true;
|
|
112
121
|
}): T;
|
|
122
|
+
protected disposedErrorLog: () => void;
|
|
123
|
+
protected disableWarnLog: () => void;
|
|
124
|
+
protected disableErrorLog: () => void;
|
|
113
125
|
/**
|
|
114
126
|
* @description Load Data and State
|
|
115
127
|
*/
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
|
-
import CruiseController from './
|
|
2
|
+
import CruiseController from './BaseController';
|
|
3
3
|
import type { PluginState } from './typing';
|
|
4
4
|
import type { PartialDeep } from 'type-fest';
|
|
5
5
|
import type * as THREE from 'three';
|
|
6
6
|
type Data = {
|
|
7
7
|
path: THREE.CurvePath<THREE.Vector3>;
|
|
8
|
-
offset?: {
|
|
8
|
+
offset?: Partial<{
|
|
9
9
|
x: number;
|
|
10
10
|
y: number;
|
|
11
11
|
z: number;
|
|
12
|
-
}
|
|
12
|
+
}>;
|
|
13
13
|
};
|
|
14
14
|
type Config = {
|
|
15
15
|
offset?: number;
|
|
@@ -1,25 +1,31 @@
|
|
|
1
|
-
import type { Five } from '@realsee/five';
|
|
2
|
-
import type {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
export declare const pluginFlag: (name: string) => string;
|
|
6
|
-
export default class WalkController extends BasePluginWithData.Controller<PluginState, EventMap, PluginServerData, PluginData> {
|
|
1
|
+
import type { Five, State } from '@realsee/five';
|
|
2
|
+
import type { PluginState, PluginServerData, PluginData, CruiseKeyframe, MoveEffect, Config } from './typing';
|
|
3
|
+
import CruiseController from './BaseController';
|
|
4
|
+
export default class WalkController extends CruiseController<PluginData, Config> {
|
|
7
5
|
state: PluginState;
|
|
8
|
-
protected
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
protected privateState: {
|
|
7
|
+
/**
|
|
8
|
+
* privateState.playing 和 state.playing 的区别:
|
|
9
|
+
* state.playing 先为true,然后才 handleplay,handleplay方法内会检查privateState.playing,如果已经开始(privateState.playing === true),就不执行操作,如果为false,就执行操作
|
|
10
|
+
* 其实就是加了一个不允许重复执行handleplay的逻辑
|
|
11
|
+
*/
|
|
12
|
+
playing: boolean;
|
|
13
|
+
currentPlayKeyframe: {
|
|
14
|
+
keyframe: CruiseKeyframe;
|
|
15
|
+
originDuration?: number;
|
|
16
|
+
} | null;
|
|
17
|
+
currentPlayQueue: Promise<any>[];
|
|
18
|
+
broke: boolean;
|
|
19
|
+
playId?: string;
|
|
20
|
+
moveToFirstPanoEffect?: MoveEffect;
|
|
21
|
+
moveToFirstPanoDuration?: number;
|
|
22
|
+
modeChanging?: boolean;
|
|
23
|
+
};
|
|
12
24
|
constructor(five: Five, config?: Config);
|
|
13
25
|
/**
|
|
14
26
|
* @description Load Data and State
|
|
15
27
|
*/
|
|
16
28
|
load(serverData: PluginServerData | PluginServerData['data'], state?: PluginState, userAction?: boolean): Promise<void>;
|
|
17
|
-
/**
|
|
18
|
-
* @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
|
|
19
|
-
*/
|
|
20
|
-
play(options?: {
|
|
21
|
-
userAction?: boolean;
|
|
22
|
-
}): void;
|
|
23
29
|
/**
|
|
24
30
|
* @description If playing, first pause, then play from keyframes index/id
|
|
25
31
|
* @param {number} options.index play from keyframes index
|
|
@@ -37,68 +43,52 @@ export default class WalkController extends BasePluginWithData.Controller<Plugin
|
|
|
37
43
|
userAction?: boolean;
|
|
38
44
|
}): void;
|
|
39
45
|
/**
|
|
40
|
-
* @description
|
|
41
|
-
*/
|
|
42
|
-
pause(options?: {
|
|
43
|
-
userAction?: boolean;
|
|
44
|
-
}): void;
|
|
45
|
-
/**
|
|
46
|
-
* @description Show guide line
|
|
47
|
-
*/
|
|
48
|
-
show(options?: {
|
|
49
|
-
userAction?: boolean;
|
|
50
|
-
}): Promise<void>;
|
|
51
|
-
/**
|
|
52
|
-
* @description Hide guide line
|
|
46
|
+
* @description Format data
|
|
53
47
|
*/
|
|
54
|
-
|
|
55
|
-
userAction?: boolean;
|
|
56
|
-
}): Promise<void>;
|
|
48
|
+
protected formatData(serverData: PluginServerData | PluginServerData['data']): Promise<PluginData>;
|
|
57
49
|
/**
|
|
58
|
-
* @description
|
|
50
|
+
* @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
|
|
51
|
+
* @param {number} options.playFromIndex play from keyframes index
|
|
52
|
+
* @param {string} options.playFromId play from keyframes id
|
|
59
53
|
*/
|
|
60
|
-
|
|
54
|
+
protected handlePlay(options?: {
|
|
61
55
|
userAction?: boolean;
|
|
62
|
-
|
|
56
|
+
playFromIndex?: number;
|
|
57
|
+
playFromId?: string;
|
|
58
|
+
notEmitEvent?: true;
|
|
59
|
+
}): Promise<string>;
|
|
63
60
|
/**
|
|
64
|
-
* @description
|
|
61
|
+
* @description: Pause and record pause state
|
|
65
62
|
*/
|
|
66
|
-
|
|
63
|
+
protected handlePause(options?: {
|
|
67
64
|
userAction?: boolean;
|
|
65
|
+
notEmitEvent?: true;
|
|
68
66
|
}): void;
|
|
69
67
|
/**
|
|
70
|
-
* @description
|
|
71
|
-
*/
|
|
72
|
-
dispose(): void;
|
|
73
|
-
/**
|
|
74
|
-
* @description Set state
|
|
68
|
+
* @description: Change play speed
|
|
75
69
|
*/
|
|
76
|
-
|
|
70
|
+
protected changeSpeed(speed: number, userAction?: boolean): void;
|
|
77
71
|
/**
|
|
78
|
-
* @description
|
|
72
|
+
* @description Get ratate progress
|
|
79
73
|
*/
|
|
80
|
-
protected
|
|
81
|
-
private handleEnable;
|
|
82
|
-
private handleVisible;
|
|
83
|
-
private changePlayState;
|
|
74
|
+
protected getProgress(): any;
|
|
84
75
|
/**
|
|
85
|
-
* @description
|
|
86
|
-
* @param {number} options.playFromIndex play from keyframes index
|
|
87
|
-
* @param {string} options.playFromId play from keyframes id
|
|
76
|
+
* @description Set pause data
|
|
88
77
|
*/
|
|
89
|
-
|
|
78
|
+
protected setPauseData(): Map<string, {
|
|
79
|
+
fiveState: Partial<State>;
|
|
80
|
+
id?: string | number;
|
|
81
|
+
playedProgress: number;
|
|
82
|
+
duration?: number;
|
|
83
|
+
}>;
|
|
90
84
|
/**
|
|
91
|
-
* @description:
|
|
85
|
+
* @description: Restore state that before loaded
|
|
92
86
|
*/
|
|
93
|
-
|
|
87
|
+
protected clear(): void;
|
|
94
88
|
/**
|
|
95
89
|
* @description Play single keyframe
|
|
96
90
|
*/
|
|
97
91
|
private playKeyframe;
|
|
98
|
-
/**
|
|
99
|
-
* @description: listen interupted by five gesture
|
|
100
|
-
*/
|
|
101
|
-
private addInterruptListener;
|
|
102
92
|
/**
|
|
103
93
|
* @description: getPlayPromise
|
|
104
94
|
*/
|
|
@@ -123,42 +113,8 @@ export default class WalkController extends BasePluginWithData.Controller<Plugin
|
|
|
123
113
|
* @description: Change five pano
|
|
124
114
|
*/
|
|
125
115
|
private changePano;
|
|
126
|
-
/**
|
|
127
|
-
* @description: Change play speed
|
|
128
|
-
*/
|
|
129
|
-
private changeSpeed;
|
|
130
|
-
/**
|
|
131
|
-
* @description Get duration by speed
|
|
132
|
-
*/
|
|
133
|
-
private getSpeededDuration;
|
|
134
|
-
/**
|
|
135
|
-
* @description Get ratate progress
|
|
136
|
-
*/
|
|
137
|
-
private getProgress;
|
|
138
116
|
/**
|
|
139
117
|
* @description Change five mode
|
|
140
118
|
*/
|
|
141
119
|
private changeMode;
|
|
142
|
-
/**
|
|
143
|
-
* @description Force interupt five updateCamera
|
|
144
|
-
*/
|
|
145
|
-
private forceInteruptUpdateCamera;
|
|
146
|
-
private getPauseData;
|
|
147
|
-
/**
|
|
148
|
-
* @description Set pause data
|
|
149
|
-
*/
|
|
150
|
-
private setPauseData;
|
|
151
|
-
/**
|
|
152
|
-
* @description Clear pause data
|
|
153
|
-
*/
|
|
154
|
-
private clearPauseData;
|
|
155
|
-
/**
|
|
156
|
-
* @description: Restore state that before loaded
|
|
157
|
-
*/
|
|
158
|
-
private clear;
|
|
159
|
-
private handleDispose;
|
|
160
|
-
/**
|
|
161
|
-
* @description Action function if plugin is enable
|
|
162
|
-
*/
|
|
163
|
-
private actionIfStateIsEnabled;
|
|
164
120
|
}
|