@realsee/dnalogel 3.36.5 → 3.36.6
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 -0
- package/dist/index.cjs.js +4 -4
- package/dist/index.js +158 -151
- package/dist/index.umd.js +4 -4
- package/dist/shared-utils/tag.d.ts +4 -1
- package/dist/shared-utils/three/applyObjectMatrixWorld.d.ts +2 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
- package/docs/classes/ModelMakerPluginInstance.html +3 -3
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/MoveController.html +3 -3
- package/docs/classes/Object3DHelperController.html +3 -3
- package/docs/classes/PaintBrush.html +3 -3
- package/docs/classes/PanoMeasurePluginLine.html +3 -3
- package/docs/classes/PanoMeasurePluginModel.html +3 -3
- package/docs/classes/PanoMeasurePluginPoint.html +3 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
- package/docs/classes/PanoTagPluginController.html +3 -3
- package/docs/classes/Sculpt.html +3 -3
- package/docs/classes/Util.BetterTween.html +3 -3
- package/docs/classes/Util.Interval.html +3 -3
- package/docs/classes/Util.LineSegments.html +3 -3
- package/docs/classes/Util.Magnifier.html +3 -3
- package/docs/classes/Util.Object3D.html +3 -3
- package/docs/classes/Util.PointDomHelper.html +3 -3
- package/docs/classes/Util.PointHelper.html +3 -3
- package/docs/classes/Util.PointSelectorHelper.html +3 -3
- package/docs/classes/Util.Rectangle.html +3 -3
- package/docs/classes/WalkController.html +3 -3
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +3 -3
- package/docs/enums/DIRECTION.html +3 -3
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/PaintBrushTypeEnum.html +3 -3
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/AreaMakerPlugin.html +3 -3
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/CurrentPanoImagePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +3 -3
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelMakerPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/MovePlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/SculptPlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +3 -3
- package/docs/functions/Util.blink.html +3 -3
- package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
- package/docs/functions/Util.equal.html +3 -3
- package/docs/functions/Util.getCoordsFromClient.html +3 -3
- package/docs/functions/Util.getCoordsFromElement.html +3 -3
- package/docs/functions/Util.getFrameTime.html +3 -3
- package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
- package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
- package/docs/functions/Util.isAbsoluteURL.html +3 -3
- package/docs/functions/Util.isModelLike.html +3 -3
- package/docs/functions/Util.isNil.html +3 -3
- package/docs/functions/Util.isPanoramaLike.html +3 -3
- package/docs/functions/Util.nextFrame.html +3 -3
- package/docs/functions/Util.notNil.html +3 -3
- package/docs/functions/Util.reblink.html +3 -3
- package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
- package/docs/functions/Util.tweenProgress.html +3 -3
- package/docs/functions/Util.uuid.html +3 -3
- package/docs/functions/pluginFlag.html +3 -3
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +3 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
- package/docs/interfaces/EventMap.html +3 -3
- package/docs/interfaces/FloorplanBounding.html +3 -3
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +3 -3
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +3 -3
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +3 -3
- package/docs/interfaces/FloorplanServerComputedData.html +3 -3
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
- package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
- package/docs/interfaces/FloorplanServerEntrance.html +3 -3
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
- package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
- package/docs/interfaces/HelperOffset.html +3 -3
- package/docs/interfaces/ImagePlaneGroup.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +3 -3
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/MinMax.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
- package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
- package/docs/interfaces/ModelViewPluginExportType.html +3 -3
- package/docs/interfaces/Object3DHelperState.html +3 -3
- package/docs/interfaces/ObjectHelperControllers.html +3 -3
- package/docs/interfaces/PaintBrushAction.html +3 -3
- package/docs/interfaces/PaintBrushConfigs.html +3 -3
- package/docs/interfaces/PaintBrushState.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
- package/docs/interfaces/PanoMeasureParameterType.html +3 -3
- package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginState.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
- package/docs/interfaces/Point.html +3 -3
- package/docs/interfaces/Room.html +3 -3
- package/docs/interfaces/RoomInfo.html +3 -3
- package/docs/interfaces/RoomLabel.html +3 -3
- package/docs/interfaces/RoomRules.html +3 -3
- package/docs/interfaces/Rooms.html +3 -3
- package/docs/interfaces/Scissor.html +3 -3
- package/docs/interfaces/State.html +3 -3
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
- package/docs/interfaces/TagIconUrl.html +3 -3
- package/docs/interfaces/TagObjectGroup.html +3 -3
- package/docs/interfaces/TagStyle.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/interfaces/TemporaryState.html +3 -3
- package/docs/interfaces/Util.BlinkAnimeOptions.html +3 -3
- package/docs/interfaces/Util.MagnifierParameter.html +3 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
- package/docs/interfaces/Util.PointIntersection.html +3 -3
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +3 -3
- package/docs/modules/CruisePluginTypes.html +3 -3
- package/docs/modules/CurrentPanoImagePluginType.html +3 -3
- package/docs/modules/GuideLineItem.html +3 -3
- package/docs/modules/GuideLineModeItem.html +3 -3
- package/docs/modules/GuideLinePluginType.html +3 -3
- package/docs/modules/ModelMakerPluginType.html +3 -3
- package/docs/modules/PanoVideoPluginType.html +3 -3
- package/docs/modules/SculptData.html +3 -3
- package/docs/modules/Util.html +3 -3
- package/docs/modules.html +4 -4
- package/docs/types/AddObject3DHelperConfig.html +3 -3
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
- package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
- package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
- package/docs/types/ArrayPosition.html +3 -3
- package/docs/types/AudioAppearance.html +3 -3
- package/docs/types/CSS3DRenderExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
- package/docs/types/ClassFunctionParameters.html +3 -3
- package/docs/types/Color.html +3 -3
- package/docs/types/ContentTypeConfigKey.html +3 -3
- package/docs/types/ContentTypeConfigKeySplit.html +3 -3
- package/docs/types/ContentTypeMap.html +3 -3
- package/docs/types/Create3DDomContainerReturnType.html +3 -3
- package/docs/types/Create3DElementReturnType.html +3 -3
- package/docs/types/CruisePluginExportType.html +3 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
- package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
- package/docs/types/DeprecatedTagProperty.html +3 -3
- package/docs/types/Direction-1.html +3 -3
- package/docs/types/Direction4.html +3 -3
- package/docs/types/ElementRenderer.html +3 -3
- package/docs/types/FloorplanRuleLabels.html +3 -3
- package/docs/types/FloorplanServerRuleLabels.html +3 -3
- package/docs/types/GuideLinePluginExportType.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
- package/docs/types/GuideLinePluginType.PathItem.html +3 -3
- package/docs/types/GuideLinePluginType.PluginData.html +3 -3
- package/docs/types/HelperEventMap.html +3 -3
- package/docs/types/InternalHelperEventMap.html +3 -3
- package/docs/types/LoadTagConfig.html +3 -3
- package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/MediaData.html +3 -3
- package/docs/types/MediaStore.html +3 -3
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
- package/docs/types/ModelId.html +3 -3
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
- package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
- package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
- package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
- package/docs/types/MoveArgs.html +3 -3
- package/docs/types/MoveOpts.html +3 -3
- package/docs/types/Object3DHelperEventMap.html +3 -3
- package/docs/types/ObjectFit.html +3 -3
- package/docs/types/PaintBrushEventMap.html +3 -3
- package/docs/types/PanoCompassPluginData.html +3 -3
- package/docs/types/PanoCompassPluginExportType.html +3 -3
- package/docs/types/PanoCompassPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
- package/docs/types/PanoIndex.html +3 -3
- package/docs/types/PanoMeasurePluginEvent.html +3 -3
- package/docs/types/PanoMeasureReturnType.html +3 -3
- package/docs/types/PanoSpatialTagPluginId.html +3 -3
- package/docs/types/PanoTagPluginExportInterface.html +3 -3
- package/docs/types/PanoTagPluginParamsInterface.html +3 -3
- package/docs/types/PanoVideoPluginParameterType.html +3 -3
- package/docs/types/PanoVideoPluginReturnType.html +3 -3
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
- package/docs/types/PipelinePluginParameterType.html +3 -3
- package/docs/types/PipelinePluginReturnType.html +3 -3
- package/docs/types/PlaneTag.html +3 -3
- package/docs/types/Point2DTag.html +3 -3
- package/docs/types/Point3DTag.html +3 -3
- package/docs/types/PointTag.html +3 -3
- package/docs/types/PointTagInstance.html +3 -3
- package/docs/types/Position.html +3 -3
- package/docs/types/PositionFrom.html +3 -3
- package/docs/types/RotateArgs.html +3 -3
- package/docs/types/RotateOpts.html +3 -3
- package/docs/types/RuleLabelsKey.html +3 -3
- package/docs/types/RuleLabelsValue.html +3 -3
- package/docs/types/ScaleCallback.html +3 -3
- package/docs/types/ScalePosition.html +3 -3
- package/docs/types/SculptData.BoxData.html +3 -3
- package/docs/types/SculptData.CircleData.html +3 -3
- package/docs/types/SculptData.CylinderData.html +3 -3
- package/docs/types/SculptData.PointData.html +3 -3
- package/docs/types/SculptData.PolygonData.html +3 -3
- package/docs/types/SculptData.PolylineData.html +3 -3
- package/docs/types/SculptData.PrismData.html +3 -3
- package/docs/types/SculptData.RectangleData.html +3 -3
- package/docs/types/StickType.html +3 -3
- package/docs/types/Tag.html +3 -3
- package/docs/types/Tag2D.html +3 -3
- package/docs/types/Tag3D.html +3 -3
- package/docs/types/TagConfigByKey.html +3 -3
- package/docs/types/TagContentType.html +3 -3
- package/docs/types/TagContentTypeMapping.html +3 -3
- package/docs/types/TagDimensionType.html +3 -3
- package/docs/types/TagElement.html +3 -3
- package/docs/types/TagEvents.html +3 -3
- package/docs/types/TagGLTFObject.html +3 -3
- package/docs/types/TagHooks.html +3 -3
- package/docs/types/TagId.html +3 -3
- package/docs/types/TagInstance.html +3 -3
- package/docs/types/TagPointType.html +3 -3
- package/docs/types/TagRendererMap.html +3 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/WorkCode.html +3 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
- package/docs/variables/PLUGIN.html +3 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
- package/docs/variables/ROOM_TYPE_MAP.html +3 -3
- package/docs/variables/defaultGlobalConfig.html +3 -3
- package/docs/variables/itemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
- package/libs/ModelMakerPlugin/Controller.js +9 -9
- package/libs/ModelMakerPlugin/item/baseItem.js +14 -14
- package/libs/Sculpt/Objects/Base/index.js +21 -24
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +126 -125
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +4 -1
- package/libs/shared-utils/tag.js +38 -34
- package/libs/shared-utils/three/applyObjectMatrixWorld.d.ts +2 -0
- package/libs/shared-utils/three/applyObjectMatrixWorld.js +10 -0
- package/package.json +1 -1
package/libs/base/BasePlugin.js
CHANGED
package/libs/index.js
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import { consoleVersion as o } from "./shared-utils/logger.js";
|
|
2
2
|
import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
|
|
3
|
-
import { PaintBrush as
|
|
4
|
-
import { PaintBrushTypeEnum as
|
|
5
|
-
import { ModelViewPlugin as
|
|
6
|
-
import { CSS3DRenderPlugin as
|
|
7
|
-
import { PanoCursorRaycasterPlugin as
|
|
8
|
-
import { ModelRoomLabelPlugin as
|
|
9
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
10
|
-
import { ModelFloorplanPlugin as
|
|
11
|
-
import { MapviewFloorplanPlugin as
|
|
12
|
-
import { TopviewFloorplanPlugin as
|
|
13
|
-
import { PanoFloorplanRadarPlugin as
|
|
14
|
-
import { FLOOR_TYPE_MAP as
|
|
15
|
-
import { ModelChassisCompassPlugin as
|
|
16
|
-
import { ModelEntryDoorGuidePlugin as
|
|
17
|
-
import { CameraMovementPlugin as
|
|
18
|
-
import { CameraMovementEffect as
|
|
19
|
-
import { PanoRulerPlugin as
|
|
20
|
-
import { PanoRulerProPlugin as
|
|
21
|
-
import { PanoCompassPlugin as
|
|
22
|
-
import { PanoMeasurePlugin as
|
|
23
|
-
import { PanoSpatialTagPlugin as
|
|
24
|
-
import { modelItemLabelPluginServerParams as
|
|
25
|
-
import { ModelTVVideoPlugin as
|
|
26
|
-
import { DIRECTION as
|
|
27
|
-
import { itemLabelPluginServerParams as
|
|
28
|
-
import { PanoDoorLabelPlugin as
|
|
29
|
-
import { GuideLinePlugin as
|
|
30
|
-
import { CruisePlugin as
|
|
31
|
-
import { PanoTagPlugin as
|
|
32
|
-
import { Object3DHelperPlugin as
|
|
33
|
-
import { PanoVideoPlugin as
|
|
34
|
-
import { PipelinePlugin as
|
|
35
|
-
import { AreaMakerPlugin as
|
|
36
|
-
import { CurrentPanoImagePlugin as
|
|
37
|
-
import { Sculpt as
|
|
38
|
-
import { ModelMakerPlugin as
|
|
39
|
-
import { index as
|
|
40
|
-
import { CSS3DRender as
|
|
41
|
-
import { Model as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { Polyline as
|
|
45
|
-
import { Magnifier as
|
|
46
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
47
|
-
import { ModelItemLabelPlugin as
|
|
48
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
49
|
-
import { Plugin as
|
|
50
|
-
import { GuideLineItem$1 as
|
|
51
|
-
import { GuideLineModeItem$1 as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { typing as
|
|
55
|
-
import { default as
|
|
56
|
-
import { defaultGlobalConfig as
|
|
57
|
-
import { ContentType as
|
|
58
|
-
import { Object3DHelperController as
|
|
59
|
-
import { typings as
|
|
3
|
+
import { PaintBrush as il } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as pl } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as ll } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as al } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as ul } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as xl, modelRoomLabelPluginServerParams as gl } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as dl } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as Tl } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as Cl } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as El } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as Rl } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as Ol, ROOM_FETILE_TYPE_MAP as yl, ROOM_TYPE_MAP as Al } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as Gl } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as vl } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as Yl } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as Vl, Rotation as Nl } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as kl } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as Bl } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as Ul } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as $l } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as ql } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as Jl } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as Ql } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as Zl } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as rn } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as mn } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as en } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as nn, MovePlugin as an } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as un } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as xn } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as sn } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as Mn } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { AreaMakerPlugin as Ln } from "./AreaMakerPlugin/index.js";
|
|
36
|
+
import { CurrentPanoImagePlugin as _n } from "./CurrentPanoImagePlugin/index.js";
|
|
37
|
+
import { Sculpt as In, SculptPlugin as Rn } from "./Sculpt/index.js";
|
|
38
|
+
import { ModelMakerPlugin as On } from "./ModelMakerPlugin/index.js";
|
|
39
|
+
import { index as An } from "./shared-utils/index.js";
|
|
40
|
+
import { CSS3DRender as Gn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
41
|
+
import { Model as vn } from "./PanoMeasurePlugin/Model/index.js";
|
|
42
|
+
import { default as Yn } from "./PanoMeasurePlugin/Model/point.js";
|
|
43
|
+
import { default as Vn } from "./PanoMeasurePlugin/Model/line.js";
|
|
44
|
+
import { Polyline as hn } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
45
|
+
import { Magnifier as wn } from "./shared-utils/three/Magnifier.js";
|
|
46
|
+
import { DISPLAY_STRATEGY_TYPE as Hn } from "./ModelItemLabelPlugin/typings.js";
|
|
47
|
+
import { ModelItemLabelPlugin as jn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
48
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Wn } from "./ItemLabelPlugin/typings.js";
|
|
49
|
+
import { Plugin as zn } from "./ItemLabelPlugin/Plugin.js";
|
|
50
|
+
import { GuideLineItem$1 as Kn } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
51
|
+
import { GuideLineModeItem$1 as Xn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
52
|
+
import { default as oa, default as ra } from "./CruisePlugin/Work.js";
|
|
53
|
+
import { default as ia } from "./CruisePlugin/Move.js";
|
|
54
|
+
import { typing as pa } from "./CruisePlugin/typing/index.js";
|
|
55
|
+
import { default as la, pluginFlag as na } from "./PanoTagPlugin/controller/index.js";
|
|
56
|
+
import { defaultGlobalConfig as Pa } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
57
|
+
import { ContentType as fa, DimensionType as xa, PointType as ga } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
58
|
+
import { Object3DHelperController as da, PLUGIN as Ma } from "./Object3DHelperPlugin/Controller.js";
|
|
59
|
+
import { typings as La } from "./PanoVideoPlugin/typings/index.js";
|
|
60
60
|
import "./components/PaintBrush/Controller.js";
|
|
61
61
|
import "./components/PaintBrush/utils.js";
|
|
62
62
|
import "./components/PaintBrush/tween.js";
|
|
@@ -435,6 +435,7 @@ import "./Sculpt/utils/color.js";
|
|
|
435
435
|
import "./Sculpt/Meshes/Line.js";
|
|
436
436
|
import "./shared-utils/three/closeVectors.js";
|
|
437
437
|
import "./Sculpt/Objects/Base/index.js";
|
|
438
|
+
import "./shared-utils/three/applyObjectMatrixWorld.js";
|
|
438
439
|
import "./Sculpt/Objects/Polyline/Editor.js";
|
|
439
440
|
import "./Sculpt/Objects/Base/Editor.js";
|
|
440
441
|
import "./shared-utils/three/vector3ToArray.js";
|
|
@@ -487,72 +488,72 @@ import "./shared-utils/three/getIntersect.js";
|
|
|
487
488
|
r();
|
|
488
489
|
o();
|
|
489
490
|
export {
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
491
|
+
Ln as AreaMakerPlugin,
|
|
492
|
+
Gn as CSS3DRender,
|
|
493
|
+
al as CSS3DRenderPlugin,
|
|
494
|
+
Vl as CameraMovementEffect,
|
|
495
|
+
Yl as CameraMovementPlugin,
|
|
496
|
+
fa as ContentType,
|
|
497
|
+
nn as CruisePlugin,
|
|
498
|
+
oa as CruisePluginController,
|
|
499
|
+
pa as CruisePluginTypes,
|
|
500
|
+
_n as CurrentPanoImagePlugin,
|
|
501
|
+
Zl as DIRECTION,
|
|
502
|
+
Hn as DISPLAY_STRATEGY_TYPE,
|
|
503
|
+
xa as DimensionType,
|
|
504
|
+
dl as FLOOR_PLAN_ATTACHED_TO,
|
|
505
|
+
Ol as FLOOR_TYPE_MAP,
|
|
506
|
+
Kn as GuideLineItem,
|
|
507
|
+
Xn as GuideLineModeItem,
|
|
508
|
+
en as GuideLinePlugin,
|
|
509
|
+
Wn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
510
|
+
zn as ItemLabelPlugin,
|
|
511
|
+
wn as Magnifier,
|
|
512
|
+
Cl as MapviewFloorplanPlugin,
|
|
513
|
+
Gl as ModelChassisCompassPlugin,
|
|
514
|
+
vl as ModelEntryDoorGuidePlugin,
|
|
515
|
+
Tl as ModelFloorplanPlugin,
|
|
516
|
+
jn as ModelItemLabelPlugin,
|
|
517
|
+
On as ModelMakerPlugin,
|
|
518
|
+
xl as ModelRoomLabelPlugin,
|
|
519
|
+
Ql as ModelTVVideoPlugin,
|
|
520
|
+
ll as ModelViewPlugin,
|
|
521
|
+
ia as MoveController,
|
|
522
|
+
an as MovePlugin,
|
|
523
|
+
da as Object3DHelperController,
|
|
524
|
+
xn as Object3DHelperPlugin,
|
|
525
|
+
Ma as PLUGIN,
|
|
526
|
+
il as PaintBrush,
|
|
527
|
+
pl as PaintBrushTypeEnum,
|
|
528
|
+
Ul as PanoCompassPlugin,
|
|
529
|
+
ul as PanoCursorRaycasterPlugin,
|
|
530
|
+
mn as PanoDoorLabelPlugin,
|
|
531
|
+
Rl as PanoFloorplanRadarPlugin,
|
|
532
|
+
$l as PanoMeasurePlugin,
|
|
533
|
+
Vn as PanoMeasurePluginLine,
|
|
534
|
+
vn as PanoMeasurePluginModel,
|
|
535
|
+
Yn as PanoMeasurePluginPoint,
|
|
536
|
+
hn as PanoMeasurePluginPolyline,
|
|
537
|
+
kl as PanoRulerPlugin,
|
|
538
|
+
Bl as PanoRulerProPlugin,
|
|
539
|
+
ql as PanoSpatialTagPlugin,
|
|
540
|
+
un as PanoTagPlugin,
|
|
541
|
+
la as PanoTagPluginController,
|
|
542
|
+
sn as PanoVideoPlugin,
|
|
543
|
+
La as PanoVideoPluginType,
|
|
544
|
+
Mn as PipelinePlugin,
|
|
545
|
+
ga as PointType,
|
|
546
|
+
yl as ROOM_FETILE_TYPE_MAP,
|
|
547
|
+
Al as ROOM_TYPE_MAP,
|
|
548
|
+
Nl as Rotation,
|
|
549
|
+
In as Sculpt,
|
|
550
|
+
Rn as SculptPlugin,
|
|
551
|
+
El as TopviewFloorplanPlugin,
|
|
552
|
+
An as Util,
|
|
553
|
+
ra as WalkController,
|
|
554
|
+
Pa as defaultGlobalConfig,
|
|
555
|
+
rn as itemLabelPluginServerParams,
|
|
556
|
+
Jl as modelItemLabelPluginServerParams,
|
|
557
|
+
gl as modelRoomLabelPluginServerParams,
|
|
558
|
+
na as pluginFlag
|
|
558
559
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.36.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.36.6",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
2
|
import { type AnyPosition } from './positionToVector3';
|
|
3
|
+
import * as THREE from 'three';
|
|
3
4
|
export declare class LightTag {
|
|
4
5
|
container: HTMLDivElement;
|
|
5
6
|
visible: boolean;
|
|
6
7
|
enabled: boolean;
|
|
7
8
|
wrapper: HTMLElement;
|
|
8
9
|
private five;
|
|
9
|
-
private
|
|
10
|
+
private originPosition;
|
|
11
|
+
private transformedPosition;
|
|
10
12
|
private disposer;
|
|
11
13
|
private config;
|
|
12
14
|
constructor(five: Five, position: AnyPosition, config?: {
|
|
@@ -18,6 +20,7 @@ export declare class LightTag {
|
|
|
18
20
|
}): void;
|
|
19
21
|
enable(): void;
|
|
20
22
|
disable(): void;
|
|
23
|
+
setTransformMatrix(matrix: THREE.Matrix4): void;
|
|
21
24
|
private onCameraUpdate;
|
|
22
25
|
private onFiveEveryReady;
|
|
23
26
|
}
|
package/libs/shared-utils/tag.js
CHANGED
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var i = (s,
|
|
4
|
-
import { anyPositionToVector3 as
|
|
1
|
+
var c = Object.defineProperty;
|
|
2
|
+
var f = (s, t, e) => t in s ? c(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
|
|
3
|
+
var i = (s, t, e) => (f(s, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
+
import { anyPositionToVector3 as p } from "./positionToVector3.js";
|
|
5
5
|
import * as d from "three";
|
|
6
|
-
import { vector3ToScreen as
|
|
7
|
-
const
|
|
8
|
-
class
|
|
9
|
-
constructor(
|
|
6
|
+
import { vector3ToScreen as m } from "./five/vector3ToScreen.js";
|
|
7
|
+
const l = "LightTagContainer_shgjakdhwakjdhsja";
|
|
8
|
+
class y {
|
|
9
|
+
constructor(t, e, n) {
|
|
10
10
|
i(this, "container");
|
|
11
11
|
i(this, "visible", !1);
|
|
12
12
|
i(this, "enabled", !1);
|
|
13
13
|
i(this, "wrapper");
|
|
14
14
|
i(this, "five");
|
|
15
|
-
i(this, "
|
|
15
|
+
i(this, "originPosition");
|
|
16
|
+
i(this, "transformedPosition");
|
|
16
17
|
i(this, "disposer");
|
|
17
18
|
i(this, "config");
|
|
18
19
|
i(this, "onCameraUpdate", () => {
|
|
19
20
|
if (this.visible === !1)
|
|
20
21
|
return;
|
|
21
|
-
const
|
|
22
|
-
|
|
22
|
+
const t = m(this.five.camera, this.transformedPosition);
|
|
23
|
+
t ? (this.container.style.left = t.leftPercent + "%", this.container.style.top = t.topPercent + "%") : (this.container.style.left = "-100%", this.container.style.top = "-100%");
|
|
23
24
|
});
|
|
24
25
|
i(this, "onFiveEveryReady", () => {
|
|
25
|
-
var
|
|
26
|
+
var t;
|
|
26
27
|
if (this.visible && this.five.state.mode !== "Panorama") {
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
const n = (
|
|
30
|
-
(n == null ? void 0 : n.distance) > this.
|
|
28
|
+
const e = new d.Raycaster();
|
|
29
|
+
e.set(this.five.camera.position, this.transformedPosition.clone().sub(this.five.camera.position));
|
|
30
|
+
const n = (t = this.five.model.intersectRaycaster(e)) == null ? void 0 : t[0];
|
|
31
|
+
(n == null ? void 0 : n.distance) > this.transformedPosition.distanceTo(this.five.camera.position) ? (this.container.style.opacity = "1", this.container.style.pointerEvents = "auto") : (this.container.style.opacity = "0", this.container.style.pointerEvents = "none");
|
|
31
32
|
}
|
|
32
33
|
});
|
|
33
|
-
this.five =
|
|
34
|
+
this.five = t, this.originPosition = p(e).clone(), this.transformedPosition = this.originPosition.clone(), this.container = (() => {
|
|
34
35
|
const o = document.createElement("div");
|
|
35
36
|
return o.style.width = "0", o.style.height = "0", o.style.position = "absolute", o;
|
|
36
37
|
})(), this.config = n, this.enable(), this.show();
|
|
@@ -38,34 +39,37 @@ class v {
|
|
|
38
39
|
show() {
|
|
39
40
|
this.visible = !0, this.container.style.opacity = "1", this.container.style.pointerEvents = "auto", this.container.style.transition = "opacity 0.2s linear", this.onCameraUpdate();
|
|
40
41
|
}
|
|
41
|
-
hide(
|
|
42
|
-
this.visible = !1,
|
|
42
|
+
hide(t) {
|
|
43
|
+
this.visible = !1, t != null && t.withAnimation ? this.container.style.transition = "opacity 0.2s linear" : this.container.style.transition = "", this.container.style.opacity = "0", this.container.style.pointerEvents = "none";
|
|
43
44
|
}
|
|
44
45
|
enable() {
|
|
45
|
-
var n, o,
|
|
46
|
+
var n, o, a, h;
|
|
46
47
|
if (this.enabled)
|
|
47
48
|
return;
|
|
48
|
-
this.enabled = !0, this.wrapper || (this.wrapper = (o = (n = this.config.wrapper) != null ? n : document.getElementById(
|
|
49
|
-
const
|
|
50
|
-
return
|
|
51
|
-
})(), (
|
|
52
|
-
let
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
-
this.onFiveEveryReady(),
|
|
49
|
+
this.enabled = !0, this.wrapper || (this.wrapper = (o = (n = this.config.wrapper) != null ? n : document.getElementById(l)) != null ? o : (() => {
|
|
50
|
+
const r = document.createElement("div");
|
|
51
|
+
return r.id = l, r.style.position = "absolute", r.style.top = "0", r.style.left = "0", r.style.width = "100%", r.style.height = "100%", r.style.pointerEvents = "none", r;
|
|
52
|
+
})(), (a = this.five.getElement()) != null && a.parentElement.contains(this.wrapper) || (h = this.five.getElement()) == null || h.parentElement.appendChild(this.wrapper)), this.wrapper.appendChild(this.container);
|
|
53
|
+
let t = !1;
|
|
54
|
+
const e = () => {
|
|
55
|
+
t || (t = !0, this.five.ready().then(() => {
|
|
56
|
+
this.onFiveEveryReady(), t = !1;
|
|
56
57
|
}));
|
|
57
58
|
};
|
|
58
|
-
this.five.on("cameraUpdate",
|
|
59
|
-
this.five.off("cameraUpdate",
|
|
59
|
+
this.five.on("cameraUpdate", e), this.five.on("cameraUpdate", this.onCameraUpdate), this.disposer = () => {
|
|
60
|
+
this.five.off("cameraUpdate", e), this.five.off("cameraUpdate", this.onCameraUpdate);
|
|
60
61
|
};
|
|
61
62
|
}
|
|
62
63
|
disable() {
|
|
63
|
-
var
|
|
64
|
-
this.enabled && (this.enabled = !1, this.wrapper.removeChild(this.container), (
|
|
64
|
+
var t;
|
|
65
|
+
this.enabled && (this.enabled = !1, this.wrapper.removeChild(this.container), (t = this.disposer) == null || t.call(this));
|
|
66
|
+
}
|
|
67
|
+
setTransformMatrix(t) {
|
|
68
|
+
this.transformedPosition = this.originPosition.clone().applyMatrix4(t), console.log("transformedPosition", this.transformedPosition), this.onCameraUpdate();
|
|
65
69
|
}
|
|
66
70
|
}
|
|
67
|
-
function w(s,
|
|
68
|
-
return new
|
|
71
|
+
function w(s, t, e) {
|
|
72
|
+
return new y(s, t, e);
|
|
69
73
|
}
|
|
70
74
|
export {
|
|
71
75
|
w as tag
|