@realsee/dnalogel 3.24.3 → 3.25.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/CruisePlugin/Move.d.ts +7 -7
- package/dist/CruisePlugin/index.d.ts +1 -1
- package/dist/CruisePlugin/typing.d.ts +11 -13
- package/dist/index.cjs.js +33 -33
- package/dist/index.js +1627 -1611
- package/dist/index.umd.js +33 -33
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
- package/docs/classes/ModelMakerPluginType.ModelMakerController.html +12 -12
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/MoveController.html +12 -12
- package/docs/classes/Object3DHelperController.html +3 -3
- package/docs/classes/PaintBrush.html +3 -3
- package/docs/classes/PanoMeasurePluginLine.html +3 -3
- package/docs/classes/PanoMeasurePluginModel.html +3 -3
- package/docs/classes/PanoMeasurePluginPoint.html +3 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
- package/docs/classes/PanoTagPluginController.html +3 -3
- package/docs/classes/Sculpt.html +3 -3
- package/docs/classes/Util.BetterTween.html +3 -3
- package/docs/classes/Util.Interval.html +3 -3
- package/docs/classes/Util.LineSegments.html +3 -3
- package/docs/classes/Util.Magnifier.html +3 -3
- package/docs/classes/Util.Object3D.html +3 -3
- package/docs/classes/Util.PointDomHelper.html +3 -3
- package/docs/classes/Util.PointHelper.html +3 -3
- package/docs/classes/Util.PointSelectorHelper.html +3 -3
- package/docs/classes/Util.Rectangle.html +3 -3
- package/docs/classes/WalkController.html +3 -3
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +3 -3
- package/docs/enums/DIRECTION.html +3 -3
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/PaintBrushTypeEnum.html +3 -3
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/AreaMakerPlugin.html +3 -3
- 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 +3 -3
- 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/ModelMakerPlugin.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/MovePlugin.html +4 -4
- 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 +3 -3
- package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
- package/docs/functions/Util.equal.html +3 -3
- package/docs/functions/Util.getCoordsFromClient.html +3 -3
- package/docs/functions/Util.getCoordsFromElement.html +3 -3
- package/docs/functions/Util.getFrameTime.html +3 -3
- package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
- package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
- package/docs/functions/Util.isAbsoluteURL.html +3 -3
- package/docs/functions/Util.isModelLike.html +3 -3
- package/docs/functions/Util.isNil.html +3 -3
- package/docs/functions/Util.isPanoramaLike.html +3 -3
- package/docs/functions/Util.nextFrame.html +3 -3
- package/docs/functions/Util.notNil.html +3 -3
- package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
- package/docs/functions/Util.tweenProgress.html +3 -3
- package/docs/functions/Util.uuid.html +3 -3
- package/docs/functions/pluginFlag.html +3 -3
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +6 -5
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +4 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -16
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +349 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +25 -19
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +16 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +16 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +29 -28
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -5
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -9
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
- package/docs/interfaces/EventMap.html +3 -3
- package/docs/interfaces/FloorplanBounding.html +3 -3
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +3 -3
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +3 -3
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +3 -3
- package/docs/interfaces/FloorplanServerComputedData.html +3 -3
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
- package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
- package/docs/interfaces/FloorplanServerEntrance.html +3 -3
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
- package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
- package/docs/interfaces/HelperOffset.html +3 -3
- package/docs/interfaces/ImagePlaneGroup.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +3 -3
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/MinMax.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
- package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
- package/docs/interfaces/ModelViewPluginExportType.html +3 -3
- package/docs/interfaces/Object3DHelperState.html +3 -3
- package/docs/interfaces/ObjectHelperControllers.html +3 -3
- package/docs/interfaces/PaintBrushAction.html +3 -3
- package/docs/interfaces/PaintBrushConfigs.html +3 -3
- package/docs/interfaces/PaintBrushState.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
- package/docs/interfaces/PanoMeasureParameterType.html +3 -3
- package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginState.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
- package/docs/interfaces/Point.html +3 -3
- package/docs/interfaces/Room.html +3 -3
- package/docs/interfaces/RoomInfo.html +3 -3
- package/docs/interfaces/RoomLabel.html +3 -3
- package/docs/interfaces/RoomRules.html +3 -3
- package/docs/interfaces/Rooms.html +3 -3
- package/docs/interfaces/Scissor.html +3 -3
- package/docs/interfaces/State.html +3 -3
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
- package/docs/interfaces/TagIconUrl.html +3 -3
- package/docs/interfaces/TagObjectGroup.html +3 -3
- package/docs/interfaces/TagStyle.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/interfaces/TemporaryState.html +3 -3
- package/docs/interfaces/Util.MagnifierParameter.html +3 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
- package/docs/interfaces/Util.PointIntersection.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +3 -3
- package/docs/modules/CruisePluginTypes.html +5 -3
- package/docs/modules/CurrentPanoImagePluginType.html +3 -3
- package/docs/modules/GuideLineItem.html +3 -3
- package/docs/modules/GuideLineModeItem.html +3 -3
- package/docs/modules/GuideLinePluginType.html +3 -3
- package/docs/modules/ModelMakerPluginType.html +3 -3
- package/docs/modules/PanoVideoPluginType.html +3 -3
- package/docs/modules/Util.html +3 -3
- package/docs/modules.html +4 -4
- package/docs/types/AddObject3DHelperConfig.html +3 -3
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
- package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
- package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
- package/docs/types/ArrayPosition.html +3 -3
- package/docs/types/AudioAppearance.html +3 -3
- package/docs/types/AudioTagTypeConfigKey.html +3 -3
- package/docs/types/CSS3DRenderExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
- package/docs/types/ClassFunctionParameters.html +3 -3
- package/docs/types/Color.html +3 -3
- package/docs/types/ContentTypeConfigKey.html +3 -3
- package/docs/types/ContentTypeConfigKeySplit.html +3 -3
- package/docs/types/ContentTypeMap.html +3 -3
- package/docs/types/Create3DDomContainerReturnType.html +3 -3
- package/docs/types/Create3DElementReturnType.html +3 -3
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -3
- package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
- package/docs/types/DeprecatedTagProperty.html +3 -3
- package/docs/types/Direction-1.html +3 -3
- package/docs/types/Direction4.html +3 -3
- package/docs/types/ElementRenderer.html +3 -3
- package/docs/types/FloorplanRuleLabels.html +3 -3
- package/docs/types/FloorplanServerRuleLabels.html +3 -3
- package/docs/types/GuideLinePluginExportType.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
- package/docs/types/GuideLinePluginType.PathItem.html +3 -3
- package/docs/types/GuideLinePluginType.PluginData.html +3 -3
- package/docs/types/HelperEventMap.html +3 -3
- package/docs/types/InternalHelperEventMap.html +3 -3
- package/docs/types/LoadTagConfig.html +3 -3
- package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/MediaData.html +3 -3
- package/docs/types/MediaStore.html +3 -3
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
- package/docs/types/ModelId.html +3 -3
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
- package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
- package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
- package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
- package/docs/types/MoveArgs.html +3 -3
- package/docs/types/MoveOpts.html +3 -3
- package/docs/types/Object3DHelperEventMap.html +3 -3
- package/docs/types/ObjectFit.html +3 -3
- package/docs/types/PaintBrushEventMap.html +3 -3
- package/docs/types/PanoCompassPluginData.html +3 -3
- package/docs/types/PanoCompassPluginExportType.html +3 -3
- package/docs/types/PanoCompassPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
- package/docs/types/PanoIndex.html +3 -3
- package/docs/types/PanoMeasurePluginEvent.html +3 -3
- package/docs/types/PanoMeasureReturnType.html +3 -3
- package/docs/types/PanoSpatialTagPluginId.html +3 -3
- package/docs/types/PanoTagPluginExportInterface.html +3 -3
- package/docs/types/PanoTagPluginParamsInterface.html +3 -3
- package/docs/types/PanoVideoPluginParameterType.html +3 -3
- package/docs/types/PanoVideoPluginReturnType.html +3 -3
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
- package/docs/types/PipelinePluginParameterType.html +3 -3
- package/docs/types/PipelinePluginReturnType.html +3 -3
- package/docs/types/PlaneTag.html +3 -3
- package/docs/types/Point2DTag.html +3 -3
- package/docs/types/Point3DTag.html +3 -3
- package/docs/types/PointTag.html +3 -3
- package/docs/types/PointTagInstance.html +3 -3
- package/docs/types/Position.html +3 -3
- package/docs/types/PositionFrom.html +3 -3
- package/docs/types/RotateArgs.html +3 -3
- package/docs/types/RotateOpts.html +3 -3
- package/docs/types/RuleLabelsKey.html +3 -3
- package/docs/types/RuleLabelsValue.html +3 -3
- package/docs/types/ScaleCallback.html +3 -3
- package/docs/types/ScalePosition.html +3 -3
- package/docs/types/StickType.html +3 -3
- package/docs/types/Tag.html +3 -3
- package/docs/types/Tag2D.html +3 -3
- package/docs/types/Tag3D.html +3 -3
- package/docs/types/TagConfigByKey.html +3 -3
- package/docs/types/TagContentType.html +3 -3
- package/docs/types/TagContentTypeMapping.html +3 -3
- package/docs/types/TagDimensionType.html +3 -3
- package/docs/types/TagElement.html +3 -3
- package/docs/types/TagEvents.html +3 -3
- package/docs/types/TagGLTFObject.html +3 -3
- package/docs/types/TagHooks.html +3 -3
- package/docs/types/TagId.html +3 -3
- package/docs/types/TagInstance.html +3 -3
- package/docs/types/TagPointType.html +3 -3
- package/docs/types/TagRendererMap.html +3 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/WorkCode.html +3 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
- package/docs/variables/PLUGIN.html +3 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
- package/docs/variables/ROOM_TYPE_MAP.html +3 -3
- package/docs/variables/defaultGlobalConfig.html +3 -3
- package/docs/variables/itemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
- package/libs/CruisePlugin/Move.d.ts +7 -7
- package/libs/CruisePlugin/Move.js +249 -88
- package/libs/CruisePlugin/index.d.ts +1 -1
- package/libs/CruisePlugin/typing.d.ts +11 -13
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +22 -22
- package/libs/GuideLinePlugin/index.js +5 -5
- package/libs/ModelMakerPlugin/Controller.js +23 -23
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,43 +1,44 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var t in
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var t of
|
|
10
|
-
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
1
|
+
var T = Object.defineProperty, x = Object.defineProperties;
|
|
2
|
+
var D = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var k = Object.getOwnPropertySymbols;
|
|
4
|
+
var E = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var d = (e, i, t) => i in e ? T(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, u = (e, i) => {
|
|
6
|
+
for (var t in i || (i = {}))
|
|
7
|
+
E.call(i, t) && d(e, t, i[t]);
|
|
8
|
+
if (k)
|
|
9
|
+
for (var t of k(i))
|
|
10
|
+
F.call(i, t) && d(e, t, i[t]);
|
|
11
|
+
return e;
|
|
12
|
+
}, c = (e, i) => x(e, D(i));
|
|
13
|
+
var n = (e, i, t) => (d(e, typeof i != "symbol" ? i + "" : i, t), t);
|
|
14
|
+
var w = (e, i, t) => new Promise((r, s) => {
|
|
15
|
+
var m = (o) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
|
|
17
|
+
a(t.next(o));
|
|
18
|
+
} catch (p) {
|
|
19
|
+
s(p);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, h = (o) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
24
|
-
} catch (
|
|
25
|
-
|
|
23
|
+
a(t.throw(o));
|
|
24
|
+
} catch (p) {
|
|
25
|
+
s(p);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, a = (o) => o.done ? r(o.value) : Promise.resolve(o.value).then(m, h);
|
|
28
|
+
a((t = t.apply(e, i)).next());
|
|
29
29
|
});
|
|
30
|
-
import
|
|
31
|
-
import { objectAssignDeepExports as
|
|
32
|
-
import * as
|
|
30
|
+
import z from "./BaseController.js";
|
|
31
|
+
import { objectAssignDeepExports as g } from "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
32
|
+
import * as L from "three";
|
|
33
33
|
import "hammerjs";
|
|
34
34
|
import "@realsee/five";
|
|
35
35
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
36
36
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
37
37
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
38
|
-
import { uuid as
|
|
39
|
-
import { getFiveStateOnCurve as
|
|
40
|
-
import { anyPositionToVector3 as
|
|
38
|
+
import { uuid as O } from "../shared-utils/uuid.js";
|
|
39
|
+
import { getFiveStateOnCurve as v } from "./utils/getFiveStateOnCurve.js";
|
|
40
|
+
import { anyPositionToVector3 as A } from "../shared-utils/positionToVector3.js";
|
|
41
|
+
import M from "../GuideLinePlugin/index.js";
|
|
41
42
|
import "../base/BasePlugin.js";
|
|
42
43
|
import "../shared-utils/Subscribe.js";
|
|
43
44
|
import "../shared-utils/url/absoluteUrl.js";
|
|
@@ -61,97 +62,257 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
61
62
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
62
63
|
import "../shared-utils/vectorToCoordinate.js";
|
|
63
64
|
import "../shared-utils/formatRad.js";
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
65
|
+
import "../GuideLinePlugin/Controller.js";
|
|
66
|
+
import "../base/BasePluginWithData.js";
|
|
67
|
+
import "../GuideLinePlugin/GuideLineItem/index.js";
|
|
68
|
+
import "../GuideLinePlugin/GuideLineModeItem/index.js";
|
|
69
|
+
import "../shared-utils/log.js";
|
|
70
|
+
import "../GuideLinePlugin/utils/createLineGeometry.js";
|
|
71
|
+
import "../vendor/polyline-normals/index.js";
|
|
72
|
+
import "../vendor/polyline-miter-util/index.js";
|
|
73
|
+
import "../vendor/gl-vec2/add.js";
|
|
74
|
+
import "../vendor/gl-vec2/set.js";
|
|
75
|
+
import "../vendor/gl-vec2/normalize.js";
|
|
76
|
+
import "../vendor/gl-vec2/subtract.js";
|
|
77
|
+
import "../vendor/gl-vec2/dot.js";
|
|
78
|
+
import "../shared-utils/five/mode.js";
|
|
79
|
+
import "../shared-utils/isNil.js";
|
|
80
|
+
import "../shared-utils/animationFrame/BetterTween.js";
|
|
81
|
+
import "../shared-utils/animationFrame/index.js";
|
|
82
|
+
import "../shared-utils/three/loadTexture.js";
|
|
83
|
+
import "../PanoTagPlugin/controller/index.js";
|
|
84
|
+
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
85
|
+
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
86
|
+
import "../PanoTagPlugin/utils/debounce.js";
|
|
87
|
+
import "../PanoTagPlugin/utils/throttle.js";
|
|
88
|
+
import "../PanoTagPlugin/utils/tag/format.js";
|
|
89
|
+
import "../shared-utils/audio.js";
|
|
90
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
91
|
+
import "../PanoTagPlugin/controller/TagRender.js";
|
|
92
|
+
import "../PanoTagPlugin/controller/TagComputer.js";
|
|
93
|
+
import "../PanoTagPlugin/utils/tagPosition.js";
|
|
94
|
+
import "../PanoTagPlugin/utils/checkRange.js";
|
|
95
|
+
import "../PanoTagPlugin/controller/TagUtil.js";
|
|
96
|
+
import "../PanoTagPlugin/typings/tag/TagConfig.js";
|
|
97
|
+
import "../PanoTagPlugin/tag.config.js";
|
|
98
|
+
import "../PanoTagPlugin/utils/planeNormal.js";
|
|
99
|
+
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
100
|
+
import "../PanoTagPlugin/controller/TagCache.js";
|
|
101
|
+
import "../vendor/svelte/store/index.js";
|
|
102
|
+
import "../vendor/svelte/internal/index.js";
|
|
103
|
+
import "../shared-utils/device.js";
|
|
104
|
+
import "../PanoTagPlugin/utils/model/mediaPlane.js";
|
|
105
|
+
import "../shared-utils/three/Quadrangle.js";
|
|
106
|
+
import "../shared-utils/math/pointIsRectangle.js";
|
|
107
|
+
import "../shared-utils/three/loadVideoTexture.js";
|
|
108
|
+
import "../PanoTagPlugin/Assets/Icon.js";
|
|
109
|
+
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
110
|
+
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
111
|
+
import "../shared-utils/three/getNormal.js";
|
|
112
|
+
import "../shared-utils/five/FiveDomEvents.js";
|
|
113
|
+
import "../shared-utils/five/calculateThreeMouse.js";
|
|
114
|
+
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
115
|
+
import "../shared-utils/typescript/entries.js";
|
|
116
|
+
import "../shared-utils/url/getUrl.js";
|
|
117
|
+
import "../shared-utils/five/getFloorIndex.js";
|
|
118
|
+
import "../shared-utils/safeObj.js";
|
|
119
|
+
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
120
|
+
import "../PanoTagPlugin/Components/TagItem.js";
|
|
121
|
+
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
122
|
+
import "../PanoTagPlugin/Components/Tag/TextTag/index.js";
|
|
123
|
+
import "../PanoTagPlugin/Components/Tag/TextTag/TextTag.js";
|
|
124
|
+
import "../PanoTagPlugin/Components/Common/Line/Straight.js";
|
|
125
|
+
import "../vendor/svelte/transition/index.js";
|
|
126
|
+
import "../vendor/svelte/easing/index.js";
|
|
127
|
+
import "../PanoTagPlugin/Components/Common/Shadow.js";
|
|
128
|
+
import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
|
|
129
|
+
import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
|
|
130
|
+
import "animejs";
|
|
131
|
+
import "../PanoTagPlugin/utils/search.js";
|
|
132
|
+
import "../PanoTagPlugin/utils/constants.js";
|
|
133
|
+
import "../PanoTagPlugin/Components/Common/Arrow.js";
|
|
134
|
+
import "../PanoTagPlugin/utils/doUtil.js";
|
|
135
|
+
import "../shared-utils/svelte/resizeObserver.js";
|
|
136
|
+
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
137
|
+
import "../PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js";
|
|
138
|
+
import "../PanoTagPlugin/Components/Common/Text/MText.js";
|
|
139
|
+
import "../PanoTagPlugin/utils/px2rem.js";
|
|
140
|
+
import "../PanoTagPlugin/Components/Tag/ImageTextTag.js";
|
|
141
|
+
import "../PanoTagPlugin/Components/Common/Line/Polyline.js";
|
|
142
|
+
import "../PanoTagPlugin/Components/Common/Media.js";
|
|
143
|
+
import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
144
|
+
import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
145
|
+
import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
146
|
+
import "../vendor/svelte-carousel/src/components/Arrow/Arrow.js";
|
|
147
|
+
import "../vendor/svelte-carousel/src/direction.js";
|
|
148
|
+
import "../vendor/svelte-carousel/src/components/Progress/Progress.js";
|
|
149
|
+
import "../vendor/svelte-carousel/src/actions/swipeable/swipeable.js";
|
|
150
|
+
import "../vendor/svelte-carousel/src/actions/swipeable/event.js";
|
|
151
|
+
import "../vendor/svelte-carousel/src/utils/event.js";
|
|
152
|
+
import "../vendor/svelte-carousel/src/units.js";
|
|
153
|
+
import "../vendor/svelte-carousel/src/actions/hoverable/hoverable.js";
|
|
154
|
+
import "../vendor/svelte-carousel/src/actions/hoverable/event.js";
|
|
155
|
+
import "../vendor/svelte-carousel/src/actions/tappable/tappable.js";
|
|
156
|
+
import "../vendor/svelte-carousel/src/utils/math.js";
|
|
157
|
+
import "../vendor/svelte-carousel/src/actions/tappable/event.js";
|
|
158
|
+
import "../vendor/svelte-carousel/src/utils/page.js";
|
|
159
|
+
import "../vendor/svelte-carousel/src/utils/clones.js";
|
|
160
|
+
import "../vendor/svelte-carousel/src/utils/object.js";
|
|
161
|
+
import "../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
162
|
+
import "../vendor/easy-reactive/src/simply-reactive.js";
|
|
163
|
+
import "../vendor/lodash.get/index.js";
|
|
164
|
+
import "../_commonjsHelpers.js";
|
|
165
|
+
import "../vendor/lodash.clonedeep/index.js";
|
|
166
|
+
import "../vendor/easy-reactive/src/utils/subscription.js";
|
|
167
|
+
import "../vendor/easy-reactive/src/utils/object.js";
|
|
168
|
+
import "../vendor/lodash.isequal/index.js";
|
|
169
|
+
import "../vendor/easy-reactive/src/utils/watcher.js";
|
|
170
|
+
import "../vendor/svelte-carousel/src/utils/lazy.js";
|
|
171
|
+
import "../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
172
|
+
import "../vendor/svelte-carousel/src/utils/interval.js";
|
|
173
|
+
import "../PanoTagPlugin/Components/Common/MediaItem.js";
|
|
174
|
+
import "../PanoTagPlugin/Components/Tag/MarketingTag.js";
|
|
175
|
+
import "../PanoTagPlugin/utils/noTypecheck.js";
|
|
176
|
+
import "../PanoTagPlugin/Components/Tag/AudioTag/index.js";
|
|
177
|
+
import "../PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js";
|
|
178
|
+
import "../PanoTagPlugin/Components/Common/Audio.js";
|
|
179
|
+
import "../PanoTagPlugin/utils/audio/SharedAudio.js";
|
|
180
|
+
import "../PanoTagPlugin/Components/Common/Icon/audioIcon.js";
|
|
181
|
+
import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
182
|
+
import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
|
|
183
|
+
import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
184
|
+
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
185
|
+
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
186
|
+
import "../PanoTagPlugin/Components/Tag/PanoramaTag.js";
|
|
187
|
+
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
188
|
+
import "../vendor/classnames/index.js";
|
|
189
|
+
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
190
|
+
import "../CSS3DRenderPlugin/index.js";
|
|
191
|
+
import "../CSS3DRenderPlugin/Controller.js";
|
|
192
|
+
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
193
|
+
import "../shared-utils/three/GLTFLoader.js";
|
|
194
|
+
import "@realsee/five/gltf-loader";
|
|
195
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
196
|
+
import "../PanoTagPlugin/utils/DebugUtil.js";
|
|
197
|
+
import "../GuideLinePlugin/Components/Tag.js";
|
|
198
|
+
import "../GuideLinePlugin/utils/index.js";
|
|
199
|
+
import "../shared-utils/to.js";
|
|
200
|
+
import "../shared-utils/five/changeMode.js";
|
|
201
|
+
import "../shared-utils/nearlyEqual.js";
|
|
202
|
+
import "./Move.js";
|
|
203
|
+
import "./Work.js";
|
|
204
|
+
import "./utils/coordinatesAngle.js";
|
|
205
|
+
import "./utils/coordinatesToVector.js";
|
|
206
|
+
import "./utils/safeCall.js";
|
|
207
|
+
import "./utils/sleep.js";
|
|
208
|
+
import "../shared-utils/five/fiveLoaded.js";
|
|
209
|
+
class $r extends z {
|
|
210
|
+
constructor(t, r) {
|
|
211
|
+
var h;
|
|
212
|
+
super(t, r);
|
|
213
|
+
n(this, "curve");
|
|
214
|
+
n(this, "baseCurveOffset");
|
|
215
|
+
n(this, "curveOffset");
|
|
216
|
+
n(this, "playStartedTime", performance.now());
|
|
217
|
+
n(this, "duration");
|
|
218
|
+
n(this, "changeSpeed", (t, r = !0) => {
|
|
219
|
+
this.state.speed = t, this.hooks.emit("speedChange", t, { userAction: r });
|
|
75
220
|
});
|
|
76
|
-
|
|
77
|
-
this.five.setState(
|
|
221
|
+
n(this, "moveToStart", () => {
|
|
222
|
+
this.five.setState(c(u({}, v(this.curve, 0, this.curveOffset)), { mode: "Model" }));
|
|
78
223
|
});
|
|
79
|
-
|
|
224
|
+
n(this, "playFromStart", () => {
|
|
80
225
|
this.clearPauseData(), this.setState({ playing: !0 });
|
|
81
226
|
});
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
var
|
|
227
|
+
n(this, "getDuration", () => this.getSpeededDuration(this.duration));
|
|
228
|
+
n(this, "getProgress", () => {
|
|
229
|
+
var o;
|
|
85
230
|
const t = this.getPauseData();
|
|
86
|
-
let
|
|
87
|
-
(
|
|
88
|
-
const
|
|
89
|
-
return 1 -
|
|
231
|
+
let r = (o = t == null ? void 0 : t.playedProgress) != null ? o : 0;
|
|
232
|
+
(r < 0 || r >= 1) && (r = 0);
|
|
233
|
+
const s = 1 - r, m = this.getDuration(), a = (performance.now() - this.playStartedTime) / m;
|
|
234
|
+
return 1 - s + a;
|
|
90
235
|
});
|
|
91
|
-
const
|
|
236
|
+
const s = {
|
|
92
237
|
config: {
|
|
93
238
|
speedConfig: {
|
|
94
239
|
moveSpeed: 2,
|
|
95
240
|
moveSpeedUnit: "m/s"
|
|
96
241
|
}
|
|
97
242
|
}
|
|
98
|
-
},
|
|
243
|
+
}, m = {
|
|
99
244
|
allowBroke: !0
|
|
100
245
|
};
|
|
101
|
-
this.state =
|
|
246
|
+
this.state = g({}, s, this.state), this.config = g({}, m, this.config), this.baseCurveOffset = g({ x: 0, y: 0, z: 0 }, { y: 2 }, (h = this.config) == null ? void 0 : h.offset);
|
|
102
247
|
}
|
|
103
|
-
load(t,
|
|
104
|
-
var
|
|
105
|
-
this.handlePause(), this.clear(), this.data = u({ id:
|
|
106
|
-
const
|
|
107
|
-
if (this.data.path instanceof
|
|
248
|
+
load(t, r) {
|
|
249
|
+
var a, o, p, f, y, S, C, P, b;
|
|
250
|
+
this.handlePause(), this.clear(), this.data = u({ id: O() }, t);
|
|
251
|
+
const s = (() => {
|
|
252
|
+
if (this.data.path instanceof L.Curve)
|
|
108
253
|
return this.data.path.curves[0];
|
|
109
254
|
{
|
|
110
|
-
|
|
111
|
-
|
|
255
|
+
if (this.data.path.length < 2)
|
|
256
|
+
return null;
|
|
257
|
+
const l = this.data.path.map(A);
|
|
258
|
+
return new L.CatmullRomCurve3(l, void 0, "catmullrom", 0.5);
|
|
112
259
|
}
|
|
113
260
|
})();
|
|
114
|
-
if (
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
261
|
+
if (!s)
|
|
262
|
+
return;
|
|
263
|
+
if (this.curve = s, this.curveOffset = {
|
|
264
|
+
x: this.baseCurveOffset.x + ((o = (a = this.data.offset) == null ? void 0 : a.x) != null ? o : 0),
|
|
265
|
+
y: this.baseCurveOffset.y + ((f = (p = this.data.offset) == null ? void 0 : p.y) != null ? f : 0),
|
|
266
|
+
z: this.baseCurveOffset.z + ((S = (y = this.data.offset) == null ? void 0 : y.z) != null ? S : 0)
|
|
118
267
|
}, !this.curve)
|
|
119
268
|
throw new Error("curve is not defined");
|
|
120
|
-
const
|
|
121
|
-
|
|
269
|
+
const m = this.curve.getLength(), h = this.state.config.speedConfig.moveSpeedUnit === "m/ms" ? 1 : 1e3;
|
|
270
|
+
if (this.duration = m / (this.state.config.speedConfig.moveSpeed / h), Array.isArray(this.data.path)) {
|
|
271
|
+
const l = this.data.path.map(A).map((G) => G.toArray());
|
|
272
|
+
!this.GuideLine && (((C = this.config) == null ? void 0 : C.useGuideLine) !== !1 && t.useGuildLine || (P = this.config) != null && P.useGuideLine && t.useGuildLine !== !1) && (this.GuideLine = M(this.five, this.config)), (b = this.GuideLine) == null || b.load({
|
|
273
|
+
lines: [
|
|
274
|
+
{
|
|
275
|
+
id: O(),
|
|
276
|
+
path: [{ type: "CatmullRomCurve3", points: l }],
|
|
277
|
+
model_style: { visible: !0 }
|
|
278
|
+
}
|
|
279
|
+
]
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
return r ? this.setState(r) : (this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed)), Promise.resolve();
|
|
122
283
|
}
|
|
123
284
|
handlePlay() {
|
|
124
|
-
return new Promise((t,
|
|
125
|
-
var
|
|
285
|
+
return new Promise((t, r) => w(this, null, function* () {
|
|
286
|
+
var o;
|
|
126
287
|
this.hooks.emit("play", { userAction: !0 });
|
|
127
|
-
const
|
|
128
|
-
let
|
|
129
|
-
(
|
|
130
|
-
const
|
|
131
|
-
if (this.hooks.emit("progressChange",
|
|
132
|
-
const
|
|
133
|
-
this.state.playing && (this.hooks.emit("broke"), this.handlePause(),
|
|
288
|
+
const s = this.getPauseData();
|
|
289
|
+
let m = (o = s == null ? void 0 : s.playedProgress) != null ? o : 0;
|
|
290
|
+
(m < 0 || m >= 1) && (m = 0);
|
|
291
|
+
const h = v(this.curve, m, this.curveOffset);
|
|
292
|
+
if (this.hooks.emit("progressChange", m), this.five.setState(c(u({}, h), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
|
|
293
|
+
const p = this.addInterruptListener(() => {
|
|
294
|
+
this.state.playing && (this.hooks.emit("broke"), this.handlePause(), p(), r(new Error("broke")));
|
|
134
295
|
});
|
|
135
296
|
}
|
|
136
|
-
const
|
|
137
|
-
const
|
|
138
|
-
if (
|
|
139
|
-
this.five.off("renderFrame",
|
|
297
|
+
const a = () => {
|
|
298
|
+
const p = this.getProgress();
|
|
299
|
+
if (p >= 1)
|
|
300
|
+
this.five.off("renderFrame", a), this.setState({ playing: !1 }, { userAction: !1 }), this.hooks.emit("end"), this.hooks.emit("progressChange", 1), t("end");
|
|
140
301
|
else if (this.state.playing === !1)
|
|
141
|
-
this.five.off("renderFrame",
|
|
142
|
-
else if (
|
|
143
|
-
const
|
|
144
|
-
this.hooks.emit("progressChange",
|
|
302
|
+
this.five.off("renderFrame", a);
|
|
303
|
+
else if (p >= 0) {
|
|
304
|
+
const f = v(this.curve, p, this.curveOffset);
|
|
305
|
+
this.hooks.emit("progressChange", p), this.five.setState(f, !0);
|
|
145
306
|
}
|
|
146
307
|
};
|
|
147
|
-
this.five.on("renderFrame",
|
|
308
|
+
this.five.on("renderFrame", a);
|
|
148
309
|
}));
|
|
149
310
|
}
|
|
150
311
|
handlePause(t) {
|
|
151
|
-
var
|
|
152
|
-
this.state.playing = !1, this.hooks.emit("pause", { userAction: (
|
|
312
|
+
var r;
|
|
313
|
+
this.state.playing = !1, this.hooks.emit("pause", { userAction: (r = t == null ? void 0 : t.userAction) != null ? r : !0 }), this.setPauseData();
|
|
153
314
|
}
|
|
154
315
|
}
|
|
155
316
|
export {
|
|
156
|
-
|
|
317
|
+
$r as default
|
|
157
318
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FivePlugin } from '@realsee/five';
|
|
2
2
|
import * as CruisePluginTypes from './typing';
|
|
3
3
|
import type { Config } from './typing';
|
|
4
|
-
import type {
|
|
4
|
+
import type { MoveConfig as MovePluginConfig } from './Move';
|
|
5
5
|
import WalkController from './Work';
|
|
6
6
|
import MoveController from './Move';
|
|
7
7
|
export declare const CruisePlugin: FivePlugin<Config | undefined, InstanceType<typeof WalkController>>;
|
|
@@ -24,18 +24,20 @@ export interface CruiseKeyframe {
|
|
|
24
24
|
end?: number;
|
|
25
25
|
data: CruiseData;
|
|
26
26
|
}
|
|
27
|
-
export interface
|
|
27
|
+
export interface GuildLineConfig {
|
|
28
|
+
/**
|
|
29
|
+
* @description: 是否使用引导路线
|
|
30
|
+
* @default: false
|
|
31
|
+
*/
|
|
32
|
+
useGuildLine?: boolean;
|
|
33
|
+
/** 传递给 GuildPlugin 的参数 */
|
|
34
|
+
guildPluginOptions?: GuideLinePluginData['config'];
|
|
35
|
+
}
|
|
36
|
+
export interface PluginData extends GuildLineConfig {
|
|
28
37
|
keyframesId: string;
|
|
29
38
|
keyframes: CruiseKeyframe[];
|
|
30
|
-
useGuildLine?: boolean;
|
|
31
|
-
guildPluginOptions?: {
|
|
32
|
-
arrowTextureUrl?: string;
|
|
33
|
-
skipPanoIndexMesh?: boolean;
|
|
34
|
-
unitWidth?: number;
|
|
35
|
-
unitHeight?: number;
|
|
36
|
-
};
|
|
37
39
|
}
|
|
38
|
-
export interface MoveAction {
|
|
40
|
+
export interface MoveAction extends GuildLineConfig {
|
|
39
41
|
/** five走点动画 */
|
|
40
42
|
moveEffect?: MoveEffect;
|
|
41
43
|
/** 到第一个点的走点动画 / 续播到暂停处的走点动画 */
|
|
@@ -46,10 +48,6 @@ export interface MoveAction {
|
|
|
46
48
|
moveType?: 'justMove' | 'moveAndRotate';
|
|
47
49
|
/** 停留时长 */
|
|
48
50
|
stay?: number;
|
|
49
|
-
/** 是否自动使用引导路线 */
|
|
50
|
-
useGuildLine?: boolean;
|
|
51
|
-
/** 传递给 GuildPlugin 的参数 */
|
|
52
|
-
guildPluginOptions?: GuideLinePluginData['config'];
|
|
53
51
|
}
|
|
54
52
|
export interface MoveWithPanoIndexAction extends MoveAction {
|
|
55
53
|
/** 点位列表 */
|
|
@@ -2,15 +2,15 @@ var V = Object.defineProperty, T = Object.defineProperties;
|
|
|
2
2
|
var U = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var k = Object.getOwnPropertySymbols;
|
|
4
4
|
var x = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var v = (
|
|
5
|
+
var v = (l, e, t) => e in l ? V(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t, d = (l, e) => {
|
|
6
6
|
for (var t in e || (e = {}))
|
|
7
|
-
x.call(e, t) && v(
|
|
7
|
+
x.call(e, t) && v(l, t, e[t]);
|
|
8
8
|
if (k)
|
|
9
9
|
for (var t of k(e))
|
|
10
|
-
F.call(e, t) && v(
|
|
11
|
-
return
|
|
12
|
-
}, p = (
|
|
13
|
-
var i = (
|
|
10
|
+
F.call(e, t) && v(l, t, e[t]);
|
|
11
|
+
return l;
|
|
12
|
+
}, p = (l, e) => T(l, U(e));
|
|
13
|
+
var i = (l, e, t) => (v(l, typeof e != "symbol" ? e + "" : e, t), t);
|
|
14
14
|
import * as n from "three";
|
|
15
15
|
import { logWarning as L, logError as S } from "../../shared-utils/log.js";
|
|
16
16
|
import { createLineGeometry as O } from "../utils/createLineGeometry.js";
|
|
@@ -209,13 +209,13 @@ class H {
|
|
|
209
209
|
this.mesh.material.uniforms.vOffset.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
|
|
210
210
|
});
|
|
211
211
|
i(this, "onFlickerAnimeUpdate", (e) => {
|
|
212
|
-
var r, o, a,
|
|
212
|
+
var r, o, a, h;
|
|
213
213
|
const { progress: t } = e, s = 1 - t;
|
|
214
214
|
this.mesh.material.uniforms.flicker.value = s, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && b(this.startTagContainer.tag) && ((a = this.startTagContainer.app) == null || a.$set(p(d({}, this.startTagContainer.tag.data), {
|
|
215
215
|
opacity: s,
|
|
216
216
|
name: this.name,
|
|
217
217
|
distance: Math.round((o = (r = this.curvePath) == null ? void 0 : r.getLength()) != null ? o : 0)
|
|
218
|
-
}))), this.endTagContainer.tag && b(this.endTagContainer.tag) && ((
|
|
218
|
+
}))), this.endTagContainer.tag && b(this.endTagContainer.tag) && ((h = this.endTagContainer.app) == null || h.$set(p(d({}, this.endTagContainer.tag.data), { opacity: s })));
|
|
219
219
|
});
|
|
220
220
|
i(this, "logWarning", (e) => L("GuideLineModeItem: ", e));
|
|
221
221
|
i(this, "logError", (e) => S("GuideLineModeItem: ", e));
|
|
@@ -304,22 +304,22 @@ class H {
|
|
|
304
304
|
return this.logError("disposed");
|
|
305
305
|
const s = (c = t == null ? void 0 : t.scale) != null ? c : this.scale, r = (y = t == null ? void 0 : t.width) != null ? y : this.width, o = (C = t == null ? void 0 : t.unit_length) != null ? C : this.unitLength;
|
|
306
306
|
this.scale = s, this.width = r, this.unitLength = o;
|
|
307
|
-
const { geometry: a, maxU:
|
|
307
|
+
const { geometry: a, maxU: h, curvePath: u, curvePoints: g } = O({
|
|
308
308
|
path: e,
|
|
309
309
|
width: r * s,
|
|
310
310
|
unitLength: o * s,
|
|
311
311
|
skipPositions: this.skippedPositions
|
|
312
312
|
});
|
|
313
|
-
this._curvePath = u, this._curvePoints = g, this.mesh.geometry = a, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value =
|
|
313
|
+
this._curvePath = u, this._curvePoints = g, this.mesh.geometry = a, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = h, this.five.needsRender = !0;
|
|
314
314
|
const m = e, f = d(d({}, this.geometryStyle), t);
|
|
315
315
|
this.path = m, this.geometryStyle = f;
|
|
316
316
|
}
|
|
317
317
|
/** 设置线条材质 */
|
|
318
318
|
setMartial(e) {
|
|
319
|
-
var s, r;
|
|
319
|
+
var s, r, o, a, h;
|
|
320
320
|
if (this.disposed)
|
|
321
321
|
return this.logError("disposed");
|
|
322
|
-
(e == null ? void 0 : e.visible)
|
|
322
|
+
this.setDefaultVisible((s = e == null ? void 0 : e.visible) != null ? s : !1), this.setColor((r = e == null ? void 0 : e.color) != null ? r : "#ffffff"), this.setOpacity((o = e == null ? void 0 : e.opacity) != null ? o : 0.5), this.setTextureUrl((h = (a = e == null ? void 0 : e.texture) == null ? void 0 : a.url) != null ? h : "https://vr-image-4.realsee-cdn.cn/release/web/arrow1.ebe7d0ff.png"), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity), (e == null ? void 0 : e.border_color) !== void 0 && this.setBorderColor(e.border_color), (e == null ? void 0 : e.border_opacity) !== void 0 && this.setBorderOpacity(e.border_opacity), (e == null ? void 0 : e.border_width) !== void 0 && this.setBorderWidth(e.border_width), (e == null ? void 0 : e.background_clip) !== void 0 && this.setBackgroundClip(e.background_clip);
|
|
323
323
|
const t = d(d({}, this.materialStyle), e);
|
|
324
324
|
this.materialStyle = t;
|
|
325
325
|
}
|
|
@@ -336,8 +336,8 @@ class H {
|
|
|
336
336
|
return;
|
|
337
337
|
const a = new n.Vector3().fromArray(r.tag.position);
|
|
338
338
|
a.add(o);
|
|
339
|
-
const
|
|
340
|
-
r.plugin.changeTagById(r.tag.id, { position:
|
|
339
|
+
const h = a.toArray();
|
|
340
|
+
r.plugin.changeTagById(r.tag.id, { position: h });
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
/** 设置 Y 轴上的偏移量,为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
|
|
@@ -440,12 +440,12 @@ class H {
|
|
|
440
440
|
if (!this.curvePoints || !this.curvePath)
|
|
441
441
|
return [];
|
|
442
442
|
const e = this.curvePoints.length, t = this.curvePath.getLength(), s = e - 1, r = t / s, o = (u = this.curvePath.getLengths(s)) != null ? u : [], a = [];
|
|
443
|
-
let
|
|
443
|
+
let h = 0;
|
|
444
444
|
for (let g = 0; g < e; g++) {
|
|
445
|
-
const m = this.curvePoints[g], f = this.plugin.workUtils.getObserverStandingPosition(
|
|
445
|
+
const m = this.curvePoints[g], f = this.plugin.workUtils.getObserverStandingPosition(h);
|
|
446
446
|
if (!f)
|
|
447
447
|
break;
|
|
448
|
-
f.clone().setY(0).distanceTo(m.clone().setY(0)) < r && (a.push(o[g]),
|
|
448
|
+
f.clone().setY(0).distanceTo(m.clone().setY(0)) < r && (a.push(o[g]), h += 1);
|
|
449
449
|
}
|
|
450
450
|
return a;
|
|
451
451
|
}
|
|
@@ -466,9 +466,9 @@ class H {
|
|
|
466
466
|
const g = e === "start" ? p(d({}, a.data), { name: this.name, distance: Math.round((c = s.getLength()) != null ? c : 0), i18n: this.plugin.config.i18n }) : a.data, m = new B({ target: u, intro: !0, props: g });
|
|
467
467
|
return r.app = m, () => m.$destroy();
|
|
468
468
|
}), r.plugin.load({ tagList: [r.tag] });
|
|
469
|
-
const
|
|
470
|
-
if (
|
|
471
|
-
const u = new n.Vector3().fromArray(a.position), g = new n.Vector3().fromArray(
|
|
469
|
+
const h = this.meshStyle.translate;
|
|
470
|
+
if (h && a.position) {
|
|
471
|
+
const u = new n.Vector3().fromArray(a.position), g = new n.Vector3().fromArray(h);
|
|
472
472
|
u.add(g), u.y += this.heightOffset;
|
|
473
473
|
const m = u.toArray();
|
|
474
474
|
r.plugin.changeTagById(r.tag.id, { position: m });
|
|
@@ -491,8 +491,8 @@ class H {
|
|
|
491
491
|
return [d({ type: "CatmullRomCurve3", points: r }, s)];
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
function b(
|
|
495
|
-
return
|
|
494
|
+
function b(l) {
|
|
495
|
+
return l.contentType === "Custom";
|
|
496
496
|
}
|
|
497
497
|
const ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
498
498
|
__proto__: null,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "./Controller.js";
|
|
2
2
|
import { GuideLineItem$1 as wt } from "./GuideLineItem/index.js";
|
|
3
|
-
import { GuideLineModeItem$1 as
|
|
3
|
+
import { GuideLineModeItem$1 as bt } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -177,10 +177,10 @@ import "../shared-utils/five/changeMode.js";
|
|
|
177
177
|
import "../shared-utils/nearlyEqual.js";
|
|
178
178
|
import "../CruisePlugin/Move.js";
|
|
179
179
|
import "../CruisePlugin/utils/getFiveStateOnCurve.js";
|
|
180
|
-
const
|
|
180
|
+
const r = (i, o) => new t(i, o), gt = r;
|
|
181
181
|
export {
|
|
182
182
|
wt as GuideLineItem,
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
183
|
+
bt as GuideLineModeItem,
|
|
184
|
+
r as GuideLinePlugin,
|
|
185
|
+
gt as default
|
|
186
186
|
};
|