@realsee/dnalogel 3.36.2 → 3.36.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/CSS3DRenderPlugin/Controller.d.ts +1 -3
- package/dist/CruisePlugin/BaseController.d.ts +0 -3
- package/dist/GuideLinePlugin/Controller.d.ts +0 -4
- package/dist/ModelMakerPlugin/Controller.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +1 -4
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +0 -10
- package/dist/base/BasePlugin.d.ts +6 -0
- package/dist/index.cjs.js +30 -30
- package/dist/index.js +934 -937
- package/dist/index.umd.js +29 -29
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +50 -12
- 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/ModelMakerPluginInstance.html +54 -11
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/MoveController.html +37 -21
- package/docs/classes/Object3DHelperController.html +58 -15
- 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 +53 -45
- 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 +37 -21
- 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 +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/SculptPlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +3 -3
- package/docs/functions/Util.blink.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.reblink.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 +5 -5
- 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 +4 -4
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +8 -26
- package/docs/interfaces/CruisePluginTypes.Config.html +5 -5
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +5 -5
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +4 -4
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +5 -5
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +5 -5
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +5 -5
- package/docs/interfaces/EventMap.html +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +4 -4
- 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 +5 -5
- 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 +5 -5
- 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 +6 -6
- 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.BlinkAnimeOptions.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/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +3 -3
- package/docs/modules/CruisePluginTypes.html +3 -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/SculptData.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/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 +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +3 -3
- package/docs/types/Create3DElementReturnType.html +3 -3
- package/docs/types/CruisePluginExportType.html +3 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +3 -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/SculptData.BoxData.html +3 -3
- package/docs/types/SculptData.CircleData.html +3 -3
- package/docs/types/SculptData.CylinderData.html +3 -3
- package/docs/types/SculptData.PointData.html +3 -3
- package/docs/types/SculptData.PolygonData.html +3 -3
- package/docs/types/SculptData.PolylineData.html +3 -3
- package/docs/types/SculptData.PrismData.html +3 -3
- package/docs/types/SculptData.RectangleData.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/AreaMakerPlugin/Controller.js +5 -2
- package/libs/AreaMakerPlugin/index.js +5 -2
- package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -3
- package/libs/CruisePlugin/BaseController.d.ts +0 -3
- package/libs/CruisePlugin/BaseController.js +23 -30
- package/libs/CruisePlugin/Move.js +3 -3
- package/libs/CruisePlugin/Work.js +3 -3
- package/libs/CruisePlugin/index.js +3 -3
- package/libs/CurrentPanoImagePlugin/Controller.js +13 -10
- package/libs/CurrentPanoImagePlugin/index.js +6 -3
- package/libs/GuideLinePlugin/Controller.d.ts +0 -4
- package/libs/GuideLinePlugin/Controller.js +34 -41
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -3
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -3
- package/libs/GuideLinePlugin/index.js +3 -3
- package/libs/ModelMakerPlugin/Controller.d.ts +1 -0
- package/libs/ModelMakerPlugin/Controller.js +24 -18
- package/libs/ModelMakerPlugin/index.js +5 -2
- package/libs/Object3DHelperPlugin/Controller.js +13 -10
- package/libs/Object3DHelperPlugin/index.js +8 -5
- package/libs/PanoCompassPlugin/Controller.js +5 -2
- package/libs/PanoCompassPlugin/index.js +6 -3
- package/libs/PanoDoorLabelPlugin/BaseController.js +13 -10
- package/libs/PanoDoorLabelPlugin/Controller.js +5 -2
- package/libs/PanoDoorLabelPlugin/index.js +6 -3
- package/libs/PanoTagPlugin/controller/TagCache.js +19 -16
- package/libs/PanoTagPlugin/controller/TagComputer.js +3 -3
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -3
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +1 -4
- package/libs/PanoTagPlugin/controller/TagUtil.js +65 -68
- package/libs/PanoTagPlugin/controller/index.js +26 -25
- package/libs/PanoTagPlugin/index.js +3 -3
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +0 -10
- package/libs/PanoVideoPlugin/Controller.js +44 -41
- package/libs/PanoVideoPlugin/index.js +8 -5
- package/libs/PipelinePlugin/Controller.js +33 -30
- package/libs/PipelinePlugin/index.js +6 -3
- package/libs/base/BasePlugin.d.ts +6 -0
- package/libs/base/BasePlugin.js +24 -13
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +5 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +6 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +5 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +6 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +5 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +6 -3
- package/libs/index.js +3 -3
- package/libs/shared-utils/Utils/WorkUtil.js +14 -14
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -2,15 +2,15 @@ var f = Object.defineProperty, m = Object.defineProperties;
|
|
|
2
2
|
var b = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var p = Object.getOwnPropertySymbols;
|
|
4
4
|
var M = Object.prototype.hasOwnProperty, W = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var l = (o, t,
|
|
6
|
-
for (var
|
|
7
|
-
M.call(t,
|
|
5
|
+
var l = (o, t, r) => t in o ? f(o, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : o[t] = r, a = (o, t) => {
|
|
6
|
+
for (var r in t || (t = {}))
|
|
7
|
+
M.call(t, r) && l(o, r, t[r]);
|
|
8
8
|
if (p)
|
|
9
|
-
for (var
|
|
10
|
-
W.call(t,
|
|
9
|
+
for (var r of p(t))
|
|
10
|
+
W.call(t, r) && l(o, r, t[r]);
|
|
11
11
|
return o;
|
|
12
12
|
}, d = (o, t) => m(o, b(t));
|
|
13
|
-
var s = (o, t,
|
|
13
|
+
var s = (o, t, r) => (l(o, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
import { VideoMeshController as c } from "./VideoMeshController.js";
|
|
15
15
|
import { Controller as _ } from "../base/BasePlugin.js";
|
|
16
16
|
import "./utils/shader.js";
|
|
@@ -38,9 +38,12 @@ import "animejs";
|
|
|
38
38
|
import "../shared-utils/animationFrame/index.js";
|
|
39
39
|
import "./utils/index.js";
|
|
40
40
|
import "../shared-utils/url/absoluteUrl.js";
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
42
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
43
|
+
import "../shared-utils/five/transformPosition.js";
|
|
44
|
+
class Y extends _ {
|
|
45
|
+
constructor(r) {
|
|
46
|
+
super(r);
|
|
44
47
|
s(this, "controllerMap", /* @__PURE__ */ new Map());
|
|
45
48
|
s(this, "data");
|
|
46
49
|
s(this, "enabled", !0);
|
|
@@ -57,11 +60,11 @@ class T extends _ {
|
|
|
57
60
|
return this._disposed;
|
|
58
61
|
}
|
|
59
62
|
/** 加载点位视频数据,加载数据并不代表会加载点位视频。 */
|
|
60
|
-
load(
|
|
63
|
+
load(r, e) {
|
|
61
64
|
var i;
|
|
62
65
|
if (this.disposed)
|
|
63
66
|
return this.logWarning("插件已被销毁");
|
|
64
|
-
typeof ((i =
|
|
67
|
+
typeof ((i = e == null ? void 0 : e.initialState) == null ? void 0 : i.enabled) != "undefined" && e.initialState.enabled !== this.enabled && (e.initialState.enabled ? this.enable() : this.disable()), r.list.forEach((n) => {
|
|
65
68
|
const u = n.pano_index, g = n.render_id;
|
|
66
69
|
n.video_list.forEach((h) => {
|
|
67
70
|
this.controllerMap.set(
|
|
@@ -74,41 +77,41 @@ class T extends _ {
|
|
|
74
77
|
}))
|
|
75
78
|
);
|
|
76
79
|
});
|
|
77
|
-
}), this.data =
|
|
80
|
+
}), this.data = r, this.hooks.emit("dataLoaded", r);
|
|
78
81
|
}
|
|
79
82
|
/** 开启插件功能。 */
|
|
80
|
-
enable(
|
|
83
|
+
enable(r) {
|
|
81
84
|
var i;
|
|
82
85
|
if (this.disposed)
|
|
83
86
|
return this.logWarning("插件已被销毁");
|
|
84
87
|
if (this.enabled)
|
|
85
88
|
return;
|
|
86
89
|
this.enabled = !0, Array.from(this.controllerMap.values()).forEach((n) => n.enable());
|
|
87
|
-
const
|
|
88
|
-
this.hooks.emit("enable", { userAction:
|
|
90
|
+
const e = (i = r == null ? void 0 : r.userAction) != null ? i : !0;
|
|
91
|
+
this.hooks.emit("enable", { userAction: e });
|
|
89
92
|
}
|
|
90
93
|
/** 禁用插件功能。 */
|
|
91
|
-
disable(
|
|
94
|
+
disable(r) {
|
|
92
95
|
var i;
|
|
93
96
|
if (this.disposed)
|
|
94
97
|
return this.logWarning("插件已被销毁");
|
|
95
98
|
if (!this.enabled)
|
|
96
99
|
return;
|
|
97
100
|
this.enabled = !1, Array.from(this.controllerMap.values()).forEach((n) => n.disable());
|
|
98
|
-
const
|
|
99
|
-
this.hooks.emit("disable", { userAction:
|
|
101
|
+
const e = (i = r == null ? void 0 : r.userAction) != null ? i : !0;
|
|
102
|
+
this.hooks.emit("disable", { userAction: e });
|
|
100
103
|
}
|
|
101
104
|
/** 看向某个视频。
|
|
102
105
|
* - 会自动切换到全景模式。
|
|
103
106
|
* - 如果遇到不能自动播放的问题,需要放到用户交互事件中调用。
|
|
104
107
|
*/
|
|
105
|
-
lookAtVideoItemByRenderID(
|
|
108
|
+
lookAtVideoItemByRenderID(r) {
|
|
106
109
|
if (this.disposed)
|
|
107
110
|
return this.logWarning("插件已被销毁");
|
|
108
|
-
const
|
|
109
|
-
if (!
|
|
110
|
-
return this.logWarning(`ID 为 ${
|
|
111
|
-
|
|
111
|
+
const e = this.controllerMap.get(r);
|
|
112
|
+
if (!e)
|
|
113
|
+
return this.logWarning(`ID 为 ${r} 的点位视频不存在`);
|
|
114
|
+
e.lookAtVideo();
|
|
112
115
|
}
|
|
113
116
|
/**
|
|
114
117
|
* 取消静音。
|
|
@@ -126,26 +129,26 @@ class T extends _ {
|
|
|
126
129
|
* }}
|
|
127
130
|
* ```
|
|
128
131
|
*/
|
|
129
|
-
unmuteByRenderID(
|
|
132
|
+
unmuteByRenderID(r) {
|
|
130
133
|
if (this.disposed)
|
|
131
134
|
return this.logWarning("插件已被销毁");
|
|
132
|
-
const
|
|
133
|
-
if (!
|
|
134
|
-
return this.logWarning(`ID 为 ${
|
|
135
|
-
|
|
135
|
+
const e = this.controllerMap.get(r);
|
|
136
|
+
if (!e)
|
|
137
|
+
return this.logWarning(`ID 为 ${r} 的点位视频不存在`);
|
|
138
|
+
e.unmute();
|
|
136
139
|
}
|
|
137
140
|
/** 为一个点位添加视频(可以是多条)。 */
|
|
138
|
-
add(
|
|
141
|
+
add(r, e) {
|
|
139
142
|
if (this.disposed)
|
|
140
143
|
return this.logWarning("插件已被销毁");
|
|
141
|
-
|
|
144
|
+
e.forEach((i) => {
|
|
142
145
|
if (this.controllerMap.get(i.render_id))
|
|
143
146
|
return this.logWarning(`ID 为 ${i.render_id} 的点位视频已存在`);
|
|
144
147
|
const n = i.render_id;
|
|
145
148
|
this.controllerMap.set(
|
|
146
149
|
i.render_id,
|
|
147
150
|
new c(this.five, d(a({}, i), {
|
|
148
|
-
panoIndex:
|
|
151
|
+
panoIndex: r,
|
|
149
152
|
renderID: n,
|
|
150
153
|
hooks: this.hooks,
|
|
151
154
|
initialState: { enabled: this.enabled }
|
|
@@ -154,32 +157,32 @@ class T extends _ {
|
|
|
154
157
|
});
|
|
155
158
|
}
|
|
156
159
|
/** 根据 VideoItem render_id 删除某个视频。 */
|
|
157
|
-
removeByRenderID(
|
|
160
|
+
removeByRenderID(r) {
|
|
158
161
|
if (this.disposed)
|
|
159
162
|
return this.logWarning("插件已被销毁");
|
|
160
|
-
const
|
|
161
|
-
if (!
|
|
162
|
-
return this.logWarning(`ID 为 ${
|
|
163
|
-
|
|
163
|
+
const e = this.controllerMap.get(r);
|
|
164
|
+
if (!e)
|
|
165
|
+
return this.logWarning(`ID 为 ${r} 的点位视频不存在`);
|
|
166
|
+
e.dispose(), this.controllerMap.delete(r);
|
|
164
167
|
}
|
|
165
168
|
/** 清空现有数据 */
|
|
166
169
|
clear() {
|
|
167
170
|
if (this.disposed)
|
|
168
171
|
return this.logWarning("插件已被销毁");
|
|
169
|
-
Array.from(this.controllerMap.values()).forEach((
|
|
172
|
+
Array.from(this.controllerMap.values()).forEach((r) => r.dispose()), this.controllerMap.clear();
|
|
170
173
|
}
|
|
171
174
|
/** 销毁插件 */
|
|
172
175
|
dispose() {
|
|
173
176
|
if (this.disposed)
|
|
174
177
|
return this.logWarning("插件已被销毁");
|
|
175
|
-
this._disposed = !0, Array.from(this.controllerMap.values()).forEach((
|
|
178
|
+
this._disposed = !0, Array.from(this.controllerMap.values()).forEach((r) => r.dispose()), this.controllerMap.clear();
|
|
176
179
|
}
|
|
177
180
|
/** 控制台打印警告 */
|
|
178
181
|
// TODO: 全局函数 curry 化
|
|
179
|
-
logWarning(
|
|
180
|
-
console.warn("⛔ ==> [PanoVideoPluginController]:",
|
|
182
|
+
logWarning(r) {
|
|
183
|
+
console.warn("⛔ ==> [PanoVideoPluginController]:", r);
|
|
181
184
|
}
|
|
182
185
|
}
|
|
183
186
|
export {
|
|
184
|
-
|
|
187
|
+
Y as PanoVideoPluginController
|
|
185
188
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PanoVideoPluginController as r } from "./Controller.js";
|
|
2
|
-
import { typings as
|
|
2
|
+
import { typings as H } from "./typings/index.js";
|
|
3
3
|
import "./VideoMeshController.js";
|
|
4
4
|
import "./utils/shader.js";
|
|
5
5
|
import "hammerjs";
|
|
@@ -27,9 +27,12 @@ import "../shared-utils/animationFrame/index.js";
|
|
|
27
27
|
import "./utils/index.js";
|
|
28
28
|
import "../base/BasePlugin.js";
|
|
29
29
|
import "../shared-utils/url/absoluteUrl.js";
|
|
30
|
-
|
|
30
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
31
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
32
|
+
import "../shared-utils/five/transformPosition.js";
|
|
33
|
+
const E = (o) => new r(o);
|
|
31
34
|
export {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
E as PanoVideoPlugin,
|
|
36
|
+
H as PanoVideoPluginType,
|
|
37
|
+
E as default
|
|
35
38
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
var j = Object.defineProperty;
|
|
2
2
|
var v = Object.getOwnPropertySymbols;
|
|
3
3
|
var P = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var A = (
|
|
4
|
+
var A = (c, n, e) => n in c ? j(c, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[n] = e, m = (c, n) => {
|
|
5
5
|
for (var e in n || (n = {}))
|
|
6
|
-
P.call(n, e) && A(
|
|
6
|
+
P.call(n, e) && A(c, e, n[e]);
|
|
7
7
|
if (v)
|
|
8
8
|
for (var e of v(n))
|
|
9
|
-
_.call(n, e) && A(
|
|
10
|
-
return
|
|
9
|
+
_.call(n, e) && A(c, e, n[e]);
|
|
10
|
+
return c;
|
|
11
11
|
};
|
|
12
|
-
var u = (
|
|
13
|
-
var d = (
|
|
12
|
+
var u = (c, n, e) => (A(c, typeof n != "symbol" ? n + "" : n, e), e);
|
|
13
|
+
var d = (c, n, e) => new Promise((t, i) => {
|
|
14
14
|
var s = (a) => {
|
|
15
15
|
try {
|
|
16
|
-
|
|
17
|
-
} catch (
|
|
18
|
-
i(
|
|
16
|
+
o(e.next(a));
|
|
17
|
+
} catch (p) {
|
|
18
|
+
i(p);
|
|
19
19
|
}
|
|
20
20
|
}, r = (a) => {
|
|
21
21
|
try {
|
|
22
|
-
|
|
23
|
-
} catch (
|
|
24
|
-
i(
|
|
22
|
+
o(e.throw(a));
|
|
23
|
+
} catch (p) {
|
|
24
|
+
i(p);
|
|
25
25
|
}
|
|
26
|
-
},
|
|
27
|
-
|
|
26
|
+
}, o = (a) => a.done ? t(a.value) : Promise.resolve(a.value).then(s, r);
|
|
27
|
+
o((e = e.apply(c, n)).next());
|
|
28
28
|
});
|
|
29
29
|
import * as F from "three";
|
|
30
30
|
import { Controller as S } from "../base/BasePluginWithData.js";
|
|
@@ -55,6 +55,9 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
55
55
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
56
56
|
import "animejs";
|
|
57
57
|
import "../shared-utils/url/absoluteUrl.js";
|
|
58
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
59
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
60
|
+
import "../shared-utils/five/transformPosition.js";
|
|
58
61
|
import "../shared-utils/isTruelyObject.js";
|
|
59
62
|
import "../shared-utils/animationFrame/index.js";
|
|
60
63
|
import "./utils/Objects/Pipe.js";
|
|
@@ -63,7 +66,7 @@ import "../shared-utils/three/Extras/Curves/BezierCurve3.js";
|
|
|
63
66
|
import "../shared-utils/three/Extras/Core/Interpolations.js";
|
|
64
67
|
import "../shared-utils/three/Extras/Core/Interpolations2.js";
|
|
65
68
|
const g = { flowSpeed: 0.6, rotateSpeed: 0 };
|
|
66
|
-
class
|
|
69
|
+
class we extends S {
|
|
67
70
|
constructor(e) {
|
|
68
71
|
super(e);
|
|
69
72
|
// ==================== public properties ====================
|
|
@@ -92,12 +95,12 @@ class le extends S {
|
|
|
92
95
|
const [t] = e, i = t.intersectObjects(this.pipeObjects, !1);
|
|
93
96
|
if (i.length === 0 || !this.data)
|
|
94
97
|
return;
|
|
95
|
-
const
|
|
96
|
-
if (!(!a || !
|
|
98
|
+
const o = i[0].object.customID, a = this.data.pipes.find(({ id: h }) => h === o), p = this.data.pipelines.find((h) => a && h.pipes.includes(a));
|
|
99
|
+
if (!(!a || !p))
|
|
97
100
|
return this.hooks.emit("tap", {
|
|
98
101
|
intersectObjects: i,
|
|
99
102
|
pipe: a,
|
|
100
|
-
pipeline:
|
|
103
|
+
pipeline: p,
|
|
101
104
|
wantsFiveTapGestureParams: e
|
|
102
105
|
}), !1;
|
|
103
106
|
});
|
|
@@ -123,16 +126,16 @@ class le extends S {
|
|
|
123
126
|
return d(this, null, function* () {
|
|
124
127
|
const r = this.data;
|
|
125
128
|
this.data = yield this.formatData(e, s), this.removeAllPipes(), this.hooks.emit("dataChange", this.data, r), this.pipeObjects = yield Promise.all(
|
|
126
|
-
this.data.pipes.filter((
|
|
127
|
-
const l = yield this.loadPipeTexture(a), f = { id:
|
|
129
|
+
this.data.pipes.filter((o) => !!(o != null && o.texture)).map((b) => d(this, [b], function* ({ id: o, texture: a, path: p, radius: h }) {
|
|
130
|
+
const l = yield this.loadPipeTexture(a), f = { id: o, path: p, textureURL: a, texture: l, geometryConfig: { radius: h } };
|
|
128
131
|
return new D(f);
|
|
129
132
|
}))
|
|
130
|
-
), this.data.pipelines.forEach((
|
|
131
|
-
|
|
132
|
-
const
|
|
133
|
-
return
|
|
133
|
+
), this.data.pipelines.forEach((o) => {
|
|
134
|
+
o.pipes.reduce((a, p) => {
|
|
135
|
+
const h = this.findPipeObjectWithID(p.id);
|
|
136
|
+
return h == null || h.setInitialDisplacement(a), a + ((h == null ? void 0 : h.pathLength) || 0);
|
|
134
137
|
}, 0);
|
|
135
|
-
}), this.hooks.emit("dataLoaded", this.data), this.state.visible === !1 && this.pipeObjects.forEach((
|
|
138
|
+
}), this.hooks.emit("dataLoaded", this.data), this.state.visible === !1 && this.pipeObjects.forEach((o) => o.setOpacity(0)), this.state.enabled && (this.group.add(...this.pipeObjects), this.five.needsRender = !0), t && this.setState(t, { userAction: i });
|
|
136
139
|
});
|
|
137
140
|
}
|
|
138
141
|
/** 更改插件 State
|
|
@@ -226,14 +229,14 @@ class le extends S {
|
|
|
226
229
|
* */
|
|
227
230
|
switchPipelines(e) {
|
|
228
231
|
return d(this, null, function* () {
|
|
229
|
-
var
|
|
232
|
+
var p, h, b, l, f, w;
|
|
230
233
|
if (!this.data)
|
|
231
234
|
return;
|
|
232
|
-
const t = (
|
|
235
|
+
const t = (p = e == null ? void 0 : e.target) != null ? p : null, i = (h = e == null ? void 0 : e.userAction) != null ? h : !0;
|
|
233
236
|
this.updateState({ target: t }, i);
|
|
234
|
-
const s = { duration: 500 }, r = (l = (b = e == null ? void 0 : e.hideAnime) != null ? b : e == null ? void 0 : e.anime) != null ? l : s,
|
|
237
|
+
const s = { duration: 500 }, r = (l = (b = e == null ? void 0 : e.hideAnime) != null ? b : e == null ? void 0 : e.anime) != null ? l : s, o = (w = (f = e == null ? void 0 : e.showAnime) != null ? f : e == null ? void 0 : e.anime) != null ? w : s, a = {
|
|
235
238
|
target: t,
|
|
236
|
-
showAnime:
|
|
239
|
+
showAnime: o,
|
|
237
240
|
hideAnime: r
|
|
238
241
|
};
|
|
239
242
|
this._switchPipelines(a);
|
|
@@ -343,5 +346,5 @@ class le extends S {
|
|
|
343
346
|
}
|
|
344
347
|
}
|
|
345
348
|
export {
|
|
346
|
-
|
|
349
|
+
we as Controller
|
|
347
350
|
};
|
|
@@ -23,6 +23,9 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
24
24
|
import "animejs";
|
|
25
25
|
import "../shared-utils/url/absoluteUrl.js";
|
|
26
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
27
|
+
import "../shared-utils/Utils/BaseUtil.js";
|
|
28
|
+
import "../shared-utils/five/transformPosition.js";
|
|
26
29
|
import "../shared-utils/equal.js";
|
|
27
30
|
import "../shared-utils/isTruelyObject.js";
|
|
28
31
|
import "../shared-utils/isNil.js";
|
|
@@ -35,8 +38,8 @@ import "../shared-utils/animationFrame/BetterTween.js";
|
|
|
35
38
|
import "../shared-utils/three/Extras/Curves/BezierCurve3.js";
|
|
36
39
|
import "../shared-utils/three/Extras/Core/Interpolations.js";
|
|
37
40
|
import "../shared-utils/three/Extras/Core/Interpolations2.js";
|
|
38
|
-
const
|
|
41
|
+
const Q = (r) => new o(r);
|
|
39
42
|
export {
|
|
40
|
-
|
|
41
|
-
|
|
43
|
+
Q as PipelinePlugin,
|
|
44
|
+
Q as default
|
|
42
45
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
2
|
import { Subscribe } from '../shared-utils/Subscribe';
|
|
3
|
+
import { WorkUtil } from '../shared-utils/Utils/WorkUtil';
|
|
3
4
|
/**
|
|
4
5
|
* 基本属性字段
|
|
5
6
|
*/
|
|
@@ -55,7 +56,11 @@ declare abstract class Controller<PluginState extends State, PluginEventMap exte
|
|
|
55
56
|
* @realsee/dnalogel 版本号
|
|
56
57
|
*/
|
|
57
58
|
readonly VERSION: string;
|
|
59
|
+
readonly NAME?: string;
|
|
58
60
|
five: Five;
|
|
61
|
+
workUtil: WorkUtil;
|
|
62
|
+
set workCode(workCode: string);
|
|
63
|
+
get workCode(): string;
|
|
59
64
|
/**
|
|
60
65
|
* @description: 插件事件钩子
|
|
61
66
|
*/
|
|
@@ -99,6 +104,7 @@ declare abstract class Controller<PluginState extends State, PluginEventMap exte
|
|
|
99
104
|
* @description: 获取静态资源的url
|
|
100
105
|
*/
|
|
101
106
|
absoluteUrl(url: string): string;
|
|
107
|
+
protected onWorkCodeChange(): void;
|
|
102
108
|
/**
|
|
103
109
|
* 启用插件,让插件能够响应交互
|
|
104
110
|
*/
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var
|
|
2
|
-
var s = (e, t, r) => t in e ?
|
|
3
|
-
var
|
|
4
|
-
import { Subscribe as
|
|
1
|
+
var i = Object.defineProperty;
|
|
2
|
+
var s = (e, t, r) => t in e ? i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
+
var o = (e, t, r) => (s(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
|
+
import { Subscribe as l } from "../shared-utils/Subscribe.js";
|
|
5
5
|
import "hammerjs";
|
|
6
6
|
import "three";
|
|
7
7
|
import "@realsee/five";
|
|
@@ -9,20 +9,29 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
9
9
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
10
10
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
11
11
|
import "animejs";
|
|
12
|
-
import { absoluteUrl as
|
|
13
|
-
|
|
12
|
+
import { absoluteUrl as a } from "../shared-utils/url/absoluteUrl.js";
|
|
13
|
+
import { WorkUtil as m } from "../shared-utils/Utils/WorkUtil.js";
|
|
14
|
+
let f = class {
|
|
14
15
|
constructor(t, r) {
|
|
15
16
|
/**
|
|
16
17
|
* @realsee/dnalogel 版本号
|
|
17
18
|
*/
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
o(this, "VERSION", "3.36.4");
|
|
20
|
+
o(this, "NAME");
|
|
21
|
+
o(this, "five");
|
|
22
|
+
o(this, "workUtil");
|
|
20
23
|
/**
|
|
21
24
|
* @description: 插件事件钩子
|
|
22
25
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
this.five = t, r != null && r.staticPrefix && (this.staticPrefix = r.staticPrefix);
|
|
26
|
+
o(this, "hooks", new l());
|
|
27
|
+
o(this, "staticPrefix", "//vr-image-4.realsee-cdn.cn");
|
|
28
|
+
this.five = t, this.workUtil = new m(t), r != null && r.staticPrefix && (this.staticPrefix = r.staticPrefix);
|
|
29
|
+
}
|
|
30
|
+
set workCode(t) {
|
|
31
|
+
this.workUtil.workCode = t, this.onWorkCodeChange();
|
|
32
|
+
}
|
|
33
|
+
get workCode() {
|
|
34
|
+
return this.workUtil.workCode;
|
|
26
35
|
}
|
|
27
36
|
/**
|
|
28
37
|
* 获取当前的插件状态,如果当初插件内存在需要通过动画变更的 state 值,则通过此方法可以得到中间状态
|
|
@@ -34,9 +43,11 @@ let C = class {
|
|
|
34
43
|
* @description: 获取静态资源的url
|
|
35
44
|
*/
|
|
36
45
|
absoluteUrl(t) {
|
|
37
|
-
return
|
|
46
|
+
return a(this.staticPrefix, t);
|
|
47
|
+
}
|
|
48
|
+
onWorkCodeChange() {
|
|
38
49
|
}
|
|
39
50
|
};
|
|
40
51
|
export {
|
|
41
|
-
|
|
52
|
+
f as Controller
|
|
42
53
|
};
|
|
@@ -79,6 +79,9 @@ import "../../shared-utils/tap.js";
|
|
|
79
79
|
import "../../base/BasePlugin.js";
|
|
80
80
|
import "../../shared-utils/Subscribe.js";
|
|
81
81
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
82
|
+
import "../../shared-utils/Utils/WorkUtil.js";
|
|
83
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
84
|
+
import "../../shared-utils/five/transformPosition.js";
|
|
82
85
|
import "../../shared-utils/nearlyEqual.js";
|
|
83
86
|
import "../../shared-utils/five/changeMode.js";
|
|
84
87
|
import "../../shared-utils/positionToVector3.js";
|
|
@@ -102,7 +105,7 @@ function G(d) {
|
|
|
102
105
|
const { latitude: r, longitude: t } = d, e = Math.abs(r - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
103
106
|
return e && i;
|
|
104
107
|
}
|
|
105
|
-
class
|
|
108
|
+
class oe extends O {
|
|
106
109
|
constructor(t, e) {
|
|
107
110
|
var a, f;
|
|
108
111
|
super(t);
|
|
@@ -436,5 +439,5 @@ class te extends O {
|
|
|
436
439
|
}
|
|
437
440
|
}
|
|
438
441
|
export {
|
|
439
|
-
|
|
442
|
+
oe as Controller
|
|
440
443
|
};
|
|
@@ -59,6 +59,9 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
59
59
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
60
60
|
import "animejs";
|
|
61
61
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
62
|
+
import "../../shared-utils/Utils/WorkUtil.js";
|
|
63
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
64
|
+
import "../../shared-utils/five/transformPosition.js";
|
|
62
65
|
import "../../shared-utils/getPxmm.js";
|
|
63
66
|
import "../utils/correctFiveState.js";
|
|
64
67
|
import "../utils/constant.js";
|
|
@@ -66,8 +69,8 @@ import "../../shared-utils/nearlyEqual.js";
|
|
|
66
69
|
import "../../shared-utils/five/changeMode.js";
|
|
67
70
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
68
71
|
import "../../shared-utils/isNil.js";
|
|
69
|
-
const
|
|
72
|
+
const Mo = (o, r) => new t(o, r);
|
|
70
73
|
export {
|
|
71
|
-
|
|
72
|
-
|
|
74
|
+
Mo as MapviewFloorplanPlugin,
|
|
75
|
+
Mo as default
|
|
73
76
|
};
|
|
@@ -79,6 +79,9 @@ import "../../shared-utils/tap.js";
|
|
|
79
79
|
import "../../base/BasePlugin.js";
|
|
80
80
|
import "../../shared-utils/Subscribe.js";
|
|
81
81
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
82
|
+
import "../../shared-utils/Utils/WorkUtil.js";
|
|
83
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
84
|
+
import "../../shared-utils/five/transformPosition.js";
|
|
82
85
|
import "../../shared-utils/nearlyEqual.js";
|
|
83
86
|
import "../../shared-utils/five/changeMode.js";
|
|
84
87
|
import "../../shared-utils/positionToVector3.js";
|
|
@@ -102,7 +105,7 @@ function z(d) {
|
|
|
102
105
|
const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
103
106
|
return e && i;
|
|
104
107
|
}
|
|
105
|
-
class
|
|
108
|
+
class se extends T {
|
|
106
109
|
constructor(t, e) {
|
|
107
110
|
var a, f, m;
|
|
108
111
|
super(t);
|
|
@@ -433,5 +436,5 @@ class ee extends T {
|
|
|
433
436
|
}
|
|
434
437
|
}
|
|
435
438
|
export {
|
|
436
|
-
|
|
439
|
+
se as Controller
|
|
437
440
|
};
|
|
@@ -60,14 +60,17 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
60
60
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
61
61
|
import "animejs";
|
|
62
62
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
63
|
+
import "../../shared-utils/Utils/WorkUtil.js";
|
|
64
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
65
|
+
import "../../shared-utils/five/transformPosition.js";
|
|
63
66
|
import "../utils/correctFiveState.js";
|
|
64
67
|
import "../utils/constant.js";
|
|
65
68
|
import "../../shared-utils/nearlyEqual.js";
|
|
66
69
|
import "../../shared-utils/five/changeMode.js";
|
|
67
70
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
68
71
|
import "../../shared-utils/isNil.js";
|
|
69
|
-
const
|
|
72
|
+
const Po = (o, r) => new t(o, r);
|
|
70
73
|
export {
|
|
71
|
-
|
|
72
|
-
|
|
74
|
+
Po as ModelFloorplanPlugin,
|
|
75
|
+
Po as default
|
|
73
76
|
};
|
|
@@ -69,8 +69,11 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
69
69
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
70
70
|
import "animejs";
|
|
71
71
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
72
|
+
import "../../shared-utils/Utils/WorkUtil.js";
|
|
73
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
74
|
+
import "../../shared-utils/five/transformPosition.js";
|
|
72
75
|
import "../Assets/floorplanExtraObject.js";
|
|
73
|
-
class
|
|
76
|
+
class At extends O {
|
|
74
77
|
constructor(t, i) {
|
|
75
78
|
super(t);
|
|
76
79
|
// =============== public properties =================
|
|
@@ -213,5 +216,5 @@ class gt extends O {
|
|
|
213
216
|
}
|
|
214
217
|
}
|
|
215
218
|
export {
|
|
216
|
-
|
|
219
|
+
At as Controller
|
|
217
220
|
};
|
|
@@ -40,10 +40,13 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
40
40
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
41
41
|
import "animejs";
|
|
42
42
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
43
|
+
import "../../shared-utils/Utils/WorkUtil.js";
|
|
44
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
45
|
+
import "../../shared-utils/five/transformPosition.js";
|
|
43
46
|
import "../utils/formatData.js";
|
|
44
47
|
import "../Assets/floorplanExtraObject.js";
|
|
45
|
-
const
|
|
48
|
+
const Y = (o, r) => new t(o, r);
|
|
46
49
|
export {
|
|
47
|
-
|
|
48
|
-
|
|
50
|
+
Y as PanoFloorplanRadarPlugin,
|
|
51
|
+
Y as default
|
|
49
52
|
};
|
|
@@ -77,6 +77,9 @@ import "../../shared-utils/tap.js";
|
|
|
77
77
|
import "../../base/BasePlugin.js";
|
|
78
78
|
import "../../shared-utils/Subscribe.js";
|
|
79
79
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
80
|
+
import "../../shared-utils/Utils/WorkUtil.js";
|
|
81
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
82
|
+
import "../../shared-utils/five/transformPosition.js";
|
|
80
83
|
import "../../shared-utils/nearlyEqual.js";
|
|
81
84
|
import "../../shared-utils/to.js";
|
|
82
85
|
import "../../shared-utils/positionToVector3.js";
|
|
@@ -92,7 +95,7 @@ import "../../shared-utils/three/centerPoint.js";
|
|
|
92
95
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
93
96
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
94
97
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
95
|
-
class
|
|
98
|
+
class Kt extends M {
|
|
96
99
|
constructor(t, e) {
|
|
97
100
|
var h, p;
|
|
98
101
|
super(t);
|
|
@@ -365,5 +368,5 @@ class Jt extends M {
|
|
|
365
368
|
}
|
|
366
369
|
}
|
|
367
370
|
export {
|
|
368
|
-
|
|
371
|
+
Kt as Controller
|
|
369
372
|
};
|
|
@@ -58,14 +58,17 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
58
58
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
59
59
|
import "animejs";
|
|
60
60
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
61
|
+
import "../../shared-utils/Utils/WorkUtil.js";
|
|
62
|
+
import "../../shared-utils/Utils/BaseUtil.js";
|
|
63
|
+
import "../../shared-utils/five/transformPosition.js";
|
|
61
64
|
import "../../shared-utils/five/changeMode.js";
|
|
62
65
|
import "../../shared-utils/nearlyEqual.js";
|
|
63
66
|
import "../../shared-utils/to.js";
|
|
64
67
|
import "../../shared-utils/getPxmm.js";
|
|
65
68
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
66
69
|
import "../../shared-utils/isNil.js";
|
|
67
|
-
const
|
|
70
|
+
const Co = (o, r) => new t(o, r);
|
|
68
71
|
export {
|
|
69
|
-
|
|
70
|
-
|
|
72
|
+
Co as TopviewFloorplanPlugin,
|
|
73
|
+
Co as default
|
|
71
74
|
};
|
package/libs/index.js
CHANGED
|
@@ -133,6 +133,9 @@ import "./shared-utils/tap.js";
|
|
|
133
133
|
import "./shared-utils/getPxmm.js";
|
|
134
134
|
import "./base/BasePluginWithData.js";
|
|
135
135
|
import "./base/BasePlugin.js";
|
|
136
|
+
import "./shared-utils/Utils/WorkUtil.js";
|
|
137
|
+
import "./shared-utils/Utils/BaseUtil.js";
|
|
138
|
+
import "./shared-utils/five/transformPosition.js";
|
|
136
139
|
import "./floorplan/utils/correctFiveState.js";
|
|
137
140
|
import "./floorplan/utils/constant.js";
|
|
138
141
|
import "./shared-utils/nearlyEqual.js";
|
|
@@ -254,9 +257,6 @@ import "./PanoDoorLabelPlugin/DoorLabelItem.js";
|
|
|
254
257
|
import "./PanoDoorLabelPlugin/utils.js";
|
|
255
258
|
import "./GuideLinePlugin/Controller.js";
|
|
256
259
|
import "./shared-utils/five/fiveLoaded.js";
|
|
257
|
-
import "./shared-utils/Utils/WorkUtil.js";
|
|
258
|
-
import "./shared-utils/Utils/BaseUtil.js";
|
|
259
|
-
import "./shared-utils/five/transformPosition.js";
|
|
260
260
|
import "./shared-utils/log.js";
|
|
261
261
|
import "./GuideLinePlugin/utils/createLineGeometry.js";
|
|
262
262
|
import "./vendor/polyline-normals/index.js";
|