@realsee/dnalogel 3.59.7 → 3.59.8
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 +5 -0
- package/dist/CSS3DRenderPlugin/Controller.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +1 -0
- package/dist/CSS3DRenderPlugin/utils/index.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +1 -16
- package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +5 -3
- package/dist/PanoTagPlugin/controller/Tag/ModelTag.d.ts +2 -0
- package/dist/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +3 -0
- package/dist/PanoTagPlugin/controller/Tag/PointTag.d.ts +2 -0
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +3 -13
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +1 -3
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -1
- package/dist/index.cjs.js +75 -75
- package/dist/index.js +8733 -8637
- package/dist/index.umd.js +64 -64
- package/dist/shared-utils/CSS3DRender/CSS3DObject.d.ts +44 -0
- package/dist/shared-utils/CSS3DRender/CSS3DRenderer.d.ts +14 -0
- package/dist/shared-utils/CSS3DRender/index.d.ts +2 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +4 -4
- 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 +5 -5
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +5 -5
- package/docs/classes/Object3DHelperController.html +5 -5
- 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 +33 -36
- 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 +5 -5
- 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 +5 -5
- package/libs/AreaMakerPlugin/index.js +5 -5
- package/libs/AreaMakerPlugin/utils/Item.js +5 -5
- package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/Controller.js +5 -5
- package/libs/CSS3DRenderPlugin/index.js +5 -5
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +1 -0
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +2 -1
- package/libs/CSS3DRenderPlugin/utils/index.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/index.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +5 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +5 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +1 -16
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +5 -52
- package/libs/CruisePlugin/BaseController.js +5 -5
- package/libs/CruisePlugin/Move.js +47 -51
- package/libs/CruisePlugin/Work.js +65 -69
- package/libs/CruisePlugin/index.js +53 -57
- package/libs/CurrentPanoImagePlugin/Controller.js +5 -5
- package/libs/CurrentPanoImagePlugin/index.js +5 -5
- package/libs/GuideLinePlugin/Controller.js +51 -55
- package/libs/GuideLinePlugin/GuideLineItem.js +53 -57
- package/libs/GuideLinePlugin/GuideLineModeItem.js +53 -57
- package/libs/GuideLinePlugin/index.js +51 -55
- package/libs/ModelMakerPlugin/Controller.js +5 -5
- package/libs/ModelMakerPlugin/index.js +5 -5
- package/libs/ModelMakerPlugin/item/prismItem.js +5 -5
- package/libs/ModelTVVideoPlugin/Plugin.js +5 -5
- package/libs/ModelTVVideoPlugin/index.js +5 -5
- package/libs/Object3DHelperPlugin/Controller.js +5 -5
- package/libs/Object3DHelperPlugin/index.js +5 -5
- package/libs/PanoCompassPlugin/Controller.js +5 -5
- package/libs/PanoCompassPlugin/index.js +5 -5
- package/libs/PanoDoorLabelPlugin/Controller.js +5 -5
- package/libs/PanoDoorLabelPlugin/index.js +5 -5
- package/libs/PanoMeasurePlugin/Components/Controller0.js +5 -5
- package/libs/PanoMeasurePlugin/Components/Controller1.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/EditController.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/index.js +5 -5
- package/libs/PanoMeasurePlugin/Model/area.js +5 -5
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +5 -5
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +5 -5
- package/libs/PanoMeasurePlugin/index.js +5 -5
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +5 -5
- package/libs/PanoRulerProPlugin/Controller.js +5 -5
- package/libs/PanoRulerProPlugin/RulerItems.js +5 -5
- package/libs/PanoRulerProPlugin/index.js +5 -5
- package/libs/PanoSpatialTagPlugin/Plugin.js +5 -5
- package/libs/PanoSpatialTagPlugin/index.js +5 -5
- package/libs/PanoTagPlugin/Components/Common/Media.js +150 -150
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +5 -5
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +5 -5
- package/libs/PanoTagPlugin/Components/Tag/index.js +67 -62
- package/libs/PanoTagPlugin/Components/TagContainer.js +11 -7
- package/libs/PanoTagPlugin/Components/TagItem.js +11 -7
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +5 -3
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +28 -28
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.d.ts +2 -0
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +206 -81
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +3 -0
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +199 -62
- package/libs/PanoTagPlugin/controller/Tag/PointTag.d.ts +2 -0
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +32 -26
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +3 -13
- package/libs/PanoTagPlugin/controller/TagRender.js +52 -246
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +1 -3
- package/libs/PanoTagPlugin/controller/TagUtil.js +82 -97
- package/libs/PanoTagPlugin/controller/index.js +131 -143
- package/libs/PanoTagPlugin/index.js +114 -118
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -1
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +5 -5
- package/libs/PanoVideoPlugin/Controller.js +5 -5
- package/libs/PanoVideoPlugin/VideoMeshController.js +5 -5
- package/libs/PanoVideoPlugin/index.js +5 -5
- package/libs/PipelinePlugin/Controller.js +5 -5
- package/libs/PipelinePlugin/index.js +5 -5
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +5 -5
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +5 -5
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +5 -5
- package/libs/base/BasePlugin.js +5 -5
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +5 -5
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +5 -5
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -5
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -5
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +5 -5
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -5
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +5 -5
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -5
- package/libs/index.js +182 -180
- package/libs/shared-utils/CSS3DRender/CSS3DObject.d.ts +44 -0
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +91 -0
- package/libs/shared-utils/CSS3DRender/CSS3DRenderer.d.ts +14 -0
- package/libs/shared-utils/CSS3DRender/CSS3DRenderer.js +51 -0
- package/libs/{CSS3DRenderPlugin/utils/three → shared-utils/CSS3DRender}/OpacityMesh.js +6 -6
- package/libs/shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js +74 -0
- package/libs/shared-utils/CSS3DRender/index.d.ts +2 -0
- package/libs/shared-utils/CSS3DRender/index.js +31 -0
- package/libs/{CSS3DRenderPlugin/utils → shared-utils}/createResizeObserver.js +1 -1
- package/libs/shared-utils/five/initialCSS3DRender.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/index.js +3 -3
- package/package.json +2 -2
- package/libs/CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js +0 -66
- /package/dist/{CSS3DRenderPlugin/utils/three → shared-utils/CSS3DRender}/OpacityMesh.d.ts +0 -0
- /package/dist/{CSS3DRenderPlugin/utils → shared-utils}/createResizeObserver.d.ts +0 -0
- /package/dist/{CSS3DRenderPlugin/utils → shared-utils}/even.d.ts +0 -0
- /package/libs/{CSS3DRenderPlugin/utils/three → shared-utils/CSS3DRender}/OpacityMesh.d.ts +0 -0
- /package/libs/{CSS3DRenderPlugin/utils → shared-utils}/createResizeObserver.d.ts +0 -0
- /package/libs/{CSS3DRenderPlugin/utils → shared-utils}/even.d.ts +0 -0
- /package/libs/{CSS3DRenderPlugin/utils → shared-utils}/even.js +0 -0
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
|
|
1
|
+
var T = Object.defineProperty, S = Object.defineProperties;
|
|
2
|
+
var I = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var y = Object.getOwnPropertySymbols;
|
|
4
|
+
var V = Object.prototype.hasOwnProperty, k = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var b = (s, t, i) => t in s ? T(s, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : s[t] = i, g = (s, t) => {
|
|
6
|
+
for (var i in t || (t = {}))
|
|
7
|
+
V.call(t, i) && b(s, i, t[i]);
|
|
8
|
+
if (y)
|
|
9
|
+
for (var i of y(t))
|
|
10
|
+
k.call(t, i) && b(s, i, t[i]);
|
|
11
|
+
return s;
|
|
12
|
+
}, f = (s, t) => S(s, I(t));
|
|
13
|
+
import { CONST as F } from "../../../shared-utils/constants.js";
|
|
14
|
+
import { CSS3DObjectPlus as M } from "../../../shared-utils/CSS3DRender/CSS3DObject.js";
|
|
15
|
+
import { arrayPositionToVector3 as P } from "../../../shared-utils/positionToVector3.js";
|
|
2
16
|
import "three";
|
|
3
|
-
import { planeNormal as
|
|
4
|
-
import { VideoPlane as
|
|
5
|
-
import
|
|
17
|
+
import { planeNormal as R } from "../../utils/planeNormal.js";
|
|
18
|
+
import { VideoPlane as E, ImagePlane as j } from "../../utils/model/mediaPlane.js";
|
|
19
|
+
import N from "../../Components/Tag/index.js";
|
|
20
|
+
import { BaseTag as w } from "./BaseTag.js";
|
|
21
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
22
|
+
import "../../../shared-utils/even.js";
|
|
23
|
+
import "../../../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
6
24
|
import "../../../shared-utils/three/centerPoint.js";
|
|
7
|
-
import "../../../shared-utils/three/loadTexture.js";
|
|
8
|
-
import "../../../shared-utils/three/Quadrangle.js";
|
|
9
|
-
import "../../../shared-utils/math/pointsIsRectangle.js";
|
|
10
|
-
import "../../../shared-utils/three/loadVideoTexture.js";
|
|
11
|
-
import "../../../shared-utils/device.js";
|
|
12
|
-
import "../../Assets/Icon.js";
|
|
13
|
-
import "../../../shared-utils/three/getPositionsByObjectFit.js";
|
|
14
|
-
import "../../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
15
|
-
import "../../../shared-utils/three/getNormal.js";
|
|
16
|
-
import "../../../shared-utils/constants.js";
|
|
17
|
-
import "../../../shared-utils/Subscribe.js";
|
|
18
|
-
import "../../utils/tag/calculateTagConfig.js";
|
|
19
|
-
import "../../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
20
|
-
import "../../../shared-utils/typescript/entries.js";
|
|
21
|
-
import "../../utils/tag/adaptConfig.js";
|
|
22
|
-
import "../../typings/tag/TagConfig.js";
|
|
23
|
-
import "@realsee/five";
|
|
24
25
|
import "../../../shared-utils/tag.js";
|
|
25
26
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
26
27
|
import "../../../shared-utils/five/getFiveModel.js";
|
|
27
28
|
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
28
29
|
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
30
|
+
import "../../../shared-utils/Subscribe.js";
|
|
29
31
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
30
32
|
import "../../../shared-utils/five/transformPosition.js";
|
|
31
33
|
import "../../../shared-utils/three/temp.js";
|
|
@@ -33,7 +35,6 @@ import "../../../shared-utils/three/core/Raycaster.js";
|
|
|
33
35
|
import "../../../shared-utils/dom/resizeObserver.js";
|
|
34
36
|
import "../../../shared-utils/five/fiveEveryReadyListener.js";
|
|
35
37
|
import "../../../shared-utils/throttle.js";
|
|
36
|
-
import "../../../shared-utils/five/mode.js";
|
|
37
38
|
import "hammerjs";
|
|
38
39
|
import "../../../shared-utils/three/PointSelector/index.js";
|
|
39
40
|
import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
@@ -41,9 +42,6 @@ import "../../../shared-utils/three/Magnifier.js";
|
|
|
41
42
|
import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
42
43
|
import "../../../shared-utils/three/Assets/index.js";
|
|
43
44
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
44
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
45
|
-
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
46
|
-
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
47
45
|
import "../../../shared-utils/three/getObjectVisible.js";
|
|
48
46
|
import "@realsee/five/line";
|
|
49
47
|
import "../../../shared-utils/isNil.js";
|
|
@@ -52,11 +50,12 @@ import "../../../shared-utils/three/core/Sphere.js";
|
|
|
52
50
|
import "animejs";
|
|
53
51
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
54
52
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
53
|
+
import "@realsee/five";
|
|
55
54
|
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
56
55
|
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
57
|
-
import "../../../
|
|
58
|
-
import "../../../
|
|
59
|
-
import "../../../
|
|
56
|
+
import "../../../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
57
|
+
import "../../../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
|
|
58
|
+
import "../../../shared-utils/createResizeObserver.js";
|
|
60
59
|
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
61
60
|
import "../../../Sculpt/Meshes/Line.js";
|
|
62
61
|
import "../../../Sculpt/typings/style.js";
|
|
@@ -74,77 +73,215 @@ import "../../../shared-utils/isTouchDevice.js";
|
|
|
74
73
|
import "../../../shared-utils/five/getPosition.js";
|
|
75
74
|
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
76
75
|
import "../../../shared-utils/three/PointSelector/utils/contents.js";
|
|
76
|
+
import "../../../shared-utils/three/loadTexture.js";
|
|
77
|
+
import "../../../shared-utils/three/Quadrangle.js";
|
|
78
|
+
import "../../../shared-utils/math/pointsIsRectangle.js";
|
|
79
|
+
import "../../../shared-utils/three/loadVideoTexture.js";
|
|
80
|
+
import "../../../shared-utils/device.js";
|
|
81
|
+
import "../../Assets/Icon.js";
|
|
82
|
+
import "../../../shared-utils/three/getPositionsByObjectFit.js";
|
|
83
|
+
import "../../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
84
|
+
import "../../../shared-utils/three/getNormal.js";
|
|
85
|
+
import "../../../vendor/svelte/internal/index.js";
|
|
86
|
+
import "../../Components/Tag/TextTag/index.js";
|
|
87
|
+
import "../../Components/Tag/TextTag/TextTag.js";
|
|
88
|
+
import "../../Components/Common/Line/Straight.js";
|
|
89
|
+
import "../../../vendor/svelte/transition/index.js";
|
|
90
|
+
import "../../../vendor/svelte/easing/index.js";
|
|
91
|
+
import "../../../shared-utils/uuid.js";
|
|
92
|
+
import "../../Components/Common/Shadow.js";
|
|
93
|
+
import "../../Components/Common/Text/FlyMText.js";
|
|
94
|
+
import "../../Components/Common/Text/FlyText.js";
|
|
95
|
+
import "../../utils/search.js";
|
|
96
|
+
import "../../utils/constants.js";
|
|
97
|
+
import "../../Components/Common/Arrow.js";
|
|
98
|
+
import "../../utils/doUtil.js";
|
|
99
|
+
import "../../../shared-utils/svelte/resizeObserver.js";
|
|
100
|
+
import "../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
101
|
+
import "../../Components/Tag/TextTag/TextPlaneTag.js";
|
|
102
|
+
import "../../Components/Common/Text/MText.js";
|
|
103
|
+
import "../../utils/px2rem.js";
|
|
104
|
+
import "../../Components/Tag/ImageTextTag.js";
|
|
105
|
+
import "../../Components/Common/Line/Polyline.js";
|
|
106
|
+
import "../../Components/Common/Media.js";
|
|
107
|
+
import "../../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
108
|
+
import "../../../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
109
|
+
import "../../../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
110
|
+
import "../../../vendor/svelte-carousel/src/components/Arrow/Arrow.js";
|
|
111
|
+
import "../../../vendor/svelte-carousel/src/direction.js";
|
|
112
|
+
import "../../../vendor/svelte-carousel/src/components/Progress/Progress.js";
|
|
113
|
+
import "../../../vendor/svelte-carousel/src/actions/swipeable/swipeable.js";
|
|
114
|
+
import "../../../vendor/svelte-carousel/src/actions/swipeable/event.js";
|
|
115
|
+
import "../../../vendor/svelte-carousel/src/utils/event.js";
|
|
116
|
+
import "../../../vendor/svelte-carousel/src/units.js";
|
|
117
|
+
import "../../../vendor/svelte-carousel/src/actions/hoverable/hoverable.js";
|
|
118
|
+
import "../../../vendor/svelte-carousel/src/actions/hoverable/event.js";
|
|
119
|
+
import "../../../vendor/svelte-carousel/src/actions/tappable/tappable.js";
|
|
120
|
+
import "../../../vendor/svelte-carousel/src/utils/math.js";
|
|
121
|
+
import "../../../vendor/svelte-carousel/src/actions/tappable/event.js";
|
|
122
|
+
import "../../../vendor/svelte-carousel/src/utils/page.js";
|
|
123
|
+
import "../../../vendor/svelte-carousel/src/utils/clones.js";
|
|
124
|
+
import "../../../vendor/svelte-carousel/src/utils/object.js";
|
|
125
|
+
import "../../../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
126
|
+
import "../../../vendor/easy-reactive/src/simply-reactive.js";
|
|
127
|
+
import "../../../vendor/lodash.get/index.js";
|
|
128
|
+
import "../../../_commonjsHelpers.js";
|
|
129
|
+
import "../../../vendor/lodash.clonedeep/index.js";
|
|
130
|
+
import "../../../vendor/easy-reactive/src/utils/subscription.js";
|
|
131
|
+
import "../../../vendor/easy-reactive/src/utils/object.js";
|
|
132
|
+
import "../../../vendor/lodash.isequal/index.js";
|
|
133
|
+
import "../../../vendor/easy-reactive/src/utils/watcher.js";
|
|
134
|
+
import "../../../vendor/svelte-carousel/src/utils/lazy.js";
|
|
135
|
+
import "../../../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
136
|
+
import "../../../vendor/svelte-carousel/src/utils/interval.js";
|
|
137
|
+
import "../../Components/Common/MediaItem.js";
|
|
138
|
+
import "../../Components/Tag/MarketingTag.js";
|
|
139
|
+
import "../../utils/noTypecheck.js";
|
|
140
|
+
import "../../Components/Tag/AudioTag/index.js";
|
|
141
|
+
import "../../Components/Tag/AudioTag/AudioTag.js";
|
|
142
|
+
import "../../Components/Common/Audio.js";
|
|
143
|
+
import "../../utils/audio/SharedAudio.js";
|
|
144
|
+
import "../../../shared-utils/audio.js";
|
|
145
|
+
import "../../Components/Common/Icon/audioIcon.js";
|
|
146
|
+
import "../../Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
147
|
+
import "../../Components/Tag/MediaPlane.js";
|
|
148
|
+
import "../../Components/Tag/LinkTag.js";
|
|
149
|
+
import "../../Components/Common/Icon/Icon.js";
|
|
150
|
+
import "../../utils/getImageInfo.js";
|
|
151
|
+
import "../../Components/Tag/PanoramaTag.js";
|
|
152
|
+
import "../../Components/Tag/CustomTag.js";
|
|
153
|
+
import "../../../vendor/classnames/index.js";
|
|
154
|
+
import "./ModelTag.js";
|
|
155
|
+
import "../../../shared-utils/CSS3DRender/index.js";
|
|
156
|
+
import "../../../shared-utils/five/fiveModelLoad.js";
|
|
157
|
+
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
158
|
+
import "../../../shared-utils/three/GLTFLoader.js";
|
|
159
|
+
import "@realsee/five/gltf-loader";
|
|
160
|
+
import "../../utils/tag/tagCheck.js";
|
|
161
|
+
import "../../../shared-utils/five/mode.js";
|
|
162
|
+
import "../../utils/tag/calculateTagConfig.js";
|
|
163
|
+
import "../../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
164
|
+
import "../../../shared-utils/typescript/entries.js";
|
|
165
|
+
import "../../utils/tag/adaptConfig.js";
|
|
166
|
+
import "../../typings/tag/TagConfig.js";
|
|
77
167
|
import "../../utils/tag/format.js";
|
|
78
168
|
import "../../../shared-utils/three/blink.js";
|
|
79
169
|
import "../../../shared-utils/vectorToCoordinate.js";
|
|
80
170
|
import "../../../shared-utils/formatRad.js";
|
|
81
171
|
import "../../../shared-utils/five/lookPoint.js";
|
|
82
|
-
import "../../../shared-utils/uuid.js";
|
|
83
172
|
import "../../utils/tagPosition.js";
|
|
84
|
-
import "../../utils/tag/tagCheck.js";
|
|
85
173
|
import "../../utils/checkRange.js";
|
|
86
174
|
import "../../../shared-utils/url/getUrl.js";
|
|
87
175
|
import "../../../shared-utils/five/getFloorIndex.js";
|
|
88
176
|
import "../../../shared-utils/safeObj.js";
|
|
89
177
|
import "../../utils/Cache.js";
|
|
90
178
|
import "../../../shared-utils/promise/withResolvers.js";
|
|
91
|
-
const
|
|
92
|
-
class
|
|
93
|
-
constructor(
|
|
94
|
-
super(
|
|
179
|
+
const G = /* @__PURE__ */ new Map(), x = /* @__PURE__ */ new Map();
|
|
180
|
+
class $e extends w {
|
|
181
|
+
constructor(t, i) {
|
|
182
|
+
super(t, i), this.state.unfolded = !0, this.loadModel();
|
|
95
183
|
}
|
|
96
184
|
applyVisible() {
|
|
97
|
-
var
|
|
98
|
-
this.computeRenderType() === "Mesh" ? ((r = (
|
|
185
|
+
var i, r, m, p, e, o;
|
|
186
|
+
this.computeRenderType() === "Mesh" ? ((r = (i = this.data.mediaData) == null ? void 0 : i[0]) == null ? void 0 : r.type) === "Video" ? this.renderVideoPlane() : ((p = (m = this.data.mediaData) == null ? void 0 : m[0]) == null ? void 0 : p.type) === "Image" && this.renderImagePlane() : ((e = this.tag3DContentSvelte) == null || e.svelteApp.$set({ tag: this, state: this.plugin.state, temporaryState: this.plugin.temporaryState }), (o = this.tag3DContentSvelte) != null && o.css3DInstance && (this.tag3DContentSvelte.css3DInstance.visible = this.temporaryState.visible && this.state.visible));
|
|
187
|
+
}
|
|
188
|
+
set(...t) {
|
|
189
|
+
super.set(...t), this.loadModel();
|
|
190
|
+
}
|
|
191
|
+
setData(...t) {
|
|
192
|
+
var r, m, p, e, o;
|
|
193
|
+
super.setData(...t), this.computeRenderType() === "Mesh" ? ((m = (r = this.data.mediaData) == null ? void 0 : r[0]) == null ? void 0 : m.type) === "Video" ? this.renderVideoPlane() : ((e = (p = this.data.mediaData) == null ? void 0 : p[0]) == null ? void 0 : e.type) === "Image" && this.renderImagePlane() : (o = this.tag3DContentSvelte) == null || o.svelteApp.$set({ tag: this });
|
|
194
|
+
}
|
|
195
|
+
loadModel() {
|
|
196
|
+
var i, r, m, p, e, o;
|
|
197
|
+
if (this.computeRenderType() === "Mesh")
|
|
198
|
+
((r = (i = this.data.mediaData) == null ? void 0 : i[0]) == null ? void 0 : r.type) === "Video" ? this.renderVideoPlane() : ((p = (m = this.data.mediaData) == null ? void 0 : m[0]) == null ? void 0 : p.type) === "Image" && this.renderImagePlane();
|
|
199
|
+
else {
|
|
200
|
+
const l = this.position.map(P);
|
|
201
|
+
(o = (e = this.tag3DContentSvelte) == null ? void 0 : e.dispose) == null || o.call(e);
|
|
202
|
+
const a = document.createElement("div");
|
|
203
|
+
a.classList.add("tag-media-container");
|
|
204
|
+
const h = "black";
|
|
205
|
+
a.style.backgroundColor = h, a.style.border = `3px solid ${h}`;
|
|
206
|
+
const n = f(g({}, this.config.tag3DConfig), { mode: "behind", cornerPoints: l, container: a }), D = this.computeRenderType() === "BehindDom" || n.mode === "behind" ? "behind" : "front", d = new M(f(g({}, n), { mode: D })), u = this.computeNormal();
|
|
207
|
+
d.position.add(u.clone().setLength(F.Z_FIGHTING_OFFSET)), this.plugin.group.add(d);
|
|
208
|
+
let c;
|
|
209
|
+
d.mode === "behind" && this.config.clickable !== !1 && (c = this.addObjectClickHandler(this, d, (C) => {
|
|
210
|
+
this.plugin.hooks.emit("click", { event: C, target: "TagContent", tag: this });
|
|
211
|
+
}));
|
|
212
|
+
const v = new N({
|
|
213
|
+
target: a,
|
|
214
|
+
props: {
|
|
215
|
+
tag: this,
|
|
216
|
+
hooks: this.plugin.hooks,
|
|
217
|
+
/** 模型标签要等模型加载好之后再展示 */
|
|
218
|
+
state: this.plugin.state,
|
|
219
|
+
mediaStore: this.plugin.mediaStore,
|
|
220
|
+
temporaryState: this.plugin.temporaryState
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
this.tag3DContentSvelte = {
|
|
224
|
+
svelteApp: v,
|
|
225
|
+
domContainer: {
|
|
226
|
+
css3DObject: d
|
|
227
|
+
},
|
|
228
|
+
css3DInstance: d,
|
|
229
|
+
initialNormal: u,
|
|
230
|
+
currentNormal: u,
|
|
231
|
+
dispose: () => {
|
|
232
|
+
v.$destroy(), d.dispose(), c == null || c();
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
}
|
|
99
236
|
}
|
|
100
237
|
renderVideoPlane() {
|
|
101
|
-
var
|
|
102
|
-
const
|
|
103
|
-
if (!e)
|
|
104
|
-
return;
|
|
105
|
-
const { url: t } = e;
|
|
238
|
+
var o;
|
|
239
|
+
const t = this.data.mediaData[0];
|
|
106
240
|
if (!t)
|
|
107
241
|
return;
|
|
108
|
-
const
|
|
109
|
-
if (
|
|
110
|
-
|
|
111
|
-
|
|
242
|
+
const { url: i } = t;
|
|
243
|
+
if (!i)
|
|
244
|
+
return;
|
|
245
|
+
const r = this.currentVisible, m = (() => !!(this.mediaPlane && !r))(), p = (() => !!(!this.mediaPlane && r))(), e = (() => !!(this.mediaPlane && this.mediaPlane.src !== i))();
|
|
246
|
+
if ((m || e) && this.mediaPlane && (this.plugin.imagePlaneGroup.remove(this.mediaPlane), this.mediaPlane.dispose(), this.mediaPlane.removeFromParent(), this.mediaPlane = void 0), p || e) {
|
|
247
|
+
const l = this.position.map(P), a = new E(i, l, {
|
|
248
|
+
videoCoverSrc: t.videoCoverUrl,
|
|
112
249
|
playButton: this.data.playIcon,
|
|
113
|
-
paused: !((
|
|
250
|
+
paused: !((o = this.data.autoplayConfig) != null && o.autoplayVideo),
|
|
114
251
|
objectFit: this.data.objectFit,
|
|
115
|
-
videoTextureMap:
|
|
116
|
-
ImageTextureMap:
|
|
252
|
+
videoTextureMap: G,
|
|
253
|
+
ImageTextureMap: x,
|
|
117
254
|
domEvents: this.plugin.domEvents
|
|
118
255
|
});
|
|
119
|
-
|
|
120
|
-
|
|
256
|
+
a.onVideoReady = (n) => {
|
|
257
|
+
n.addEventListener("play", () => this.plugin.mediaStore.set({ currentMediaElement: a.videoInstance }));
|
|
121
258
|
};
|
|
122
|
-
const
|
|
123
|
-
|
|
259
|
+
const h = (n) => (this.five.on("renderFrame", n), () => this.five.off("renderFrame", n));
|
|
260
|
+
a.initialRenderHooks(h), this.mediaPlane = a, this.play = () => a.play(), this.pause = () => a.pause(), this.plugin.imagePlaneGroup.add(this.mediaPlane);
|
|
124
261
|
}
|
|
125
262
|
this.five.needsRender = !0;
|
|
126
263
|
}
|
|
127
264
|
renderImagePlane() {
|
|
128
|
-
const
|
|
129
|
-
if (!e)
|
|
130
|
-
return;
|
|
131
|
-
const { url: t } = e;
|
|
265
|
+
const t = this.data.mediaData[0];
|
|
132
266
|
if (!t)
|
|
133
267
|
return;
|
|
134
|
-
const
|
|
135
|
-
|
|
268
|
+
const { url: i } = t;
|
|
269
|
+
if (!i)
|
|
270
|
+
return;
|
|
271
|
+
const r = this.position.map(P), m = this.currentVisible, p = (() => !!(this.mediaPlane && !m))(), e = (() => !!(!this.mediaPlane && m))(), o = (() => !!(this.mediaPlane && this.mediaPlane.src !== i))();
|
|
272
|
+
(p || o) && this.mediaPlane && (this.plugin.imagePlaneGroup.remove(this.mediaPlane), this.mediaPlane.dispose(), this.mediaPlane.removeFromParent(), this.mediaPlane = void 0), (e || o) && (this.mediaPlane = new j(i, r, { objectFit: this.data.objectFit }), this.getConfig().clickable !== !1 && this.plugin.domEvents.addAutoBindEventListener(
|
|
136
273
|
this.mediaPlane,
|
|
137
274
|
"click",
|
|
138
|
-
(
|
|
139
|
-
this.plugin.hooks.emit("click", { tag: this, target: "TagContent", event:
|
|
275
|
+
(l) => {
|
|
276
|
+
this.plugin.hooks.emit("click", { tag: this, target: "TagContent", event: l.origDomEvent });
|
|
140
277
|
},
|
|
141
278
|
{ noEmitWhenHide: !0 }
|
|
142
279
|
), this.plugin.imagePlaneGroup.add(this.mediaPlane)), this.five.needsRender = !0;
|
|
143
280
|
}
|
|
144
281
|
computeNormal() {
|
|
145
|
-
return
|
|
282
|
+
return R(this.position);
|
|
146
283
|
}
|
|
147
284
|
}
|
|
148
285
|
export {
|
|
149
|
-
|
|
286
|
+
$e as PlaneTag
|
|
150
287
|
};
|
|
@@ -24,6 +24,8 @@ export declare class PointTag<C extends TagContentType = TagContentType> extends
|
|
|
24
24
|
updateScreenPosition(params?: {
|
|
25
25
|
force?: boolean;
|
|
26
26
|
}): void;
|
|
27
|
+
set(...data: Parameters<InstanceType<typeof BaseTag<C, '2DPoint' | '3DPoint'>>['set']>): void;
|
|
28
|
+
setData(...data: Parameters<InstanceType<typeof BaseTag<C, '2DPoint' | '3DPoint'>>['setData']>): void;
|
|
27
29
|
updateUnfoldedByPanoIndex(): void;
|
|
28
30
|
computeNormal(): THREE.Vector3;
|
|
29
31
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var f = (
|
|
3
|
-
var p = (
|
|
1
|
+
var c = Object.defineProperty;
|
|
2
|
+
var f = (n, o, t) => o in n ? c(n, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[o] = t;
|
|
3
|
+
var p = (n, o, t) => (f(n, typeof o != "symbol" ? o + "" : o, t), t);
|
|
4
4
|
import { BaseTag as g } from "./BaseTag.js";
|
|
5
5
|
import * as l from "three";
|
|
6
6
|
import "../../../shared-utils/Subscribe.js";
|
|
@@ -32,8 +32,8 @@ import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
|
32
32
|
import "../../../shared-utils/three/Assets/index.js";
|
|
33
33
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
34
34
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
35
|
-
import "../../../
|
|
36
|
-
import "../../../
|
|
35
|
+
import "../../../shared-utils/even.js";
|
|
36
|
+
import "../../../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
37
37
|
import "../../../shared-utils/three/centerPoint.js";
|
|
38
38
|
import "../../../shared-utils/three/getObjectVisible.js";
|
|
39
39
|
import "@realsee/five/line";
|
|
@@ -45,9 +45,9 @@ import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
45
45
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
46
46
|
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
47
47
|
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
48
|
-
import "../../../
|
|
49
|
-
import "../../../
|
|
50
|
-
import "../../../
|
|
48
|
+
import "../../../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
49
|
+
import "../../../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
|
|
50
|
+
import "../../../shared-utils/createResizeObserver.js";
|
|
51
51
|
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
52
52
|
import "../../../Sculpt/Meshes/Line.js";
|
|
53
53
|
import "../../../Sculpt/typings/style.js";
|
|
@@ -91,16 +91,16 @@ class zt extends g {
|
|
|
91
91
|
*/
|
|
92
92
|
unfoldAndFoldOthers() {
|
|
93
93
|
const t = this.can("fold"), i = this.can("unfold");
|
|
94
|
-
t && i && (this.state.unfolded = !this.state.unfolded, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.state.unfolded && this.plugin.tags.forEach((
|
|
95
|
-
|
|
94
|
+
t && i && (this.state.unfolded = !this.state.unfolded, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.state.unfolded && this.plugin.tags.forEach((s) => {
|
|
95
|
+
s.id !== this.id && s.fold();
|
|
96
96
|
}));
|
|
97
97
|
}
|
|
98
98
|
onClick(t) {
|
|
99
99
|
t.target === "TagPoint" && this.unfoldAndFoldOthers();
|
|
100
100
|
}
|
|
101
101
|
applyVisible() {
|
|
102
|
-
var t, i
|
|
103
|
-
this.currentVisible && this.updateScreenPosition(), (
|
|
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({
|
|
104
104
|
state: this.plugin.state,
|
|
105
105
|
temporaryState: this.temporaryState
|
|
106
106
|
}), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
|
|
@@ -116,43 +116,49 @@ class zt extends g {
|
|
|
116
116
|
* @param {boolean} unfolded
|
|
117
117
|
*/
|
|
118
118
|
setUnfold(t) {
|
|
119
|
-
const i = this.can("fold"),
|
|
120
|
-
i &&
|
|
119
|
+
const i = this.can("fold"), s = this.can("unfold");
|
|
120
|
+
i && s && (this.state.unfolded = t, this.hooks.emit(t ? "unfolded" : "folded"), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
|
|
121
121
|
}
|
|
122
122
|
setPosition(t) {
|
|
123
123
|
this.originPosition = t, this.position = t, this.cache.clear(), this.updateVisible(), this.updateScreenPosition(), this.updateZIndex(), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
|
|
124
124
|
}
|
|
125
125
|
updateScreenPosition(t) {
|
|
126
|
-
var
|
|
126
|
+
var a;
|
|
127
127
|
if (this.stickType !== "2DPoint" && this.stickType !== "3DPoint")
|
|
128
128
|
return;
|
|
129
|
-
const { force: i = !1 } = t != null ? t : {},
|
|
129
|
+
const { force: i = !1 } = t != null ? t : {}, s = i ? this.state.visible : this.currentVisible, e = (a = this.__Object__) != null ? a : {
|
|
130
130
|
timeoutId: void 0,
|
|
131
131
|
inAnimation: !1
|
|
132
132
|
};
|
|
133
|
-
if (this.__Object__ = e, !
|
|
133
|
+
if (this.__Object__ = e, !s && this.screenPosition ? (e.inAnimation = !0, e.timeoutId = setTimeout(() => {
|
|
134
134
|
requestAnimationFrame(() => {
|
|
135
135
|
this.currentVisible || (e.inAnimation = !1, this.screenPosition = null, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
|
|
136
136
|
});
|
|
137
|
-
}, 1e3)) : e.timeoutId && (clearTimeout(e.timeoutId), e.inAnimation = !1, e.timeoutId = void 0), !
|
|
137
|
+
}, 1e3)) : e.timeoutId && (clearTimeout(e.timeoutId), e.inAnimation = !1, e.timeoutId = void 0), !s && !e.inAnimation)
|
|
138
138
|
return;
|
|
139
|
-
const
|
|
140
|
-
if (
|
|
141
|
-
const
|
|
139
|
+
const r = this.computeTagProject();
|
|
140
|
+
if (r && this.five.renderer) {
|
|
141
|
+
const m = (() => {
|
|
142
142
|
if (!this.currentConfig.simulate3D)
|
|
143
143
|
return 1;
|
|
144
|
-
const u = 2 * Math.tan(0.5 * this.five.camera.fov / 180 * Math.PI),
|
|
145
|
-
return Math.max(Math.min(1 - u *
|
|
144
|
+
const u = 2 * Math.tan(0.5 * this.five.camera.fov / 180 * Math.PI), h = this.getDistance(void 0, 1);
|
|
145
|
+
return Math.max(Math.min(1 - u * h / 40, 1), 0.5);
|
|
146
146
|
})(), d = this.five.renderer.getSize(v);
|
|
147
147
|
this.screenPosition = {
|
|
148
|
-
leftPx: (
|
|
149
|
-
topPx: (-
|
|
150
|
-
scale:
|
|
148
|
+
leftPx: (r.x + 1) / 2 * d.x,
|
|
149
|
+
topPx: (-r.y + 1) / 2 * d.y,
|
|
150
|
+
scale: m
|
|
151
151
|
};
|
|
152
152
|
} else
|
|
153
153
|
this.screenPosition = null;
|
|
154
154
|
this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
|
|
155
155
|
}
|
|
156
|
+
set(...t) {
|
|
157
|
+
super.set(...t), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.setPosition(this.position);
|
|
158
|
+
}
|
|
159
|
+
setData(...t) {
|
|
160
|
+
super.setData(...t), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
|
|
161
|
+
}
|
|
156
162
|
updateUnfoldedByPanoIndex() {
|
|
157
163
|
const t = this.getUnfoldedByPanoIndex();
|
|
158
164
|
if (this.state && (t !== void 0 && (this.state.unfolded = t), t && !this.state.visible)) {
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import type { TagObjectGroup, TagGLTFObjectGroup, ImagePlaneGroup, TagContentType, ElementRenderer, TagRendererMap, TagContentTypeMapping
|
|
1
|
+
import type { TagObjectGroup, TagGLTFObjectGroup, ImagePlaneGroup, TagContentType, ElementRenderer, TagRendererMap, TagContentTypeMapping } from '../typings';
|
|
2
2
|
import type { TemporaryState } from '../typings';
|
|
3
|
-
import type { Object3D } from 'three';
|
|
4
3
|
import TagContainerSvelte from '../Components/TagContainer.svelte';
|
|
5
4
|
import type { Five } from '@realsee/five';
|
|
6
5
|
import { TagUtil } from './TagUtil';
|
|
7
6
|
export declare abstract class TagRender extends TagUtil {
|
|
8
7
|
rendererMap: TagRendererMap;
|
|
9
8
|
contentTypeMap: TagContentTypeMapping;
|
|
10
|
-
|
|
9
|
+
group: TagObjectGroup;
|
|
11
10
|
imagePlaneGroup: ImagePlaneGroup;
|
|
12
11
|
gltfObjectGroup: TagGLTFObjectGroup;
|
|
13
12
|
/** 维护一个可用模型表,用于快速删除不应该在场景中的模型 */
|
|
14
13
|
protected enabledModelTagSet: Set<string | number>;
|
|
15
14
|
/** 临时状态 */
|
|
16
|
-
|
|
15
|
+
temporaryState: TemporaryState;
|
|
17
16
|
/** 点标签 */
|
|
18
17
|
TagContainerSvelte?: TagContainerSvelte;
|
|
19
18
|
constructor(five: Five);
|
|
@@ -29,15 +28,6 @@ export declare abstract class TagRender extends TagUtil {
|
|
|
29
28
|
usePoint?: boolean;
|
|
30
29
|
}): void;
|
|
31
30
|
bindRenderer(contentType: string, builtInRenderer: TagContentType): void;
|
|
32
|
-
/**
|
|
33
|
-
* @description 渲染3D贴片
|
|
34
|
-
*/
|
|
35
|
-
updateRender3DDomTag(tag?: TagInstance | TagInstance[]): void;
|
|
36
|
-
/** 更新标签中多媒体面片的位置
|
|
37
|
-
* @param tag 标签
|
|
38
|
-
* @param model 模型
|
|
39
|
-
*/
|
|
40
|
-
updateTagCss3DObjectMatrix<S extends 'Model' | 'Plane' = 'Model'>(tag: TagInstance<TagContentType, S>, model: Object3D): void;
|
|
41
31
|
protected disposeAllCSS3DContainer(): void;
|
|
42
32
|
/**
|
|
43
33
|
* @description 检查并销毁不用的3D贴片
|