@realsee/dnalogel 3.64.23 → 3.64.24
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/CSS3DRender.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/rangePiece/html.d.ts +4 -0
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +18 -5
- package/dist/index.cjs.js +89 -74
- package/dist/index.js +10297 -10107
- package/dist/index.umd.js +82 -67
- package/dist/shared-utils/three/LegacyPointHelper.d.ts +22 -0
- package/dist/shared-utils/three/PointDomHelper.d.ts +18 -0
- package/dist/shared-utils/three/getIntersect.d.ts +21 -0
- package/dist/shared-utils/three/getRaycaster.d.ts +6 -0
- package/dist/shared-utils/three/index.d.ts +4 -0
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +3 -3
- 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 +13 -11
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LegacyPointHelper.html +7 -0
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointDomHelper.html +8 -0
- 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/MeasurePlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/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.getIntersectFromRelativePosition.html +1 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -0
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- 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.ExtraRouteData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.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.LegacyMouseGroupParameter.html +4 -0
- 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/SculptType.html +2 -2
- package/docs/modules/Util.html +7 -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/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MeasurePluginConfig.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/SculptType.Theme.html +2 -2
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/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 -2
- package/libs/AreaMakerPlugin/index.js +9 -5
- package/libs/AreaMakerPlugin/utils/Item.js +7 -3
- package/libs/CSS3DRenderPlugin/Controller.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +16 -12
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +13 -14
- package/libs/CruisePlugin/BaseController.js +15 -11
- package/libs/CruisePlugin/Move.js +10 -6
- package/libs/CruisePlugin/Work.js +10 -6
- package/libs/CruisePlugin/index.js +19 -15
- package/libs/CurrentPanoImagePlugin/Controller.js +16 -12
- package/libs/CurrentPanoImagePlugin/index.js +13 -9
- package/libs/GuideLinePlugin/Controller.js +12 -8
- package/libs/GuideLinePlugin/GuideLineItem.js +15 -11
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +4 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +10 -6
- package/libs/GuideLinePlugin/index.js +19 -15
- package/libs/MeasurePlugin/Controller.js +40 -36
- package/libs/MeasurePlugin/index.js +12 -8
- package/libs/MeasurePlugin/utils/MeasureMesh.js +12 -8
- package/libs/ModelMakerPlugin/Controller.js +7 -3
- package/libs/ModelMakerPlugin/index.js +12 -8
- package/libs/ModelMakerPlugin/item/baseItem.js +16 -12
- package/libs/ModelMakerPlugin/item/boxItem.js +12 -8
- package/libs/ModelMakerPlugin/item/polygonItem.js +12 -8
- package/libs/ModelMakerPlugin/item/prismItem.js +6 -2
- package/libs/ModelViewPlugin/Plugin.js +63 -59
- package/libs/ModelViewPlugin/index.js +9 -5
- package/libs/Object3DHelperPlugin/Controller.js +3 -3
- package/libs/Object3DHelperPlugin/index.js +10 -10
- package/libs/PanoCompassPlugin/Controller.js +9 -9
- package/libs/PanoCompassPlugin/index.js +9 -9
- package/libs/PanoDoorLabelPlugin/Controller.js +34 -30
- package/libs/PanoDoorLabelPlugin/index.js +13 -9
- package/libs/PanoMeasurePlugin/Components/Controller0.js +11 -7
- package/libs/PanoMeasurePlugin/Components/Controller1.js +11 -7
- package/libs/PanoMeasurePlugin/Controller/EditController.js +6 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +11 -7
- package/libs/PanoMeasurePlugin/Controller/index.js +11 -7
- package/libs/PanoMeasurePlugin/Model/area.js +19 -15
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +4 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +11 -7
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.d.ts +4 -0
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +67 -0
- package/libs/PanoMeasurePlugin/index.js +17 -13
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +6 -2
- package/libs/PanoRulerProPlugin/Controller.js +11 -7
- package/libs/PanoRulerProPlugin/RulerItems.js +7 -3
- package/libs/PanoRulerProPlugin/index.js +12 -8
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +28 -24
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +55 -51
- package/libs/PanoTagPlugin/Components/Tag/index.js +6 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +12 -8
- package/libs/PanoTagPlugin/Components/TagItem.js +50 -46
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +7 -3
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +8 -4
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +8 -4
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +21 -17
- package/libs/PanoTagPlugin/controller/TagRender.js +30 -21
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +18 -5
- package/libs/PanoTagPlugin/controller/TagUtil.js +197 -120
- package/libs/PanoTagPlugin/controller/index.js +14 -10
- package/libs/PanoTagPlugin/index.js +32 -28
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +6 -2
- package/libs/PanoVideoPlugin/Controller.js +12 -8
- package/libs/PanoVideoPlugin/VideoMeshController.js +7 -3
- package/libs/PanoVideoPlugin/index.js +15 -11
- package/libs/PipelinePlugin/Controller.js +6 -2
- package/libs/PipelinePlugin/index.js +13 -9
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +17 -13
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +7 -3
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +5 -1
- package/libs/Sculpt/Meshes/Circle.js +11 -10
- package/libs/Sculpt/Meshes/Cylinder.js +9 -8
- package/libs/Sculpt/Meshes/Line.js +4 -3
- package/libs/Sculpt/Meshes/LineWithDots.js +4 -3
- package/libs/Sculpt/Meshes/Point.js +7 -6
- package/libs/Sculpt/Meshes/Polygon.js +3 -2
- package/libs/Sculpt/Meshes/Rectangle.js +3 -2
- package/libs/Sculpt/Objects/Base/index.js +1 -0
- package/libs/Sculpt/Objects/Line/Editor.js +7 -6
- package/libs/Sculpt/index.js +3 -2
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -2
- package/libs/Sculpt/utils/unit.js +8 -8
- package/libs/base/BasePlugin.js +5 -4
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +6 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +13 -9
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +6 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +13 -9
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +48 -44
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +13 -9
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +6 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +13 -9
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +155 -150
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +3 -2
- package/libs/shared-utils/exports.js +46 -38
- package/libs/shared-utils/five/index.js +3 -2
- package/libs/shared-utils/five/lookObject.js +26 -25
- package/libs/shared-utils/index.js +1 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.js +3 -2
- package/libs/shared-utils/three/LegacyPointHelper.d.ts +22 -0
- package/libs/shared-utils/three/LegacyPointHelper.js +73 -0
- package/libs/shared-utils/three/PointDomHelper.d.ts +18 -0
- package/libs/shared-utils/three/PointDomHelper.js +69 -0
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +13 -7
- package/libs/shared-utils/three/getIntersect.d.ts +21 -0
- package/libs/shared-utils/three/getIntersect.js +24 -0
- package/libs/shared-utils/three/getRaycaster.d.ts +6 -0
- package/libs/shared-utils/three/getRaycaster.js +12 -0
- package/libs/shared-utils/three/index.d.ts +4 -0
- package/libs/shared-utils/three/index.js +1 -0
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
|
14
14
|
import "../../shared-utils/three/core/Sphere.js";
|
|
15
15
|
import "../../vendor/animejs/lib/anime.es.js";
|
|
16
16
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
17
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
17
18
|
import "../../shared-utils/five/FivePuppet.js";
|
|
18
19
|
import "./Tag/TextTag/index.js";
|
|
19
20
|
import "./Tag/TextTag/TextTag.js";
|
|
@@ -116,6 +117,9 @@ import "../../shared-utils/five/getPosition.js";
|
|
|
116
117
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
117
118
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
118
119
|
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
120
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
121
|
+
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
122
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
119
123
|
import "@realsee/five";
|
|
120
124
|
import "./Tag/AudioTag/index.js";
|
|
121
125
|
import "./Tag/AudioTag/AudioTag.js";
|
|
@@ -171,21 +175,21 @@ function it(o) {
|
|
|
171
175
|
function j(o) {
|
|
172
176
|
let t, i, e, r, p, a, b, k, s;
|
|
173
177
|
const M = [rt, ot], u = [];
|
|
174
|
-
function S(
|
|
178
|
+
function S(m, l) {
|
|
175
179
|
return (
|
|
176
180
|
/*havePoint*/
|
|
177
|
-
|
|
181
|
+
m[8] ? 0 : 1
|
|
178
182
|
);
|
|
179
183
|
}
|
|
180
184
|
i = S(o), e = u[i] = M[i](o);
|
|
181
|
-
const
|
|
182
|
-
function y(
|
|
185
|
+
const n = [mt, pt], c = [];
|
|
186
|
+
function y(m, l) {
|
|
183
187
|
return (
|
|
184
188
|
/*haveContent*/
|
|
185
|
-
|
|
189
|
+
m[15] ? 0 : 1
|
|
186
190
|
);
|
|
187
191
|
}
|
|
188
|
-
return p = y(o), a = c[p] =
|
|
192
|
+
return p = y(o), a = c[p] = n[p](o), {
|
|
189
193
|
c() {
|
|
190
194
|
t = Z("div"), e.c(), r = X(), a.c(), d(t, "class", "tag svelte-2g2g8a"), d(
|
|
191
195
|
t,
|
|
@@ -224,71 +228,71 @@ function j(o) {
|
|
|
224
228
|
o[10]}, 0) scale(${/*screenPosition*/
|
|
225
229
|
o[7].scale})`);
|
|
226
230
|
},
|
|
227
|
-
m(
|
|
228
|
-
I(
|
|
231
|
+
m(m, l) {
|
|
232
|
+
I(m, t, l), u[i].m(t, null), Y(t, r), c[p].m(t, null), o[17](t), s = !0;
|
|
229
233
|
},
|
|
230
|
-
p(
|
|
234
|
+
p(m, l) {
|
|
231
235
|
let h = i;
|
|
232
|
-
i = S(
|
|
236
|
+
i = S(m), i === h ? u[i].p(m, l) : (L(), g(u[h], 1, 1, () => {
|
|
233
237
|
u[h] = null;
|
|
234
|
-
}), z(), e = u[i], e ? e.p(
|
|
238
|
+
}), z(), e = u[i], e ? e.p(m, l) : (e = u[i] = M[i](m), e.c()), _(e, 1), e.m(t, r));
|
|
235
239
|
let w = p;
|
|
236
|
-
p = y(
|
|
240
|
+
p = y(m), p === w ? c[p].p(m, l) : (L(), g(c[w], 1, 1, () => {
|
|
237
241
|
c[w] = null;
|
|
238
|
-
}), z(), a = c[p], a ? a.p(
|
|
242
|
+
}), z(), a = c[p], a ? a.p(m, l) : (a = c[p] = n[p](m), a.c()), _(a, 1), a.m(t, null)), (!s || l & /*id*/
|
|
239
243
|
16384) && d(
|
|
240
244
|
t,
|
|
241
245
|
"data-tag-id",
|
|
242
246
|
/*id*/
|
|
243
|
-
|
|
247
|
+
m[14]
|
|
244
248
|
), (!s || l & /*unfolded*/
|
|
245
249
|
64) && d(
|
|
246
250
|
t,
|
|
247
251
|
"data-tag-unfolded",
|
|
248
252
|
/*unfolded*/
|
|
249
|
-
|
|
253
|
+
m[6]
|
|
250
254
|
), (!s || l & /*tag*/
|
|
251
255
|
1 && b !== (b = /*tag*/
|
|
252
|
-
|
|
256
|
+
m[0].contentType)) && d(t, "data-content-type", b), (!s || l & /*id*/
|
|
253
257
|
16384 && k !== (k = `tag-${/*id*/
|
|
254
|
-
|
|
258
|
+
m[14]}`)) && d(t, "id", k), (!s || l & /*tag*/
|
|
255
259
|
1) && T(
|
|
256
260
|
t,
|
|
257
261
|
"unClickable",
|
|
258
262
|
/*tag*/
|
|
259
|
-
|
|
263
|
+
m[0].config.clickable === !1
|
|
260
264
|
), (!s || l & /*hide*/
|
|
261
265
|
4096) && T(
|
|
262
266
|
t,
|
|
263
267
|
"hide",
|
|
264
268
|
/*hide*/
|
|
265
|
-
|
|
269
|
+
m[12]
|
|
266
270
|
), (!s || l & /*zIndex*/
|
|
267
271
|
512) && T(
|
|
268
272
|
t,
|
|
269
273
|
"enableZIndex",
|
|
270
274
|
/*zIndex*/
|
|
271
|
-
|
|
275
|
+
m[9]
|
|
272
276
|
), l & /*zIndex*/
|
|
273
277
|
512 && C(
|
|
274
278
|
t,
|
|
275
279
|
"z-index",
|
|
276
280
|
/*zIndex*/
|
|
277
|
-
|
|
281
|
+
m[9]
|
|
278
282
|
), l & /*left, top, screenPosition*/
|
|
279
283
|
3200 && C(t, "transform", `translate3d(${/*left*/
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
284
|
+
m[11]}, ${/*top*/
|
|
285
|
+
m[10]}, 0) scale(${/*screenPosition*/
|
|
286
|
+
m[7].scale})`);
|
|
283
287
|
},
|
|
284
|
-
i(
|
|
288
|
+
i(m) {
|
|
285
289
|
s || (_(e), _(a), s = !0);
|
|
286
290
|
},
|
|
287
|
-
o(
|
|
291
|
+
o(m) {
|
|
288
292
|
g(e), g(a), s = !1;
|
|
289
293
|
},
|
|
290
|
-
d(
|
|
291
|
-
|
|
294
|
+
d(m) {
|
|
295
|
+
m && P(t), u[i].d(), c[p].d(), o[17](null);
|
|
292
296
|
}
|
|
293
297
|
};
|
|
294
298
|
}
|
|
@@ -355,7 +359,7 @@ function pt(o) {
|
|
|
355
359
|
}
|
|
356
360
|
};
|
|
357
361
|
}
|
|
358
|
-
function
|
|
362
|
+
function mt(o) {
|
|
359
363
|
let t, i;
|
|
360
364
|
return t = new $({
|
|
361
365
|
props: {
|
|
@@ -424,7 +428,7 @@ function nt(o) {
|
|
|
424
428
|
}
|
|
425
429
|
};
|
|
426
430
|
}
|
|
427
|
-
function
|
|
431
|
+
function nt(o) {
|
|
428
432
|
let t, i, e = (
|
|
429
433
|
/*screenPosition*/
|
|
430
434
|
o[7] && !/*disable*/
|
|
@@ -457,36 +461,36 @@ function mt(o) {
|
|
|
457
461
|
};
|
|
458
462
|
}
|
|
459
463
|
function at(o, t, i) {
|
|
460
|
-
let e, r, p, a, b, k, s, M, u, S, { tag:
|
|
464
|
+
let e, r, p, a, b, k, s, M, u, S, { tag: n } = t, { mediaStore: c } = t, { rendererMap: y = /* @__PURE__ */ new Map() } = t, { contentTypeMap: m = /* @__PURE__ */ new Map() } = t, { state: l } = t, { temporaryState: h } = t;
|
|
461
465
|
const w = W("hooks");
|
|
462
466
|
function H(f) {
|
|
463
467
|
x[f ? "unshift" : "push"](() => {
|
|
464
|
-
|
|
468
|
+
n.dom = f, i(0, n);
|
|
465
469
|
});
|
|
466
470
|
}
|
|
467
471
|
return o.$$set = (f) => {
|
|
468
|
-
"tag" in f && i(0,
|
|
472
|
+
"tag" in f && i(0, n = f.tag), "mediaStore" in f && i(1, c = f.mediaStore), "rendererMap" in f && i(2, y = f.rendererMap), "contentTypeMap" in f && i(3, m = f.contentTypeMap), "state" in f && i(4, l = f.state), "temporaryState" in f && i(5, h = f.temporaryState);
|
|
469
473
|
}, o.$$.update = () => {
|
|
470
474
|
var f, q, A, D;
|
|
471
475
|
o.$$.dirty & /*tag, rendererMap*/
|
|
472
476
|
5 && i(8, e = (() => {
|
|
473
477
|
var F, N, R;
|
|
474
|
-
return !(((N = (F =
|
|
478
|
+
return !(((N = (F = n.style) == null ? void 0 : F.point) == null ? void 0 : N.enabled) === !1 || ((R = y.get(n.contentType)) == null ? void 0 : R.usePoint) === !1 || n.contentType === "Sticker" || n.contentType === "Link" || n.contentType === "VRLink" || n.contentType === "PanoLink" || n.contentType === "Panorama" || n.contentType === "Audio" && n.data.appearance === "plane");
|
|
475
479
|
})()), o.$$.dirty & /*tag, havePoint*/
|
|
476
|
-
257 && i(15, r = (() => !(
|
|
477
|
-
1 && i(14, p =
|
|
478
|
-
1 && i(7, a =
|
|
479
|
-
1 && i(13, b =
|
|
480
|
-
129 && i(12, k = !((f =
|
|
481
|
-
1 && i(6, s = (A =
|
|
480
|
+
257 && i(15, r = (() => !(n.stickType !== "2DPoint" || n.entryFromModel && et(n.five.state.mode) && e))()), o.$$.dirty & /*tag*/
|
|
481
|
+
1 && i(14, p = n.id), o.$$.dirty & /*tag*/
|
|
482
|
+
1 && i(7, a = n.screenPosition), o.$$.dirty & /*tag*/
|
|
483
|
+
1 && i(13, b = n.enabled === !1 || !n.state), o.$$.dirty & /*tag, screenPosition*/
|
|
484
|
+
129 && i(12, k = !((f = n.state) != null && f.visible) || ((q = n.temporaryState) == null ? void 0 : q.visible) === !1 || !a), o.$$.dirty & /*tag*/
|
|
485
|
+
1 && i(6, s = (A = n.state) == null ? void 0 : A.unfolded), o.$$.dirty & /*screenPosition*/
|
|
482
486
|
128 && i(11, M = (a == null ? void 0 : a.leftPx) + "px"), o.$$.dirty & /*screenPosition*/
|
|
483
487
|
128 && i(10, u = (a == null ? void 0 : a.topPx) + "px"), o.$$.dirty & /*unfolded, tag*/
|
|
484
|
-
65 && i(9, S = s ? ((D =
|
|
488
|
+
65 && i(9, S = s ? ((D = n.zIndex) != null ? D : 0) + (s ? 1e6 : 0) : void 0);
|
|
485
489
|
}, [
|
|
486
|
-
|
|
490
|
+
n,
|
|
487
491
|
c,
|
|
488
492
|
y,
|
|
489
|
-
|
|
493
|
+
m,
|
|
490
494
|
l,
|
|
491
495
|
h,
|
|
492
496
|
s,
|
|
@@ -503,13 +507,13 @@ function at(o, t, i) {
|
|
|
503
507
|
H
|
|
504
508
|
];
|
|
505
509
|
}
|
|
506
|
-
class
|
|
510
|
+
class yo extends J {
|
|
507
511
|
constructor(t) {
|
|
508
512
|
super(), K(
|
|
509
513
|
this,
|
|
510
514
|
t,
|
|
511
515
|
at,
|
|
512
|
-
|
|
516
|
+
nt,
|
|
513
517
|
O,
|
|
514
518
|
{
|
|
515
519
|
tag: 0,
|
|
@@ -524,5 +528,5 @@ class _o extends J {
|
|
|
524
528
|
}
|
|
525
529
|
}
|
|
526
530
|
export {
|
|
527
|
-
|
|
531
|
+
yo as default
|
|
528
532
|
};
|
|
@@ -54,11 +54,12 @@ import { isNil as R, notNil as E } from "../../../shared-utils/isNil.js";
|
|
|
54
54
|
import "../../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
55
55
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
56
56
|
import { blink as se, reblink as ne } from "../../../shared-utils/three/blink.js";
|
|
57
|
+
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
58
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
57
59
|
import { vectorToCoordinates as oe } from "../../../shared-utils/vectorToCoordinate.js";
|
|
58
60
|
import { transformPosition as L } from "../../../shared-utils/five/transformPosition.js";
|
|
59
61
|
import { lookPoint as re } from "../../../shared-utils/five/lookPoint.js";
|
|
60
62
|
import { uuid as le } from "../../../shared-utils/uuid.js";
|
|
61
|
-
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
62
63
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
63
64
|
import { objectAssignDeepExports as y } from "../../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
64
65
|
import { getTagPosition as $, getTagCenterPosition as z } from "../../utils/tagPosition.js";
|
|
@@ -115,8 +116,11 @@ import "../../../shared-utils/five/getPosition.js";
|
|
|
115
116
|
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
116
117
|
import "../../../shared-utils/three/PointSelector/utils/contents.js";
|
|
117
118
|
import "../../../Sculpt/utils/three/rayOnLine.js";
|
|
119
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
120
|
+
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
121
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
118
122
|
import "../../../shared-utils/formatRad.js";
|
|
119
|
-
class
|
|
123
|
+
class Ji {
|
|
120
124
|
constructor(i, e) {
|
|
121
125
|
f(this, "plugin");
|
|
122
126
|
f(this, "id");
|
|
@@ -709,5 +713,5 @@ class Li {
|
|
|
709
713
|
}
|
|
710
714
|
}
|
|
711
715
|
export {
|
|
712
|
-
|
|
716
|
+
Ji as BaseTag
|
|
713
717
|
};
|
|
@@ -46,13 +46,14 @@ import "@realsee/five/line";
|
|
|
46
46
|
import "../../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
47
47
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
48
48
|
import "../../../vendor/animejs/lib/anime.es.js";
|
|
49
|
-
import { waitFiveModelLoaded as H } from "../../../shared-utils/five/fiveModelLoad.js";
|
|
50
49
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
50
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
51
|
+
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
52
|
+
import { waitFiveModelLoaded as H } from "../../../shared-utils/five/fiveModelLoad.js";
|
|
51
53
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
52
54
|
import "../../../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
53
55
|
import "../../../shared-utils/createResizeObserver.js";
|
|
54
56
|
import "../../../shared-utils/even.js";
|
|
55
|
-
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
56
57
|
import "../../../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
57
58
|
import "../../../shared-utils/three/centerPoint.js";
|
|
58
59
|
import "../../../shared-utils/isNil.js";
|
|
@@ -158,6 +159,9 @@ import "../../../shared-utils/five/getPosition.js";
|
|
|
158
159
|
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
159
160
|
import "../../../shared-utils/three/PointSelector/utils/contents.js";
|
|
160
161
|
import "../../../Sculpt/utils/three/rayOnLine.js";
|
|
162
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
163
|
+
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
164
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
161
165
|
import "@realsee/five";
|
|
162
166
|
import "../../utils/noTypecheck.js";
|
|
163
167
|
import "../../Components/Tag/AudioTag/index.js";
|
|
@@ -193,7 +197,7 @@ import "../../../shared-utils/five/getFloorIndex.js";
|
|
|
193
197
|
import "../../../shared-utils/safeObj.js";
|
|
194
198
|
import "../../utils/Cache.js";
|
|
195
199
|
import "../../../shared-utils/promise/withResolvers.js";
|
|
196
|
-
class
|
|
200
|
+
class Jo extends R {
|
|
197
201
|
constructor(t, m) {
|
|
198
202
|
super(t, m);
|
|
199
203
|
v(this, "loading", !1);
|
|
@@ -287,5 +291,5 @@ class Wo extends R {
|
|
|
287
291
|
}
|
|
288
292
|
}
|
|
289
293
|
export {
|
|
290
|
-
|
|
294
|
+
Jo as ModelTag
|
|
291
295
|
};
|
|
@@ -43,13 +43,14 @@ import "@realsee/five/line";
|
|
|
43
43
|
import "../../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
44
44
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
45
45
|
import "../../../vendor/animejs/lib/anime.es.js";
|
|
46
|
-
import { waitFiveModelLoaded as C } from "../../../shared-utils/five/fiveModelLoad.js";
|
|
47
46
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
47
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
48
|
+
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
49
|
+
import { waitFiveModelLoaded as C } from "../../../shared-utils/five/fiveModelLoad.js";
|
|
48
50
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
49
51
|
import "../../../shared-utils/even.js";
|
|
50
52
|
import "../../../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
51
53
|
import "../../../shared-utils/three/centerPoint.js";
|
|
52
|
-
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
53
54
|
import "../../../shared-utils/isNil.js";
|
|
54
55
|
import "../../../shared-utils/three/loadTexture.js";
|
|
55
56
|
import "../../../shared-utils/three/Quadrangle.js";
|
|
@@ -154,6 +155,9 @@ import "../../../shared-utils/five/getPosition.js";
|
|
|
154
155
|
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
155
156
|
import "../../../shared-utils/three/PointSelector/utils/contents.js";
|
|
156
157
|
import "../../../Sculpt/utils/three/rayOnLine.js";
|
|
158
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
159
|
+
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
160
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
157
161
|
import "@realsee/five";
|
|
158
162
|
import "../../utils/noTypecheck.js";
|
|
159
163
|
import "../../Components/Tag/AudioTag/index.js";
|
|
@@ -193,7 +197,7 @@ import "../../../shared-utils/safeObj.js";
|
|
|
193
197
|
import "../../utils/Cache.js";
|
|
194
198
|
import "../../../shared-utils/promise/withResolvers.js";
|
|
195
199
|
const O = /* @__PURE__ */ new Map(), x = /* @__PURE__ */ new Map();
|
|
196
|
-
class
|
|
200
|
+
class Je extends A {
|
|
197
201
|
constructor(i, t) {
|
|
198
202
|
super(i, t), this.state.unfolded = !0, this.loadModel();
|
|
199
203
|
}
|
|
@@ -302,5 +306,5 @@ class We extends A {
|
|
|
302
306
|
}
|
|
303
307
|
}
|
|
304
308
|
export {
|
|
305
|
-
|
|
309
|
+
Je as PlaneTag
|
|
306
310
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var c = Object.defineProperty;
|
|
2
|
-
var f = (
|
|
3
|
-
var p = (
|
|
2
|
+
var f = (r, o, t) => o in r ? c(r, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[o] = t;
|
|
3
|
+
var p = (r, o, t) => (f(r, 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";
|
|
@@ -42,25 +42,29 @@ import "../../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
|
42
42
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
43
43
|
import "../../../vendor/animejs/lib/anime.es.js";
|
|
44
44
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
45
|
-
import "../../../
|
|
46
|
-
import "../../../shared-utils/five/fiveModelLoad.js";
|
|
47
|
-
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
48
|
-
import "../../../shared-utils/CSS3DRender/index.js";
|
|
45
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
49
46
|
import "../../../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
50
47
|
import "../../../shared-utils/createResizeObserver.js";
|
|
48
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
49
|
+
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
50
|
+
import "../../../shared-utils/util.js";
|
|
51
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
52
|
+
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
53
|
+
import "../../../shared-utils/CSS3DRender/index.js";
|
|
54
|
+
import "../../../shared-utils/five/fiveModelLoad.js";
|
|
51
55
|
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
52
56
|
import "../../../Sculpt/Meshes/Line.js";
|
|
53
57
|
import "../../../Sculpt/typings/style.js";
|
|
54
58
|
import "../../../shared-utils/three/IObject3D.js";
|
|
55
59
|
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
56
60
|
import "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
57
|
-
import "../../../shared-utils/util.js";
|
|
58
61
|
import "../../../shared-utils/three/core/LineGeometry.js";
|
|
59
62
|
import "../../../shared-utils/three/core/LineMaterial.js";
|
|
60
63
|
import "../../../shared-utils/three/core/Line2.js";
|
|
61
64
|
import "../../../shared-utils/three/core/LineMaterial2.js";
|
|
62
65
|
import "../../../Sculpt/utils/unit.js";
|
|
63
66
|
import "../../../Sculpt/utils/renderDom.js";
|
|
67
|
+
import "../../../shared-utils/five/FivePuppet.js";
|
|
64
68
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
65
69
|
import "../../../shared-utils/isTouchDevice.js";
|
|
66
70
|
import "../../../shared-utils/five/getPosition.js";
|
|
@@ -83,7 +87,7 @@ import "../../../shared-utils/safeObj.js";
|
|
|
83
87
|
import "../../utils/Cache.js";
|
|
84
88
|
import "../../../shared-utils/promise/withResolvers.js";
|
|
85
89
|
const v = new l.Vector2();
|
|
86
|
-
class
|
|
90
|
+
class Jt extends g {
|
|
87
91
|
constructor(t, i) {
|
|
88
92
|
super(t, i);
|
|
89
93
|
p(this, "__Object__");
|
|
@@ -126,10 +130,10 @@ class Wt extends g {
|
|
|
126
130
|
this.originPosition = t, this.position = t, this.cache.clear(), this.updateVisible(), this.updateScreenPosition(), this.updateZIndex(), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
|
|
127
131
|
}
|
|
128
132
|
updateScreenPosition(t) {
|
|
129
|
-
var
|
|
133
|
+
var m;
|
|
130
134
|
if (this.stickType !== "2DPoint" && this.stickType !== "3DPoint")
|
|
131
135
|
return;
|
|
132
|
-
const { force: i = !1 } = t != null ? t : {}, s = i ? this.state.visible : this.currentVisible, e = (
|
|
136
|
+
const { force: i = !1 } = t != null ? t : {}, s = i ? this.state.visible : this.currentVisible, e = (m = this.__Object__) != null ? m : {
|
|
133
137
|
timeoutId: void 0,
|
|
134
138
|
inAnimation: !1
|
|
135
139
|
};
|
|
@@ -139,18 +143,18 @@ class Wt extends g {
|
|
|
139
143
|
});
|
|
140
144
|
}, 1e3)) : e.timeoutId && (clearTimeout(e.timeoutId), e.inAnimation = !1, e.timeoutId = void 0), !s && !e.inAnimation)
|
|
141
145
|
return;
|
|
142
|
-
const
|
|
143
|
-
if (
|
|
144
|
-
const
|
|
146
|
+
const n = this.computeTagProject();
|
|
147
|
+
if (n && this.five.renderer) {
|
|
148
|
+
const a = (() => {
|
|
145
149
|
if (!this.currentConfig.simulate3D)
|
|
146
150
|
return 1;
|
|
147
151
|
const u = 2 * Math.tan(0.5 * this.five.camera.fov / 180 * Math.PI), h = this.getDistance(void 0, 1);
|
|
148
152
|
return Math.max(Math.min(1 - u * h / 40, 1), 0.5);
|
|
149
153
|
})(), d = this.five.renderer.getSize(v);
|
|
150
154
|
this.screenPosition = {
|
|
151
|
-
leftPx: (
|
|
152
|
-
topPx: (-
|
|
153
|
-
scale:
|
|
155
|
+
leftPx: (n.x + 1) / 2 * d.x,
|
|
156
|
+
topPx: (-n.y + 1) / 2 * d.y,
|
|
157
|
+
scale: a
|
|
154
158
|
};
|
|
155
159
|
} else
|
|
156
160
|
this.screenPosition = null;
|
|
@@ -174,5 +178,5 @@ class Wt extends g {
|
|
|
174
178
|
}
|
|
175
179
|
}
|
|
176
180
|
export {
|
|
177
|
-
|
|
181
|
+
Jt as PointTag
|
|
178
182
|
};
|
|
@@ -3,6 +3,7 @@ var a = (p, i, t) => i in p ? n(p, i, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var o = (p, i, t) => (a(p, typeof i != "symbol" ? i + "" : i, t), t);
|
|
4
4
|
import { Group as s } from "three";
|
|
5
5
|
import { TagUtil as l } from "./TagUtil.js";
|
|
6
|
+
import "../typings/tag/TagConfig.js";
|
|
6
7
|
import "../tag.config.js";
|
|
7
8
|
import "../../shared-utils/positionToVector3.js";
|
|
8
9
|
import "../utils/tag/tagCheck.js";
|
|
@@ -10,6 +11,7 @@ import "../utils/normalPositionToPositions.js";
|
|
|
10
11
|
import "../../vendor/svelte/store/index.js";
|
|
11
12
|
import "../../vendor/svelte/internal/index.js";
|
|
12
13
|
import "../../shared-utils/device.js";
|
|
14
|
+
import "@realsee/five";
|
|
13
15
|
import "../utils/model/mediaPlane.js";
|
|
14
16
|
import "../../shared-utils/three/centerPoint.js";
|
|
15
17
|
import "../../shared-utils/three/loadTexture.js";
|
|
@@ -21,21 +23,16 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
21
23
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
22
24
|
import "../../shared-utils/three/getNormal.js";
|
|
23
25
|
import "../../shared-utils/constants.js";
|
|
24
|
-
import "../../shared-utils/five/FiveDomEvents.js";
|
|
25
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
26
|
-
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
27
|
-
import "../../shared-utils/five/getFiveModel.js";
|
|
28
|
-
import "../../shared-utils/three/core/Raycaster.js";
|
|
29
|
-
import "../utils/Cache.js";
|
|
30
|
-
import "../../base/BasePlugin.js";
|
|
31
|
-
import "../../shared-utils/Subscribe.js";
|
|
32
26
|
import "../../shared-utils/tag.js";
|
|
33
27
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
28
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
34
29
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
35
30
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
31
|
+
import "../../shared-utils/Subscribe.js";
|
|
36
32
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
37
33
|
import "../../shared-utils/five/transformPosition.js";
|
|
38
34
|
import "../../shared-utils/three/temp.js";
|
|
35
|
+
import "../../shared-utils/three/core/Raycaster.js";
|
|
39
36
|
import "../../shared-utils/dom/resizeObserver.js";
|
|
40
37
|
import "../../shared-utils/five/fiveEveryReadyListener.js";
|
|
41
38
|
import "../../shared-utils/throttle.js";
|
|
@@ -48,6 +45,7 @@ import "../../shared-utils/three/Assets/index.js";
|
|
|
48
45
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
49
46
|
import "../../shared-utils/even.js";
|
|
50
47
|
import "../../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
48
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
51
49
|
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
52
50
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
53
51
|
import "@realsee/five/line";
|
|
@@ -56,34 +54,45 @@ import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
|
56
54
|
import "../../shared-utils/three/core/Sphere.js";
|
|
57
55
|
import "../../vendor/animejs/lib/anime.es.js";
|
|
58
56
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
59
|
-
import "../../
|
|
60
|
-
import "@realsee/five";
|
|
61
|
-
import "../../shared-utils/five/fiveModelLoad.js";
|
|
62
|
-
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
63
|
-
import "../../shared-utils/CSS3DRender/index.js";
|
|
57
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
64
58
|
import "../../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
65
59
|
import "../../shared-utils/createResizeObserver.js";
|
|
60
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
61
|
+
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
62
|
+
import "../../shared-utils/util.js";
|
|
63
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
64
|
+
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
65
|
+
import "../../shared-utils/CSS3DRender/index.js";
|
|
66
|
+
import "../../shared-utils/five/fiveModelLoad.js";
|
|
66
67
|
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
67
68
|
import "../../Sculpt/Meshes/Line.js";
|
|
68
69
|
import "../../Sculpt/typings/style.js";
|
|
69
70
|
import "../../shared-utils/three/IObject3D.js";
|
|
70
71
|
import "../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
71
72
|
import "../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
72
|
-
import "../../shared-utils/util.js";
|
|
73
73
|
import "../../shared-utils/three/core/LineGeometry.js";
|
|
74
74
|
import "../../shared-utils/three/core/LineMaterial.js";
|
|
75
75
|
import "../../shared-utils/three/core/Line2.js";
|
|
76
76
|
import "../../shared-utils/three/core/LineMaterial2.js";
|
|
77
77
|
import "../../Sculpt/utils/unit.js";
|
|
78
78
|
import "../../Sculpt/utils/renderDom.js";
|
|
79
|
+
import "../../shared-utils/five/FivePuppet.js";
|
|
79
80
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
80
81
|
import "../../shared-utils/isTouchDevice.js";
|
|
81
82
|
import "../../shared-utils/five/getPosition.js";
|
|
82
83
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
83
84
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
84
85
|
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
86
|
+
import "../../shared-utils/five/mode.js";
|
|
87
|
+
import "../../shared-utils/five/FiveDomEvents.js";
|
|
88
|
+
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
89
|
+
import "../utils/Cache.js";
|
|
90
|
+
import "../../base/BasePlugin.js";
|
|
85
91
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
86
|
-
|
|
92
|
+
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
93
|
+
import "../../shared-utils/typescript/entries.js";
|
|
94
|
+
import "../utils/tag/adaptConfig.js";
|
|
95
|
+
class Xt extends l {
|
|
87
96
|
constructor(t) {
|
|
88
97
|
super(t);
|
|
89
98
|
o(this, "rendererMap", /* @__PURE__ */ new Map());
|
|
@@ -107,9 +116,9 @@ class qt extends l {
|
|
|
107
116
|
* @param config.usePoint 是否需要标签点, 默认为 false
|
|
108
117
|
* @note 优先级低于 tag.element
|
|
109
118
|
*/
|
|
110
|
-
registerRenderer(t, r,
|
|
111
|
-
var
|
|
112
|
-
this.rendererMap.set(t, { renderer: r, usePoint: (
|
|
119
|
+
registerRenderer(t, r, m) {
|
|
120
|
+
var e;
|
|
121
|
+
this.rendererMap.set(t, { renderer: r, usePoint: (e = m == null ? void 0 : m.usePoint) != null ? e : !1 });
|
|
113
122
|
}
|
|
114
123
|
bindRenderer(t, r) {
|
|
115
124
|
this.contentTypeMap.set(t, r);
|
|
@@ -128,11 +137,11 @@ class qt extends l {
|
|
|
128
137
|
(r = t.tag3DContentSvelte) == null || r.dispose(), t.tag3DContentSvelte = void 0;
|
|
129
138
|
});
|
|
130
139
|
for (const [t, r] of this.store.css3DRenderDisposer) {
|
|
131
|
-
const
|
|
132
|
-
(!
|
|
140
|
+
const m = this.getTagById(t);
|
|
141
|
+
(!m || m.stickType === "2DPoint") && (r == null || r.forEach((e) => e == null ? void 0 : e()), this.store.css3DRenderDisposer.delete(t));
|
|
133
142
|
}
|
|
134
143
|
}
|
|
135
144
|
}
|
|
136
145
|
export {
|
|
137
|
-
|
|
146
|
+
Xt as TagRender
|
|
138
147
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import * as THREE from 'three';
|
|
1
|
+
import { type TagContentType, type StickType, type TagId, type MediaStore, type State, type PluginEventMap, type TagInstance, type Tag, type TagConfig } from '../typings';
|
|
2
|
+
import type * as THREE from 'three';
|
|
3
3
|
import type { Tags } from '../typings';
|
|
4
|
-
import { Five } from '@realsee/five';
|
|
5
|
-
import { FiveDomEvents } from '../../shared-utils
|
|
4
|
+
import { Five, type Mode } from '@realsee/five';
|
|
5
|
+
import { FiveDomEvents } from '../../shared-utils';
|
|
6
6
|
import type { BaseTag } from './Tag/BaseTag';
|
|
7
7
|
import { Cache } from '../utils/Cache';
|
|
8
8
|
import * as BasePlugin from '../../base/BasePlugin';
|
|
@@ -67,8 +67,15 @@ export declare abstract class TagUtil extends BasePlugin.Controller<State, Plugi
|
|
|
67
67
|
};
|
|
68
68
|
/** 暂停当前标签内进行的所有多媒体 */
|
|
69
69
|
pauseCurrentMedia(): void;
|
|
70
|
+
/**
|
|
71
|
+
* @description 获取标签配置
|
|
72
|
+
*/
|
|
73
|
+
getTagConfig(tag: Tag, params?: {
|
|
74
|
+
useCache?: boolean;
|
|
75
|
+
fiveMode?: Mode;
|
|
76
|
+
}): TagConfig<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown">;
|
|
70
77
|
protected loadVideoFirstFrame: () => void;
|
|
71
|
-
protected getPositions(tag: BaseTag): [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3] | [ArrayPosition, ArrayPosition, ArrayPosition, ArrayPosition];
|
|
78
|
+
protected getPositions(tag: BaseTag): [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3] | [import("../typings").ArrayPosition, import("../typings").ArrayPosition, import("../typings").ArrayPosition, import("../typings").ArrayPosition];
|
|
72
79
|
protected addObjectClickHandler(tag: BaseTag, object: THREE.Object3D | undefined, handler: (event: Event) => any): () => void;
|
|
73
80
|
protected tagsDo: (tags: TagInstance[], func: (tag: TagInstance) => any, isUpdateing?: boolean) => void;
|
|
74
81
|
/**
|
|
@@ -76,5 +83,11 @@ export declare abstract class TagUtil extends BasePlugin.Controller<State, Plugi
|
|
|
76
83
|
* @returns isDisposed; 已经销毁返回 true,否则返回 false
|
|
77
84
|
*/
|
|
78
85
|
protected checkDisposed(): boolean;
|
|
86
|
+
/**
|
|
87
|
+
* @description 获取merge后的配置
|
|
88
|
+
*/
|
|
89
|
+
protected calculateTagConfig(tag: Tag | TagInstance, params?: {
|
|
90
|
+
useCache?: boolean;
|
|
91
|
+
}): TagInstance['computedConfig'];
|
|
79
92
|
}
|
|
80
93
|
export {};
|