@realsee/dnalogel 3.69.2 → 3.69.3-alpha.1
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 +3 -31
- package/dist/CSS3DRenderPlugin/Controller.d.ts +4 -0
- package/dist/CurrentPanoImagePlugin/Controller.d.ts +2 -1
- package/dist/GuideLinePlugin/Controller.d.ts +0 -1
- package/dist/MeasurePlugin/Controller.d.ts +3 -26
- package/dist/MeasurePlugin/index.d.ts +1 -7
- package/dist/PanoTagPlugin/typings/controller.d.ts +0 -3
- package/dist/Sculpt/typings/style.d.ts +0 -5
- package/dist/Sculpt/utils/unit.d.ts +1 -1
- package/dist/base/BasePlugin.d.ts +4 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +0 -2
- package/dist/floorplan/typings/index.d.ts +0 -2
- package/dist/index.cjs.js +72 -72
- package/dist/index.js +8074 -8216
- package/dist/index.umd.js +64 -64
- package/dist/shared-utils/index.d.ts +1 -2
- package/dist/shared-utils/three/Magnifier.d.ts +0 -2
- package/dist/shared-utils/three/PointSelector/index.d.ts +0 -5
- package/dist/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +0 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +7 -5
- 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 +7 -5
- package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +7 -5
- package/docs/classes/Object3DHelperController.html +7 -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 +34 -32
- 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 +2 -2
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +8 -8
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointDomHelper.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +12 -12
- 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 +5 -5
- 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 +5 -5
- 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 +7 -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/MeasurePlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/SculptPluginForFive.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -0
- 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 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -0
- 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.BoxItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +3 -4
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/SculptConfig.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +3 -3
- 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/TagState.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +4 -6
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +8 -8
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -3
- 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 +5 -16
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +2 -3
- 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 -5
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
- package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
- package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/SculptType.Theme.html +2 -2
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPlacement.html +2 -2
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/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 +1 -1
- package/libs/AreaMakerPlugin/index.js +1 -1
- package/libs/CSS3DRenderPlugin/Controller.d.ts +4 -0
- package/libs/CSS3DRenderPlugin/Controller.js +35 -29
- package/libs/CSS3DRenderPlugin/index.js +1 -1
- package/libs/CruisePlugin/BaseController.js +1 -1
- package/libs/CruisePlugin/Move.js +3 -5
- package/libs/CruisePlugin/Work.js +3 -5
- package/libs/CruisePlugin/index.js +7 -9
- package/libs/CurrentPanoImagePlugin/Controller.d.ts +2 -1
- package/libs/CurrentPanoImagePlugin/Controller.js +24 -24
- package/libs/CurrentPanoImagePlugin/index.js +1 -1
- package/libs/DigitalHumanPlugin/index.d.ts +67 -0
- package/libs/DigitalHumanPlugin/index.js +318 -0
- package/libs/DigitalHumanPlugin/stateMachine.d.ts +142 -0
- package/libs/DigitalHumanPlugin/stateMachine.js +153 -0
- package/libs/DigitalPerformancePlugin/controller/index.d.ts +224 -0
- package/libs/DigitalPerformancePlugin/controller/index.js +865 -0
- package/libs/DigitalPerformancePlugin/core/DigitalHuman.d.ts +41 -0
- package/libs/DigitalPerformancePlugin/core/DigitalHuman.js +174 -0
- package/libs/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +33 -0
- package/libs/DigitalPerformancePlugin/core/DigitalPlayground.js +149 -0
- package/libs/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +142 -0
- package/libs/DigitalPerformancePlugin/core/DigitalStateMachine.js +153 -0
- package/libs/DigitalPerformancePlugin/core/Trace.d.ts +9 -0
- package/libs/DigitalPerformancePlugin/core/Trace.js +23 -0
- package/libs/DigitalPerformancePlugin/index.d.ts +11 -0
- package/libs/DigitalPerformancePlugin/index.js +17 -0
- package/libs/DigitalPerformancePlugin/mock.d.ts +70 -0
- package/libs/DigitalPerformancePlugin/mock.js +273 -0
- package/libs/DigitalPerformancePlugin/typings/index.d.ts +79 -0
- package/libs/DigitalPerformancePlugin/typings/index.js +1 -0
- package/libs/GuideLinePlugin/Controller.d.ts +0 -1
- package/libs/GuideLinePlugin/Controller.js +83 -106
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -5
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +19 -20
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +7 -9
- package/libs/MeasurePlugin/Controller.d.ts +3 -26
- package/libs/MeasurePlugin/Controller.js +316 -397
- package/libs/MeasurePlugin/index.d.ts +1 -7
- package/libs/ModelChassisCompassPlugin/Plugin.js +52 -116
- package/libs/ModelChassisCompassPlugin/index.js +0 -64
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +61 -125
- package/libs/ModelEntryDoorGuidePlugin/index.js +0 -64
- package/libs/ModelMakerPlugin/Controller.js +1 -1
- package/libs/ModelMakerPlugin/index.js +1 -1
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +69 -69
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
- package/libs/ModelTVVideoPlugin/index.js +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +1 -1
- package/libs/Object3DHelperPlugin/index.js +1 -1
- package/libs/PanoCompassPlugin/Controller.js +32 -32
- package/libs/PanoCompassPlugin/index.js +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
- package/libs/PanoDoorLabelPlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +10 -10
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
- package/libs/PanoMeasurePlugin/index.js +1 -1
- package/libs/PanoSpatialTagPlugin/Components/tag.js +110 -115
- package/libs/PanoSpatialTagPlugin/Plugin.js +88 -89
- package/libs/PanoSpatialTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +14 -17
- package/libs/PanoTagPlugin/Components/Tag/index.js +2 -3
- package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
- package/libs/PanoTagPlugin/Components/TagItem.js +2 -3
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +2 -3
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +2 -3
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +27 -28
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +2 -3
- package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
- package/libs/PanoTagPlugin/controller/TagUtil.js +1 -1
- package/libs/PanoTagPlugin/controller/index.js +9 -7
- package/libs/PanoTagPlugin/index.js +22 -22
- package/libs/PanoTagPlugin/typings/controller.d.ts +0 -3
- package/libs/PanoTagPlugin/utils/tag/format.js +13 -78
- package/libs/PanoVideoPlugin/Controller.js +1 -1
- package/libs/PanoVideoPlugin/index.js +1 -1
- package/libs/PipelinePlugin/Controller.js +1 -1
- package/libs/PipelinePlugin/index.js +1 -1
- package/libs/Sculpt/Meshes/Line.js +10 -10
- package/libs/Sculpt/Meshes/Prism.js +92 -94
- package/libs/Sculpt/typings/style.d.ts +0 -5
- package/libs/Sculpt/utils/unit.d.ts +1 -1
- package/libs/Sculpt/utils/unit.js +18 -18
- package/libs/base/BasePlugin.d.ts +4 -0
- package/libs/base/BasePlugin.js +20 -14
- package/libs/components/AreaLabel/LabelItem.js +77 -77
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +21 -23
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -6
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +40 -42
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +42 -44
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +0 -2
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +15 -17
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -6
- package/libs/floorplan/typings/index.d.ts +0 -2
- package/libs/index.js +147 -149
- package/libs/shared-utils/exports.js +69 -81
- package/libs/shared-utils/index.d.ts +1 -2
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/Magnifier.d.ts +0 -2
- package/libs/shared-utils/three/Magnifier.js +15 -17
- package/libs/shared-utils/three/PointSelector/index.d.ts +0 -5
- package/libs/shared-utils/three/PointSelector/index.js +37 -38
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +0 -1
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +31 -41
- package/libs/shared-utils/url/absoluteUrl.js +7 -3
- package/package.json +1 -1
- package/dist/shared-utils/url/defaultUrls.d.ts +0 -30
- package/dist/shared-utils/url/replace-static-prefix.d.ts +0 -11
- package/docs/functions/Util.replaceStaticPrefix.html +0 -8
- package/docs/types/MeasureEndReason.html +0 -1
- package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +0 -2
- package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +0 -2
- package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +0 -2
- package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +0 -2
- package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +0 -2
- package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +0 -2
- package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +0 -2
- package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +0 -2
- package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +0 -2
- package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +0 -2
- package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +0 -2
- package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +0 -2
- package/libs/shared-utils/url/defaultUrls.d.ts +0 -30
- package/libs/shared-utils/url/defaultUrls.js +0 -26
- package/libs/shared-utils/url/replace-static-prefix.d.ts +0 -11
- package/libs/shared-utils/url/replace-static-prefix.js +0 -25
|
@@ -10,7 +10,7 @@ var P = (d, e, t) => e in d ? T(d, e, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
V.call(e, t) && P(d, t, e[t]);
|
|
11
11
|
return d;
|
|
12
12
|
}, y = (d, e) => b(d, k(e));
|
|
13
|
-
var D = (d, e, t) => new Promise((
|
|
13
|
+
var D = (d, e, t) => new Promise((m, a) => {
|
|
14
14
|
var n = (p) => {
|
|
15
15
|
try {
|
|
16
16
|
o(t.next(p));
|
|
@@ -23,7 +23,7 @@ var D = (d, e, t) => new Promise((s, a) => {
|
|
|
23
23
|
} catch (i) {
|
|
24
24
|
a(i);
|
|
25
25
|
}
|
|
26
|
-
}, o = (p) => p.done ?
|
|
26
|
+
}, o = (p) => p.done ? m(p.value) : Promise.resolve(p.value).then(n, r);
|
|
27
27
|
o((t = t.apply(d, e)).next());
|
|
28
28
|
});
|
|
29
29
|
import { CONST as F } from "../../../shared-utils/constants.js";
|
|
@@ -187,7 +187,6 @@ import "../../../shared-utils/typescript/entries.js";
|
|
|
187
187
|
import "../../utils/tag/adaptConfig.js";
|
|
188
188
|
import "../../typings/tag/TagConfig.js";
|
|
189
189
|
import "../../utils/tag/format.js";
|
|
190
|
-
import "../../../shared-utils/url/defaultUrls.js";
|
|
191
190
|
import "../../../shared-utils/three/blink.js";
|
|
192
191
|
import "../../../shared-utils/vectorToCoordinate.js";
|
|
193
192
|
import "../../../shared-utils/formatRad.js";
|
|
@@ -200,13 +199,13 @@ import "../../../shared-utils/safeObj.js";
|
|
|
200
199
|
import "../../utils/Cache.js";
|
|
201
200
|
import "../../../shared-utils/promise/withResolvers.js";
|
|
202
201
|
const B = /* @__PURE__ */ new Map(), O = /* @__PURE__ */ new Map();
|
|
203
|
-
class
|
|
202
|
+
class Qi extends A {
|
|
204
203
|
constructor(e, t) {
|
|
205
204
|
super(e, t), this.state.unfolded = !0, this.loadModel();
|
|
206
205
|
}
|
|
207
206
|
applyVisible() {
|
|
208
|
-
var t,
|
|
209
|
-
this.computeRenderType() === "Mesh" ? ((
|
|
207
|
+
var t, m, a, n, r, o;
|
|
208
|
+
this.computeRenderType() === "Mesh" ? ((m = (t = this.data.mediaData) == null ? void 0 : t[0]) == null ? void 0 : m.type) === "Video" ? this.renderVideoPlane() : ((n = (a = this.data.mediaData) == null ? void 0 : a[0]) == null ? void 0 : n.type) === "Image" && this.renderImagePlane() : ((r = this.tag3DContentSvelte) == null || r.svelteApp.$set({ tag: this, state: this.plugin.state, temporaryState: this.plugin.temporaryState }), (o = this.tag3DContentSvelte) != null && o.css3DInstance && (this.tag3DContentSvelte.css3DInstance.visible = this.visible, this.five.needsRender = !0));
|
|
210
209
|
}
|
|
211
210
|
set(e, t = !0) {
|
|
212
211
|
super.set(e, t), C(this.five).then(() => {
|
|
@@ -214,24 +213,24 @@ class Xi extends A {
|
|
|
214
213
|
});
|
|
215
214
|
}
|
|
216
215
|
setData(...e) {
|
|
217
|
-
var
|
|
218
|
-
super.setData(...e), this.computeRenderType() === "Mesh" ? ((a = (
|
|
216
|
+
var m, a, n, r, o;
|
|
217
|
+
super.setData(...e), this.computeRenderType() === "Mesh" ? ((a = (m = this.data.mediaData) == null ? void 0 : m[0]) == null ? void 0 : a.type) === "Video" ? this.renderVideoPlane() : ((r = (n = this.data.mediaData) == null ? void 0 : n[0]) == null ? void 0 : r.type) === "Image" && this.renderImagePlane() : (o = this.tag3DContentSvelte) == null || o.svelteApp.$set({ tag: this });
|
|
219
218
|
}
|
|
220
219
|
loadModel() {
|
|
221
220
|
return D(this, null, function* () {
|
|
222
|
-
var t,
|
|
221
|
+
var t, m, a, n, r, o;
|
|
223
222
|
if (yield C(this.five), this.computeRenderType() === "Mesh")
|
|
224
|
-
((
|
|
223
|
+
((m = (t = this.data.mediaData) == null ? void 0 : t[0]) == null ? void 0 : m.type) === "Video" ? this.renderVideoPlane() : ((n = (a = this.data.mediaData) == null ? void 0 : a[0]) == null ? void 0 : n.type) === "Image" && this.renderImagePlane();
|
|
225
224
|
else {
|
|
226
225
|
G(this.five);
|
|
227
226
|
const p = this.position.map(E);
|
|
228
227
|
(o = (r = this.tag3DContentSvelte) == null ? void 0 : r.dispose) == null || o.call(r);
|
|
229
228
|
const i = document.createElement("div");
|
|
230
229
|
i.classList.add("tag-media-container");
|
|
231
|
-
const h = g({ mode: "front", cornerPoints: p, container: i }, this.config.tag3DConfig), l = this.computeRenderType() === "BehindDom" || h.mode === "behind" ? "behind" : "front",
|
|
232
|
-
|
|
230
|
+
const h = g({ mode: "front", cornerPoints: p, container: i }, this.config.tag3DConfig), l = this.computeRenderType() === "BehindDom" || h.mode === "behind" ? "behind" : "front", s = new M(y(g({}, h), { mode: l })), u = this.computeNormal();
|
|
231
|
+
s.position.add(u.clone().setLength(F.Z_FIGHTING_OFFSET)), this.plugin.group.add(s);
|
|
233
232
|
let c;
|
|
234
|
-
|
|
233
|
+
s.mode === "behind" && this.config.clickable !== !1 && (c = this.addObjectClickHandler(this, s, (I) => {
|
|
235
234
|
this.plugin.hooks.emit("click", { event: I, target: "TagContent", tag: this });
|
|
236
235
|
}));
|
|
237
236
|
const f = new N({
|
|
@@ -248,13 +247,13 @@ class Xi extends A {
|
|
|
248
247
|
this.tag3DContentSvelte = {
|
|
249
248
|
svelteApp: f,
|
|
250
249
|
domContainer: {
|
|
251
|
-
css3DObject:
|
|
250
|
+
css3DObject: s
|
|
252
251
|
},
|
|
253
|
-
css3DInstance:
|
|
252
|
+
css3DInstance: s,
|
|
254
253
|
initialNormal: u,
|
|
255
254
|
currentNormal: u,
|
|
256
255
|
dispose: () => {
|
|
257
|
-
f.$destroy(),
|
|
256
|
+
f.$destroy(), s.dispose(), c == null || c();
|
|
258
257
|
}
|
|
259
258
|
}, this.five.needsRender = !0;
|
|
260
259
|
}
|
|
@@ -268,7 +267,7 @@ class Xi extends A {
|
|
|
268
267
|
const { url: t } = e;
|
|
269
268
|
if (!t)
|
|
270
269
|
return;
|
|
271
|
-
const
|
|
270
|
+
const m = this.currentVisible, a = (() => !!(this.mediaPlane && !m))(), n = (() => !!(!this.mediaPlane && m))(), r = (() => !!(this.mediaPlane && this.mediaPlane.src !== t))();
|
|
272
271
|
if ((a || r) && this.mediaPlane && (this.plugin.imagePlaneGroup.remove(this.mediaPlane), this.mediaPlane.dispose(), this.mediaPlane.removeFromParent(), this.mediaPlane = void 0), n || r) {
|
|
273
272
|
const p = this.position.map(S), i = new L(t, p, {
|
|
274
273
|
videoCoverSrc: e.videoCoverUrl,
|
|
@@ -283,16 +282,16 @@ class Xi extends A {
|
|
|
283
282
|
i,
|
|
284
283
|
"click",
|
|
285
284
|
(l) => {
|
|
286
|
-
var
|
|
287
|
-
!((
|
|
285
|
+
var s;
|
|
286
|
+
!((s = i.videoInstance) != null && s.paused) && i.videoInstance.muted === !1 && this.plugin.hooks.emit("playStateChange", { event: l, state: "playing", tag: this, mediaInstance: i.videoInstance });
|
|
288
287
|
}
|
|
289
288
|
), i.onVideoReady = (l) => {
|
|
290
|
-
l.addEventListener("play", (
|
|
291
|
-
this.plugin.mediaStore.set({ currentMediaElement: i.videoInstance }), this.plugin.hooks.emit("playStateChange", { event:
|
|
292
|
-
}), l.addEventListener("pause", (
|
|
293
|
-
this.plugin.hooks.emit("playStateChange", { event:
|
|
294
|
-
}), l.addEventListener("ended", (
|
|
295
|
-
this.plugin.hooks.emit("playStateChange", { event:
|
|
289
|
+
l.addEventListener("play", (s) => {
|
|
290
|
+
this.plugin.mediaStore.set({ currentMediaElement: i.videoInstance }), this.plugin.hooks.emit("playStateChange", { event: s, state: "playing", tag: this, mediaInstance: i.videoInstance });
|
|
291
|
+
}), l.addEventListener("pause", (s) => {
|
|
292
|
+
this.plugin.hooks.emit("playStateChange", { event: s, state: "paused", tag: this, mediaInstance: i.videoInstance });
|
|
293
|
+
}), l.addEventListener("ended", (s) => {
|
|
294
|
+
this.plugin.hooks.emit("playStateChange", { event: s, state: "paused", tag: this, mediaInstance: i.videoInstance });
|
|
296
295
|
});
|
|
297
296
|
};
|
|
298
297
|
const h = (l) => (this.five.on("renderFrame", l), () => this.five.off("renderFrame", l));
|
|
@@ -307,8 +306,8 @@ class Xi extends A {
|
|
|
307
306
|
const { url: t } = e;
|
|
308
307
|
if (!t)
|
|
309
308
|
return;
|
|
310
|
-
const
|
|
311
|
-
(n || o) && this.mediaPlane && (this.plugin.imagePlaneGroup.remove(this.mediaPlane), this.mediaPlane.dispose(), this.mediaPlane.removeFromParent(), this.mediaPlane = void 0), (r || o) && (this.mediaPlane = new j(t,
|
|
309
|
+
const m = this.position.map(S), a = this.currentVisible, n = (() => !!(this.mediaPlane && !a))(), r = (() => !!(!this.mediaPlane && a))(), o = (() => !!(this.mediaPlane && this.mediaPlane.src !== t))();
|
|
310
|
+
(n || o) && this.mediaPlane && (this.plugin.imagePlaneGroup.remove(this.mediaPlane), this.mediaPlane.dispose(), this.mediaPlane.removeFromParent(), this.mediaPlane = void 0), (r || o) && (this.mediaPlane = new j(t, m, { objectFit: this.data.objectFit }), this.getConfig().clickable !== !1 && this.plugin.domEvents.addAutoBindEventListener(
|
|
312
311
|
this.mediaPlane,
|
|
313
312
|
"click",
|
|
314
313
|
(p) => {
|
|
@@ -322,5 +321,5 @@ class Xi extends A {
|
|
|
322
321
|
}
|
|
323
322
|
}
|
|
324
323
|
export {
|
|
325
|
-
|
|
324
|
+
Qi as PlaneTag
|
|
326
325
|
};
|
|
@@ -73,7 +73,6 @@ import "../../../shared-utils/three/PointSelector/utils/contents.js";
|
|
|
73
73
|
import "../../../Sculpt/utils/three/rayOnLine.js";
|
|
74
74
|
import "../../../shared-utils/five/mode.js";
|
|
75
75
|
import "../../utils/tag/format.js";
|
|
76
|
-
import "../../../shared-utils/url/defaultUrls.js";
|
|
77
76
|
import "../../../shared-utils/three/blink.js";
|
|
78
77
|
import "../../../shared-utils/vectorToCoordinate.js";
|
|
79
78
|
import "../../../shared-utils/formatRad.js";
|
|
@@ -88,7 +87,7 @@ import "../../../shared-utils/safeObj.js";
|
|
|
88
87
|
import "../../utils/Cache.js";
|
|
89
88
|
import "../../../shared-utils/promise/withResolvers.js";
|
|
90
89
|
const v = new l.Vector2();
|
|
91
|
-
class
|
|
90
|
+
class Jt extends g {
|
|
92
91
|
constructor(t, i) {
|
|
93
92
|
super(t, i);
|
|
94
93
|
p(this, "__Object__");
|
|
@@ -185,5 +184,5 @@ class Kt extends g {
|
|
|
185
184
|
}
|
|
186
185
|
}
|
|
187
186
|
export {
|
|
188
|
-
|
|
187
|
+
Jt as PointTag
|
|
189
188
|
};
|
|
@@ -88,7 +88,7 @@ import "../../shared-utils/five/FiveDomEvents.js";
|
|
|
88
88
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
89
89
|
import "../utils/Cache.js";
|
|
90
90
|
import "../../base/BasePlugin.js";
|
|
91
|
-
import "../../shared-utils/url/
|
|
91
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
92
92
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
93
93
|
import "../../shared-utils/typescript/entries.js";
|
|
94
94
|
import "../utils/tag/adaptConfig.js";
|
|
@@ -100,7 +100,7 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
100
100
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
101
101
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
102
102
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
103
|
-
import "../../shared-utils/url/
|
|
103
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
104
104
|
class zt extends ce {
|
|
105
105
|
constructor(e) {
|
|
106
106
|
super(e);
|
|
@@ -62,7 +62,6 @@ import x from "../Components/TagContainer.js";
|
|
|
62
62
|
import { fiveEveryReadyListener as W } from "../../shared-utils/five/fiveEveryReadyListener.js";
|
|
63
63
|
import { vector3ToArray as P } from "../../shared-utils/three/vector3ToArray.js";
|
|
64
64
|
import { tweenProgress as q } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
65
|
-
import "../../shared-utils/url/defaultUrls.js";
|
|
66
65
|
import "./TagUtil.js";
|
|
67
66
|
import "../typings/tag/TagConfig.js";
|
|
68
67
|
import "../tag.config.js";
|
|
@@ -93,6 +92,7 @@ import "../../shared-utils/Utils/FiveUtil.js";
|
|
|
93
92
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
94
93
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
95
94
|
import "../../shared-utils/five/transformPosition.js";
|
|
95
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
96
96
|
import "../../shared-utils/typescript/entries.js";
|
|
97
97
|
import "../utils/tag/adaptConfig.js";
|
|
98
98
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -262,14 +262,14 @@ class jo extends R {
|
|
|
262
262
|
};
|
|
263
263
|
this.tags.length < 500 ? t() : this.five.ready().then(() => t());
|
|
264
264
|
});
|
|
265
|
-
p(this, "handleFiveWantsMoveToPano", () => {
|
|
265
|
+
p(this, "handleFiveWantsMoveToPano", (e) => {
|
|
266
266
|
if (this.tags.length > 500) {
|
|
267
267
|
this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] });
|
|
268
268
|
return;
|
|
269
269
|
} else
|
|
270
|
-
this.temporaryState.visible = !0, this.tags.forEach((
|
|
271
|
-
|
|
272
|
-
}), this.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.tags.forEach((
|
|
270
|
+
this.temporaryState.visible = !0, this.tags.forEach((t) => {
|
|
271
|
+
t.temporaryState.visible = !0;
|
|
272
|
+
}), this.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.tags.forEach((t) => t.applyVisible());
|
|
273
273
|
});
|
|
274
274
|
p(this, "clickhandler", (e) => {
|
|
275
275
|
e.tag.onClick(e);
|
|
@@ -413,7 +413,7 @@ class jo extends R {
|
|
|
413
413
|
if (n === "Plane")
|
|
414
414
|
return new H(this, o);
|
|
415
415
|
});
|
|
416
|
-
return i.forEach(
|
|
416
|
+
return i.forEach(M), this.tags.push(...i), this.tagsLengthWillUpdate = !0, N(this.five).then(() => l(this, null, function* () {
|
|
417
417
|
var o, n;
|
|
418
418
|
this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(i, (s) => {
|
|
419
419
|
this.tags.includes(s) && (s.updateVisible(), s.updateZIndex());
|
|
@@ -698,7 +698,9 @@ class jo extends R {
|
|
|
698
698
|
* @returns 是否为有效的 ArrayPosition
|
|
699
699
|
*/
|
|
700
700
|
isValidArrayPosition(e) {
|
|
701
|
-
return !Array.isArray(e) || e.length !== 3 ? !1 : e.every(
|
|
701
|
+
return !Array.isArray(e) || e.length !== 3 ? !1 : e.every(
|
|
702
|
+
(t) => typeof t == "number" && !isNaN(t) && isFinite(t)
|
|
703
|
+
);
|
|
702
704
|
}
|
|
703
705
|
}
|
|
704
706
|
export {
|
|
@@ -9,6 +9,27 @@ import "./utils/tag/tagCheck.js";
|
|
|
9
9
|
import "./utils/debounce.js";
|
|
10
10
|
import "./utils/throttle.js";
|
|
11
11
|
import "./utils/tag/format.js";
|
|
12
|
+
import "../shared-utils/audio.js";
|
|
13
|
+
import "../shared-utils/dom/resizeObserver.js";
|
|
14
|
+
import "./controller/TagRender.js";
|
|
15
|
+
import "./controller/TagUtil.js";
|
|
16
|
+
import "./tag.config.js";
|
|
17
|
+
import "./utils/normalPositionToPositions.js";
|
|
18
|
+
import "../vendor/svelte/store/index.js";
|
|
19
|
+
import "../vendor/svelte/internal/index.js";
|
|
20
|
+
import "../shared-utils/device.js";
|
|
21
|
+
import "@realsee/five";
|
|
22
|
+
import "./utils/model/mediaPlane.js";
|
|
23
|
+
import "../shared-utils/three/centerPoint.js";
|
|
24
|
+
import "../shared-utils/three/loadTexture.js";
|
|
25
|
+
import "../shared-utils/three/Quadrangle.js";
|
|
26
|
+
import "../shared-utils/math/pointsIsRectangle.js";
|
|
27
|
+
import "../shared-utils/three/loadVideoTexture.js";
|
|
28
|
+
import "./Assets/Icon.js";
|
|
29
|
+
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
30
|
+
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
31
|
+
import "../shared-utils/three/getNormal.js";
|
|
32
|
+
import "../shared-utils/constants.js";
|
|
12
33
|
import "../shared-utils/tag.js";
|
|
13
34
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
14
35
|
import "../shared-utils/five/getFiveModel.js";
|
|
@@ -19,7 +40,6 @@ import "../shared-utils/Utils/WorkUtil.js";
|
|
|
19
40
|
import "../shared-utils/five/transformPosition.js";
|
|
20
41
|
import "../shared-utils/three/temp.js";
|
|
21
42
|
import "../shared-utils/three/core/Raycaster.js";
|
|
22
|
-
import "../shared-utils/dom/resizeObserver.js";
|
|
23
43
|
import "../shared-utils/five/fiveEveryReadyListener.js";
|
|
24
44
|
import "../shared-utils/throttle.js";
|
|
25
45
|
import "../vendor/hammerjs/hammer.js";
|
|
@@ -31,7 +51,6 @@ import "../shared-utils/three/Assets/index.js";
|
|
|
31
51
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
32
52
|
import "../shared-utils/even.js";
|
|
33
53
|
import "../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
34
|
-
import "../shared-utils/three/centerPoint.js";
|
|
35
54
|
import "../shared-utils/three/getObjectVisible.js";
|
|
36
55
|
import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
37
56
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -64,37 +83,18 @@ import "../shared-utils/three/core/LineMaterial2.js";
|
|
|
64
83
|
import "../Sculpt/utils/unit.js";
|
|
65
84
|
import "../Sculpt/utils/renderDom.js";
|
|
66
85
|
import "../shared-utils/five/FivePuppet.js";
|
|
67
|
-
import "@realsee/five";
|
|
68
86
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
69
87
|
import "../shared-utils/isTouchDevice.js";
|
|
70
88
|
import "../shared-utils/five/getPosition.js";
|
|
71
89
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
72
90
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
73
91
|
import "../Sculpt/utils/three/rayOnLine.js";
|
|
74
|
-
import "../shared-utils/url/defaultUrls.js";
|
|
75
|
-
import "../shared-utils/audio.js";
|
|
76
|
-
import "./controller/TagRender.js";
|
|
77
|
-
import "./controller/TagUtil.js";
|
|
78
|
-
import "./tag.config.js";
|
|
79
|
-
import "./utils/normalPositionToPositions.js";
|
|
80
|
-
import "../vendor/svelte/store/index.js";
|
|
81
|
-
import "../vendor/svelte/internal/index.js";
|
|
82
|
-
import "../shared-utils/device.js";
|
|
83
|
-
import "./utils/model/mediaPlane.js";
|
|
84
|
-
import "../shared-utils/three/loadTexture.js";
|
|
85
|
-
import "../shared-utils/three/Quadrangle.js";
|
|
86
|
-
import "../shared-utils/math/pointsIsRectangle.js";
|
|
87
|
-
import "../shared-utils/three/loadVideoTexture.js";
|
|
88
|
-
import "./Assets/Icon.js";
|
|
89
|
-
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
90
|
-
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
91
|
-
import "../shared-utils/three/getNormal.js";
|
|
92
|
-
import "../shared-utils/constants.js";
|
|
93
92
|
import "../shared-utils/five/mode.js";
|
|
94
93
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
95
94
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
96
95
|
import "./utils/Cache.js";
|
|
97
96
|
import "../base/BasePlugin.js";
|
|
97
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
98
98
|
import "../shared-utils/typescript/entries.js";
|
|
99
99
|
import "./utils/tag/adaptConfig.js";
|
|
100
100
|
import "../shared-utils/animationFrame/index.js";
|
|
@@ -61,9 +61,6 @@ export interface PluginEventMap extends BasePlugin.EventMap<State> {
|
|
|
61
61
|
userAction: boolean;
|
|
62
62
|
}) => void;
|
|
63
63
|
loadVideoFirstFrame: () => void;
|
|
64
|
-
popoverToolbarShow: (params: {
|
|
65
|
-
tag: TagInstance;
|
|
66
|
-
}) => void;
|
|
67
64
|
}
|
|
68
65
|
export type TagEvents<C extends TagContentType = TagContentType> = {
|
|
69
66
|
unfolded: () => void;
|
|
@@ -1,85 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import "../../../vendor/hammerjs/hammer.js";
|
|
4
|
-
import "../../../shared-utils/three/PointSelector/index.js";
|
|
5
|
-
import "../../../shared-utils/three/CSS3DRenderer/index.js";
|
|
6
|
-
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
7
|
-
import "@realsee/five/line";
|
|
8
|
-
import "../../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
9
|
-
import "../../../shared-utils/three/core/Sphere.js";
|
|
10
|
-
import "../../../vendor/animejs/lib/anime.es.js";
|
|
11
|
-
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
12
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
13
|
-
import { PANO_TAG_DEFAULT_LINK_ICON as e } from "../../../shared-utils/url/defaultUrls.js";
|
|
14
|
-
import "../../../shared-utils/five/FivePuppet.js";
|
|
15
|
-
import "../../../shared-utils/positionToVector3.js";
|
|
16
|
-
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
17
|
-
import "../../../shared-utils/five/getFiveModel.js";
|
|
18
|
-
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
19
|
-
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
20
|
-
import "../../../shared-utils/Subscribe.js";
|
|
21
|
-
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
22
|
-
import "../../../shared-utils/five/transformPosition.js";
|
|
23
|
-
import "../../../shared-utils/three/temp.js";
|
|
24
|
-
import "../../../shared-utils/three/core/Raycaster.js";
|
|
25
|
-
import "../../../shared-utils/dom/resizeObserver.js";
|
|
26
|
-
import "../../../shared-utils/five/fiveEveryReadyListener.js";
|
|
27
|
-
import "../../../shared-utils/throttle.js";
|
|
28
|
-
import "../../../shared-utils/five/fiveModelLoad.js";
|
|
29
|
-
import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
30
|
-
import "../../../shared-utils/three/Magnifier.js";
|
|
31
|
-
import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
32
|
-
import "../../../shared-utils/three/Assets/index.js";
|
|
33
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
34
|
-
import "../../../shared-utils/even.js";
|
|
35
|
-
import "../../../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
36
|
-
import "../../../shared-utils/three/centerPoint.js";
|
|
37
|
-
import "../../../shared-utils/three/getObjectVisible.js";
|
|
38
|
-
import "../../../shared-utils/isNil.js";
|
|
39
|
-
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
40
|
-
import "../../../shared-utils/CSS3DRender/index.js";
|
|
41
|
-
import "../../../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
42
|
-
import "../../../shared-utils/createResizeObserver.js";
|
|
43
|
-
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
44
|
-
import "../../../Sculpt/Meshes/Line.js";
|
|
45
|
-
import "../../../Sculpt/typings/style.js";
|
|
46
|
-
import "../../../shared-utils/three/IObject3D.js";
|
|
47
|
-
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
48
|
-
import "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
49
|
-
import "../../../shared-utils/util.js";
|
|
50
|
-
import "../../../shared-utils/three/core/LineGeometry.js";
|
|
51
|
-
import "../../../shared-utils/three/core/LineMaterial.js";
|
|
52
|
-
import "../../../shared-utils/three/core/Line2.js";
|
|
53
|
-
import "../../../shared-utils/three/core/LineMaterial2.js";
|
|
54
|
-
import "../../../Sculpt/utils/unit.js";
|
|
55
|
-
import "../../../Sculpt/utils/renderDom.js";
|
|
56
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
57
|
-
import "../../../shared-utils/isTouchDevice.js";
|
|
58
|
-
import "../../../shared-utils/five/getPosition.js";
|
|
59
|
-
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
60
|
-
import "../../../shared-utils/three/PointSelector/utils/contents.js";
|
|
61
|
-
import "../../../Sculpt/utils/three/rayOnLine.js";
|
|
62
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
63
|
-
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
64
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
65
|
-
import "@realsee/five";
|
|
66
|
-
function n(i) {
|
|
67
|
-
return i.stickType ? i.stickType : i.pointType === "PointTag" && i.dimensionType === "3D" ? "3DPoint" : i.pointType === "PlaneTag" ? "Plane" : "2DPoint";
|
|
1
|
+
function o(e) {
|
|
2
|
+
return e.stickType ? e.stickType : e.pointType === "PointTag" && e.dimensionType === "3D" ? "3DPoint" : e.pointType === "PlaneTag" ? "Plane" : "2DPoint";
|
|
68
3
|
}
|
|
69
|
-
function
|
|
70
|
-
var
|
|
71
|
-
if (
|
|
72
|
-
const
|
|
73
|
-
!((
|
|
74
|
-
url:
|
|
4
|
+
function p(e) {
|
|
5
|
+
var t, i, r, a;
|
|
6
|
+
if (e.stickType || (e.stickType = o(e)), e.contentType === "VRLink" || e.contentType === "PanoLink" || e.contentType === "Link") {
|
|
7
|
+
const n = e;
|
|
8
|
+
!((i = (t = n.data) == null ? void 0 : t.icon) != null && i.url) && !((a = (r = n.style) == null ? void 0 : r.point) != null && a.url) && (n.data.icon = {
|
|
9
|
+
url: "//vr-static.realsee-cdn.cn/release/web/test.09dee741.png",
|
|
75
10
|
steps: 28
|
|
76
11
|
});
|
|
77
12
|
}
|
|
78
|
-
return
|
|
79
|
-
extraData:
|
|
80
|
-
}),
|
|
13
|
+
return e.extraData && (e.data ? e.data.extraData = e.extraData : e.data = {
|
|
14
|
+
extraData: e.extraData
|
|
15
|
+
}), e;
|
|
81
16
|
}
|
|
82
17
|
export {
|
|
83
|
-
|
|
84
|
-
|
|
18
|
+
p as default,
|
|
19
|
+
o as getTagStickType
|
|
85
20
|
};
|
|
@@ -80,7 +80,7 @@ import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
|
80
80
|
import "../Sculpt/utils/three/rayOnLine.js";
|
|
81
81
|
import "../shared-utils/animationFrame/index.js";
|
|
82
82
|
import "./utils/index.js";
|
|
83
|
-
import "../shared-utils/url/
|
|
83
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
84
84
|
class Lr extends _ {
|
|
85
85
|
constructor(r) {
|
|
86
86
|
super(r);
|
|
@@ -69,7 +69,7 @@ import "../Sculpt/utils/three/rayOnLine.js";
|
|
|
69
69
|
import "../shared-utils/animationFrame/index.js";
|
|
70
70
|
import "./utils/index.js";
|
|
71
71
|
import "../base/BasePlugin.js";
|
|
72
|
-
import "../shared-utils/url/
|
|
72
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
73
73
|
const wo = (o) => new r(o);
|
|
74
74
|
export {
|
|
75
75
|
wo as PanoVideoPlugin,
|
|
@@ -52,7 +52,7 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
52
52
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
53
53
|
import "../shared-utils/five/transformPosition.js";
|
|
54
54
|
import "../shared-utils/five/getFiveModel.js";
|
|
55
|
-
import "../shared-utils/url/
|
|
55
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
56
56
|
import "../shared-utils/positionToVector3.js";
|
|
57
57
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
58
58
|
import "../shared-utils/three/temp.js";
|
|
@@ -65,7 +65,7 @@ import "../shared-utils/five/getPosition.js";
|
|
|
65
65
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
66
66
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
67
67
|
import "../Sculpt/utils/three/rayOnLine.js";
|
|
68
|
-
import "../shared-utils/url/
|
|
68
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
69
69
|
import "../shared-utils/equal.js";
|
|
70
70
|
import "../shared-utils/isTruelyObject.js";
|
|
71
71
|
import "../shared-utils/three/loadTexture.js";
|
|
@@ -2,7 +2,7 @@ var $ = Object.defineProperty, Y = Object.defineProperties;
|
|
|
2
2
|
var q = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var B = Object.getOwnPropertySymbols;
|
|
4
4
|
var J = Object.prototype.hasOwnProperty, K = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var L = (a, n, e) => n in a ? $(a, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[n] = e,
|
|
5
|
+
var L = (a, n, e) => n in a ? $(a, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[n] = e, p = (a, n) => {
|
|
6
6
|
for (var e in n || (n = {}))
|
|
7
7
|
J.call(n, e) && L(a, e, n[e]);
|
|
8
8
|
if (B)
|
|
@@ -74,7 +74,7 @@ class Oe extends te {
|
|
|
74
74
|
o(this, "onPanoArrived", () => {
|
|
75
75
|
setTimeout(() => this.updateDomItems({ force: !0 }), 100);
|
|
76
76
|
});
|
|
77
|
-
this.paramsStyle =
|
|
77
|
+
this.paramsStyle = p({ dashed: !1, lineOpacity: 1 }, e), this.geometry = new H();
|
|
78
78
|
const i = {
|
|
79
79
|
color: new v.Color((h = e == null ? void 0 : e.lineColor) != null ? h : Q),
|
|
80
80
|
linewidth: (l = e == null ? void 0 : e.lineWidth) != null ? l : X,
|
|
@@ -84,7 +84,7 @@ class Oe extends te {
|
|
|
84
84
|
opacity: (f = e == null ? void 0 : e.lineOpacity) != null ? f : 1,
|
|
85
85
|
depthWrite: !1,
|
|
86
86
|
transparent: !0
|
|
87
|
-
}, s = new oe(E(
|
|
87
|
+
}, s = new oe(E(p({}, i), { dashed: !1, depthTest: !0 })), t = new ne(E(p({}, i), { dashed: !0, depthTest: !1 }));
|
|
88
88
|
if (this.line1 = new F(this.geometry, s), this.line2 = new F(this.geometry, t), this.line1.renderOrder = 2, this.line2.renderOrder = 2, this.line1.name = "line1", this.line2.name = "line2", this.add(this.line1), this.five) {
|
|
89
89
|
const y = (d = this.five.renderer) == null ? void 0 : d.getSize(new v.Vector2());
|
|
90
90
|
y && this.setResolution(y.width, y.height), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("cameraFovUpdate", this.onCameraUpdate), this.five.on("panoArrived", this.onPanoArrived);
|
|
@@ -172,7 +172,7 @@ class Oe extends te {
|
|
|
172
172
|
}
|
|
173
173
|
setStyle(e) {
|
|
174
174
|
var t, h, l, f;
|
|
175
|
-
if (this.paramsStyle =
|
|
175
|
+
if (this.paramsStyle = p(p({}, this.paramsStyle), e), m(e.lineColor)) {
|
|
176
176
|
const d = new v.Color(e.lineColor);
|
|
177
177
|
this.line1.material.three_color = d, this.line2.material.three_color = d;
|
|
178
178
|
}
|
|
@@ -222,10 +222,10 @@ class Oe extends te {
|
|
|
222
222
|
const w = (() => {
|
|
223
223
|
if (!this.five || !this.five.camera)
|
|
224
224
|
return 0;
|
|
225
|
-
const
|
|
226
|
-
if (!
|
|
225
|
+
const g = this.five.getElement();
|
|
226
|
+
if (!g)
|
|
227
227
|
return 0;
|
|
228
|
-
const c =
|
|
228
|
+
const c = g.clientWidth, M = g.clientHeight, C = c / 2, I = M / 2, O = t.clone().project(this.five.camera), W = h.clone().project(this.five.camera), P = {
|
|
229
229
|
x: O.x * C,
|
|
230
230
|
y: O.y * I
|
|
231
231
|
}, R = {
|
|
@@ -233,9 +233,9 @@ class Oe extends te {
|
|
|
233
233
|
y: W.y * I
|
|
234
234
|
};
|
|
235
235
|
return Math.sqrt(Math.pow(R.x - P.x, 2) + Math.pow(R.y - P.y, 2));
|
|
236
|
-
})(), A = (() => !this.five || !this.five.camera ? 20 : U(t, h).distanceTo(this.five.camera.position))(), j = ((b = (D = this.five) == null ? void 0 : D.camera) == null ? void 0 : b.fov) || 60, z = 2 * Math.tan(0.5 * j / 180 * Math.PI), k = `--distance-scale: ${Math.max(Math.min(1 - z * A / 40, 1), 0)};`, G = (
|
|
236
|
+
})(), A = (() => !this.five || !this.five.camera ? 20 : U(t, h).distanceTo(this.five.camera.position))(), j = ((b = (D = this.five) == null ? void 0 : D.camera) == null ? void 0 : b.fov) || 60, z = 2 * Math.tan(0.5 * j / 180 * Math.PI), k = `--distance-scale: ${Math.max(Math.min(1 - z * A / 40, 1), 0)};`, G = (g) => {
|
|
237
237
|
const c = document.createElement("div");
|
|
238
|
-
c.classList.add("LineLengthTag"), c.style.visibility = "hidden", c.style.position = "absolute", c.style.padding = "2px 8px", c.style.fontFamily = "Arial-BoldMT", c.style.fontSize = "14px", c.innerText =
|
|
238
|
+
c.classList.add("LineLengthTag"), c.style.visibility = "hidden", c.style.position = "absolute", c.style.padding = "2px 8px", c.style.fontFamily = "Arial-BoldMT", c.style.fontSize = "14px", c.innerText = g, document.body.appendChild(c);
|
|
239
239
|
const M = c.offsetWidth;
|
|
240
240
|
return document.body.removeChild(c), M;
|
|
241
241
|
};
|
|
@@ -251,7 +251,7 @@ class Oe extends te {
|
|
|
251
251
|
if (this.paramsStyle.tip)
|
|
252
252
|
d(this.paramsStyle.tip, e);
|
|
253
253
|
else {
|
|
254
|
-
const r = le(t.distanceTo(h), this.paramsStyle.lengthUnit
|
|
254
|
+
const r = le(t.distanceTo(h), this.paramsStyle.lengthUnit);
|
|
255
255
|
d(r || null, e);
|
|
256
256
|
}
|
|
257
257
|
}), this.doms.length > s.length && (this.doms.slice(s.length).forEach((t) => t.destroy()), this.doms.length = s.length);
|