@realsee/dnalogel 3.22.0 → 3.23.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/dist/ModelMakerPlugin/item/baseItem.d.ts +1 -0
- package/dist/ModelMakerPlugin/utils/Text.svelte.d.ts +1 -0
- package/dist/index.cjs.js +54 -54
- package/dist/index.js +3960 -3878
- package/dist/index.umd.js +47 -47
- package/dist/shared-utils/Object3DHelper/utils/boundingBox.d.ts +12 -0
- package/dist/shared-utils/tag.d.ts +5 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +8 -8
- 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/ModelMakerPluginType.ModelMakerController.html +15 -15
- 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/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.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.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/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.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.MagnifierParameter.html +3 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
- package/docs/interfaces/Util.PointIntersection.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/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/AudioTagTypeConfigKey.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/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/AreaMakerPlugin/utils/Item.js +12 -13
- package/libs/ModelMakerPlugin/Controller.js +61 -68
- package/libs/ModelMakerPlugin/index.js +6 -2
- package/libs/ModelMakerPlugin/item/baseItem.d.ts +1 -0
- package/libs/ModelMakerPlugin/item/baseItem.js +16 -16
- package/libs/ModelMakerPlugin/item/polygonItem.js +1 -1
- package/libs/ModelMakerPlugin/item/prismItem.js +20 -7
- package/libs/ModelMakerPlugin/utils/Text.js +45 -0
- package/libs/ModelMakerPlugin/utils/Text.svelte.d.ts +1 -0
- package/libs/ModelMakerPlugin/utils/tagRenderer.js +23 -8
- package/libs/base/BasePlugin.js +1 -1
- package/libs/components/AreaLabel/LabelItem.js +61 -61
- package/libs/index.js +125 -124
- package/libs/shared-utils/Object3DHelper/utils/boundingBox.d.ts +12 -0
- package/libs/shared-utils/Object3DHelper/utils/boundingBox.js +44 -22
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +5 -1
- package/libs/shared-utils/tag.js +50 -29
- package/package.json +1 -1
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 rl } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as il } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as pl } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as ll } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as al } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as ul, modelRoomLabelPluginServerParams as fl } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as gl } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as dl } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as Tl } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as Cl } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as El } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as Rl, ROOM_FETILE_TYPE_MAP as Ol, ROOM_TYPE_MAP as Sl } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as Al } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as Gl } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as vl } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as Yl, Rotation as cl } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as Nl } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as kl } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as Bl } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as Ul } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as $l } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as ql } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as Jl } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as Ql } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as Zl } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as rn } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as mn } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as en, MovePlugin as ln } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as an } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as un } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as xn } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as sn } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { AreaMakerPlugin as Mn } from "./AreaMakerPlugin/index.js";
|
|
36
|
+
import { CurrentPanoImagePlugin as Ln } from "./CurrentPanoImagePlugin/index.js";
|
|
37
|
+
import { Sculpt as _n } from "./Sculpt/index.js";
|
|
38
|
+
import { ModelMakerPlugin as In } from "./ModelMakerPlugin/index.js";
|
|
39
|
+
import { index as On } from "./shared-utils/index.js";
|
|
40
|
+
import { CSS3DRender as yn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
41
|
+
import { Model as Dn } from "./PanoMeasurePlugin/Model/index.js";
|
|
42
|
+
import { default as bn } from "./PanoMeasurePlugin/Model/point.js";
|
|
43
|
+
import { default as Fn } from "./PanoMeasurePlugin/Model/line.js";
|
|
44
|
+
import { Polyline as cn } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
45
|
+
import { Magnifier as Nn } from "./shared-utils/three/Magnifier.js";
|
|
46
|
+
import { DISPLAY_STRATEGY_TYPE as kn } from "./ModelItemLabelPlugin/typings.js";
|
|
47
|
+
import { ModelItemLabelPlugin as Bn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
48
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Un } from "./ItemLabelPlugin/typings.js";
|
|
49
|
+
import { Plugin as $n } from "./ItemLabelPlugin/Plugin.js";
|
|
50
|
+
import { GuideLineItem$1 as qn } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
51
|
+
import { GuideLineModeItem$1 as Jn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
52
|
+
import { default as Qn, default as Xn } from "./CruisePlugin/Work.js";
|
|
53
|
+
import { default as oa } from "./CruisePlugin/Move.js";
|
|
54
|
+
import { typing as ta } from "./CruisePlugin/typing/index.js";
|
|
55
|
+
import { default as ma, pluginFlag as pa } from "./PanoTagPlugin/controller/index.js";
|
|
56
|
+
import { defaultGlobalConfig as la } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
57
|
+
import { ContentType as aa, DimensionType as Pa, PointType as ua } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
58
|
+
import { Object3DHelperController as xa, PLUGIN as ga } from "./Object3DHelperPlugin/Controller.js";
|
|
59
|
+
import { typings as da } 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";
|
|
@@ -475,6 +475,7 @@ import "./shared-utils/three/addIfNotExists.js";
|
|
|
475
475
|
import "./shared-utils/tag.js";
|
|
476
476
|
import "./shared-utils/five/vector3ToScreen.js";
|
|
477
477
|
import "./ModelMakerPlugin/utils/tagRenderer.js";
|
|
478
|
+
import "./ModelMakerPlugin/utils/Text.js";
|
|
478
479
|
import "./ModelMakerPlugin/item/prismItem.js";
|
|
479
480
|
import "./shared-utils/math/Interval.js";
|
|
480
481
|
import "./shared-utils/math/Rectangle.js";
|
|
@@ -485,71 +486,71 @@ import "./shared-utils/three/getIntersect.js";
|
|
|
485
486
|
r();
|
|
486
487
|
o();
|
|
487
488
|
export {
|
|
488
|
-
|
|
489
|
-
|
|
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
|
-
|
|
489
|
+
Mn as AreaMakerPlugin,
|
|
490
|
+
yn as CSS3DRender,
|
|
491
|
+
ll as CSS3DRenderPlugin,
|
|
492
|
+
Yl as CameraMovementEffect,
|
|
493
|
+
vl as CameraMovementPlugin,
|
|
494
|
+
aa as ContentType,
|
|
495
|
+
en as CruisePlugin,
|
|
496
|
+
Qn as CruisePluginController,
|
|
497
|
+
ta as CruisePluginTypes,
|
|
498
|
+
Ln as CurrentPanoImagePlugin,
|
|
499
|
+
Ql as DIRECTION,
|
|
500
|
+
kn as DISPLAY_STRATEGY_TYPE,
|
|
501
|
+
Pa as DimensionType,
|
|
502
|
+
gl as FLOOR_PLAN_ATTACHED_TO,
|
|
503
|
+
Rl as FLOOR_TYPE_MAP,
|
|
504
|
+
qn as GuideLineItem,
|
|
505
|
+
Jn as GuideLineModeItem,
|
|
506
|
+
mn as GuideLinePlugin,
|
|
507
|
+
Un as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
508
|
+
$n as ItemLabelPlugin,
|
|
509
|
+
Nn as Magnifier,
|
|
510
|
+
Tl as MapviewFloorplanPlugin,
|
|
511
|
+
Al as ModelChassisCompassPlugin,
|
|
512
|
+
Gl as ModelEntryDoorGuidePlugin,
|
|
513
|
+
dl as ModelFloorplanPlugin,
|
|
514
|
+
Bn as ModelItemLabelPlugin,
|
|
515
|
+
In as ModelMakerPlugin,
|
|
516
|
+
ul as ModelRoomLabelPlugin,
|
|
517
|
+
Jl as ModelTVVideoPlugin,
|
|
518
|
+
pl as ModelViewPlugin,
|
|
519
|
+
oa as MoveController,
|
|
520
|
+
ln as MovePlugin,
|
|
521
|
+
xa as Object3DHelperController,
|
|
522
|
+
un as Object3DHelperPlugin,
|
|
523
|
+
ga as PLUGIN,
|
|
524
|
+
rl as PaintBrush,
|
|
525
|
+
il as PaintBrushTypeEnum,
|
|
526
|
+
Bl as PanoCompassPlugin,
|
|
527
|
+
al as PanoCursorRaycasterPlugin,
|
|
528
|
+
rn as PanoDoorLabelPlugin,
|
|
529
|
+
El as PanoFloorplanRadarPlugin,
|
|
530
|
+
Ul as PanoMeasurePlugin,
|
|
531
|
+
Fn as PanoMeasurePluginLine,
|
|
532
|
+
Dn as PanoMeasurePluginModel,
|
|
533
|
+
bn as PanoMeasurePluginPoint,
|
|
534
|
+
cn as PanoMeasurePluginPolyline,
|
|
535
|
+
Nl as PanoRulerPlugin,
|
|
536
|
+
kl as PanoRulerProPlugin,
|
|
537
|
+
$l as PanoSpatialTagPlugin,
|
|
538
|
+
an as PanoTagPlugin,
|
|
539
|
+
ma as PanoTagPluginController,
|
|
540
|
+
xn as PanoVideoPlugin,
|
|
541
|
+
da as PanoVideoPluginType,
|
|
542
|
+
sn as PipelinePlugin,
|
|
543
|
+
ua as PointType,
|
|
544
|
+
Ol as ROOM_FETILE_TYPE_MAP,
|
|
545
|
+
Sl as ROOM_TYPE_MAP,
|
|
546
|
+
cl as Rotation,
|
|
547
|
+
_n as Sculpt,
|
|
548
|
+
Cl as TopviewFloorplanPlugin,
|
|
549
|
+
On as Util,
|
|
550
|
+
Xn as WalkController,
|
|
551
|
+
la as defaultGlobalConfig,
|
|
552
|
+
Zl as itemLabelPluginServerParams,
|
|
553
|
+
ql as modelItemLabelPluginServerParams,
|
|
554
|
+
fl as modelRoomLabelPluginServerParams,
|
|
555
|
+
pa as pluginFlag
|
|
555
556
|
};
|
|
@@ -1,2 +1,14 @@
|
|
|
1
1
|
import * as THREE from 'three';
|
|
2
|
+
export declare function boxVertex(box: {
|
|
3
|
+
max: {
|
|
4
|
+
x: number;
|
|
5
|
+
y: number;
|
|
6
|
+
z: number;
|
|
7
|
+
};
|
|
8
|
+
min: {
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
z: number;
|
|
12
|
+
};
|
|
13
|
+
}, index: number): THREE.Vector3;
|
|
2
14
|
export default function boundingBox(object3D: THREE.Object3D): THREE.Box3 | undefined;
|
|
@@ -1,32 +1,54 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
function
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as m from "three";
|
|
2
|
+
function P(z, n) {
|
|
3
|
+
const { max: e, min: t } = z;
|
|
4
|
+
switch (n) {
|
|
5
|
+
case 0:
|
|
6
|
+
return new m.Vector3(e.x, e.y, e.z);
|
|
7
|
+
case 1:
|
|
8
|
+
return new m.Vector3(t.x, e.y, e.z);
|
|
9
|
+
case 2:
|
|
10
|
+
return new m.Vector3(t.x, t.y, e.z);
|
|
11
|
+
case 3:
|
|
12
|
+
return new m.Vector3(e.x, t.y, e.z);
|
|
13
|
+
case 4:
|
|
14
|
+
return new m.Vector3(e.x, e.y, t.z);
|
|
15
|
+
case 5:
|
|
16
|
+
return new m.Vector3(t.x, e.y, t.z);
|
|
17
|
+
case 6:
|
|
18
|
+
return new m.Vector3(t.x, t.y, t.z);
|
|
19
|
+
case 7:
|
|
20
|
+
return new m.Vector3(e.x, t.y, t.z);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
function g(z) {
|
|
24
|
+
const n = new m.Box3(), e = new m.Vector3();
|
|
25
|
+
if (z.updateWorldMatrix(!1, !1), z.traverse((t) => {
|
|
26
|
+
var s;
|
|
6
27
|
if (t.name === "shadow" || t.type === "Line2")
|
|
7
28
|
return;
|
|
8
|
-
const
|
|
9
|
-
if (t.updateWorldMatrix(!1, !1),
|
|
10
|
-
const
|
|
11
|
-
if (
|
|
12
|
-
for (let
|
|
13
|
-
|
|
29
|
+
const r = t.geometry;
|
|
30
|
+
if (t.updateWorldMatrix(!1, !1), r !== void 0) {
|
|
31
|
+
const c = (s = r == null ? void 0 : r.attributes) == null ? void 0 : s.position;
|
|
32
|
+
if (c)
|
|
33
|
+
for (let o = 0, i = c.count; o < i; o++)
|
|
34
|
+
e.fromBufferAttribute(c, o).applyMatrix4(t.matrixWorld), n.expandByPoint(e);
|
|
14
35
|
else
|
|
15
|
-
|
|
16
|
-
const
|
|
17
|
-
n.expandByPoint(
|
|
36
|
+
r.vertices && r.vertices.forEach((o) => {
|
|
37
|
+
const i = o.clone().applyMatrix4(t.matrixWorld);
|
|
38
|
+
n.expandByPoint(i);
|
|
18
39
|
});
|
|
19
40
|
}
|
|
20
41
|
}), !n.isEmpty())
|
|
21
|
-
return n.applyMatrix4(
|
|
42
|
+
return n.applyMatrix4(h(z.matrixWorld.clone())), n;
|
|
22
43
|
}
|
|
23
|
-
const
|
|
24
|
-
const n =
|
|
25
|
-
if (
|
|
26
|
-
return
|
|
27
|
-
const
|
|
28
|
-
return n[0] =
|
|
44
|
+
const h = (z) => {
|
|
45
|
+
const n = z.elements, e = n[0], t = n[1], r = n[2], s = n[3], c = n[4], o = n[5], i = n[6], a = n[7], u = n[8], x = n[9], f = n[10], l = n[11], p = n[12], y = n[13], d = n[14], w = n[15], v = x * d * a - y * f * a + y * i * l - o * d * l - x * i * w + o * f * w, B = p * f * a - u * d * a - p * i * l + c * d * l + u * i * w - c * f * w, M = u * y * a - p * x * a + p * o * l - c * y * l - u * o * w + c * x * w, W = p * x * i - u * y * i - p * o * f + c * y * f + u * o * d - c * x * d, E = e * v + t * B + r * M + s * W;
|
|
46
|
+
if (E === 0)
|
|
47
|
+
return z.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
|
48
|
+
const V = 1 / E;
|
|
49
|
+
return n[0] = v * V, n[1] = (y * f * s - x * d * s - y * r * l + t * d * l + x * r * w - t * f * w) * V, n[2] = (o * d * s - y * i * s + y * r * a - t * d * a - o * r * w + t * i * w) * V, n[3] = (x * i * s - o * f * s - x * r * a + t * f * a + o * r * l - t * i * l) * V, n[4] = B * V, n[5] = (u * d * s - p * f * s + p * r * l - e * d * l - u * r * w + e * f * w) * V, n[6] = (p * i * s - c * d * s - p * r * a + e * d * a + c * r * w - e * i * w) * V, n[7] = (c * f * s - u * i * s + u * r * a - e * f * a - c * r * l + e * i * l) * V, n[8] = M * V, n[9] = (p * x * s - u * y * s - p * t * l + e * y * l + u * t * w - e * x * w) * V, n[10] = (c * y * s - p * o * s + p * t * a - e * y * a - c * t * w + e * o * w) * V, n[11] = (u * o * s - c * x * s - u * t * a + e * x * a + c * t * l - e * o * l) * V, n[12] = W * V, n[13] = (u * y * r - p * x * r + p * t * f - e * y * f - u * t * d + e * x * d) * V, n[14] = (p * o * r - c * y * r - p * t * i + e * y * i + c * t * d - e * o * d) * V, n[15] = (c * x * r - u * o * r + u * t * i - e * x * i - c * t * f + e * o * f) * V, z;
|
|
29
50
|
};
|
|
30
51
|
export {
|
|
31
|
-
|
|
52
|
+
g as boundingBox,
|
|
53
|
+
P as boxVertex
|
|
32
54
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.23.1",
|
|
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",
|
|
@@ -7,11 +7,15 @@ export declare class LightTag {
|
|
|
7
7
|
private five;
|
|
8
8
|
private position;
|
|
9
9
|
private wrapper;
|
|
10
|
+
private disposer;
|
|
10
11
|
constructor(five: Five, position: AnyPosition);
|
|
11
12
|
show(): void;
|
|
12
|
-
hide(
|
|
13
|
+
hide(params?: {
|
|
14
|
+
withAnimation?: boolean;
|
|
15
|
+
}): void;
|
|
13
16
|
enable(): void;
|
|
14
17
|
disable(): void;
|
|
15
18
|
private onCameraUpdate;
|
|
19
|
+
private onFiveEveryReady;
|
|
16
20
|
}
|
|
17
21
|
export declare function tag(five: Five, position: AnyPosition): LightTag;
|
package/libs/shared-utils/tag.js
CHANGED
|
@@ -1,50 +1,71 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var n = (
|
|
4
|
-
import { anyPositionToVector3 as
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
return e.style.position = "absolute", e;
|
|
12
|
-
})());
|
|
1
|
+
var r = Object.defineProperty;
|
|
2
|
+
var h = (o, t, e) => t in o ? r(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e;
|
|
3
|
+
var n = (o, t, e) => (h(o, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
+
import { anyPositionToVector3 as c } from "./positionToVector3.js";
|
|
5
|
+
import * as l from "three";
|
|
6
|
+
import { vector3ToScreen as d } from "./five/vector3ToScreen.js";
|
|
7
|
+
const a = "LightTagContainer_shgjakdhwakjdhsja";
|
|
8
|
+
class p {
|
|
9
|
+
constructor(t, e) {
|
|
10
|
+
n(this, "container");
|
|
13
11
|
n(this, "visible", !1);
|
|
14
12
|
n(this, "enabled", !1);
|
|
15
13
|
n(this, "five");
|
|
16
14
|
n(this, "position");
|
|
17
15
|
n(this, "wrapper");
|
|
16
|
+
n(this, "disposer");
|
|
18
17
|
n(this, "onCameraUpdate", () => {
|
|
19
18
|
if (this.visible === !1)
|
|
20
19
|
return;
|
|
21
|
-
const
|
|
22
|
-
|
|
20
|
+
const t = d(this.five.camera, this.position);
|
|
21
|
+
t ? (this.container.style.opacity = "1", this.container.style.pointerEvents = "auto", this.container.style.left = t.leftPercent + "%", this.container.style.top = t.topPercent + "%") : (this.container.style.opacity = "0", this.container.style.pointerEvents = "none");
|
|
23
22
|
});
|
|
24
|
-
this
|
|
23
|
+
n(this, "onFiveEveryReady", () => {
|
|
24
|
+
var t;
|
|
25
|
+
if (this.visible && this.five.state.mode !== "Panorama") {
|
|
26
|
+
const e = new l.Raycaster();
|
|
27
|
+
e.set(this.five.camera.position, this.position.clone().sub(this.five.camera.position));
|
|
28
|
+
const i = (t = this.five.model.intersectRaycaster(e)) == null ? void 0 : t[0];
|
|
29
|
+
(i == null ? void 0 : i.distance) > this.position.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");
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
this.five = t, this.position = c(e).clone(), this.container = (() => {
|
|
33
|
+
const i = document.createElement("div");
|
|
34
|
+
return i.style.width = "0", i.style.height = "0", i.style.position = "absolute", i;
|
|
35
|
+
})(), this.enable(), this.show();
|
|
25
36
|
}
|
|
26
37
|
show() {
|
|
27
|
-
this.visible = !0, this.container.style.
|
|
38
|
+
this.visible = !0, this.container.style.opacity = "1", this.container.style.pointerEvents = "auto", this.container.classList.add("withAnimation"), this.onCameraUpdate();
|
|
28
39
|
}
|
|
29
|
-
hide() {
|
|
30
|
-
this.visible = !1, this.container.style.
|
|
40
|
+
hide(t) {
|
|
41
|
+
this.visible = !1, t != null && t.withAnimation ? this.container.classList.add("withAnimation") : this.container.classList.remove("withAnimation"), this.container.style.opacity = "0", this.container.style.pointerEvents = "none";
|
|
31
42
|
}
|
|
32
43
|
enable() {
|
|
33
|
-
var
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
44
|
+
var i;
|
|
45
|
+
if (this.enabled)
|
|
46
|
+
return;
|
|
47
|
+
this.enabled = !0, this.wrapper = (i = document.getElementById(a)) != null ? i : (() => {
|
|
48
|
+
const s = document.createElement("div");
|
|
49
|
+
return s.id = a, s.style.position = "absolute", s.style.top = "0", s.style.left = "0", s.style.width = "100%", s.style.height = "100%", s.style.pointerEvents = "none", this.five.getElement().parentElement.appendChild(s), s;
|
|
50
|
+
})(), this.wrapper.appendChild(this.container);
|
|
51
|
+
let t = !1;
|
|
52
|
+
const e = () => {
|
|
53
|
+
t || (t = !0, this.five.ready().then(() => {
|
|
54
|
+
this.onFiveEveryReady(), t = !1;
|
|
55
|
+
}));
|
|
56
|
+
};
|
|
57
|
+
this.five.on("cameraUpdate", e), this.five.on("cameraUpdate", this.onCameraUpdate), this.disposer = () => {
|
|
58
|
+
this.five.off("cameraUpdate", e), this.five.off("cameraUpdate", this.onCameraUpdate);
|
|
59
|
+
};
|
|
38
60
|
}
|
|
39
61
|
disable() {
|
|
40
|
-
|
|
62
|
+
var t;
|
|
63
|
+
this.enabled && (this.enabled = !1, this.wrapper.removeChild(this.container), (t = this.disposer) == null || t.call(this));
|
|
41
64
|
}
|
|
42
|
-
// private onWantsMovePano = () => {
|
|
43
|
-
// }
|
|
44
65
|
}
|
|
45
|
-
function
|
|
46
|
-
return new
|
|
66
|
+
function m(o, t) {
|
|
67
|
+
return new p(o, t);
|
|
47
68
|
}
|
|
48
69
|
export {
|
|
49
|
-
|
|
70
|
+
m as tag
|
|
50
71
|
};
|