@realsee/dnalogel 3.76.1-alpha.1 → 3.76.1-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/floorplan/MapviewFloorplanPlugin/Controller.d.ts +8 -0
- package/dist/floorplan/ModelFloorplanPlugin/Controller.d.ts +8 -0
- package/dist/index.cjs.js +89 -89
- package/dist/index.js +19386 -19328
- package/dist/index.umd.js +81 -81
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoTagPluginController.html +2 -2
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LegacyPointHelper.html +2 -2
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointDomHelper.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/FloorplanGuidePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/MeasurePlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/SculptPluginForFive.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.blinkWithPreset.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.cleanup.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.generatePolygonGeometry.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.getGeometryArea.html +1 -1
- package/docs/functions/Util.getGeometryInfo.html +1 -1
- package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.replaceStaticPrefix.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.sculpt.transformUnit.html +1 -1
- package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -1
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.triangleArea.html +2 -2
- package/docs/functions/Util.triangleCenter.html +2 -2
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/functions/validatePolygon.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/BoxAnimationConfig.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/SculptConfig.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +2 -2
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconAnimationConfig.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagState.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.ObjectInitialState.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/SculptType.html +2 -2
- package/docs/modules/Util.html +2 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +2 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanGuidePluginParameterType.html +1 -1
- package/docs/types/FloorplanGuidePluginReturnType.html +1 -1
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MeasureEndReason.html +1 -1
- package/docs/types/MeasurePluginConfig.html +2 -2
- package/docs/types/MeasurePluginEventMap.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
- package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
- package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/SculptType.Theme.html +2 -2
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPlacement.html +2 -2
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/Util.SupportedTarget.html +2 -2
- package/docs/types/Util.Target.html +2 -2
- package/docs/types/Util.ThreeObject.html +2 -2
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.ANIME_PRESETS.html +2 -2
- package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -2
- package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
- package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
- package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
- package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
- package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
- package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
- package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
- package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
- package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -2
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/AreaMakerPlugin/Controller.js +3 -4
- package/libs/AreaMakerPlugin/index.js +3 -4
- package/libs/AreaMakerPlugin/utils/Item.js +3 -4
- package/libs/CSS3DRenderPlugin/Controller.js +3 -4
- package/libs/CSS3DRenderPlugin/index.js +6 -7
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +39 -40
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +10 -11
- package/libs/CruisePlugin/BaseController.js +6 -7
- package/libs/CruisePlugin/Move.js +45 -45
- package/libs/CruisePlugin/Work.js +51 -51
- package/libs/CruisePlugin/index.js +43 -43
- package/libs/CurrentPanoImagePlugin/Controller.js +15 -16
- package/libs/CurrentPanoImagePlugin/index.js +4 -5
- package/libs/DigitalPerformancePlugin/controller/index.js +1 -1
- package/libs/DigitalPerformancePlugin/core/DigitalHuman.js +2 -3
- package/libs/DigitalPerformancePlugin/core/DigitalPlayground.js +1 -1
- package/libs/DigitalPerformancePlugin/index.js +1 -1
- package/libs/DigitalPerformancePlugin/typings/index.js +1 -1
- package/libs/GuideLinePlugin/Controller.js +49 -49
- package/libs/GuideLinePlugin/GuideLineItem.js +45 -45
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +11 -12
- package/libs/GuideLinePlugin/GuideLineModeItem.js +45 -45
- package/libs/GuideLinePlugin/index.js +41 -41
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +3 -4
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +2 -3
- package/libs/ItemLabelPlugin/ItemLabelItem.js +2 -3
- package/libs/ItemLabelPlugin/Plugin.js +3 -4
- package/libs/ItemLabelPlugin/index.js +4 -5
- package/libs/MeasurePlugin/Controller.js +3 -4
- package/libs/MeasurePlugin/index.js +5 -6
- package/libs/MeasurePlugin/utils/MeasureMesh.js +3 -4
- package/libs/ModelChassisCompassPlugin/Plugin.js +4 -5
- package/libs/ModelChassisCompassPlugin/index.js +1 -2
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -7
- package/libs/ModelEntryDoorGuidePlugin/index.js +1 -2
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +36 -37
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +18 -19
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +14 -15
- package/libs/ModelItemLabelPlugin/index.js +4 -5
- package/libs/ModelMakerPlugin/Controller.js +7 -8
- package/libs/ModelMakerPlugin/index.js +4 -5
- package/libs/ModelMakerPlugin/item/baseItem.js +3 -4
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -4
- package/libs/ModelMakerPlugin/item/polygonItem.js +3 -4
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -4
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -5
- package/libs/ModelTVVideoPlugin/index.js +3 -4
- package/libs/ModelViewPlugin/Plugin.js +19 -20
- package/libs/ModelViewPlugin/index.js +0 -1
- package/libs/Object3DHelperPlugin/Controller.js +3 -4
- package/libs/Object3DHelperPlugin/index.js +7 -8
- package/libs/PanoCompassPlugin/Controller.js +2 -3
- package/libs/PanoCompassPlugin/index.js +3 -4
- package/libs/PanoDoorLabelPlugin/Controller.js +24 -25
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +2 -3
- package/libs/PanoDoorLabelPlugin/index.js +4 -5
- package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -4
- package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -4
- package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -4
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -4
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +7 -8
- package/libs/PanoMeasurePlugin/Controller/index.js +3 -4
- package/libs/PanoMeasurePlugin/Model/area.js +2 -3
- package/libs/PanoMeasurePlugin/Model/index.js +1 -1
- package/libs/PanoMeasurePlugin/Model/line.js +1 -1
- package/libs/PanoMeasurePlugin/Model/polygon.js +8 -9
- package/libs/PanoMeasurePlugin/Model/polyline.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +3 -4
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -17
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +2 -3
- package/libs/PanoMeasurePlugin/index.js +14 -15
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -4
- package/libs/PanoRulerProPlugin/Controller.js +2 -3
- package/libs/PanoRulerProPlugin/RulerItems.js +41 -42
- package/libs/PanoRulerProPlugin/index.js +3 -4
- package/libs/PanoSpatialTagPlugin/Plugin.js +33 -34
- package/libs/PanoSpatialTagPlugin/index.js +0 -1
- package/libs/PanoTagPlugin/Components/Common/Icon/animationUtils.js +7 -7
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -4
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -4
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -4
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -4
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -4
- package/libs/PanoTagPlugin/Components/Tag/index.js +28 -29
- package/libs/PanoTagPlugin/Components/TagContainer.js +1 -1
- package/libs/PanoTagPlugin/Components/TagItem.js +1 -1
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +9 -10
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +29 -29
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +7 -7
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -4
- package/libs/PanoTagPlugin/controller/TagRender.js +47 -137
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -4
- package/libs/PanoTagPlugin/controller/index.js +93 -93
- package/libs/PanoTagPlugin/index.js +47 -47
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +8 -9
- package/libs/PanoTagPlugin/utils/tag/format.js +3 -4
- package/libs/PanoVideoPlugin/Controller.js +9 -10
- package/libs/PanoVideoPlugin/VideoMeshController.js +3 -4
- package/libs/PanoVideoPlugin/index.js +6 -7
- package/libs/PipelinePlugin/Controller.js +3 -4
- package/libs/PipelinePlugin/index.js +4 -5
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -4
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -4
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -2
- package/libs/Sculpt/Meshes/Box.js +6 -7
- package/libs/Sculpt/Meshes/Circle.js +2 -3
- package/libs/Sculpt/Meshes/Cylinder.js +2 -3
- package/libs/Sculpt/Meshes/Line.js +2 -3
- package/libs/Sculpt/Meshes/LineWithDots.js +9 -10
- package/libs/Sculpt/Meshes/Point.js +11 -12
- package/libs/Sculpt/Meshes/Polygon.js +14 -26
- package/libs/Sculpt/Meshes/Polyline.js +27 -41
- package/libs/Sculpt/Meshes/Rectangle.js +2 -3
- package/libs/Sculpt/Objects/Base/index.js +0 -1
- package/libs/Sculpt/Objects/Cylinder/index.js +48 -64
- package/libs/Sculpt/Objects/Line/Editor.js +2 -3
- package/libs/Sculpt/index.js +14 -15
- package/libs/Sculpt/utils/renderDom.js +8 -8
- package/libs/Sculpt/utils/sortPositionsByCameraPosition.js +5 -6
- package/libs/Sculpt/utils/three/ColoredMesh.js +10 -11
- package/libs/_commonjsHelpers.js +2 -6
- package/libs/base/BasePlugin.js +9 -10
- package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -4
- package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -5
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.d.ts +8 -0
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +106 -89
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -5
- package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +8 -0
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +125 -108
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -5
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -4
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -5
- package/libs/floorplan/index.js +1 -2
- package/libs/index.js +34 -34
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +2 -3
- package/libs/shared-utils/CSS3DRender/index.js +10 -11
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +2 -3
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +2 -4
- package/libs/shared-utils/Object3DHelper/utils/getPoseFromCamera.js +6 -7
- package/libs/shared-utils/five/FiveLine.js +0 -1
- package/libs/shared-utils/five/getFiveModel.js +2 -3
- package/libs/shared-utils/five/getFloorMesh.js +2 -3
- package/libs/shared-utils/five/index.js +2 -3
- package/libs/shared-utils/five/initialCSS3DRender.js +0 -1
- package/libs/shared-utils/five/lookObject.js +2 -3
- package/libs/shared-utils/five/vector3ToScreen.js +2 -3
- package/libs/shared-utils/index.js +0 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/math/pointsIsRectangle.js +5 -6
- package/libs/shared-utils/tag.js +14 -15
- package/libs/shared-utils/three/Magnifier.js +1 -1
- package/libs/shared-utils/three/PointDomHelper.js +2 -3
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +2 -3
- package/libs/shared-utils/three/core/LineMaterial.js +2 -3
- package/libs/shared-utils/three/core/LineMaterial2.js +2 -3
- package/libs/shared-utils/three/earcut3D.js +3 -3
- package/libs/shared-utils/three/index.js +0 -1
- package/libs/vendor/classnames/index.js +15 -10
- package/libs/vendor/earcut/src/earcut.js +59 -55
- package/libs/vendor/easy-reactive/src/simply-reactive.js +7 -7
- package/libs/vendor/hammerjs/hammer.js +151 -147
- package/libs/vendor/lodash.clonedeep/index.js +69 -64
- package/libs/vendor/lodash.get/index.js +74 -75
- package/libs/vendor/lodash.isequal/index.js +66 -61
- package/libs/vendor/object-assign-deep/objectAssignDeep.js +39 -35
- package/libs/vendor/polyline-normals/index.js +19 -21
- package/package.json +1 -1
- package/libs/Sculpt/utils/removeAllTag.js +0 -2
|
@@ -1,63 +1,62 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
var D = Object.defineProperty, T = Object.defineProperties;
|
|
2
|
+
var R = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var S = Object.getOwnPropertySymbols;
|
|
4
4
|
var k = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var w = (l, h, t) => h in l ? D(l, h, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[h] = t, d = (l, h) => {
|
|
6
6
|
for (var t in h || (h = {}))
|
|
7
|
-
k.call(h, t) &&
|
|
8
|
-
if (
|
|
9
|
-
for (var t of
|
|
10
|
-
H.call(h, t) &&
|
|
11
|
-
return
|
|
12
|
-
}, g = (
|
|
13
|
-
var o = (
|
|
14
|
-
var
|
|
7
|
+
k.call(h, t) && w(l, t, h[t]);
|
|
8
|
+
if (S)
|
|
9
|
+
for (var t of S(h))
|
|
10
|
+
H.call(h, t) && w(l, t, h[t]);
|
|
11
|
+
return l;
|
|
12
|
+
}, g = (l, h) => T(l, R(h));
|
|
13
|
+
var o = (l, h, t) => (w(l, typeof h != "symbol" ? h + "" : h, t), t);
|
|
14
|
+
var c = (l, h, t) => new Promise((e, i) => {
|
|
15
15
|
var s = (a) => {
|
|
16
16
|
try {
|
|
17
17
|
r(t.next(a));
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
18
|
+
} catch (m) {
|
|
19
|
+
i(m);
|
|
20
20
|
}
|
|
21
21
|
}, n = (a) => {
|
|
22
22
|
try {
|
|
23
23
|
r(t.throw(a));
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
24
|
+
} catch (m) {
|
|
25
|
+
i(m);
|
|
26
26
|
}
|
|
27
27
|
}, r = (a) => a.done ? e(a.value) : Promise.resolve(a.value).then(s, n);
|
|
28
|
-
r((t = t.apply(
|
|
28
|
+
r((t = t.apply(l, h)).next());
|
|
29
29
|
});
|
|
30
|
-
import
|
|
31
|
-
import * as
|
|
32
|
-
import { to as
|
|
33
|
-
import { equal as
|
|
34
|
-
import { Main as
|
|
35
|
-
import { formatData as
|
|
36
|
-
import { CAMERA_IMAGE as
|
|
37
|
-
import { omit as
|
|
38
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
39
|
-
import { Controller as
|
|
40
|
-
import { getPxmm as B, getAttachedY as
|
|
30
|
+
import P from "./items.js";
|
|
31
|
+
import * as v from "three";
|
|
32
|
+
import { to as U } from "../../shared-utils/to.js";
|
|
33
|
+
import { equal as z } from "../../shared-utils/equal.js";
|
|
34
|
+
import { Main as W } from "../Components/Main.js";
|
|
35
|
+
import { formatData as x } from "../utils/formatData.js";
|
|
36
|
+
import { CAMERA_IMAGE as N } from "../Assets/camera.js";
|
|
37
|
+
import { omit as A } from "../../shared-utils/filter.js";
|
|
38
|
+
import { FLOOR_PLAN_ATTACHED_TO as G } from "../constant.js";
|
|
39
|
+
import { Controller as j } from "../../base/BasePluginWithData.js";
|
|
40
|
+
import { getPxmm as B, getAttachedY as C } from "../../shared-utils/getPxmm.js";
|
|
41
41
|
import { correctFiveState as V } from "../utils/correctFiveState.js";
|
|
42
|
-
import { changeModelCanvasOpacity as
|
|
43
|
-
import { FloorplanErrorType as
|
|
42
|
+
import { changeModelCanvasOpacity as F } from "../../shared-utils/changeModelCanvasOpacity.js";
|
|
43
|
+
import { FloorplanErrorType as f, SHOW_ANIME_DURATION as Z } from "../utils/constant.js";
|
|
44
44
|
import "../../shared-utils/tag.js";
|
|
45
45
|
import "../../vendor/hammerjs/hammer.js";
|
|
46
46
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
47
47
|
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
48
|
-
import "
|
|
49
|
-
import { waitFiveModelLoaded as Y } from "../../shared-utils/five/fiveModelLoad.js";
|
|
48
|
+
import { waitFiveModelLoaded as $ } from "../../shared-utils/five/fiveModelLoad.js";
|
|
50
49
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
51
50
|
import "@realsee/five/line";
|
|
52
|
-
import { isNil as
|
|
51
|
+
import { isNil as Y } from "../../shared-utils/isNil.js";
|
|
53
52
|
import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
54
53
|
import "../../shared-utils/three/core/Sphere.js";
|
|
55
54
|
import "../../shared-utils/three/blink.js";
|
|
56
55
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
57
56
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
58
57
|
import "../../vendor/earcut/src/earcut.js";
|
|
59
|
-
import { FLOORPLAN_DEFAULT_IMAGE as
|
|
60
|
-
import { replaceStaticPrefix as
|
|
58
|
+
import { FLOORPLAN_DEFAULT_IMAGE as q } from "../../shared-utils/url/defaultUrls.js";
|
|
59
|
+
import { replaceStaticPrefix as J } from "../../shared-utils/url/replace-static-prefix.js";
|
|
61
60
|
import "../../shared-utils/five/FivePuppet.js";
|
|
62
61
|
import "../../shared-utils/isTruelyObject.js";
|
|
63
62
|
import "../../vendor/svelte/internal/index.js";
|
|
@@ -110,7 +109,6 @@ import "../../shared-utils/three/core/Raycaster.js";
|
|
|
110
109
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
111
110
|
import "../../shared-utils/five/fiveEveryReadyListener.js";
|
|
112
111
|
import "../../shared-utils/throttle.js";
|
|
113
|
-
import "../../_commonjsHelpers.js";
|
|
114
112
|
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
115
113
|
import "../../shared-utils/three/Magnifier.js";
|
|
116
114
|
import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
@@ -147,19 +145,20 @@ import "../../vendor/animejs/lib/anime.es.js";
|
|
|
147
145
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
148
146
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
149
147
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
148
|
+
import "@realsee/five";
|
|
150
149
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
151
|
-
const
|
|
152
|
-
function K(
|
|
153
|
-
const { latitude: h, longitude: t } =
|
|
150
|
+
const X = "//vr-image-4.realsee-cdn.cn/release/static/image/doctorstrange/0.6.201-beta/";
|
|
151
|
+
function K(l) {
|
|
152
|
+
const { latitude: h, longitude: t } = l, e = Math.abs(h - Math.PI / 2) > 5 * Math.PI / 180, i = t > 5 * (Math.PI / 180) && t < 355 * (Math.PI / 180);
|
|
154
153
|
return e || i;
|
|
155
154
|
}
|
|
156
|
-
function Q(
|
|
157
|
-
const { latitude: h, longitude: t } =
|
|
155
|
+
function Q(l) {
|
|
156
|
+
const { latitude: h, longitude: t } = l, e = Math.abs(h - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
158
157
|
return e && i;
|
|
159
158
|
}
|
|
160
|
-
class
|
|
159
|
+
class pi extends j {
|
|
161
160
|
constructor(t, e) {
|
|
162
|
-
var a,
|
|
161
|
+
var a, m;
|
|
163
162
|
super(t);
|
|
164
163
|
// =============== public properties =================
|
|
165
164
|
o(this, "name", "modelFloorplanPlugin");
|
|
@@ -210,22 +209,22 @@ class fi extends G {
|
|
|
210
209
|
* @param opts.isAutoShow 是否是自动展示
|
|
211
210
|
* @param opts.userAction 是否是用户行为
|
|
212
211
|
*/
|
|
213
|
-
o(this, "show", (...e) =>
|
|
212
|
+
o(this, "show", (...e) => c(this, [...e], function* (t = {}) {
|
|
214
213
|
if (!this.state.enabled || !this.showPromise && this.state.visible)
|
|
215
214
|
return;
|
|
216
215
|
const i = t.userAction !== void 0 ? t.userAction : !0;
|
|
217
216
|
this.updateState({ visible: !0 }, i), this._show(t);
|
|
218
217
|
}));
|
|
219
218
|
/** 隐藏户型图 */
|
|
220
|
-
o(this, "hide", (...e) =>
|
|
219
|
+
o(this, "hide", (...e) => c(this, [...e], function* (t = {}) {
|
|
221
220
|
this.state.enabled && (this.isHiddenByHideFunc = !0, this.state.visible !== !1 && (this.updateState({ visible: !1 }, t.userAction || !0), this._hide(t)));
|
|
222
221
|
}));
|
|
223
222
|
/** 更新户型图大小 */
|
|
224
223
|
o(this, "updateSize", () => {
|
|
225
224
|
if (!this.data || !this.container || !this.wrapper)
|
|
226
225
|
return !1;
|
|
227
|
-
const { min: t, max: e } = this.data.bounding, i = e.x - t.x, s = e.y - t.y, n = this.
|
|
228
|
-
return this.size.width ===
|
|
226
|
+
const { min: t, max: e } = this.data.bounding, i = e.x - t.x, s = e.y - t.y, n = this.getPxmmWithRotation(), r = Math.ceil(i * n), a = Math.ceil(s * n);
|
|
227
|
+
return this.size.width === r && this.size.height === a || (this.container.style.width = r + "px", this.container.style.height = a + "px", this.size = { width: r, height: a }), !0;
|
|
229
228
|
});
|
|
230
229
|
o(this, "highlight", (t) => {
|
|
231
230
|
this.state.config.highlightEnable && (this.highlightData = t, this.render());
|
|
@@ -246,20 +245,20 @@ class fi extends G {
|
|
|
246
245
|
o(this, "_disable", (t) => {
|
|
247
246
|
var i, s, n;
|
|
248
247
|
const { userAction: e } = t;
|
|
249
|
-
this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this,
|
|
248
|
+
this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, f.BreakOffByDisable), this.showPromise = void 0, (s = this.app) == null || s.$destroy(), this.app = void 0, (n = this.container) == null || n.remove(), this.removeEventListener();
|
|
250
249
|
});
|
|
251
250
|
o(this, "_enable", (t) => {
|
|
252
251
|
const { userAction: e } = t;
|
|
253
252
|
this.addEventListener(), this.wrapper && (this.wrapper.append(this.container), this.hooks.emit("enable", { userAction: e }), this.state.visible && this._show({ userAction: e }));
|
|
254
253
|
});
|
|
255
|
-
o(this, "_show", (t) =>
|
|
254
|
+
o(this, "_show", (t) => c(this, null, function* () {
|
|
256
255
|
var n;
|
|
257
256
|
if (!this.state.enabled)
|
|
258
257
|
return;
|
|
259
258
|
if (!((n = this.fiveUtil.model) != null && n.loaded))
|
|
260
|
-
throw new Error(
|
|
259
|
+
throw new Error(f.ModelNotLoaded);
|
|
261
260
|
if (!this.data)
|
|
262
|
-
throw new Error(
|
|
261
|
+
throw new Error(f.DataNotLoaded);
|
|
263
262
|
if (this.showPromise)
|
|
264
263
|
return this.showPromise;
|
|
265
264
|
const e = {
|
|
@@ -268,25 +267,25 @@ class fi extends G {
|
|
|
268
267
|
immediately: !1,
|
|
269
268
|
isAutoShow: !1,
|
|
270
269
|
userAction: !0
|
|
271
|
-
}, i = d(d({}, e), t), s = () =>
|
|
270
|
+
}, i = d(d({}, e), t), s = () => c(this, null, function* () {
|
|
272
271
|
this.hooks.emit("show", { userAction: i.userAction, auto: i.isAutoShow });
|
|
273
272
|
let r = !1, a;
|
|
274
273
|
this.showRejection = (u) => {
|
|
275
274
|
r = !0, a = u;
|
|
276
275
|
};
|
|
277
|
-
const [
|
|
278
|
-
if (
|
|
279
|
-
throw
|
|
276
|
+
const [m] = yield U(V(this.five, this.showState, i.userAction));
|
|
277
|
+
if (m)
|
|
278
|
+
throw m;
|
|
280
279
|
if (r)
|
|
281
|
-
throw a ? new Error(a) : new Error(
|
|
280
|
+
throw a ? new Error(a) : new Error(f.UnknownError);
|
|
282
281
|
if (!this.updateSize())
|
|
283
|
-
throw new Error(
|
|
282
|
+
throw new Error(f.UpdateSizeError);
|
|
284
283
|
this.updatePosition(), this.floorIndex = i.floorIndex, this.fiveUtil.model.show(this.floorIndex);
|
|
285
284
|
});
|
|
286
285
|
return this.isHiddenByHideFunc = !1, this.showPromise = s().then(() => {
|
|
287
286
|
this.showPromise = void 0, this.showRejection = void 0;
|
|
288
|
-
const r = i.modelOpacity, a = i.immediately ? 0 :
|
|
289
|
-
|
|
287
|
+
const r = i.modelOpacity, a = i.immediately ? 0 : Z;
|
|
288
|
+
F(this.five, r, a), this.render(a), this.hooks.emit("showAnimationEnded", {
|
|
290
289
|
auto: i.isAutoShow,
|
|
291
290
|
userAction: i.userAction
|
|
292
291
|
});
|
|
@@ -297,12 +296,12 @@ class fi extends G {
|
|
|
297
296
|
}));
|
|
298
297
|
o(this, "_hide", (t) => {
|
|
299
298
|
var s;
|
|
300
|
-
(s = this.showRejection) == null || s.call(this,
|
|
299
|
+
(s = this.showRejection) == null || s.call(this, f.BreakOffByHide), this.showPromise = void 0;
|
|
301
300
|
const i = d(d({}, {
|
|
302
301
|
userAction: !0,
|
|
303
302
|
isAutoHide: !1
|
|
304
303
|
}), t);
|
|
305
|
-
|
|
304
|
+
F(this.five, 1, 0), this.hooks.emit("hide", { auto: i.isAutoHide, userAction: i.userAction }), this.render();
|
|
306
305
|
});
|
|
307
306
|
o(this, "handleClick", () => {
|
|
308
307
|
if (!this.state.visible)
|
|
@@ -312,7 +311,7 @@ class fi extends G {
|
|
|
312
311
|
});
|
|
313
312
|
/** modelLoaded 之后自动执行 append container 操作 */
|
|
314
313
|
o(this, "onFiveModelLoaded", () => {
|
|
315
|
-
const i = this.five.models.find((n) => n.name === this.five.state.workCode).bounding.getCenter(new
|
|
314
|
+
const i = this.five.models.find((n) => n.name === this.five.state.workCode).bounding.getCenter(new v.Vector3());
|
|
316
315
|
if (this.showState.offset = i, this.state.enabled === !1 || this.wrapper || !this.selector)
|
|
317
316
|
return;
|
|
318
317
|
const s = this.selector instanceof Element ? this.selector : document.querySelector(this.selector);
|
|
@@ -346,7 +345,7 @@ class fi extends G {
|
|
|
346
345
|
/** 户型图展示中,转动三维模型,结束时应该自动修复模型状态 */
|
|
347
346
|
o(this, "onFiveWantsPanGesture", (t, e) => {
|
|
348
347
|
if (this.five.getCurrentState().mode === this.showState.mode && this.state.config.autoShowEnable !== !1 && e && this.state.visible)
|
|
349
|
-
return this.five.updateCamera(
|
|
348
|
+
return this.five.updateCamera(A(this.showState, ["offset"]), 0), !1;
|
|
350
349
|
});
|
|
351
350
|
/** 阻止点击分间走点 */
|
|
352
351
|
o(this, "onFiveWantsTapGesture", () => this.handleClick());
|
|
@@ -370,10 +369,10 @@ class fi extends G {
|
|
|
370
369
|
longitude: 0,
|
|
371
370
|
latitude: Math.PI / 2
|
|
372
371
|
}, e == null ? void 0 : e.showState), this.defaultMissingFloorConfig = {
|
|
373
|
-
imageURL:
|
|
372
|
+
imageURL: J(e == null ? void 0 : e.staticPrefix, q),
|
|
374
373
|
imageWidth: 200,
|
|
375
374
|
imageHeight: 120,
|
|
376
|
-
text: (
|
|
375
|
+
text: (m = (a = e.i18n) == null ? void 0 : a.call(e, "暂无平面图")) != null ? m : "暂无平面图",
|
|
377
376
|
textFontSize: 14
|
|
378
377
|
};
|
|
379
378
|
const i = {
|
|
@@ -390,8 +389,8 @@ class fi extends G {
|
|
|
390
389
|
roomNameEnable: !0,
|
|
391
390
|
roomNameOtherTypeEnable: !0,
|
|
392
391
|
roomDimensionEnable: !0,
|
|
393
|
-
cameraImageUrl:
|
|
394
|
-
attachedTo:
|
|
392
|
+
cameraImageUrl: N,
|
|
393
|
+
attachedTo: G.BOUNDING_CENTER,
|
|
395
394
|
getLabelElement: void 0,
|
|
396
395
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
397
396
|
missingFloorConfig: d(d({}, this.defaultMissingFloorConfig), e.missingFloorConfig),
|
|
@@ -399,35 +398,35 @@ class fi extends G {
|
|
|
399
398
|
getRoomAreaText: (p) => (p / 1e6).toFixed(1) + "㎡",
|
|
400
399
|
getRoomDimensionText: (p, u) => (p / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
|
|
401
400
|
getRuleDistanceText: (p) => p.toString()
|
|
402
|
-
}, s = e ?
|
|
403
|
-
this.state = { enabled: !0, visible: !1, config: r }, this.panoIndex = t.getCurrentState().panoIndex, this.initContainer(),
|
|
401
|
+
}, s = e ? A(e, ["selector", "scale"]) : {}, n = d(d({}, i.missingFloorConfig), s.missingFloorConfig), r = g(d(d({}, i), s), { missingFloorConfig: n });
|
|
402
|
+
this.state = { enabled: !0, visible: !1, config: r }, this.panoIndex = t.getCurrentState().panoIndex, this.initContainer(), $(t).then(this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
|
|
404
403
|
}
|
|
405
404
|
load(t, e, i = !0) {
|
|
406
|
-
return
|
|
405
|
+
return c(this, null, function* () {
|
|
407
406
|
function s(p) {
|
|
408
407
|
return Object.prototype.hasOwnProperty.apply(p, ["version"]);
|
|
409
408
|
}
|
|
410
409
|
const n = t;
|
|
411
|
-
n &&
|
|
412
|
-
const r = JSON.parse(JSON.stringify(t)), a = s(r) ? r.data : r,
|
|
413
|
-
this.data = yield
|
|
410
|
+
n && Y(n.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
411
|
+
const r = JSON.parse(JSON.stringify(t)), a = s(r) ? r.data : r, m = this.data;
|
|
412
|
+
this.data = yield x(a), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, m), e && this.updateState(e, i), this.render();
|
|
414
413
|
});
|
|
415
414
|
}
|
|
416
415
|
loadItems(t) {
|
|
417
416
|
const { min: e, max: i } = this.data.bounding, s = i.x - e.x, n = i.y - e.y;
|
|
418
417
|
this.data.floorDatas.forEach((r, a) => {
|
|
419
|
-
r.items = t[a].filter((
|
|
420
|
-
const { x: p, y: u, width:
|
|
418
|
+
r.items = t[a].filter((m) => m.displayName === "Item-SimpleItem").map((m) => {
|
|
419
|
+
const { x: p, y: u, width: I, height: E, notes: M, type: b, id: y, rotateX: L, rotateY: _, rotateZ: O = 0 } = m;
|
|
421
420
|
return {
|
|
422
|
-
id:
|
|
421
|
+
id: y,
|
|
423
422
|
positionInImage: { x: (p - e.x) / s, y: (i.y - u) / n },
|
|
424
|
-
width:
|
|
425
|
-
height:
|
|
426
|
-
src:
|
|
427
|
-
notes:
|
|
428
|
-
rotateX:
|
|
429
|
-
rotateY:
|
|
430
|
-
rotateZ:
|
|
423
|
+
width: I / s,
|
|
424
|
+
height: E / n,
|
|
425
|
+
src: X + P[b].href.replace(/\{\{\stheme\s\}\}/, "realsee"),
|
|
426
|
+
notes: M || P[b].description,
|
|
427
|
+
rotateX: L,
|
|
428
|
+
rotateY: _,
|
|
429
|
+
rotateZ: O
|
|
431
430
|
};
|
|
432
431
|
});
|
|
433
432
|
});
|
|
@@ -462,24 +461,42 @@ class fi extends G {
|
|
|
462
461
|
changeConfigs(t, e = !0) {
|
|
463
462
|
this.updateState({ config: t }, e), this.render();
|
|
464
463
|
}
|
|
464
|
+
/** 根据旋转角度计算 pxmm
|
|
465
|
+
* @description 当 longitude 大于 45° 或小于 -45°(相对于基准方向)时,使用 Z 轴计算
|
|
466
|
+
*/
|
|
467
|
+
getPxmmWithRotation() {
|
|
468
|
+
if (!this.wrapper)
|
|
469
|
+
return 0;
|
|
470
|
+
const t = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, e = this.showState.longitude, i = Math.abs((e % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI));
|
|
471
|
+
return i > Math.PI / 4 && i < 3 * Math.PI / 4 || i > 5 * Math.PI / 4 && i < 7 * Math.PI / 4 ? this.getPxmmZAxis(t) : B(this.five, this.wrapper, this.floorIndex, t);
|
|
472
|
+
}
|
|
473
|
+
/** 使用 Z 轴计算 pxmm
|
|
474
|
+
* @description 当相机旋转导致 X 轴接近垂直于屏幕时,改用 Z 轴计算
|
|
475
|
+
*/
|
|
476
|
+
getPxmmZAxis(t) {
|
|
477
|
+
if (!this.wrapper)
|
|
478
|
+
return 0;
|
|
479
|
+
const e = C(this.five, this.floorIndex, t == null ? void 0 : t.attachedTo), i = new v.Vector3(0, e, 0), s = new v.Vector3(0, e, 1), n = i.clone().project(this.five.camera), r = s.clone().project(this.five.camera);
|
|
480
|
+
return Math.abs((r.x - n.x) / 1e3) * (this.wrapper.getBoundingClientRect().width / 2);
|
|
481
|
+
}
|
|
465
482
|
/** 更新户型图位置 */
|
|
466
483
|
updatePosition() {
|
|
467
484
|
var r;
|
|
468
|
-
const t =
|
|
485
|
+
const t = C(this.five, this.floorIndex, this.state.config.attachedTo), e = (r = this.fiveUtil.model) == null ? void 0 : r.bounding.getCenter(new v.Vector3()).setY(t);
|
|
469
486
|
if (!e)
|
|
470
487
|
return;
|
|
471
488
|
const i = e.clone().project(this.five.camera), s = (i.x + 1) / 2, n = -(i.y - 1) / 2;
|
|
472
489
|
this.container.style.left = s * 100 + "%", this.container.style.top = n * 100 + "%";
|
|
473
490
|
}
|
|
474
491
|
formatData(t) {
|
|
475
|
-
return
|
|
476
|
-
return yield
|
|
492
|
+
return c(this, null, function* () {
|
|
493
|
+
return yield x(t.data);
|
|
477
494
|
});
|
|
478
495
|
}
|
|
479
496
|
updateState(t, e) {
|
|
480
497
|
var r;
|
|
481
498
|
const i = this.state, s = (r = t.config) != null && r.missingFloorConfig ? d(d({}, i.config.missingFloorConfig), t.config.missingFloorConfig) : i.config.missingFloorConfig, n = t.config ? g(d(d({}, i.config), t.config), { missingFloorConfig: s }) : i.config;
|
|
482
|
-
this.state = g(d(d({}, this.state), t), { config: n }), !
|
|
499
|
+
this.state = g(d(d({}, this.state), t), { config: n }), !z(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
|
|
483
500
|
}
|
|
484
501
|
/** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
|
|
485
502
|
*
|
|
@@ -521,9 +538,9 @@ class fi extends G {
|
|
|
521
538
|
});
|
|
522
539
|
if (this.app)
|
|
523
540
|
return this.app.$set(e);
|
|
524
|
-
this.app = new
|
|
541
|
+
this.app = new W({ target: this.container, intro: !0, props: e });
|
|
525
542
|
}
|
|
526
543
|
}
|
|
527
544
|
export {
|
|
528
|
-
|
|
545
|
+
pi as Controller
|
|
529
546
|
};
|
|
@@ -49,7 +49,6 @@ import "../../shared-utils/tag.js";
|
|
|
49
49
|
import "../../shared-utils/positionToVector3.js";
|
|
50
50
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
51
51
|
import "../../shared-utils/five/getFiveModel.js";
|
|
52
|
-
import "@realsee/five";
|
|
53
52
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
54
53
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
55
54
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
@@ -60,7 +59,6 @@ import "../../shared-utils/dom/resizeObserver.js";
|
|
|
60
59
|
import "../../shared-utils/five/fiveEveryReadyListener.js";
|
|
61
60
|
import "../../shared-utils/throttle.js";
|
|
62
61
|
import "../../vendor/hammerjs/hammer.js";
|
|
63
|
-
import "../../_commonjsHelpers.js";
|
|
64
62
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
65
63
|
import "../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
66
64
|
import "../../shared-utils/three/Magnifier.js";
|
|
@@ -104,6 +102,7 @@ import "../../Sculpt/utils/unit.js";
|
|
|
104
102
|
import "../../Sculpt/utils/renderDom.js";
|
|
105
103
|
import "../../vendor/earcut/src/earcut.js";
|
|
106
104
|
import "../../shared-utils/five/FivePuppet.js";
|
|
105
|
+
import "@realsee/five";
|
|
107
106
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
108
107
|
import "../../shared-utils/isTouchDevice.js";
|
|
109
108
|
import "../../shared-utils/five/getPosition.js";
|
|
@@ -120,8 +119,8 @@ import "../../shared-utils/translateMode/getDistanceFromModel.js";
|
|
|
120
119
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
121
120
|
import "../../shared-utils/url/replace-static-prefix.js";
|
|
122
121
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
123
|
-
const
|
|
122
|
+
const vr = (o, r) => new t(o, r);
|
|
124
123
|
export {
|
|
125
|
-
|
|
126
|
-
|
|
124
|
+
vr as MapviewFloorplanPlugin,
|
|
125
|
+
vr as default
|
|
127
126
|
};
|
|
@@ -65,6 +65,14 @@ export declare class Controller extends BasePlugin.Controller<State, EventMap, P
|
|
|
65
65
|
changeConfigs(config: Partial<Config>, userAction?: boolean): void;
|
|
66
66
|
/** 更新户型图大小 */
|
|
67
67
|
updateSize: () => boolean;
|
|
68
|
+
/** 根据旋转角度计算 pxmm
|
|
69
|
+
* @description 当 longitude 大于 45° 或小于 -45°(相对于基准方向)时,使用 Z 轴计算
|
|
70
|
+
*/
|
|
71
|
+
private getPxmmWithRotation;
|
|
72
|
+
/** 使用 Z 轴计算 pxmm
|
|
73
|
+
* @description 当相机旋转导致 X 轴接近垂直于屏幕时,改用 Z 轴计算
|
|
74
|
+
*/
|
|
75
|
+
private getPxmmZAxis;
|
|
68
76
|
highlight: (highlightData: HighlightData) => void;
|
|
69
77
|
unhighlight: () => void;
|
|
70
78
|
/** 更新展示状态
|