@realsee/dnalogel 3.59.12-alpha.3 → 3.59.13-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +1 -1
- package/dist/index.cjs.js +71 -77
- package/dist/index.js +10694 -13027
- package/dist/index.umd.js +64 -70
- package/dist/shared-utils/CSS3DRender/CSS3DObject.d.ts +1 -1
- package/dist/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +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/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoTagPluginController.html +2 -2
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.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/AreaMakerPlugin/Controller.js +6 -5
- package/libs/AreaMakerPlugin/index.js +6 -5
- package/libs/AreaMakerPlugin/utils/Item.js +6 -5
- package/libs/CSS3DRenderPlugin/Controller.js +6 -5
- package/libs/CSS3DRenderPlugin/index.js +9 -8
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +14 -13
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +6 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.js +5 -6
- package/libs/CruisePlugin/BaseController.js +8 -7
- package/libs/CruisePlugin/Move.js +6 -5
- package/libs/CruisePlugin/Work.js +6 -5
- package/libs/CruisePlugin/index.js +10 -9
- package/libs/CurrentPanoImagePlugin/Controller.js +6 -5
- package/libs/CurrentPanoImagePlugin/index.js +7 -6
- package/libs/GuideLinePlugin/Controller.js +8 -7
- package/libs/GuideLinePlugin/GuideLineItem.js +6 -5
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +2 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +6 -5
- package/libs/GuideLinePlugin/index.js +10 -9
- package/libs/ModelMakerPlugin/Controller.js +7 -6
- package/libs/ModelMakerPlugin/index.js +7 -6
- package/libs/ModelMakerPlugin/item/prismItem.js +6 -5
- package/libs/ModelTVVideoPlugin/Plugin.js +6 -5
- package/libs/ModelTVVideoPlugin/index.js +5 -4
- package/libs/Object3DHelperPlugin/Controller.js +19 -18
- package/libs/Object3DHelperPlugin/index.js +9 -8
- package/libs/PanoCompassPlugin/Controller.js +6 -5
- package/libs/PanoCompassPlugin/index.js +7 -6
- package/libs/PanoDoorLabelPlugin/Controller.js +6 -5
- package/libs/PanoDoorLabelPlugin/index.js +7 -6
- package/libs/PanoMeasurePlugin/Components/Controller0.js +7 -6
- package/libs/PanoMeasurePlugin/Components/Controller1.js +7 -6
- package/libs/PanoMeasurePlugin/Controller/EditController.js +7 -6
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +17 -16
- package/libs/PanoMeasurePlugin/Controller/index.js +7 -6
- package/libs/PanoMeasurePlugin/Model/area.js +7 -6
- package/libs/PanoMeasurePlugin/Model/polygon.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +4 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +14 -13
- package/libs/PanoMeasurePlugin/index.js +18 -17
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +6 -5
- package/libs/PanoRulerProPlugin/Controller.js +17 -16
- package/libs/PanoRulerProPlugin/RulerItems.js +6 -5
- package/libs/PanoRulerProPlugin/index.js +7 -6
- package/libs/PanoSpatialTagPlugin/Plugin.js +66 -65
- package/libs/PanoSpatialTagPlugin/index.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +6 -5
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +6 -5
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/index.js +7 -6
- package/libs/PanoTagPlugin/Components/TagContainer.js +6 -5
- package/libs/PanoTagPlugin/Components/TagItem.js +6 -5
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +7 -6
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +33 -32
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +19 -18
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +6 -5
- package/libs/PanoTagPlugin/controller/TagRender.js +6 -5
- package/libs/PanoTagPlugin/controller/TagUtil.js +6 -5
- package/libs/PanoTagPlugin/controller/index.js +148 -146
- package/libs/PanoTagPlugin/index.js +15 -14
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +6 -5
- package/libs/PanoVideoPlugin/Controller.js +6 -5
- package/libs/PanoVideoPlugin/VideoMeshController.js +10 -9
- package/libs/PanoVideoPlugin/index.js +9 -8
- package/libs/PipelinePlugin/Controller.js +20 -19
- package/libs/PipelinePlugin/index.js +7 -6
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +6 -5
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +6 -5
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +4 -3
- package/libs/Sculpt/Meshes/Circle.js +3 -3
- package/libs/Sculpt/Meshes/Cylinder.js +3 -3
- package/libs/Sculpt/Meshes/Line.js +3 -3
- package/libs/Sculpt/Meshes/LineWithDots.js +3 -3
- package/libs/Sculpt/Meshes/Point.js +3 -3
- package/libs/Sculpt/Meshes/Polygon.js +3 -3
- package/libs/Sculpt/Meshes/Rectangle.js +3 -3
- package/libs/Sculpt/Objects/Line/Editor.js +3 -3
- package/libs/Sculpt/index.js +3 -3
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -3
- package/libs/base/BasePlugin.js +4 -4
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +6 -5
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +7 -6
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +19 -18
- package/libs/floorplan/ModelFloorplanPlugin/index.js +7 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +15 -14
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +7 -6
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +6 -5
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +7 -6
- package/libs/floorplan/index.js +3 -3
- package/libs/index.js +148 -147
- package/libs/shared-utils/CSS3DRender/CSS3DObject.d.ts +1 -1
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +8 -8
- package/libs/shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js +41 -57
- package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +1 -1
- package/libs/shared-utils/five/index.js +3 -3
- package/libs/shared-utils/five/lookObject.js +3 -3
- package/libs/shared-utils/index.js +3 -3
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/Magnifier.js +5 -5
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +1 -1
- package/libs/shared-utils/three/blink.js +1 -1
- package/libs/shared-utils/three/earcut3D.js +3 -3
- package/libs/shared-utils/three/index.js +3 -3
- package/package.json +5 -5
- package/libs/vendor/animejs/lib/anime.es.js +0 -863
- package/libs/vendor/earcut/src/earcut.js +0 -280
- package/libs/vendor/hammerjs/hammer.js +0 -1189
|
@@ -11,20 +11,20 @@ var g = (h, a, e) => a in h ? S(h, a, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return h;
|
|
12
12
|
}, c = (h, a) => P(h, D(a));
|
|
13
13
|
var p = (h, a, e) => (g(h, typeof a != "symbol" ? a + "" : a, e), e);
|
|
14
|
-
var l = (h, a, e) => new Promise((
|
|
15
|
-
var o = (
|
|
14
|
+
var l = (h, a, e) => new Promise((i, t) => {
|
|
15
|
+
var o = (r) => {
|
|
16
16
|
try {
|
|
17
|
-
n(e.next(
|
|
17
|
+
n(e.next(r));
|
|
18
18
|
} catch (d) {
|
|
19
|
-
|
|
19
|
+
t(d);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, s = (r) => {
|
|
22
22
|
try {
|
|
23
|
-
n(e.throw(
|
|
23
|
+
n(e.throw(r));
|
|
24
24
|
} catch (d) {
|
|
25
|
-
|
|
25
|
+
t(d);
|
|
26
26
|
}
|
|
27
|
-
}, n = (
|
|
27
|
+
}, n = (r) => r.done ? i(r.value) : Promise.resolve(r.value).then(o, s);
|
|
28
28
|
n((e = e.apply(h, a)).next());
|
|
29
29
|
});
|
|
30
30
|
import * as u from "three";
|
|
@@ -39,13 +39,13 @@ 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";
|
|
42
|
-
import "
|
|
42
|
+
import "hammerjs";
|
|
43
43
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
44
|
-
import "
|
|
44
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
45
45
|
import "@realsee/five/line";
|
|
46
46
|
import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
47
47
|
import "../../shared-utils/three/core/Sphere.js";
|
|
48
|
-
import "
|
|
48
|
+
import "animejs";
|
|
49
49
|
import { waitFiveModelLoaded as G } from "../../shared-utils/five/fiveModelLoad.js";
|
|
50
50
|
import { nextFrame as N } from "../../shared-utils/animationFrame/index.js";
|
|
51
51
|
import "../../shared-utils/five/FivePuppet.js";
|
|
@@ -102,6 +102,7 @@ import "../../shared-utils/isNil.js";
|
|
|
102
102
|
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
103
103
|
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
104
104
|
import "../../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
105
|
+
import "../../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
|
|
105
106
|
import "../../shared-utils/createResizeObserver.js";
|
|
106
107
|
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
107
108
|
import "../../Sculpt/Meshes/Line.js";
|
|
@@ -212,9 +213,9 @@ import "../Components/Tag/CustomTag.js";
|
|
|
212
213
|
import "../../vendor/classnames/index.js";
|
|
213
214
|
import "../Components/TagItem.js";
|
|
214
215
|
import "../Components/Common/TagPoint.js";
|
|
215
|
-
const T = "Dnalogel-PanoTagPlugin",
|
|
216
|
-
class
|
|
217
|
-
constructor(e,
|
|
216
|
+
const T = "Dnalogel-PanoTagPlugin", yo = (h) => `${T}--${h}`;
|
|
217
|
+
class bo extends O {
|
|
218
|
+
constructor(e, i) {
|
|
218
219
|
super(e);
|
|
219
220
|
/** state */
|
|
220
221
|
p(this, "state", { enabled: !0, visible: !0 });
|
|
@@ -222,30 +223,30 @@ class yo extends O {
|
|
|
222
223
|
p(this, "debug");
|
|
223
224
|
p(this, "debugUtil", new z(this));
|
|
224
225
|
/** 更改 tag 模型 */
|
|
225
|
-
p(this, "changeTagModel", (e,
|
|
226
|
-
var
|
|
227
|
-
e.data = m({}, e.data,
|
|
226
|
+
p(this, "changeTagModel", (e, i) => l(this, null, function* () {
|
|
227
|
+
var t;
|
|
228
|
+
e.data = m({}, e.data, i), yield (t = e.loadModel) == null ? void 0 : t.call(e);
|
|
228
229
|
}));
|
|
229
230
|
p(this, "handleFiveModeChange", (e) => {
|
|
230
|
-
const
|
|
231
|
-
this.filter2DPointTag.forEach((
|
|
232
|
-
|
|
231
|
+
const i = () => {
|
|
232
|
+
this.filter2DPointTag.forEach((t) => {
|
|
233
|
+
t.state.visible = !1, t.applyVisible();
|
|
233
234
|
}), this.five.ready().then(() => {
|
|
234
|
-
this.tagsDo(this.tags, (
|
|
235
|
-
|
|
235
|
+
this.tagsDo(this.tags, (t) => {
|
|
236
|
+
t.updateVisible(), F(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
|
|
236
237
|
});
|
|
237
238
|
});
|
|
238
239
|
};
|
|
239
|
-
this.tags.length < 500 ?
|
|
240
|
+
this.tags.length < 500 ? i() : this.five.ready().then(() => i());
|
|
240
241
|
});
|
|
241
242
|
p(this, "handleFiveWantsMoveToPano", (e) => {
|
|
242
243
|
if (this.tags.length > 500) {
|
|
243
244
|
this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] });
|
|
244
245
|
return;
|
|
245
246
|
} else
|
|
246
|
-
this.temporaryState.visible = !0, this.tags.forEach((
|
|
247
|
-
|
|
248
|
-
}), this.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.tags.forEach((
|
|
247
|
+
this.temporaryState.visible = !0, this.tags.forEach((i) => {
|
|
248
|
+
i.temporaryState.visible = !0;
|
|
249
|
+
}), this.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.tags.forEach((i) => i.applyVisible());
|
|
249
250
|
});
|
|
250
251
|
p(this, "clickhandler", (e) => {
|
|
251
252
|
e.tag.onClick(e);
|
|
@@ -264,20 +265,20 @@ class yo extends O {
|
|
|
264
265
|
}), this.tagsDo(this.tags, (e) => {
|
|
265
266
|
e.updateVisible();
|
|
266
267
|
}), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }), yield this.setUnfolded(), this.tags.filter(k).filter((e) => {
|
|
267
|
-
var
|
|
268
|
-
return (
|
|
268
|
+
var i;
|
|
269
|
+
return (i = e.getConfig().modelConfig) == null ? void 0 : i.autoLookAtEnabled;
|
|
269
270
|
}).forEach((e) => {
|
|
270
271
|
var d;
|
|
271
|
-
const
|
|
272
|
-
if (!
|
|
272
|
+
const i = new u.Mesh(new u.BoxGeometry(), new u.MeshBasicMaterial()), t = (d = e.model) == null ? void 0 : d.object;
|
|
273
|
+
if (!t)
|
|
273
274
|
return;
|
|
274
|
-
|
|
275
|
+
i.position.copy(t.position), i.quaternion.copy(t.quaternion);
|
|
275
276
|
const o = this.five.camera.position;
|
|
276
|
-
|
|
277
|
-
const
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
}),
|
|
277
|
+
i.lookAt(o.clone().setY(i.position.y));
|
|
278
|
+
const s = t.quaternion.clone(), n = i.quaternion.clone(), r = W();
|
|
279
|
+
r.onUpdate(({ progress: C }) => {
|
|
280
|
+
t.quaternion.copy(s.clone().slerp(n, C));
|
|
281
|
+
}), r.play();
|
|
281
282
|
});
|
|
282
283
|
}));
|
|
283
284
|
/** 楼层切换时,需要更新标签可见性 */
|
|
@@ -288,12 +289,12 @@ class yo extends O {
|
|
|
288
289
|
this.setUnfoldedByCamera(), R(this.five.getCurrentState().mode) && this.tagsDo(this.tags, (e) => e.updateVisible());
|
|
289
290
|
});
|
|
290
291
|
p(this, "render", () => {
|
|
291
|
-
this.renderQueue.forEach((e,
|
|
292
|
-
const { keys:
|
|
293
|
-
if (
|
|
294
|
-
const
|
|
292
|
+
this.renderQueue.forEach((e, i) => {
|
|
293
|
+
const { keys: t } = e;
|
|
294
|
+
if (i === "TagContainerSvelte") {
|
|
295
|
+
const s = this.filterPointTag.filter((r) => r.screenPosition), n = {
|
|
295
296
|
hooks: this.hooks,
|
|
296
|
-
tags:
|
|
297
|
+
tags: s,
|
|
297
298
|
state: this.state,
|
|
298
299
|
temporaryState: this.temporaryState,
|
|
299
300
|
mediaStore: this.mediaStore,
|
|
@@ -302,13 +303,13 @@ class yo extends O {
|
|
|
302
303
|
zIndex: this.params.containerZIndex
|
|
303
304
|
};
|
|
304
305
|
if (this.TagContainerSvelte) {
|
|
305
|
-
let
|
|
306
|
-
if (
|
|
307
|
-
|
|
306
|
+
let r = {};
|
|
307
|
+
if (t.length === 0)
|
|
308
|
+
r = n;
|
|
308
309
|
else
|
|
309
|
-
for (const d of
|
|
310
|
-
|
|
311
|
-
this.TagContainerSvelte.$set(
|
|
310
|
+
for (const d of t)
|
|
311
|
+
r[d] = n[d];
|
|
312
|
+
this.TagContainerSvelte.$set(r);
|
|
312
313
|
} else {
|
|
313
314
|
if (!this.container)
|
|
314
315
|
return console.error("updateRenderPlaneTag: tag2DContainer not found");
|
|
@@ -316,46 +317,46 @@ class yo extends O {
|
|
|
316
317
|
target: this.container,
|
|
317
318
|
props: c(f({}, n), { state: c(f({}, this.state), { enabled: !1 }) })
|
|
318
319
|
}), N(() => {
|
|
319
|
-
var
|
|
320
|
-
(
|
|
320
|
+
var r;
|
|
321
|
+
(r = this.TagContainerSvelte) == null || r.$set({ state: this.state });
|
|
321
322
|
});
|
|
322
323
|
}
|
|
323
324
|
}
|
|
324
325
|
}), this.renderQueue.clear();
|
|
325
326
|
});
|
|
326
|
-
this.params = m({}, { debug: !1, config: this.config }, f({},
|
|
327
|
+
this.params = m({}, { debug: !1, config: this.config }, f({}, i)), this.debug = this.params.debug, this.config = this.params.config, this.debug && this.debugUtil.bindLog(), M(1, { namespace: B.PlayAudio });
|
|
327
328
|
try {
|
|
328
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__", {
|
|
329
330
|
get: function() {
|
|
330
|
-
return window.__PANOTAGPLUGIN_DEBUG_LIST__.sort((
|
|
331
|
+
return window.__PANOTAGPLUGIN_DEBUG_LIST__.sort((t, o) => o.tags.length - t.tags.length)[0];
|
|
331
332
|
}
|
|
332
333
|
});
|
|
333
|
-
} catch (
|
|
334
|
+
} catch (t) {
|
|
334
335
|
}
|
|
335
336
|
}
|
|
336
337
|
appendTo(e) {
|
|
337
|
-
var
|
|
338
|
+
var t, o, s;
|
|
338
339
|
this.debugUtil.addLog("appendTo"), this.container = e;
|
|
339
|
-
const
|
|
340
|
-
|
|
340
|
+
const i = (o = (t = this.TagContainerSvelte) == null ? void 0 : t.$$) == null ? void 0 : o.root;
|
|
341
|
+
i && i !== this.container && ((s = this.TagContainerSvelte) == null || s.$destroy(), this.TagContainerSvelte = void 0);
|
|
341
342
|
}
|
|
342
343
|
/**
|
|
343
344
|
* @description 加载数据
|
|
344
345
|
*/
|
|
345
346
|
load(e) {
|
|
346
347
|
return l(this, null, function* () {
|
|
347
|
-
var
|
|
348
|
+
var t, o;
|
|
348
349
|
this.clearTags();
|
|
349
350
|
try {
|
|
350
351
|
console.debug(this.NAME, " load:", { data: JSON.parse(JSON.stringify(e)) });
|
|
351
|
-
} catch (
|
|
352
|
+
} catch (s) {
|
|
352
353
|
}
|
|
353
354
|
this.config = m({}, this.config, {
|
|
354
|
-
globalConfig: (
|
|
355
|
+
globalConfig: (t = e.globalConfig) != null ? t : {},
|
|
355
356
|
contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
|
|
356
357
|
});
|
|
357
|
-
const
|
|
358
|
-
return this.hooks.emit("loaded"),
|
|
358
|
+
const i = yield this.addTag(e.tagList);
|
|
359
|
+
return this.hooks.emit("loaded"), i;
|
|
359
360
|
});
|
|
360
361
|
}
|
|
361
362
|
/**
|
|
@@ -363,18 +364,18 @@ class yo extends O {
|
|
|
363
364
|
*/
|
|
364
365
|
addTag(e) {
|
|
365
366
|
return l(this, null, function* () {
|
|
366
|
-
const
|
|
367
|
-
const
|
|
368
|
-
if (
|
|
367
|
+
const t = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
|
|
368
|
+
const s = I(o);
|
|
369
|
+
if (s === "2DPoint" || s === "3DPoint")
|
|
369
370
|
return new V(this, o);
|
|
370
|
-
if (
|
|
371
|
+
if (s === "Model")
|
|
371
372
|
return new j(this, o);
|
|
372
|
-
if (
|
|
373
|
+
if (s === "Plane")
|
|
373
374
|
return new Q(this, o);
|
|
374
375
|
});
|
|
375
|
-
return
|
|
376
|
-
var o,
|
|
377
|
-
this.store.eventListenerDisposer && ((
|
|
376
|
+
return t.forEach(L), this.tags.push(...t), this.tagsLengthWillUpdate = !0, G(this.five).then(() => l(this, null, function* () {
|
|
377
|
+
var o, s;
|
|
378
|
+
this.store.eventListenerDisposer && ((s = (o = this.store).eventListenerDisposer) == null || s.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(t, (n) => {
|
|
378
379
|
this.tags.includes(n) && (n.updateVisible(), n.updateZIndex());
|
|
379
380
|
}), this.setUnfolded(), this.addRenderQueue({ type: "TagContainerSvelte" }), this.hooks.emit("tagsLengthChange");
|
|
380
381
|
}));
|
|
@@ -383,26 +384,26 @@ class yo extends O {
|
|
|
383
384
|
/**
|
|
384
385
|
* @description 改变配置
|
|
385
386
|
*/
|
|
386
|
-
changeConfig(e,
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
}), this.tagsDo(this.tags, (
|
|
387
|
+
changeConfig(e, i = !0) {
|
|
388
|
+
i ? this.config = m({}, this.config, e) : this.config = e, this.tags.forEach((t) => {
|
|
389
|
+
t.updateConfig();
|
|
390
|
+
}), this.tagsDo(this.tags, (t) => t.updateVisible());
|
|
390
391
|
}
|
|
391
392
|
/**
|
|
392
393
|
* @description 改变全局配置
|
|
393
394
|
*/
|
|
394
|
-
changeGlobalConfig(e,
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
}), this.tagsDo(this.tags, (
|
|
398
|
-
|
|
395
|
+
changeGlobalConfig(e, i = !0) {
|
|
396
|
+
i ? this.config.globalConfig = m({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.tags.forEach((t) => {
|
|
397
|
+
t.updateConfig();
|
|
398
|
+
}), this.tagsDo(this.tags, (t) => {
|
|
399
|
+
t.updateVisible();
|
|
399
400
|
});
|
|
400
401
|
}
|
|
401
402
|
/**
|
|
402
403
|
* @description 改变类型配置
|
|
403
404
|
*/
|
|
404
|
-
changeContentTypeConfig(e,
|
|
405
|
-
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}),
|
|
405
|
+
changeContentTypeConfig(e, i, t = !0) {
|
|
406
|
+
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), t ? this.config.contentTypeConfig[e] = m({}, this.config.contentTypeConfig[e], i) : this.config.contentTypeConfig[e] = i, this.tags.forEach((o) => {
|
|
406
407
|
o.updateConfig();
|
|
407
408
|
}), this.tagsDo(this.tags, (o) => {
|
|
408
409
|
o.updateVisible();
|
|
@@ -412,55 +413,55 @@ class yo extends O {
|
|
|
412
413
|
return l(this, null, function* () {
|
|
413
414
|
if (this.checkDisposed())
|
|
414
415
|
return;
|
|
415
|
-
const { userAction:
|
|
416
|
-
this.setState({ visible: !0 }, { userAction:
|
|
416
|
+
const { userAction: i = !0 } = e != null ? e : {};
|
|
417
|
+
this.setState({ visible: !0 }, { userAction: i }), this.hooks.emit("show", { userAction: i });
|
|
417
418
|
});
|
|
418
419
|
}
|
|
419
420
|
hide(e) {
|
|
420
421
|
return l(this, null, function* () {
|
|
421
422
|
if (this.checkDisposed())
|
|
422
423
|
return;
|
|
423
|
-
const { userAction:
|
|
424
|
-
this.setState({ visible: !1 }, { userAction:
|
|
424
|
+
const { userAction: i = !0 } = e != null ? e : {};
|
|
425
|
+
this.setState({ visible: !1 }, { userAction: i }), this.hooks.emit("hide", { userAction: i });
|
|
425
426
|
});
|
|
426
427
|
}
|
|
427
428
|
enable(e) {
|
|
428
429
|
if (this.checkDisposed())
|
|
429
430
|
return;
|
|
430
|
-
const { userAction:
|
|
431
|
-
this.setState({ enabled: !0 }, { userAction:
|
|
431
|
+
const { userAction: i = !0 } = e != null ? e : {};
|
|
432
|
+
this.setState({ enabled: !0 }, { userAction: i }), this.hooks.emit("enable", { userAction: i });
|
|
432
433
|
}
|
|
433
434
|
disable(e) {
|
|
434
435
|
if (this.checkDisposed())
|
|
435
436
|
return;
|
|
436
|
-
const { userAction:
|
|
437
|
-
this.setState({ enabled: !1 }, { userAction:
|
|
437
|
+
const { userAction: i = !0 } = e != null ? e : {};
|
|
438
|
+
this.setState({ enabled: !1 }, { userAction: i }), this.hooks.emit("disable", { userAction: i });
|
|
438
439
|
}
|
|
439
|
-
setState(e,
|
|
440
|
+
setState(e, i) {
|
|
440
441
|
if (this.checkDisposed())
|
|
441
442
|
return;
|
|
442
|
-
const { userAction:
|
|
443
|
-
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:
|
|
443
|
+
const { userAction: t = !0 } = i != null ? i : {}, o = f({}, this.state);
|
|
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: t });
|
|
444
445
|
}
|
|
445
446
|
/**
|
|
446
447
|
* @description 销毁
|
|
447
448
|
*/
|
|
448
449
|
dispose() {
|
|
449
|
-
var e,
|
|
450
|
-
this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((
|
|
450
|
+
var e, i, t, o, s, n;
|
|
451
|
+
this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
|
|
451
452
|
var d;
|
|
452
|
-
return (d =
|
|
453
|
-
}), this.tags.forEach((
|
|
453
|
+
return (d = r.tag3DContentSvelte) == null ? void 0 : d.svelteApp.$destroy();
|
|
454
|
+
}), this.tags.forEach((r) => r.cache.clear()), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (i = this.store.disposers) == null || i.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (o = (t = this.store).eventListenerDisposer) == null || o.call(t), 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");
|
|
454
455
|
}
|
|
455
456
|
/**
|
|
456
457
|
* @description 闪烁标签
|
|
457
458
|
* @param {TagId} id
|
|
458
459
|
* @param {Partial<anime.AnimeParams>} animeConfig
|
|
459
460
|
*/
|
|
460
|
-
blinkTagById(e,
|
|
461
|
+
blinkTagById(e, i) {
|
|
461
462
|
return l(this, null, function* () {
|
|
462
|
-
var
|
|
463
|
-
return (
|
|
463
|
+
var t;
|
|
464
|
+
return (t = this.getTagById(e)) == null ? void 0 : t.blink(i);
|
|
464
465
|
});
|
|
465
466
|
}
|
|
466
467
|
/**
|
|
@@ -468,63 +469,63 @@ class yo extends O {
|
|
|
468
469
|
* @param {TagId} id
|
|
469
470
|
* @param {boolean} unfolded
|
|
470
471
|
*/
|
|
471
|
-
changeUnfoldedById(e,
|
|
472
|
-
const
|
|
473
|
-
|
|
472
|
+
changeUnfoldedById(e, i) {
|
|
473
|
+
const t = this.getTagById(e);
|
|
474
|
+
i ? t == null || t.unfold() : t == null || t.fold();
|
|
474
475
|
}
|
|
475
476
|
/**
|
|
476
477
|
* @description 启用/停用指定id的标签
|
|
477
478
|
* @param {TagId} id
|
|
478
479
|
* @param {boolean} enabled
|
|
479
480
|
*/
|
|
480
|
-
changeEnabledById(e,
|
|
481
|
+
changeEnabledById(e, i) {
|
|
481
482
|
var o;
|
|
482
|
-
const
|
|
483
|
-
|
|
483
|
+
const t = this.getTagById(e);
|
|
484
|
+
t && (t.enabled = i, (o = t.hooks) == null || o.emit(i ? "enable" : "disable"));
|
|
484
485
|
}
|
|
485
486
|
/**
|
|
486
487
|
* @description 修改3D标签normal
|
|
487
488
|
* @param {TagId} id
|
|
488
489
|
* @param {ArrayPosition} normal
|
|
489
490
|
*/
|
|
490
|
-
changeTagNormalById(e,
|
|
491
|
-
const
|
|
492
|
-
|
|
491
|
+
changeTagNormalById(e, i) {
|
|
492
|
+
const t = this.getTagById(e);
|
|
493
|
+
t && t.tag3DContentSvelte && (t.tag3DContentSvelte.currentNormal = E(i));
|
|
493
494
|
}
|
|
494
495
|
/**
|
|
495
496
|
* @description 改变data
|
|
496
497
|
*/
|
|
497
|
-
changePositionById(e,
|
|
498
|
-
const
|
|
499
|
-
|
|
498
|
+
changePositionById(e, i) {
|
|
499
|
+
const t = this.getTagById(e);
|
|
500
|
+
t && t.setPosition(i);
|
|
500
501
|
}
|
|
501
502
|
/**
|
|
502
503
|
* @description 改变data
|
|
503
504
|
*/
|
|
504
|
-
changeDataById(e,
|
|
505
|
+
changeDataById(e, i, t = !0) {
|
|
505
506
|
const o = this.getTagById(e);
|
|
506
|
-
o && (o.setData(
|
|
507
|
+
o && (o.setData(i, t), this.clearUnusedPanelTag(), o.hooks.emit("dataChanged", o.data));
|
|
507
508
|
}
|
|
508
509
|
/**
|
|
509
510
|
* @description 改变tag的stickType
|
|
510
511
|
*/
|
|
511
|
-
changeStickTypeById(e,
|
|
512
|
-
this.changeTagById(e,
|
|
512
|
+
changeStickTypeById(e, i, t = !0) {
|
|
513
|
+
this.changeTagById(e, i, t);
|
|
513
514
|
}
|
|
514
515
|
/**
|
|
515
516
|
* @description 改变tag任意属性
|
|
516
517
|
*/
|
|
517
|
-
changeTagById(e,
|
|
518
|
+
changeTagById(e, i, t = !0) {
|
|
518
519
|
const o = this.getTagById(e);
|
|
519
|
-
o && (o.set(
|
|
520
|
+
o && (o.set(i), o.updateVisible(), this.clearUnusedPanelTag(), o.hooks.emit("dataChanged", o.data));
|
|
520
521
|
}
|
|
521
522
|
/**
|
|
522
523
|
* @description 销毁tag
|
|
523
524
|
*/
|
|
524
525
|
destroyTagById(e) {
|
|
525
|
-
(Array.isArray(e) ? e : [e]).forEach((
|
|
526
|
+
(Array.isArray(e) ? e : [e]).forEach((t) => {
|
|
526
527
|
var o;
|
|
527
|
-
return (o = this.getTagById(
|
|
528
|
+
return (o = this.getTagById(t)) == null ? void 0 : o.destroy();
|
|
528
529
|
});
|
|
529
530
|
}
|
|
530
531
|
/**
|
|
@@ -538,9 +539,9 @@ class yo extends O {
|
|
|
538
539
|
*/
|
|
539
540
|
clearTags() {
|
|
540
541
|
var e;
|
|
541
|
-
this.tags.length && (this.tags.forEach((
|
|
542
|
-
var
|
|
543
|
-
(o = (
|
|
542
|
+
this.tags.length && (this.tags.forEach((i) => {
|
|
543
|
+
var t, o, s, n, r;
|
|
544
|
+
(o = (t = i.mediaPlane) == null ? void 0 : t.parent) == null || o.remove(i.mediaPlane), (r = (n = (s = i.model) == null ? void 0 : s.object) == null ? void 0 : n.parent) == null || r.remove(i.model.object);
|
|
544
545
|
}), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (e = this.TagContainerSvelte) == null || e.$destroy(), this.TagContainerSvelte = void 0, this.disposeAllCSS3DContainer()), this.enabledModelTagSet.clear(), this.cache.clear();
|
|
545
546
|
}
|
|
546
547
|
/**
|
|
@@ -565,8 +566,8 @@ class yo extends O {
|
|
|
565
566
|
this.state.enabled = !0, this.store.eventListenerDisposer = this.addEventListener(), this.five.scene.children.includes(this.group) || this.five.scene.add(this.group), this.five.needsRender = !0;
|
|
566
567
|
}
|
|
567
568
|
handleDisable() {
|
|
568
|
-
var e,
|
|
569
|
-
this.pauseCurrentMedia(), this.state.enabled = !1, (
|
|
569
|
+
var e, i, t;
|
|
570
|
+
this.pauseCurrentMedia(), this.state.enabled = !1, (i = (e = this.store).eventListenerDisposer) == null || i.call(e), this.five.scene.remove(this.group), (t = this.TagContainerSvelte) == null || t.$set({ tags: [] }), this.five.needsRender = !0;
|
|
570
571
|
}
|
|
571
572
|
addResizeListener() {
|
|
572
573
|
if (!this.store.resizeObserverDisposer && !this.store.resizeObserverDisposerAdding) {
|
|
@@ -579,54 +580,55 @@ class yo extends O {
|
|
|
579
580
|
addResizeObserver() {
|
|
580
581
|
if (this.store.disposed)
|
|
581
582
|
return;
|
|
582
|
-
const e = this.five.getElement(),
|
|
583
|
+
const e = this.five.getElement(), i = () => {
|
|
583
584
|
this.state.enabled && (this.filterPointTag.forEach((d) => d.updateScreenPosition({ force: !0 })), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
584
|
-
},
|
|
585
|
+
}, t = () => {
|
|
585
586
|
this.state.enabled && (this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
|
|
586
|
-
}, { observe: o, unobserve:
|
|
587
|
+
}, { observe: o, unobserve: s } = y(
|
|
587
588
|
_(() => {
|
|
588
|
-
this.store.resizeObserverDisposer &&
|
|
589
|
+
this.store.resizeObserverDisposer && t();
|
|
589
590
|
}, 500),
|
|
590
591
|
e
|
|
591
|
-
), { observe: n, unobserve:
|
|
592
|
-
w(() =>
|
|
592
|
+
), { observe: n, unobserve: r } = y(
|
|
593
|
+
w(() => i(), 400),
|
|
593
594
|
e
|
|
594
595
|
);
|
|
595
596
|
return o(), n(), () => {
|
|
596
|
-
|
|
597
|
+
s(), r();
|
|
597
598
|
};
|
|
598
599
|
}
|
|
599
600
|
setUnfoldedByCamera() {
|
|
600
601
|
let e = !1;
|
|
601
|
-
this.filterPointTag.forEach((
|
|
602
|
-
const
|
|
603
|
-
if (
|
|
604
|
-
if (
|
|
605
|
-
const o =
|
|
602
|
+
this.filterPointTag.forEach((i) => {
|
|
603
|
+
const t = i.getUnfoldedByCamera();
|
|
604
|
+
if (i.state && t !== void 0) {
|
|
605
|
+
if (t === !0 && i.screenPosition) {
|
|
606
|
+
const o = i.getConfig().unfoldedConfig;
|
|
606
607
|
b(o).keep !== "unfolded" && (e = !0);
|
|
607
608
|
}
|
|
608
|
-
|
|
609
|
+
i.state.unfolded = t;
|
|
609
610
|
}
|
|
610
|
-
}), e && this.filterPointTag.forEach((
|
|
611
|
-
const
|
|
612
|
-
typeof
|
|
611
|
+
}), e && this.filterPointTag.forEach((i) => {
|
|
612
|
+
const t = i.getConfig().unfoldedConfig;
|
|
613
|
+
typeof t == "object" && (t.autoUnfold || t.autoUnfold === !1 || b(t.autoUnfold).enable === !1 || t.keep) || i.state && (i.state.unfolded = !1);
|
|
613
614
|
});
|
|
614
615
|
}
|
|
615
|
-
changeTagMode(e,
|
|
616
|
-
|
|
616
|
+
changeTagMode(e, i) {
|
|
617
|
+
var t;
|
|
618
|
+
(t = e.tag3DContentSvelte) != null && t.css3DInstance && (e.tag3DContentSvelte.css3DInstance.mode = i);
|
|
617
619
|
}
|
|
618
620
|
/**
|
|
619
621
|
* @description 添加 cameraUpdate, panoArrived 等事件监听
|
|
620
622
|
*/
|
|
621
623
|
addEventListener() {
|
|
622
|
-
const { five: e, hooks:
|
|
623
|
-
return this.handleFivePanoArrived(), e.on("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.on("models.refined", this.onFiveEveryReady), e.on("modeChange", this.handleFiveModeChange), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", this.handleFiveCameraUpdate), e.on("cameraFovUpdate", this.handleFiveCameraFovUpdate), e.on("panoArrived", this.handleFivePanoArrived), e.on("panoArrived", this.loadVideoFirstFrame), e.on("render.prepare", this.render),
|
|
624
|
-
|
|
624
|
+
const { five: e, hooks: i } = this, t = x(this.five, this.onFiveEveryReady);
|
|
625
|
+
return this.handleFivePanoArrived(), e.on("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.on("models.refined", this.onFiveEveryReady), e.on("modeChange", this.handleFiveModeChange), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", this.handleFiveCameraUpdate), e.on("cameraFovUpdate", this.handleFiveCameraFovUpdate), e.on("panoArrived", this.handleFivePanoArrived), e.on("panoArrived", this.loadVideoFirstFrame), e.on("render.prepare", this.render), i.on("click", this.clickhandler), () => {
|
|
626
|
+
t(), e.off("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.off("models.refined", this.onFiveEveryReady), e.off("modeChange", this.handleFiveModeChange), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", this.handleFiveCameraUpdate), e.off("cameraFovUpdate", this.handleFiveCameraFovUpdate), e.off("panoArrived", this.handleFivePanoArrived), e.off("panoArrived", this.loadVideoFirstFrame), e.off("render.prepare", this.render), i.off("click", this.clickhandler), this.store.eventListenerDisposer = void 0;
|
|
625
627
|
};
|
|
626
628
|
}
|
|
627
629
|
}
|
|
628
630
|
export {
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
631
|
+
bo as PanoTagPluginController,
|
|
632
|
+
bo as default,
|
|
633
|
+
yo as pluginFlag
|
|
632
634
|
};
|
|
@@ -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 zr } from "./controller/index.js";
|
|
3
|
+
import { defaultGlobalConfig as Br } from "./typings/tag/TagConfig.js";
|
|
4
|
+
import { ContentType as Hr, DimensionType as Ir, PointType as Jr } from "./Archive/deprecated.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
7
7
|
import "../shared-utils/positionToVector3.js";
|
|
@@ -46,27 +46,28 @@ import "../shared-utils/five/transformPosition.js";
|
|
|
46
46
|
import "../shared-utils/three/temp.js";
|
|
47
47
|
import "../shared-utils/five/fiveEveryReadyListener.js";
|
|
48
48
|
import "../shared-utils/throttle.js";
|
|
49
|
-
import "
|
|
49
|
+
import "hammerjs";
|
|
50
50
|
import "../shared-utils/three/PointSelector/index.js";
|
|
51
51
|
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
52
52
|
import "../shared-utils/three/Magnifier.js";
|
|
53
53
|
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
54
54
|
import "../shared-utils/three/Assets/index.js";
|
|
55
55
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
56
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
56
57
|
import "../shared-utils/even.js";
|
|
57
58
|
import "../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
58
|
-
import "../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
|
|
59
59
|
import "@realsee/five/line";
|
|
60
60
|
import "../shared-utils/isNil.js";
|
|
61
61
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
62
62
|
import "../shared-utils/three/core/Sphere.js";
|
|
63
|
-
import "
|
|
63
|
+
import "animejs";
|
|
64
64
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
65
65
|
import "../shared-utils/five/FivePuppet.js";
|
|
66
66
|
import "@realsee/five";
|
|
67
67
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
68
68
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
69
69
|
import "../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
70
|
+
import "../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
|
|
70
71
|
import "../shared-utils/createResizeObserver.js";
|
|
71
72
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
72
73
|
import "../Sculpt/Meshes/Line.js";
|
|
@@ -186,14 +187,14 @@ import "./Components/TagContainer.js";
|
|
|
186
187
|
import "./Components/TagItem.js";
|
|
187
188
|
import "./Components/Common/TagPoint.js";
|
|
188
189
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
189
|
-
const
|
|
190
|
+
const kr = (o, t) => new r(o, t);
|
|
190
191
|
export {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
Hr as ContentType,
|
|
193
|
+
Ir as DimensionType,
|
|
194
|
+
kr as PanoTagPlugin,
|
|
194
195
|
r as PanoTagPluginController,
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
196
|
+
Jr as PointType,
|
|
197
|
+
kr as default,
|
|
198
|
+
Br as defaultGlobalConfig,
|
|
199
|
+
zr as pluginFlag
|
|
199
200
|
};
|