@realsee/dnalogel 3.71.3-alpha.2 → 3.71.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 +2 -8
- package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +0 -2
- package/dist/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +1 -8
- package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +1 -19
- package/dist/index.cjs.js +128 -128
- package/dist/index.js +18387 -18533
- package/dist/index.umd.js +121 -121
- package/dist/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +0 -2
- package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +1 -0
- package/dist/shared-utils/Subscribe.d.ts +9 -1
- package/docs/assets/search.js +1 -1
- 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 +23 -17
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +23 -17
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +23 -17
- 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 +18 -18
- package/docs/classes/Sculpt.html +23 -17
- 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 +23 -17
- 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.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- 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.tag.html +1 -1
- 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/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/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/CruisePlugin/Move.js +30 -121
- package/libs/CruisePlugin/Work.js +174 -265
- package/libs/CruisePlugin/index.js +7 -98
- package/libs/GuideLinePlugin/Controller.js +36 -127
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -94
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -94
- package/libs/GuideLinePlugin/index.js +7 -98
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +0 -2
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +189 -193
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +1 -8
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +102 -253
- package/libs/PanoTagPlugin/controller/index.js +46 -143
- package/libs/PanoTagPlugin/index.js +12 -103
- package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +1 -19
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +69 -123
- package/libs/Sculpt/Editors/RectangleMeshEditor.js +20 -48
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +59 -59
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +60 -60
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +0 -2
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +26 -40
- package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +11 -12
- package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +1 -0
- package/libs/shared-utils/Subscribe.d.ts +9 -1
- package/libs/shared-utils/Subscribe.js +27 -11
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -2,16 +2,16 @@ var E = Object.defineProperty, U = Object.defineProperties;
|
|
|
2
2
|
var _ = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var b = Object.getOwnPropertySymbols;
|
|
4
4
|
var F = Object.prototype.hasOwnProperty, w = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var g = (
|
|
6
|
-
for (var e in
|
|
7
|
-
F.call(
|
|
5
|
+
var g = (d, h, e) => h in d ? E(d, h, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[h] = e, f = (d, h) => {
|
|
6
|
+
for (var e in h || (h = {}))
|
|
7
|
+
F.call(h, e) && g(d, e, h[e]);
|
|
8
8
|
if (b)
|
|
9
|
-
for (var e of b(
|
|
10
|
-
w.call(
|
|
11
|
-
return
|
|
12
|
-
}, c = (
|
|
13
|
-
var
|
|
14
|
-
var
|
|
9
|
+
for (var e of b(h))
|
|
10
|
+
w.call(h, e) && g(d, e, h[e]);
|
|
11
|
+
return d;
|
|
12
|
+
}, c = (d, h) => U(d, _(h));
|
|
13
|
+
var p = (d, h, e) => (g(d, typeof h != "symbol" ? h + "" : h, e), e);
|
|
14
|
+
var l = (d, h, e) => new Promise((t, i) => {
|
|
15
15
|
var o = (r) => {
|
|
16
16
|
try {
|
|
17
17
|
s(e.next(r));
|
|
@@ -25,10 +25,10 @@ var d = (h, p, e) => new Promise((t, i) => {
|
|
|
25
25
|
i(a);
|
|
26
26
|
}
|
|
27
27
|
}, s = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(o, n);
|
|
28
|
-
s((e = e.apply(
|
|
28
|
+
s((e = e.apply(d, h)).next());
|
|
29
29
|
});
|
|
30
30
|
import * as u from "three";
|
|
31
|
-
import { objectAssignDeepExports as
|
|
31
|
+
import { objectAssignDeepExports as m } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
32
32
|
import { arrayPositionToVector3 as v } from "../../shared-utils/positionToVector3.js";
|
|
33
33
|
import { isModelTag as k, isMediaModelTag as L } from "../utils/tag/tagCheck.js";
|
|
34
34
|
import { debounce as y } from "../utils/debounce.js";
|
|
@@ -220,97 +220,6 @@ import "../Components/Tag/PanoramaTag.js";
|
|
|
220
220
|
import "../Components/Common/Icon/PanoramaIcon.js";
|
|
221
221
|
import "../Components/Tag/CustomTag.js";
|
|
222
222
|
import "../../vendor/classnames/index.js";
|
|
223
|
-
import "../../Sculpt/index.js";
|
|
224
|
-
import "../../Sculpt/utils/Modules/Global.js";
|
|
225
|
-
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
226
|
-
import "../../Sculpt/utils/Modules/DeleteButtonBgBorder.js";
|
|
227
|
-
import "../../Sculpt/utils/Modules/DeleteIconSVG.js";
|
|
228
|
-
import "../../Object3DHelperPlugin/Controller.js";
|
|
229
|
-
import "../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
230
|
-
import "../../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
231
|
-
import "../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
232
|
-
import "../../shared-utils/three/boundingBox.js";
|
|
233
|
-
import "../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
234
|
-
import "../../shared-utils/Object3DHelper/utils/direction.js";
|
|
235
|
-
import "../../shared-utils/Object3DHelper/Constants/RenderOrder.js";
|
|
236
|
-
import "../../shared-utils/Object3DHelper/Constants/color.js";
|
|
237
|
-
import "../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
238
|
-
import "../../shared-utils/Object3DHelper/utils/getPoseFromCamera.js";
|
|
239
|
-
import "../../shared-utils/clamp.js";
|
|
240
|
-
import "../../shared-utils/Object3DHelper/utils/getOrthographicCameraDirection.js";
|
|
241
|
-
import "../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
242
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
243
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
244
|
-
import "../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
245
|
-
import "../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
246
|
-
import "../../shared-utils/Object3DHelper/utils/cameraHooks.js";
|
|
247
|
-
import "../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
248
|
-
import "../../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
249
|
-
import "../../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
250
|
-
import "../../shared-utils/Object3DHelper/utils/solidGuide.js";
|
|
251
|
-
import "../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
252
|
-
import "../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
253
|
-
import "../../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
254
|
-
import "../../shared-utils/Object3DHelper/index.js";
|
|
255
|
-
import "../../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
256
|
-
import "../../shared-utils/math/rad2Deg.js";
|
|
257
|
-
import "../../shared-utils/math/deg2Rad.js";
|
|
258
|
-
import "../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
259
|
-
import "../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
260
|
-
import "../../shared-utils/three/vectorIsEqual.js";
|
|
261
|
-
import "../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
262
|
-
import "../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
263
|
-
import "../../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
264
|
-
import "../../shared-utils/threex/domevents/index.js";
|
|
265
|
-
import "../../shared-utils/three/recurveFindObject.js";
|
|
266
|
-
import "../../Sculpt/Objects/Polyline/index.js";
|
|
267
|
-
import "../../Sculpt/Meshes/Polyline.js";
|
|
268
|
-
import "../../Sculpt/Meshes/LineWithDots.js";
|
|
269
|
-
import "../../Sculpt/Meshes/Point.js";
|
|
270
|
-
import "../../shared-utils/three/closeVectors.js";
|
|
271
|
-
import "../../Sculpt/Objects/Base/index.js";
|
|
272
|
-
import "../../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
273
|
-
import "../../Sculpt/Objects/Polyline/Editor.js";
|
|
274
|
-
import "../../Sculpt/Objects/Line/Editor.js";
|
|
275
|
-
import "../../Sculpt/Objects/Base/Editor.js";
|
|
276
|
-
import "../../Sculpt/Objects/Point/index.js";
|
|
277
|
-
import "../../Sculpt/Objects/Point/Editor.js";
|
|
278
|
-
import "../../Sculpt/Objects/Polygon/index.js";
|
|
279
|
-
import "../../Sculpt/Meshes/Area.js";
|
|
280
|
-
import "../../Sculpt/Meshes/PolygonWithEdge.js";
|
|
281
|
-
import "../../Sculpt/Meshes/Polygon.js";
|
|
282
|
-
import "../../shared-utils/three/generatePolygonGeometry.js";
|
|
283
|
-
import "../../shared-utils/three/earcut3D.js";
|
|
284
|
-
import "../../vendor/earcut/src/earcut.js";
|
|
285
|
-
import "../../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
286
|
-
import "../../Sculpt/utils/three/ColoredMesh.js";
|
|
287
|
-
import "../../shared-utils/three/geometryUtil.js";
|
|
288
|
-
import "../../Sculpt/Objects/Polygon/Editor.js";
|
|
289
|
-
import "../../Sculpt/Objects/Prism/index.js";
|
|
290
|
-
import "../../Sculpt/Meshes/Prism.js";
|
|
291
|
-
import "../../shared-utils/three/core/PrismGeometry.js";
|
|
292
|
-
import "../../shared-utils/three/core/polygonVertex.js";
|
|
293
|
-
import "../../shared-utils/three/core/PrismAnimationGeometry.js";
|
|
294
|
-
import "../../Sculpt/Editors/PrismMeshEditor.js";
|
|
295
|
-
import "../../Sculpt/Objects/Rectangle/index.js";
|
|
296
|
-
import "../../Sculpt/Editors/RectangleMeshEditor.js";
|
|
297
|
-
import "../../Sculpt/Meshes/Rectangle.js";
|
|
298
|
-
import "../../Sculpt/utils/three/RectangleGeometry.js";
|
|
299
|
-
import "../../Sculpt/Meshes/RectangleWithEdge.js";
|
|
300
|
-
import "../../Sculpt/utils/sortPositionsByCameraPosition.js";
|
|
301
|
-
import "../../Sculpt/Objects/Circle/index.js";
|
|
302
|
-
import "../../Sculpt/Editors/CircleMeshEditor.js";
|
|
303
|
-
import "../../Sculpt/Meshes/CircleWithEdge.js";
|
|
304
|
-
import "../../Sculpt/Meshes/Circle.js";
|
|
305
|
-
import "../../Sculpt/utils/radiusToSegments.js";
|
|
306
|
-
import "../../Sculpt/Objects/Cylinder/index.js";
|
|
307
|
-
import "../../Sculpt/Meshes/Cylinder.js";
|
|
308
|
-
import "../../Sculpt/Editors/CylinderMeshEditor.js";
|
|
309
|
-
import "../../Sculpt/Objects/Box/index.js";
|
|
310
|
-
import "../../Sculpt/Editors/BoxMeshEditor.js";
|
|
311
|
-
import "../../Sculpt/Meshes/Box.js";
|
|
312
|
-
import "../../shared-utils/forReverseEach.js";
|
|
313
|
-
import "../../Sculpt/Objects/Line/index.js";
|
|
314
223
|
import "../Components/TagItem.js";
|
|
315
224
|
import "../Components/Common/TagPoint.js";
|
|
316
225
|
import "../Components/Tag/AudioTag/AudioPoint.js";
|
|
@@ -327,23 +236,23 @@ import "../Components/Common/TagPopover/TagPopoverToolBar.js";
|
|
|
327
236
|
import "../Components/Common/TagPopover/ArrowRightIcon.js";
|
|
328
237
|
import "../Components/Common/TagPopover/ShareIcon.js";
|
|
329
238
|
import "../utils/popoverContainer.js";
|
|
330
|
-
const D = "Dnalogel-PanoTagPlugin",
|
|
331
|
-
class
|
|
239
|
+
const D = "Dnalogel-PanoTagPlugin", Qo = (d) => `${D}--${d}`;
|
|
240
|
+
class $o extends R {
|
|
332
241
|
constructor(e, t) {
|
|
333
242
|
super(e);
|
|
334
243
|
/** state */
|
|
335
|
-
|
|
244
|
+
p(this, "state", { enabled: !0, visible: !0 });
|
|
336
245
|
/** debug */
|
|
337
|
-
|
|
338
|
-
|
|
246
|
+
p(this, "debug");
|
|
247
|
+
p(this, "debugUtil", new j(this));
|
|
339
248
|
/** 全局 hover 启用状态,默认 true */
|
|
340
|
-
|
|
249
|
+
p(this, "globalHoverEnabled", !0);
|
|
341
250
|
/** 更改 tag 模型 */
|
|
342
|
-
|
|
251
|
+
p(this, "changeTagModel", (e, t) => l(this, null, function* () {
|
|
343
252
|
var i;
|
|
344
|
-
e.data =
|
|
253
|
+
e.data = m({}, e.data, t), yield (i = e.loadModel) == null ? void 0 : i.call(e);
|
|
345
254
|
}));
|
|
346
|
-
|
|
255
|
+
p(this, "handleFiveModeChange", (e) => {
|
|
347
256
|
const t = () => {
|
|
348
257
|
this.filter2DPointTag.forEach((i) => {
|
|
349
258
|
i.state.visible = !1, i.applyVisible();
|
|
@@ -355,7 +264,7 @@ class Us extends R {
|
|
|
355
264
|
};
|
|
356
265
|
this.tags.length < 500 ? t() : this.five.ready().then(() => t());
|
|
357
266
|
});
|
|
358
|
-
|
|
267
|
+
p(this, "handleFiveWantsMoveToPano", () => {
|
|
359
268
|
if (this.tags.length > 500) {
|
|
360
269
|
this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] });
|
|
361
270
|
return;
|
|
@@ -364,18 +273,18 @@ class Us extends R {
|
|
|
364
273
|
e.temporaryState.visible = !0;
|
|
365
274
|
}), this.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.tags.forEach((e) => e.applyVisible());
|
|
366
275
|
});
|
|
367
|
-
|
|
276
|
+
p(this, "clickhandler", (e) => {
|
|
368
277
|
e.tag.onClick(e);
|
|
369
278
|
});
|
|
370
|
-
|
|
279
|
+
p(this, "handleFiveCameraUpdate", () => {
|
|
371
280
|
this.filterPointTag.forEach((e) => e.updateScreenPosition());
|
|
372
281
|
});
|
|
373
|
-
|
|
282
|
+
p(this, "handleFiveCameraFovUpdate", () => {
|
|
374
283
|
this.handleFiveCameraUpdate(), this.five.off("render.prepare", this.handleFiveCameraUpdate), this.five.on("render.prepare", this.handleFiveCameraUpdate), setTimeout(() => {
|
|
375
284
|
this.five.off("render.prepare", this.handleFiveCameraUpdate);
|
|
376
285
|
}, 1e3);
|
|
377
286
|
});
|
|
378
|
-
|
|
287
|
+
p(this, "handleFivePanoArrived", () => l(this, null, function* () {
|
|
379
288
|
this.filter2DPointTag.forEach((e) => {
|
|
380
289
|
e.state.visible = !1, e.applyVisible();
|
|
381
290
|
}), this.tagsDo(this.tags, (e) => {
|
|
@@ -398,16 +307,16 @@ class Us extends R {
|
|
|
398
307
|
});
|
|
399
308
|
}));
|
|
400
309
|
/** 楼层切换时,需要更新标签可见性 */
|
|
401
|
-
|
|
310
|
+
p(this, "handleFiveModelShownFloorChange", () => {
|
|
402
311
|
this.tagsDo(this.tags, (e) => e.updateVisible());
|
|
403
312
|
});
|
|
404
|
-
|
|
313
|
+
p(this, "onFiveRefined", y(() => {
|
|
405
314
|
C(this.five.getCurrentState().mode) ? this.setUnfoldedByCamera() : this.tags.forEach((e) => e.cache.clear()), this.tagsDo(this.tags, (e) => e.updateVisible());
|
|
406
315
|
}));
|
|
407
|
-
|
|
316
|
+
p(this, "onFiveEveryReady", () => {
|
|
408
317
|
this.setUnfoldedByCamera(), C(this.five.getCurrentState().mode) && this.tagsDo(this.tags, (e) => e.updateVisible());
|
|
409
318
|
});
|
|
410
|
-
|
|
319
|
+
p(this, "render", () => {
|
|
411
320
|
this.renderQueue.forEach((e, t) => {
|
|
412
321
|
const { keys: i } = e;
|
|
413
322
|
if (t === "TagContainerSvelte") {
|
|
@@ -443,7 +352,7 @@ class Us extends R {
|
|
|
443
352
|
}
|
|
444
353
|
}), this.renderQueue.clear();
|
|
445
354
|
});
|
|
446
|
-
this.params =
|
|
355
|
+
this.params = m({}, { debug: !1, config: this.config }, f({}, t)), this.debug = this.params.debug, this.config = this.params.config, this.debug && this.debugUtil.bindLog(), G(1, { namespace: O.PlayAudio });
|
|
447
356
|
try {
|
|
448
357
|
Array.isArray(window.__PANOTAGPLUGIN_DEBUG_LIST__) || (window.__PANOTAGPLUGIN_DEBUG_LIST__ = []), this.NAME = D + "-" + window.__PANOTAGPLUGIN_DEBUG_LIST__.length, window.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), window.__PANOTAGPLUGIN_DEBUG__ || Object.defineProperty(window, "__PANOTAGPLUGIN_DEBUG__", {
|
|
449
358
|
get: function() {
|
|
@@ -463,7 +372,7 @@ class Us extends R {
|
|
|
463
372
|
* @description 加载数据
|
|
464
373
|
*/
|
|
465
374
|
load(e) {
|
|
466
|
-
return
|
|
375
|
+
return l(this, null, function* () {
|
|
467
376
|
var o, n;
|
|
468
377
|
this.clearTags();
|
|
469
378
|
try {
|
|
@@ -484,7 +393,7 @@ class Us extends R {
|
|
|
484
393
|
s.normal = P(a);
|
|
485
394
|
} catch (r) {
|
|
486
395
|
}
|
|
487
|
-
}), this.config =
|
|
396
|
+
}), this.config = m({}, this.config, {
|
|
488
397
|
globalConfig: (o = e.globalConfig) != null ? o : {},
|
|
489
398
|
contentTypeConfig: (n = e.contentTypeConfig) != null ? n : {}
|
|
490
399
|
});
|
|
@@ -496,7 +405,7 @@ class Us extends R {
|
|
|
496
405
|
* @description 添加标签
|
|
497
406
|
*/
|
|
498
407
|
addTag(e) {
|
|
499
|
-
return
|
|
408
|
+
return l(this, null, function* () {
|
|
500
409
|
const i = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
|
|
501
410
|
const n = B(o);
|
|
502
411
|
if (n === "2DPoint" || n === "3DPoint")
|
|
@@ -506,7 +415,7 @@ class Us extends R {
|
|
|
506
415
|
if (n === "Plane")
|
|
507
416
|
return new H(this, o);
|
|
508
417
|
});
|
|
509
|
-
return i.forEach((o) => M(o)), this.tags.push(...i), this.tagsLengthWillUpdate = !0, N(this.five).then(() =>
|
|
418
|
+
return i.forEach((o) => M(o)), this.tags.push(...i), this.tagsLengthWillUpdate = !0, N(this.five).then(() => l(this, null, function* () {
|
|
510
419
|
var o, n;
|
|
511
420
|
this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(i, (s) => {
|
|
512
421
|
this.tags.includes(s) && (s.updateVisible(), s.updateZIndex());
|
|
@@ -518,7 +427,7 @@ class Us extends R {
|
|
|
518
427
|
* @description 改变配置
|
|
519
428
|
*/
|
|
520
429
|
changeConfig(e, t = !0) {
|
|
521
|
-
t ? this.config =
|
|
430
|
+
t ? this.config = m({}, this.config, e) : this.config = e, this.tags.forEach((i) => {
|
|
522
431
|
i.updateConfig();
|
|
523
432
|
}), this.tagsDo(this.tags, (i) => i.updateVisible());
|
|
524
433
|
}
|
|
@@ -526,7 +435,7 @@ class Us extends R {
|
|
|
526
435
|
* @description 改变全局配置
|
|
527
436
|
*/
|
|
528
437
|
changeGlobalConfig(e, t = !0) {
|
|
529
|
-
t ? this.config.globalConfig =
|
|
438
|
+
t ? this.config.globalConfig = m({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.tags.forEach((i) => {
|
|
530
439
|
i.updateConfig();
|
|
531
440
|
}), this.tagsDo(this.tags, (i) => {
|
|
532
441
|
i.updateVisible();
|
|
@@ -536,14 +445,14 @@ class Us extends R {
|
|
|
536
445
|
* @description 改变类型配置
|
|
537
446
|
*/
|
|
538
447
|
changeContentTypeConfig(e, t, i = !0) {
|
|
539
|
-
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] =
|
|
448
|
+
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = m({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.tags.forEach((o) => {
|
|
540
449
|
o.updateConfig();
|
|
541
450
|
}), this.tagsDo(this.tags, (o) => {
|
|
542
451
|
o.updateVisible();
|
|
543
452
|
});
|
|
544
453
|
}
|
|
545
454
|
show(e) {
|
|
546
|
-
return
|
|
455
|
+
return l(this, null, function* () {
|
|
547
456
|
if (this.checkDisposed())
|
|
548
457
|
return;
|
|
549
458
|
const { userAction: t = !0 } = e != null ? e : {};
|
|
@@ -551,7 +460,7 @@ class Us extends R {
|
|
|
551
460
|
});
|
|
552
461
|
}
|
|
553
462
|
hide(e) {
|
|
554
|
-
return
|
|
463
|
+
return l(this, null, function* () {
|
|
555
464
|
if (this.checkDisposed())
|
|
556
465
|
return;
|
|
557
466
|
const { userAction: t = !0 } = e != null ? e : {};
|
|
@@ -584,10 +493,7 @@ class Us extends R {
|
|
|
584
493
|
this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
|
|
585
494
|
var a;
|
|
586
495
|
return (a = r.tag3DContentSvelte) == null ? void 0 : a.svelteApp.$destroy();
|
|
587
|
-
}), this.tags.forEach((r) =>
|
|
588
|
-
var a;
|
|
589
|
-
(a = r.rectanglePlane) == null || a.editor.disable(), r.cache.clear();
|
|
590
|
-
}), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (t = this.store.disposers) == null || t.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (o = (i = this.store).eventListenerDisposer) == null || o.call(i), this.store.eventListenerDisposer = void 0, (s = (n = this.store).resizeObserverDisposer) == null || s.call(n), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.imagePlaneGroup.remove(...this.imagePlaneGroup.children), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
|
|
496
|
+
}), this.tags.forEach((r) => r.cache.clear()), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (t = this.store.disposers) == null || t.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (o = (i = this.store).eventListenerDisposer) == null || o.call(i), this.store.eventListenerDisposer = void 0, (s = (n = this.store).resizeObserverDisposer) == null || s.call(n), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.imagePlaneGroup.remove(...this.imagePlaneGroup.children), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
|
|
591
497
|
}
|
|
592
498
|
/**
|
|
593
499
|
* @description 闪烁标签
|
|
@@ -595,7 +501,7 @@ class Us extends R {
|
|
|
595
501
|
* @param {Partial<anime.AnimeParams>} animeConfig
|
|
596
502
|
*/
|
|
597
503
|
blinkTagById(e, t) {
|
|
598
|
-
return
|
|
504
|
+
return l(this, null, function* () {
|
|
599
505
|
var i;
|
|
600
506
|
return (i = this.getTagById(e)) == null ? void 0 : i.blink(t);
|
|
601
507
|
});
|
|
@@ -684,7 +590,7 @@ class Us extends R {
|
|
|
684
590
|
* @description 设置 unfolded
|
|
685
591
|
*/
|
|
686
592
|
setUnfolded() {
|
|
687
|
-
return
|
|
593
|
+
return l(this, null, function* () {
|
|
688
594
|
return new Promise((e) => {
|
|
689
595
|
setTimeout(() => {
|
|
690
596
|
this.setUnfoldedByCamera(), e();
|
|
@@ -703,10 +609,7 @@ class Us extends R {
|
|
|
703
609
|
}
|
|
704
610
|
handleDisable() {
|
|
705
611
|
var e, t, i;
|
|
706
|
-
this.pauseCurrentMedia(), this.
|
|
707
|
-
var n;
|
|
708
|
-
return (n = o.rectanglePlane) == null ? void 0 : n.delete();
|
|
709
|
-
}), this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), this.five.scene.remove(this.group), (i = this.TagContainerSvelte) == null || i.$set({ tags: [] }), this.five.needsRender = !0;
|
|
612
|
+
this.pauseCurrentMedia(), this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), this.five.scene.remove(this.group), (i = this.TagContainerSvelte) == null || i.$set({ tags: [] }), this.five.needsRender = !0;
|
|
710
613
|
}
|
|
711
614
|
addResizeListener() {
|
|
712
615
|
if (!this.store.resizeObserverDisposer && !this.store.resizeObserverDisposerAdding) {
|
|
@@ -801,7 +704,7 @@ class Us extends R {
|
|
|
801
704
|
}
|
|
802
705
|
}
|
|
803
706
|
export {
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
707
|
+
$o as PanoTagPluginController,
|
|
708
|
+
$o as default,
|
|
709
|
+
Qo as pluginFlag
|
|
807
710
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./controller/index.js";
|
|
2
|
-
import { pluginFlag as
|
|
3
|
-
import { defaultGlobalConfig as
|
|
4
|
-
import { ContentType as
|
|
2
|
+
import { pluginFlag as op } from "./controller/index.js";
|
|
3
|
+
import { defaultGlobalConfig as rp } from "./typings/tag/TagConfig.js";
|
|
4
|
+
import { ContentType as ip, DimensionType as mp, PointType as np } from "./Archive/deprecated.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
7
7
|
import "../shared-utils/positionToVector3.js";
|
|
@@ -191,98 +191,6 @@ import "./Components/Common/Icon/PanoramaIcon.js";
|
|
|
191
191
|
import "./Components/Tag/CustomTag.js";
|
|
192
192
|
import "../vendor/classnames/index.js";
|
|
193
193
|
import "./controller/Tag/PlaneTag.js";
|
|
194
|
-
import "../Sculpt/index.js";
|
|
195
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
196
|
-
import "../Sculpt/utils/Modules/Cursor.js";
|
|
197
|
-
import "../Sculpt/utils/Modules/DeleteButtonBgBorder.js";
|
|
198
|
-
import "../Sculpt/utils/Modules/DeleteIconSVG.js";
|
|
199
|
-
import "../Object3DHelperPlugin/Controller.js";
|
|
200
|
-
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
201
|
-
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
202
|
-
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
203
|
-
import "../shared-utils/three/boundingBox.js";
|
|
204
|
-
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
205
|
-
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
206
|
-
import "../shared-utils/Object3DHelper/Constants/RenderOrder.js";
|
|
207
|
-
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
208
|
-
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
209
|
-
import "../shared-utils/Object3DHelper/utils/getPoseFromCamera.js";
|
|
210
|
-
import "../shared-utils/clamp.js";
|
|
211
|
-
import "../shared-utils/Object3DHelper/utils/getOrthographicCameraDirection.js";
|
|
212
|
-
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
213
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
214
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
215
|
-
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
216
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
217
|
-
import "../shared-utils/Object3DHelper/utils/cameraHooks.js";
|
|
218
|
-
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
219
|
-
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
220
|
-
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
221
|
-
import "../shared-utils/Object3DHelper/utils/solidGuide.js";
|
|
222
|
-
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
223
|
-
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
224
|
-
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
225
|
-
import "../shared-utils/Object3DHelper/index.js";
|
|
226
|
-
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
227
|
-
import "../shared-utils/math/rad2Deg.js";
|
|
228
|
-
import "../shared-utils/math/deg2Rad.js";
|
|
229
|
-
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
230
|
-
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
231
|
-
import "../shared-utils/three/vectorIsEqual.js";
|
|
232
|
-
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
233
|
-
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
234
|
-
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
235
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
236
|
-
import "../shared-utils/three/recurveFindObject.js";
|
|
237
|
-
import "../Sculpt/Objects/Polyline/index.js";
|
|
238
|
-
import "../Sculpt/Meshes/Polyline.js";
|
|
239
|
-
import "../Sculpt/Meshes/LineWithDots.js";
|
|
240
|
-
import "../Sculpt/Meshes/Point.js";
|
|
241
|
-
import "../shared-utils/three/closeVectors.js";
|
|
242
|
-
import "../Sculpt/Objects/Base/index.js";
|
|
243
|
-
import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
244
|
-
import "../Sculpt/Objects/Polyline/Editor.js";
|
|
245
|
-
import "../Sculpt/Objects/Line/Editor.js";
|
|
246
|
-
import "../Sculpt/Objects/Base/Editor.js";
|
|
247
|
-
import "../shared-utils/three/vector3ToArray.js";
|
|
248
|
-
import "../Sculpt/Objects/Point/index.js";
|
|
249
|
-
import "../Sculpt/Objects/Point/Editor.js";
|
|
250
|
-
import "../Sculpt/Objects/Polygon/index.js";
|
|
251
|
-
import "../Sculpt/Meshes/Area.js";
|
|
252
|
-
import "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
253
|
-
import "../Sculpt/Meshes/Polygon.js";
|
|
254
|
-
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
255
|
-
import "../shared-utils/three/earcut3D.js";
|
|
256
|
-
import "../vendor/earcut/src/earcut.js";
|
|
257
|
-
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
258
|
-
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
259
|
-
import "../shared-utils/three/geometryUtil.js";
|
|
260
|
-
import "../Sculpt/Objects/Polygon/Editor.js";
|
|
261
|
-
import "../Sculpt/Objects/Prism/index.js";
|
|
262
|
-
import "../Sculpt/Meshes/Prism.js";
|
|
263
|
-
import "../shared-utils/three/core/PrismGeometry.js";
|
|
264
|
-
import "../shared-utils/three/core/polygonVertex.js";
|
|
265
|
-
import "../shared-utils/three/core/PrismAnimationGeometry.js";
|
|
266
|
-
import "../Sculpt/Editors/PrismMeshEditor.js";
|
|
267
|
-
import "../Sculpt/Objects/Rectangle/index.js";
|
|
268
|
-
import "../Sculpt/Editors/RectangleMeshEditor.js";
|
|
269
|
-
import "../Sculpt/Meshes/Rectangle.js";
|
|
270
|
-
import "../Sculpt/utils/three/RectangleGeometry.js";
|
|
271
|
-
import "../Sculpt/Meshes/RectangleWithEdge.js";
|
|
272
|
-
import "../Sculpt/utils/sortPositionsByCameraPosition.js";
|
|
273
|
-
import "../Sculpt/Objects/Circle/index.js";
|
|
274
|
-
import "../Sculpt/Editors/CircleMeshEditor.js";
|
|
275
|
-
import "../Sculpt/Meshes/CircleWithEdge.js";
|
|
276
|
-
import "../Sculpt/Meshes/Circle.js";
|
|
277
|
-
import "../Sculpt/utils/radiusToSegments.js";
|
|
278
|
-
import "../Sculpt/Objects/Cylinder/index.js";
|
|
279
|
-
import "../Sculpt/Meshes/Cylinder.js";
|
|
280
|
-
import "../Sculpt/Editors/CylinderMeshEditor.js";
|
|
281
|
-
import "../Sculpt/Objects/Box/index.js";
|
|
282
|
-
import "../Sculpt/Editors/BoxMeshEditor.js";
|
|
283
|
-
import "../Sculpt/Meshes/Box.js";
|
|
284
|
-
import "../shared-utils/forReverseEach.js";
|
|
285
|
-
import "../Sculpt/Objects/Line/index.js";
|
|
286
194
|
import "./Components/TagContainer.js";
|
|
287
195
|
import "./Components/TagItem.js";
|
|
288
196
|
import "./Components/Common/TagPoint.js";
|
|
@@ -300,15 +208,16 @@ import "./Components/Common/TagPopover/TagPopoverToolBar.js";
|
|
|
300
208
|
import "./Components/Common/TagPopover/ArrowRightIcon.js";
|
|
301
209
|
import "./Components/Common/TagPopover/ShareIcon.js";
|
|
302
210
|
import "./utils/popoverContainer.js";
|
|
211
|
+
import "../shared-utils/three/vector3ToArray.js";
|
|
303
212
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
304
|
-
const
|
|
213
|
+
const Zr = (o, t) => new r(o, t);
|
|
305
214
|
export {
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
215
|
+
ip as ContentType,
|
|
216
|
+
mp as DimensionType,
|
|
217
|
+
Zr as PanoTagPlugin,
|
|
309
218
|
r as PanoTagPluginController,
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
219
|
+
np as PointType,
|
|
220
|
+
Zr as default,
|
|
221
|
+
rp as defaultGlobalConfig,
|
|
222
|
+
op as pluginFlag
|
|
314
223
|
};
|
|
@@ -14,30 +14,22 @@ type ImageTexture = Overwrite<THREE.Texture, {
|
|
|
14
14
|
declare abstract class MediaPlane extends THREE.Mesh<THREE.BufferGeometry | THREE.Geometry, THREE.MeshBasicMaterial> {
|
|
15
15
|
name: string;
|
|
16
16
|
src?: string;
|
|
17
|
-
objectFit: ObjectFit;
|
|
18
17
|
removeFromParent(): this;
|
|
19
18
|
dispose(): void;
|
|
20
19
|
}
|
|
21
20
|
declare class ImagePlane extends MediaPlane {
|
|
22
21
|
name: string;
|
|
23
|
-
originRatio?: number;
|
|
24
22
|
constructor(imageSrc: string, cornerPoints: Vector3[], params?: {
|
|
25
23
|
objectFit?: ObjectFit;
|
|
26
24
|
resolveZFighting?: boolean;
|
|
27
25
|
});
|
|
28
|
-
changePointsOrParams(props: {
|
|
29
|
-
cornerPoints: Vector3[];
|
|
30
|
-
params?: {
|
|
31
|
-
objectFit?: ObjectFit;
|
|
32
|
-
resolveZFighting?: boolean;
|
|
33
|
-
};
|
|
34
|
-
}): void;
|
|
35
26
|
}
|
|
36
27
|
declare class VideoPlane extends MediaPlane {
|
|
37
28
|
readonly isVideoPlane = true;
|
|
38
29
|
name: string;
|
|
39
30
|
videoInstance?: HTMLVideoElement;
|
|
40
31
|
onVideoReady?: (videoInstance?: HTMLVideoElement) => void;
|
|
32
|
+
private objectFit;
|
|
41
33
|
private buttonSrc;
|
|
42
34
|
private videoCoverSrc?;
|
|
43
35
|
private domEvents?;
|
|
@@ -71,15 +63,5 @@ declare class VideoPlane extends MediaPlane {
|
|
|
71
63
|
private addButtonMesh;
|
|
72
64
|
private getImageTexture;
|
|
73
65
|
private getVideoTexture;
|
|
74
|
-
changePointsOrParams(props: {
|
|
75
|
-
cornerPoints: Vector3[];
|
|
76
|
-
params?: {
|
|
77
|
-
objectFit?: ObjectFit;
|
|
78
|
-
};
|
|
79
|
-
}): Promise<void>;
|
|
80
|
-
private updateAllMeshes;
|
|
81
|
-
private updateVideoMesh;
|
|
82
|
-
private updateCoverMesh;
|
|
83
|
-
private updateButtonMesh;
|
|
84
66
|
}
|
|
85
67
|
export { ImagePlane, VideoPlane };
|