@realsee/dnalogel 3.59.11-alpha.0 → 3.59.11-alpha.2
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/index.cjs.js +4 -4
- package/dist/index.js +14 -12
- package/dist/index.umd.js +4 -4
- 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/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 +3 -3
- 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.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.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/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.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/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.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.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.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.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.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/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.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/GuideLinePluginType.RouteConfig.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.EventMap.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/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/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/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.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.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.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/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/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/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/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 +1 -1
- 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/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/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.ActionIfNoModelUnderMouse.html +1 -1
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- 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.animeMap.html +1 -1
- 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/PanoTagPlugin/controller/Tag/BaseTag.js +11 -10
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +2 -2
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +60 -58
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +1 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
- package/libs/PanoTagPlugin/controller/index.js +42 -43
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
var I = Object.defineProperty,
|
|
2
|
-
var
|
|
1
|
+
var I = Object.defineProperty, R = Object.defineProperties;
|
|
2
|
+
var V = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var P = Object.getOwnPropertySymbols;
|
|
4
4
|
var F = Object.prototype.hasOwnProperty, M = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var y = (n,
|
|
6
|
-
for (var t in
|
|
7
|
-
F.call(
|
|
5
|
+
var y = (n, e, t) => e in n ? I(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, f = (n, e) => {
|
|
6
|
+
for (var t in e || (e = {}))
|
|
7
|
+
F.call(e, t) && y(n, t, e[t]);
|
|
8
8
|
if (P)
|
|
9
|
-
for (var t of P(
|
|
10
|
-
M.call(
|
|
9
|
+
for (var t of P(e))
|
|
10
|
+
M.call(e, t) && y(n, t, e[t]);
|
|
11
11
|
return n;
|
|
12
|
-
}, g = (n,
|
|
13
|
-
var D = (n,
|
|
12
|
+
}, g = (n, e) => R(n, V(e));
|
|
13
|
+
var D = (n, e, t) => new Promise((a, r) => {
|
|
14
14
|
var p = (s) => {
|
|
15
15
|
try {
|
|
16
|
-
|
|
16
|
+
i(t.next(s));
|
|
17
17
|
} catch (m) {
|
|
18
18
|
r(m);
|
|
19
19
|
}
|
|
20
20
|
}, o = (s) => {
|
|
21
21
|
try {
|
|
22
|
-
|
|
22
|
+
i(t.throw(s));
|
|
23
23
|
} catch (m) {
|
|
24
24
|
r(m);
|
|
25
25
|
}
|
|
26
|
-
},
|
|
27
|
-
|
|
26
|
+
}, i = (s) => s.done ? a(s.value) : Promise.resolve(s.value).then(p, o);
|
|
27
|
+
i((t = t.apply(n, e)).next());
|
|
28
28
|
});
|
|
29
29
|
import { CONST as k } from "../../../shared-utils/constants.js";
|
|
30
30
|
import { CSS3DObjectPlus as E } from "../../../shared-utils/CSS3DRender/CSS3DObject.js";
|
|
31
31
|
import { anyPositionToVector3 as w, arrayPositionToVector3 as b } from "../../../shared-utils/positionToVector3.js";
|
|
32
32
|
import "three";
|
|
33
|
-
import { planeNormal as
|
|
34
|
-
import { VideoPlane as
|
|
35
|
-
import
|
|
33
|
+
import { planeNormal as G } from "../../utils/planeNormal.js";
|
|
34
|
+
import { VideoPlane as j, ImagePlane as N } from "../../utils/model/mediaPlane.js";
|
|
35
|
+
import _ from "../../Components/Tag/index.js";
|
|
36
36
|
import { BaseTag as A } from "./BaseTag.js";
|
|
37
37
|
import "../../../shared-utils/tag.js";
|
|
38
38
|
import "hammerjs";
|
|
@@ -45,7 +45,7 @@ import "animejs";
|
|
|
45
45
|
import { waitFiveModelLoaded as S } from "../../../shared-utils/five/fiveModelLoad.js";
|
|
46
46
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
47
47
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
48
|
-
import { initialCSS3DRender as
|
|
48
|
+
import { initialCSS3DRender as x } from "../../../shared-utils/CSS3DRender/index.js";
|
|
49
49
|
import "../../../shared-utils/even.js";
|
|
50
50
|
import "../../../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
51
51
|
import "../../../shared-utils/three/centerPoint.js";
|
|
@@ -192,44 +192,46 @@ import "../../../shared-utils/five/getFloorIndex.js";
|
|
|
192
192
|
import "../../../shared-utils/safeObj.js";
|
|
193
193
|
import "../../utils/Cache.js";
|
|
194
194
|
import "../../../shared-utils/promise/withResolvers.js";
|
|
195
|
-
const
|
|
196
|
-
class
|
|
197
|
-
constructor(
|
|
198
|
-
super(
|
|
195
|
+
const B = /* @__PURE__ */ new Map(), L = /* @__PURE__ */ new Map();
|
|
196
|
+
class Zi extends A {
|
|
197
|
+
constructor(e, t) {
|
|
198
|
+
super(e, t), this.state.unfolded = !0, this.loadModel();
|
|
199
199
|
}
|
|
200
200
|
applyVisible() {
|
|
201
|
-
var t, a, r, p, o,
|
|
202
|
-
this.computeRenderType() === "Mesh" ? ((a = (t = this.data.mediaData) == null ? void 0 : t[0]) == null ? void 0 : a.type) === "Video" ? this.renderVideoPlane() : ((p = (r = this.data.mediaData) == null ? void 0 : r[0]) == null ? void 0 : p.type) === "Image" && this.renderImagePlane() : ((o = this.tag3DContentSvelte) == null || o.svelteApp.$set({ tag: this, state: this.plugin.state, temporaryState: this.plugin.temporaryState }), (
|
|
201
|
+
var t, a, r, p, o, i;
|
|
202
|
+
this.computeRenderType() === "Mesh" ? ((a = (t = this.data.mediaData) == null ? void 0 : t[0]) == null ? void 0 : a.type) === "Video" ? this.renderVideoPlane() : ((p = (r = this.data.mediaData) == null ? void 0 : r[0]) == null ? void 0 : p.type) === "Image" && this.renderImagePlane() : ((o = this.tag3DContentSvelte) == null || o.svelteApp.$set({ tag: this, state: this.plugin.state, temporaryState: this.plugin.temporaryState }), (i = this.tag3DContentSvelte) != null && i.css3DInstance && (this.tag3DContentSvelte.css3DInstance.visible = this.temporaryState.visible && this.state.visible && this.enabled, this.five.needsRender = !0));
|
|
203
203
|
}
|
|
204
|
-
set(
|
|
205
|
-
super.set(
|
|
206
|
-
this.tag3DContentSvelte && (
|
|
204
|
+
set(e, t = !0) {
|
|
205
|
+
super.set(e, t), S(this.five).then(() => {
|
|
206
|
+
this.tag3DContentSvelte && (e.data ? this.tag3DContentSvelte.svelteApp.$set({ tag: this, state: this.plugin.state, temporaryState: this.plugin.temporaryState }) : e.position && this.loadModel());
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
|
-
setData(...
|
|
210
|
-
var a, r, p, o,
|
|
211
|
-
super.setData(...
|
|
209
|
+
setData(...e) {
|
|
210
|
+
var a, r, p, o, i;
|
|
211
|
+
super.setData(...e), this.computeRenderType() === "Mesh" ? ((r = (a = this.data.mediaData) == null ? void 0 : a[0]) == null ? void 0 : r.type) === "Video" ? this.renderVideoPlane() : ((o = (p = this.data.mediaData) == null ? void 0 : p[0]) == null ? void 0 : o.type) === "Image" && this.renderImagePlane() : (i = this.tag3DContentSvelte) == null || i.svelteApp.$set({ tag: this });
|
|
212
212
|
}
|
|
213
213
|
loadModel() {
|
|
214
214
|
return D(this, null, function* () {
|
|
215
|
-
var t, a, r, p, o,
|
|
215
|
+
var t, a, r, p, o, i;
|
|
216
216
|
if (yield S(this.five), this.computeRenderType() === "Mesh")
|
|
217
217
|
((a = (t = this.data.mediaData) == null ? void 0 : t[0]) == null ? void 0 : a.type) === "Video" ? this.renderVideoPlane() : ((p = (r = this.data.mediaData) == null ? void 0 : r[0]) == null ? void 0 : p.type) === "Image" && this.renderImagePlane();
|
|
218
218
|
else {
|
|
219
|
-
|
|
219
|
+
x(this.five);
|
|
220
220
|
const s = this.position.map(w);
|
|
221
|
-
(
|
|
221
|
+
(i = (o = this.tag3DContentSvelte) == null ? void 0 : o.dispose) == null || i.call(o);
|
|
222
222
|
const m = document.createElement("div");
|
|
223
223
|
m.classList.add("tag-media-container");
|
|
224
224
|
const h = "black";
|
|
225
225
|
m.style.backgroundColor = h, m.style.border = `3px solid ${h}`;
|
|
226
|
-
const
|
|
227
|
-
|
|
226
|
+
const l = g(f({}, this.config.tag3DConfig), { mode: "behind", cornerPoints: s, container: m }), C = this.computeRenderType() === "BehindDom" || l.mode === "behind" ? "behind" : "front", d = new E(g(f({}, l), { mode: C }));
|
|
227
|
+
d.__DEBUG_TAG__ = this;
|
|
228
|
+
const u = this.computeNormal();
|
|
229
|
+
d.position.add(u.clone().setLength(k.Z_FIGHTING_OFFSET)), this.plugin.group.add(d);
|
|
228
230
|
let c;
|
|
229
|
-
|
|
231
|
+
d.mode === "behind" && this.config.clickable !== !1 && (c = this.addObjectClickHandler(this, d, (T) => {
|
|
230
232
|
this.plugin.hooks.emit("click", { event: T, target: "TagContent", tag: this });
|
|
231
233
|
}));
|
|
232
|
-
const v = new
|
|
234
|
+
const v = new _({
|
|
233
235
|
target: m,
|
|
234
236
|
props: {
|
|
235
237
|
tag: this,
|
|
@@ -243,54 +245,54 @@ class Ze extends A {
|
|
|
243
245
|
this.tag3DContentSvelte = {
|
|
244
246
|
svelteApp: v,
|
|
245
247
|
domContainer: {
|
|
246
|
-
css3DObject:
|
|
248
|
+
css3DObject: d
|
|
247
249
|
},
|
|
248
|
-
css3DInstance:
|
|
250
|
+
css3DInstance: d,
|
|
249
251
|
initialNormal: u,
|
|
250
252
|
currentNormal: u,
|
|
251
253
|
dispose: () => {
|
|
252
|
-
v.$destroy(),
|
|
254
|
+
v.$destroy(), d.dispose(), c == null || c();
|
|
253
255
|
}
|
|
254
256
|
}, this.five.needsRender = !0;
|
|
255
257
|
}
|
|
256
258
|
});
|
|
257
259
|
}
|
|
258
260
|
renderVideoPlane() {
|
|
259
|
-
var
|
|
260
|
-
const
|
|
261
|
-
if (!
|
|
261
|
+
var i;
|
|
262
|
+
const e = this.data.mediaData[0];
|
|
263
|
+
if (!e)
|
|
262
264
|
return;
|
|
263
|
-
const { url: t } =
|
|
265
|
+
const { url: t } = e;
|
|
264
266
|
if (!t)
|
|
265
267
|
return;
|
|
266
268
|
const a = this.currentVisible, r = (() => !!(this.mediaPlane && !a))(), p = (() => !!(!this.mediaPlane && a))(), o = (() => !!(this.mediaPlane && this.mediaPlane.src !== t))();
|
|
267
269
|
if ((r || o) && this.mediaPlane && (this.plugin.imagePlaneGroup.remove(this.mediaPlane), this.mediaPlane.dispose(), this.mediaPlane.removeFromParent(), this.mediaPlane = void 0), p || o) {
|
|
268
|
-
const s = this.position.map(b), m = new
|
|
269
|
-
videoCoverSrc:
|
|
270
|
+
const s = this.position.map(b), m = new j(t, s, {
|
|
271
|
+
videoCoverSrc: e.videoCoverUrl,
|
|
270
272
|
playButton: this.data.playIcon,
|
|
271
|
-
paused: !((
|
|
273
|
+
paused: !((i = this.data.autoplayConfig) != null && i.autoplayVideo),
|
|
272
274
|
objectFit: this.data.objectFit,
|
|
273
|
-
videoTextureMap:
|
|
274
|
-
ImageTextureMap:
|
|
275
|
+
videoTextureMap: B,
|
|
276
|
+
ImageTextureMap: L,
|
|
275
277
|
domEvents: this.plugin.domEvents
|
|
276
278
|
});
|
|
277
|
-
m.onVideoReady = (
|
|
278
|
-
|
|
279
|
+
m.onVideoReady = (l) => {
|
|
280
|
+
l.addEventListener("play", () => this.plugin.mediaStore.set({ currentMediaElement: m.videoInstance }));
|
|
279
281
|
};
|
|
280
|
-
const h = (
|
|
282
|
+
const h = (l) => (this.five.on("renderFrame", l), () => this.five.off("renderFrame", l));
|
|
281
283
|
m.initialRenderHooks(h), this.mediaPlane = m, this.play = () => m.play(), this.pause = () => m.pause(), this.plugin.imagePlaneGroup.add(this.mediaPlane);
|
|
282
284
|
}
|
|
283
285
|
this.five.needsRender = !0;
|
|
284
286
|
}
|
|
285
287
|
renderImagePlane() {
|
|
286
|
-
const
|
|
287
|
-
if (!
|
|
288
|
+
const e = this.data.mediaData[0];
|
|
289
|
+
if (!e)
|
|
288
290
|
return;
|
|
289
|
-
const { url: t } =
|
|
291
|
+
const { url: t } = e;
|
|
290
292
|
if (!t)
|
|
291
293
|
return;
|
|
292
|
-
const a = this.position.map(b), r = this.currentVisible, p = (() => !!(this.mediaPlane && !r))(), o = (() => !!(!this.mediaPlane && r))(),
|
|
293
|
-
(p ||
|
|
294
|
+
const a = this.position.map(b), r = this.currentVisible, p = (() => !!(this.mediaPlane && !r))(), o = (() => !!(!this.mediaPlane && r))(), i = (() => !!(this.mediaPlane && this.mediaPlane.src !== t))();
|
|
295
|
+
(p || i) && this.mediaPlane && (this.plugin.imagePlaneGroup.remove(this.mediaPlane), this.mediaPlane.dispose(), this.mediaPlane.removeFromParent(), this.mediaPlane = void 0), (o || i) && (this.mediaPlane = new N(t, a, { objectFit: this.data.objectFit }), this.getConfig().clickable !== !1 && this.plugin.domEvents.addAutoBindEventListener(
|
|
294
296
|
this.mediaPlane,
|
|
295
297
|
"click",
|
|
296
298
|
(s) => {
|
|
@@ -300,9 +302,9 @@ class Ze extends A {
|
|
|
300
302
|
), this.plugin.imagePlaneGroup.add(this.mediaPlane)), this.five.needsRender = !0;
|
|
301
303
|
}
|
|
302
304
|
computeNormal() {
|
|
303
|
-
return
|
|
305
|
+
return G(this.position);
|
|
304
306
|
}
|
|
305
307
|
}
|
|
306
308
|
export {
|
|
307
|
-
|
|
309
|
+
Zi as PlaneTag
|
|
308
310
|
};
|
|
@@ -100,7 +100,7 @@ class zt extends g {
|
|
|
100
100
|
}
|
|
101
101
|
applyVisible() {
|
|
102
102
|
var t, i;
|
|
103
|
-
this.currentVisible && this.updateScreenPosition(), (t = this.tag3DContentSvelte) != null && t.css3DInstance && (this.tag3DContentSvelte.css3DInstance.visible = this.temporaryState.visible && this.state.visible), (i = this.tag3DContentSvelte) == null || i.svelteApp.$set({
|
|
103
|
+
this.currentVisible && this.updateScreenPosition(), (t = this.tag3DContentSvelte) != null && t.css3DInstance && (this.tag3DContentSvelte.css3DInstance.visible = this.temporaryState.visible && this.state.visible && this.enabled), (i = this.tag3DContentSvelte) == null || i.svelteApp.$set({
|
|
104
104
|
state: this.plugin.state,
|
|
105
105
|
temporaryState: this.temporaryState
|
|
106
106
|
}), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
|
|
@@ -122,7 +122,7 @@ class Bt extends l {
|
|
|
122
122
|
clearUnusedPanelTag() {
|
|
123
123
|
this.filter2DPointTag.forEach((t) => {
|
|
124
124
|
var r;
|
|
125
|
-
(r = t.tag3DContentSvelte) == null || r.
|
|
125
|
+
(r = t.tag3DContentSvelte) == null || r.dispose(), t.tag3DContentSvelte = void 0;
|
|
126
126
|
});
|
|
127
127
|
for (const [t, r] of this.store.css3DRenderDisposer) {
|
|
128
128
|
const e = this.getTagById(t);
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
var S = Object.defineProperty,
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
var S = Object.defineProperty, P = Object.defineProperties;
|
|
2
|
+
var D = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var v = Object.getOwnPropertySymbols;
|
|
4
4
|
var U = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var g = (h, a, e) => a in h ? S(h, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[a] = e, f = (h, a) => {
|
|
6
6
|
for (var e in a || (a = {}))
|
|
7
|
-
U.call(a, e) &&
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
A.call(a, e) &&
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
var p = (
|
|
14
|
-
var l = (
|
|
7
|
+
U.call(a, e) && g(h, e, a[e]);
|
|
8
|
+
if (v)
|
|
9
|
+
for (var e of v(a))
|
|
10
|
+
A.call(a, e) && g(h, e, a[e]);
|
|
11
|
+
return h;
|
|
12
|
+
}, c = (h, a) => P(h, D(a));
|
|
13
|
+
var p = (h, a, e) => (g(h, typeof a != "symbol" ? a + "" : a, e), e);
|
|
14
|
+
var l = (h, a, e) => new Promise((t, i) => {
|
|
15
15
|
var o = (r) => {
|
|
16
16
|
try {
|
|
17
17
|
n(e.next(r));
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
18
|
+
} catch (d) {
|
|
19
|
+
i(d);
|
|
20
20
|
}
|
|
21
21
|
}, s = (r) => {
|
|
22
22
|
try {
|
|
23
23
|
n(e.throw(r));
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
24
|
+
} catch (d) {
|
|
25
|
+
i(d);
|
|
26
26
|
}
|
|
27
27
|
}, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(o, s);
|
|
28
|
-
n((e = e.apply(
|
|
28
|
+
n((e = e.apply(h, a)).next());
|
|
29
29
|
});
|
|
30
|
-
import * as
|
|
30
|
+
import * as u from "three";
|
|
31
31
|
import { objectAssignDeepExports as m } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
32
32
|
import { arrayPositionToVector3 as E } from "../../shared-utils/positionToVector3.js";
|
|
33
33
|
import { isModelTag as k, isMediaModelTag as F } from "../utils/tag/tagCheck.js";
|
|
34
34
|
import { debounce as w } from "../utils/debounce.js";
|
|
35
35
|
import { throttle as _ } from "../utils/throttle.js";
|
|
36
|
-
import L, { getTagStickType as
|
|
37
|
-
import { generateBlankAudio as
|
|
38
|
-
import { resizeObserver as
|
|
36
|
+
import L, { getTagStickType as I } from "../utils/tag/format.js";
|
|
37
|
+
import { generateBlankAudio as M, AudioNamespace as B } from "../../shared-utils/audio.js";
|
|
38
|
+
import { resizeObserver as y } from "../../shared-utils/dom/resizeObserver.js";
|
|
39
39
|
import { TagRender as O } from "./TagRender.js";
|
|
40
40
|
import "../../shared-utils/tag.js";
|
|
41
41
|
import { isModelLike as R } from "../../shared-utils/five/mode.js";
|
|
@@ -50,7 +50,7 @@ import { waitFiveModelLoaded as G } from "../../shared-utils/five/fiveModelLoad.
|
|
|
50
50
|
import { nextFrame as N } from "../../shared-utils/animationFrame/index.js";
|
|
51
51
|
import "../../shared-utils/five/FivePuppet.js";
|
|
52
52
|
import { DebugUtil as z } from "../utils/DebugUtil.js";
|
|
53
|
-
import { safeObj as
|
|
53
|
+
import { safeObj as b } from "../../shared-utils/safeObj.js";
|
|
54
54
|
import { PointTag as V } from "./Tag/PointTag.js";
|
|
55
55
|
import { ModelTag as j } from "./Tag/ModelTag.js";
|
|
56
56
|
import { PlaneTag as Q } from "./Tag/PlaneTag.js";
|
|
@@ -213,7 +213,7 @@ import "../Components/Tag/CustomTag.js";
|
|
|
213
213
|
import "../../vendor/classnames/index.js";
|
|
214
214
|
import "../Components/TagItem.js";
|
|
215
215
|
import "../Components/Common/TagPoint.js";
|
|
216
|
-
const
|
|
216
|
+
const T = "Dnalogel-PanoTagPlugin", yo = (h) => `${T}--${h}`;
|
|
217
217
|
class bo extends O {
|
|
218
218
|
constructor(e, t) {
|
|
219
219
|
super(e);
|
|
@@ -268,16 +268,16 @@ class bo extends O {
|
|
|
268
268
|
var t;
|
|
269
269
|
return (t = e.getConfig().modelConfig) == null ? void 0 : t.autoLookAtEnabled;
|
|
270
270
|
}).forEach((e) => {
|
|
271
|
-
var
|
|
272
|
-
const t = new
|
|
271
|
+
var d;
|
|
272
|
+
const t = new u.Mesh(new u.BoxGeometry(), new u.MeshBasicMaterial()), i = (d = e.model) == null ? void 0 : d.object;
|
|
273
273
|
if (!i)
|
|
274
274
|
return;
|
|
275
275
|
t.position.copy(i.position), t.quaternion.copy(i.quaternion);
|
|
276
276
|
const o = this.five.camera.position;
|
|
277
277
|
t.lookAt(o.clone().setY(t.position.y));
|
|
278
278
|
const s = i.quaternion.clone(), n = t.quaternion.clone(), r = W();
|
|
279
|
-
r.onUpdate(({ progress:
|
|
280
|
-
i.quaternion.copy(s.clone().slerp(n,
|
|
279
|
+
r.onUpdate(({ progress: C }) => {
|
|
280
|
+
i.quaternion.copy(s.clone().slerp(n, C));
|
|
281
281
|
}), r.play();
|
|
282
282
|
});
|
|
283
283
|
}));
|
|
@@ -307,15 +307,15 @@ class bo extends O {
|
|
|
307
307
|
if (i.length === 0)
|
|
308
308
|
r = n;
|
|
309
309
|
else
|
|
310
|
-
for (const
|
|
311
|
-
r[
|
|
310
|
+
for (const d of i)
|
|
311
|
+
r[d] = n[d];
|
|
312
312
|
this.TagContainerSvelte.$set(r);
|
|
313
313
|
} else {
|
|
314
314
|
if (!this.container)
|
|
315
315
|
return console.error("updateRenderPlaneTag: tag2DContainer not found");
|
|
316
316
|
this.TagContainerSvelte = new $({
|
|
317
317
|
target: this.container,
|
|
318
|
-
props:
|
|
318
|
+
props: c(f({}, n), { state: c(f({}, this.state), { enabled: !1 }) })
|
|
319
319
|
}), N(() => {
|
|
320
320
|
var r;
|
|
321
321
|
(r = this.TagContainerSvelte) == null || r.$set({ state: this.state });
|
|
@@ -324,9 +324,9 @@ class bo extends O {
|
|
|
324
324
|
}
|
|
325
325
|
}), this.renderQueue.clear();
|
|
326
326
|
});
|
|
327
|
-
this.params = m({}, { debug: !1, config: this.config },
|
|
327
|
+
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(), M(1, { namespace: B.PlayAudio });
|
|
328
328
|
try {
|
|
329
|
-
Array.isArray(window.__PANOTAGPLUGIN_DEBUG_LIST__) || (window.__PANOTAGPLUGIN_DEBUG_LIST__ = []), this.NAME =
|
|
329
|
+
Array.isArray(window.__PANOTAGPLUGIN_DEBUG_LIST__) || (window.__PANOTAGPLUGIN_DEBUG_LIST__ = []), this.NAME = T + "-" + window.__PANOTAGPLUGIN_DEBUG_LIST__.length, window.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), window.__PANOTAGPLUGIN_DEBUG__ || Object.defineProperty(window, "__PANOTAGPLUGIN_DEBUG__", {
|
|
330
330
|
get: function() {
|
|
331
331
|
return window.__PANOTAGPLUGIN_DEBUG_LIST__.sort((i, o) => o.tags.length - i.tags.length)[0];
|
|
332
332
|
}
|
|
@@ -365,7 +365,7 @@ class bo extends O {
|
|
|
365
365
|
addTag(e) {
|
|
366
366
|
return l(this, null, function* () {
|
|
367
367
|
const i = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
|
|
368
|
-
const s =
|
|
368
|
+
const s = I(o);
|
|
369
369
|
if (s === "2DPoint" || s === "3DPoint")
|
|
370
370
|
return new V(this, o);
|
|
371
371
|
if (s === "Model")
|
|
@@ -440,7 +440,7 @@ class bo extends O {
|
|
|
440
440
|
setState(e, t) {
|
|
441
441
|
if (this.checkDisposed())
|
|
442
442
|
return;
|
|
443
|
-
const { userAction: i = !0 } = t != null ? t : {}, o =
|
|
443
|
+
const { userAction: i = !0 } = t != null ? t : {}, o = f({}, this.state);
|
|
444
444
|
this.state = Object.assign(this.state, e), o.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), o.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: i });
|
|
445
445
|
}
|
|
446
446
|
/**
|
|
@@ -449,8 +449,8 @@ class bo extends O {
|
|
|
449
449
|
dispose() {
|
|
450
450
|
var e, t, i, o, s, n;
|
|
451
451
|
this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
|
|
452
|
-
var
|
|
453
|
-
return (
|
|
452
|
+
var d;
|
|
453
|
+
return (d = r.tag3DContentSvelte) == null ? void 0 : d.svelteApp.$destroy();
|
|
454
454
|
}), 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, (n = (s = this.store).resizeObserverDisposer) == null || n.call(s), 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");
|
|
455
455
|
}
|
|
456
456
|
/**
|
|
@@ -581,15 +581,15 @@ class bo extends O {
|
|
|
581
581
|
if (this.store.disposed)
|
|
582
582
|
return;
|
|
583
583
|
const e = this.five.getElement(), t = () => {
|
|
584
|
-
this.state.enabled && (this.filterPointTag.forEach((
|
|
584
|
+
this.state.enabled && (this.filterPointTag.forEach((d) => d.updateScreenPosition({ force: !0 })), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
585
585
|
}, i = () => {
|
|
586
586
|
this.state.enabled && (this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
587
|
-
}, { observe: o, unobserve: s } =
|
|
587
|
+
}, { observe: o, unobserve: s } = y(
|
|
588
588
|
_(() => {
|
|
589
589
|
this.store.resizeObserverDisposer && i();
|
|
590
590
|
}, 500),
|
|
591
591
|
e
|
|
592
|
-
), { observe: n, unobserve: r } =
|
|
592
|
+
), { observe: n, unobserve: r } = y(
|
|
593
593
|
w(() => t(), 400),
|
|
594
594
|
e
|
|
595
595
|
);
|
|
@@ -604,18 +604,17 @@ class bo extends O {
|
|
|
604
604
|
if (t.state && i !== void 0) {
|
|
605
605
|
if (i === !0 && t.screenPosition) {
|
|
606
606
|
const o = t.getConfig().unfoldedConfig;
|
|
607
|
-
|
|
607
|
+
b(o).keep !== "unfolded" && (e = !0);
|
|
608
608
|
}
|
|
609
609
|
t.state.unfolded = i;
|
|
610
610
|
}
|
|
611
611
|
}), e && this.filterPointTag.forEach((t) => {
|
|
612
612
|
const i = t.getConfig().unfoldedConfig;
|
|
613
|
-
typeof i == "object" && (i.autoUnfold || i.autoUnfold === !1 ||
|
|
613
|
+
typeof i == "object" && (i.autoUnfold || i.autoUnfold === !1 || b(i.autoUnfold).enable === !1 || i.keep) || t.state && (t.state.unfolded = !1);
|
|
614
614
|
});
|
|
615
615
|
}
|
|
616
616
|
changeTagMode(e, t) {
|
|
617
|
-
|
|
618
|
-
((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (s = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : s.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (h = this.store.css3DRenderDisposer.get(e.id)) == null || h.forEach((f) => f == null ? void 0 : f()), e.tag3DContentSvelte = void 0);
|
|
617
|
+
e.tag3DContentSvelte.css3DInstance && (e.tag3DContentSvelte.css3DInstance.mode = t);
|
|
619
618
|
}
|
|
620
619
|
/**
|
|
621
620
|
* @description 添加 cameraUpdate, panoArrived 等事件监听
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.59.11-alpha.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.59.11-alpha.2",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|