@realsee/dnalogel 3.34.4 → 3.34.5
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/ModelMakerPlugin/Controller.d.ts +1 -1
- package/dist/ModelMakerPlugin/item/baseItem.d.ts +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.js +87 -91
- package/dist/index.umd.js +3 -3
- package/dist/shared-utils/tag.d.ts +4 -4
- 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 +13 -13
- 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 +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- 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.d.ts +1 -1
- package/libs/ModelMakerPlugin/Controller.js +86 -83
- package/libs/ModelMakerPlugin/item/baseItem.d.ts +1 -1
- package/libs/ModelMakerPlugin/item/baseItem.js +23 -26
- package/libs/PanoRulerPlugin/Plugin.js +15 -15
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +4 -4
- package/libs/shared-utils/tag.js +26 -30
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -48,7 +48,7 @@ import Um from "earcut";
|
|
|
48
48
|
import { GLTFLoader as Ym } from "@realsee/five/gltf-loader";
|
|
49
49
|
function Xm() {
|
|
50
50
|
console.debug(
|
|
51
|
-
"%c %c@realsee/dnalogel %cv3.34.
|
|
51
|
+
"%c %c@realsee/dnalogel %cv3.34.5",
|
|
52
52
|
[
|
|
53
53
|
"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=')",
|
|
54
54
|
"background-repeat: no-repeat",
|
|
@@ -7434,7 +7434,7 @@ let rn = class {
|
|
|
7434
7434
|
/**
|
|
7435
7435
|
* @realsee/dnalogel 版本号
|
|
7436
7436
|
*/
|
|
7437
|
-
d(this, "VERSION", "3.34.
|
|
7437
|
+
d(this, "VERSION", "3.34.5");
|
|
7438
7438
|
d(this, "five");
|
|
7439
7439
|
/**
|
|
7440
7440
|
* @description: 插件事件钩子
|
|
@@ -9908,10 +9908,7 @@ const lb = `<style type="text/css">
|
|
|
9908
9908
|
`, y = document.createElement("div");
|
|
9909
9909
|
return y.setAttribute("class", "PanoRulerPlugin-rule"), y.setAttribute("data-name", p), y.setAttribute("style", "display: none"), y.innerHTML = b, y;
|
|
9910
9910
|
}, s = document.createElement("div");
|
|
9911
|
-
s.setAttribute(
|
|
9912
|
-
"style",
|
|
9913
|
-
"position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;"
|
|
9914
|
-
);
|
|
9911
|
+
s.setAttribute("style", "position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;");
|
|
9915
9912
|
const o = document.createElement("div");
|
|
9916
9913
|
o.innerHTML = lb, s.appendChild(o);
|
|
9917
9914
|
const r = {}, a = (p, m) => {
|
|
@@ -9967,9 +9964,7 @@ const lb = `<style type="text/css">
|
|
|
9967
9964
|
const y = p || t.roomInfo, P = m || t.roomRules;
|
|
9968
9965
|
if (!y || !P)
|
|
9969
9966
|
throw new Error("标尺数据依赖不齐全!");
|
|
9970
|
-
return e.loaded = !1, e.options = D(D({}, e.options), b || {}), n.model.loaded ? a(y, P) : yield new Promise(
|
|
9971
|
-
(I) => n.once("modelLoaded", () => I(a(y, P)))
|
|
9972
|
-
);
|
|
9967
|
+
return e.loaded = !1, e.options = D(D({}, e.options), b || {}), n.model.loaded ? a(y, P) : yield new Promise((I) => n.once("modelLoaded", () => I(a(y, P))));
|
|
9973
9968
|
});
|
|
9974
9969
|
t.roomInfo && t.roomRules && l(t.roomInfo, t.roomRules);
|
|
9975
9970
|
const c = (p, m, b, y) => {
|
|
@@ -10056,24 +10051,29 @@ const lb = `<style type="text/css">
|
|
|
10056
10051
|
continue;
|
|
10057
10052
|
}
|
|
10058
10053
|
const $ = H.distanceTo(F);
|
|
10059
|
-
if (F.clone().sub(
|
|
10054
|
+
if (F.clone().sub(
|
|
10055
|
+
F.clone().sub(H).divide(new oe(2, 2, 2))
|
|
10056
|
+
).distanceTo(I) / $ > 8) {
|
|
10060
10057
|
Q.style.display = "none";
|
|
10061
10058
|
continue;
|
|
10062
10059
|
}
|
|
10063
10060
|
const Pe = H.clone().project(b), Ce = (Pe.x + 1) / 2 * E, be = (-Pe.y + 1) / 2 * j, Qe = F.clone().project(b), ye = (Qe.x + 1) / 2 * E, Ze = (-Qe.y + 1) / 2 * j, ee = Math.sqrt(Math.pow(ye - Ce, 2) + Math.pow(Ze - be, 2));
|
|
10064
10061
|
let ve = ee, je = 50;
|
|
10065
|
-
const me = c(
|
|
10066
|
-
x: ~~
|
|
10067
|
-
|
|
10068
|
-
|
|
10062
|
+
const me = c(
|
|
10063
|
+
{ x: ~~Ce, y: ~~be },
|
|
10064
|
+
{
|
|
10065
|
+
x: ~~ye,
|
|
10066
|
+
y: ~~Ze
|
|
10067
|
+
},
|
|
10068
|
+
E,
|
|
10069
|
+
j
|
|
10070
|
+
);
|
|
10069
10071
|
if (me && me.length === 1 && (V === H ? (ve = Math.sqrt(Math.pow(me[0].x - Ce, 2) + Math.pow(me[0].y - be, 2)), je = ve / ee * 50) : V === F && (ve = Math.sqrt(Math.pow(me[0].x - ye, 2) + Math.pow(me[0].y - Ze, 2)), je = 100 - ve / ee * 50)), me && me.length === 2) {
|
|
10070
10072
|
const re = {
|
|
10071
10073
|
x: (me[0].x + me[1].x) / 2,
|
|
10072
10074
|
y: (me[0].y + me[1].y) / 2
|
|
10073
10075
|
};
|
|
10074
|
-
je = Math.sqrt(
|
|
10075
|
-
Math.pow(re.x - Ce, 2) + Math.pow(re.y - be, 2)
|
|
10076
|
-
) / ee * 100;
|
|
10076
|
+
je = Math.sqrt(Math.pow(re.x - Ce, 2) + Math.pow(re.y - be, 2)) / ee * 100;
|
|
10077
10077
|
}
|
|
10078
10078
|
const at = (Math.PI / 2 - Math.atan2(ye - Ce, be - Ze)) / Math.PI * 180, xe = U.querySelector(".PanoRulerPlugin-rule-label"), st = xe.children[0].clientWidth;
|
|
10079
10079
|
st >= ee || st / 2 >= je / 100 * ee || st / 2 >= (1 - je / 100) * ee ? U.style.display = "none" : (U.style.display = "block", U.style.width = ee + "px", U.style.left = Ce + "px", U.style.top = be + "px", U.style.transform = `rotate(${-at}deg)`, xe.style.left = `${je}%`);
|
|
@@ -36929,11 +36929,11 @@ class u3 {
|
|
|
36929
36929
|
d(this, "container");
|
|
36930
36930
|
d(this, "visible", !1);
|
|
36931
36931
|
d(this, "enabled", !1);
|
|
36932
|
+
d(this, "wrapper");
|
|
36932
36933
|
d(this, "five");
|
|
36933
36934
|
d(this, "position");
|
|
36934
|
-
d(this, "wrapper");
|
|
36935
36935
|
d(this, "disposer");
|
|
36936
|
-
d(this, "
|
|
36936
|
+
d(this, "config");
|
|
36937
36937
|
d(this, "onCameraUpdate", () => {
|
|
36938
36938
|
if (this.visible === !1)
|
|
36939
36939
|
return;
|
|
@@ -36949,11 +36949,10 @@ class u3 {
|
|
|
36949
36949
|
(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");
|
|
36950
36950
|
}
|
|
36951
36951
|
});
|
|
36952
|
-
var s;
|
|
36953
36952
|
this.five = t, this.position = Be(e).clone(), this.container = (() => {
|
|
36954
|
-
const
|
|
36955
|
-
return
|
|
36956
|
-
})(), this.
|
|
36953
|
+
const s = document.createElement("div");
|
|
36954
|
+
return s.style.width = "0", s.style.height = "0", s.style.position = "absolute", s;
|
|
36955
|
+
})(), this.config = i, this.enable(), this.show();
|
|
36957
36956
|
}
|
|
36958
36957
|
show() {
|
|
36959
36958
|
this.visible = !0, this.container.style.opacity = "1", this.container.style.pointerEvents = "auto", this.container.style.transition = "opacity 0.2s linear", this.onCameraUpdate();
|
|
@@ -36962,16 +36961,13 @@ class u3 {
|
|
|
36962
36961
|
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";
|
|
36963
36962
|
}
|
|
36964
36963
|
enable() {
|
|
36965
|
-
var i;
|
|
36964
|
+
var i, s, o, r;
|
|
36966
36965
|
if (this.enabled)
|
|
36967
36966
|
return;
|
|
36968
|
-
this.enabled = !0, this.wrapper = (i = document.getElementById(Ju)) != null ?
|
|
36969
|
-
|
|
36970
|
-
|
|
36971
|
-
|
|
36972
|
-
s.style[r] = this.wrapperStyle[r];
|
|
36973
|
-
}), (o = this.five.getElement()) == null || o.parentElement.appendChild(s), s;
|
|
36974
|
-
})(), this.wrapper.appendChild(this.container);
|
|
36967
|
+
this.enabled = !0, this.wrapper || (this.wrapper = (s = (i = this.config.wrapper) != null ? i : document.getElementById(Ju)) != null ? s : (() => {
|
|
36968
|
+
const a = document.createElement("div");
|
|
36969
|
+
return a.id = Ju, a.style.position = "absolute", a.style.top = "0", a.style.left = "0", a.style.width = "100%", a.style.height = "100%", a.style.pointerEvents = "none", a;
|
|
36970
|
+
})(), (o = this.five.getElement()) != null && o.parentElement.contains(this.wrapper) || (r = this.five.getElement()) == null || r.parentElement.appendChild(this.wrapper)), this.wrapper.appendChild(this.container);
|
|
36975
36971
|
let t = !1;
|
|
36976
36972
|
const e = () => {
|
|
36977
36973
|
t || (t = !0, this.five.ready().then(() => {
|
|
@@ -36997,7 +36993,7 @@ const wm = (n) => ((!Ro || n !== Ro.five) && (Ro = {
|
|
|
36997
36993
|
}), Ro.instance);
|
|
36998
36994
|
class Cm extends ii {
|
|
36999
36995
|
constructor(e) {
|
|
37000
|
-
var s, o, r
|
|
36996
|
+
var s, o, r;
|
|
37001
36997
|
super();
|
|
37002
36998
|
d(this, "type");
|
|
37003
36999
|
d(this, "tag");
|
|
@@ -37005,11 +37001,10 @@ class Cm extends ii {
|
|
|
37005
37001
|
d(this, "model");
|
|
37006
37002
|
d(this, "five");
|
|
37007
37003
|
d(this, "group");
|
|
37008
|
-
d(this, "enabled", !1);
|
|
37009
37004
|
d(this, "fiveDomEvents");
|
|
37010
37005
|
this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = wm(this.five);
|
|
37011
37006
|
const i = (r = (o = (s = e.position) != null ? s : this.model.worldCenter) != null ? o : this.model.center) != null ? r : Js(this.model).getCenter(new w.Vector3());
|
|
37012
|
-
this.tag = f3(this.five, i, {
|
|
37007
|
+
this.tag = f3(this.five, i, { wrapper: e.tagWrapper });
|
|
37013
37008
|
}
|
|
37014
37009
|
get container() {
|
|
37015
37010
|
return this.tag.container;
|
|
@@ -37017,7 +37012,7 @@ class Cm extends ii {
|
|
|
37017
37012
|
get state() {
|
|
37018
37013
|
return {
|
|
37019
37014
|
visible: this.model.visible,
|
|
37020
|
-
enabled: this.
|
|
37015
|
+
enabled: this.group.children.includes(this.model)
|
|
37021
37016
|
};
|
|
37022
37017
|
}
|
|
37023
37018
|
show() {
|
|
@@ -37027,14 +37022,12 @@ class Cm extends ii {
|
|
|
37027
37022
|
this.tag.hide(), this.model.visible = !1, this.five.needsRender = !0, this.emit("hide");
|
|
37028
37023
|
}
|
|
37029
37024
|
enable() {
|
|
37030
|
-
|
|
37031
|
-
return;
|
|
37032
|
-
this.enabled = !0, h3(this.group, this.model), this.five.needsRender = !0, this.tag.enable();
|
|
37025
|
+
h3(this.group, this.model), this.five.needsRender = !0, this.tag.enable();
|
|
37033
37026
|
const e = this.onClick.bind(this);
|
|
37034
37027
|
this.fiveDomEvents.addEventListener(this.model, "click", e), this.emit("enable");
|
|
37035
37028
|
}
|
|
37036
37029
|
disable() {
|
|
37037
|
-
this.
|
|
37030
|
+
this.group.remove(this.model), this.five.needsRender = !0, this.tag.disable(), this.fiveDomEvents.removeEventListener(this.model, "click"), this.emit("disable");
|
|
37038
37031
|
}
|
|
37039
37032
|
onClick() {
|
|
37040
37033
|
return this.emit("click", this);
|
|
@@ -37163,12 +37156,13 @@ class C3 extends vi {
|
|
|
37163
37156
|
d(this, "tagRendererMap", {});
|
|
37164
37157
|
d(this, "fiveDomEvents");
|
|
37165
37158
|
d(this, "zFightingOffset", 0);
|
|
37166
|
-
d(this, "
|
|
37159
|
+
d(this, "tagWrapper");
|
|
37167
37160
|
d(this, "handleEnable", () => {
|
|
37168
|
-
|
|
37161
|
+
var e, i;
|
|
37162
|
+
this.five.scene.add(this.group), (i = (e = this.five.getElement()) == null ? void 0 : e.parentElement) == null || i.appendChild(this.tagWrapper), this.five.needsRender = !0;
|
|
37169
37163
|
});
|
|
37170
37164
|
d(this, "handleDisable", () => {
|
|
37171
|
-
this.
|
|
37165
|
+
this.five.scene.remove(this.group), this.tagWrapper.remove(), this.five.needsRender = !0;
|
|
37172
37166
|
});
|
|
37173
37167
|
d(this, "updateTagRenderer", () => {
|
|
37174
37168
|
this.items.forEach((e) => {
|
|
@@ -37177,69 +37171,71 @@ class C3 extends vi {
|
|
|
37177
37171
|
i && e.__renderer !== i && (e.__renderer = i, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = i(e.tag.container, e));
|
|
37178
37172
|
});
|
|
37179
37173
|
});
|
|
37180
|
-
this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.fiveDomEvents = wm(e), this.
|
|
37174
|
+
this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.fiveDomEvents = wm(e), this.tagWrapper = (() => {
|
|
37175
|
+
var o;
|
|
37176
|
+
const s = document.createElement("div");
|
|
37177
|
+
return s.style.position = "absolute", s.style.top = "0", s.style.left = "0", s.style.width = "100%", s.style.height = "100%", s.style.pointerEvents = "none", s.style.zIndex = `${(o = i == null ? void 0 : i.tagContainerZIndex) != null ? o : ""}`, s;
|
|
37178
|
+
})(), e.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
|
|
37181
37179
|
}
|
|
37182
37180
|
load(e) {
|
|
37183
37181
|
return G(this, null, function* () {
|
|
37184
|
-
var
|
|
37185
|
-
this.clear(), this.data = e
|
|
37186
|
-
|
|
37187
|
-
|
|
37188
|
-
|
|
37189
|
-
|
|
37190
|
-
|
|
37191
|
-
|
|
37192
|
-
|
|
37193
|
-
opacity: o.object_data.opacity,
|
|
37194
|
-
lineColor: o.object_data.color,
|
|
37182
|
+
var i;
|
|
37183
|
+
this.clear(), this.data = e, (i = e == null ? void 0 : e.list) == null || i.forEach((s) => {
|
|
37184
|
+
var o;
|
|
37185
|
+
if (s.type === "triangles") {
|
|
37186
|
+
const r = new cr();
|
|
37187
|
+
r.setPoints(s.object_data.points), r.setStyle({
|
|
37188
|
+
color: s.object_data.color,
|
|
37189
|
+
opacity: s.object_data.opacity,
|
|
37190
|
+
lineColor: s.object_data.color,
|
|
37195
37191
|
occlusionVisibility: !1
|
|
37196
|
-
}), this.fiveDomEvents.addEventListener(
|
|
37197
|
-
const
|
|
37192
|
+
}), this.fiveDomEvents.addEventListener(r, "hover", () => r.highlight()), this.fiveDomEvents.addEventListener(r, "unHover", () => r.unhighlight());
|
|
37193
|
+
const a = new Pm({
|
|
37198
37194
|
five: this.five,
|
|
37199
|
-
|
|
37195
|
+
tagWrapper: this.tagWrapper,
|
|
37196
|
+
model: r,
|
|
37200
37197
|
group: this.group,
|
|
37201
|
-
type:
|
|
37202
|
-
rawData:
|
|
37203
|
-
tagContainerZIndex: i
|
|
37198
|
+
type: s.type,
|
|
37199
|
+
rawData: s
|
|
37204
37200
|
});
|
|
37205
|
-
this.items.push(
|
|
37206
|
-
} else if (
|
|
37207
|
-
const
|
|
37201
|
+
this.items.push(a);
|
|
37202
|
+
} else if (s.type === "prism") {
|
|
37203
|
+
const r = new hr();
|
|
37208
37204
|
this.zFightingOffset += 1e-4;
|
|
37209
|
-
const
|
|
37210
|
-
var
|
|
37211
|
-
return [
|
|
37212
|
-
}),
|
|
37213
|
-
|
|
37214
|
-
color:
|
|
37215
|
-
opacity:
|
|
37216
|
-
lineColor:
|
|
37205
|
+
const a = s.object_data.points.map((u) => {
|
|
37206
|
+
var f;
|
|
37207
|
+
return [u[0], u[1] + ((f = s.object_data.fixedY) != null ? f : 0), u[2]];
|
|
37208
|
+
}), l = s.object_data.height + ((o = s.object_data.fixedHeight) != null ? o : 0) + this.zFightingOffset, c = Be(a[0]).add(new w.Vector3().setY(l));
|
|
37209
|
+
r.setPoints({ points: a, heightPoint: c }), r.setStyle({
|
|
37210
|
+
color: s.object_data.color,
|
|
37211
|
+
opacity: s.object_data.opacity,
|
|
37212
|
+
lineColor: s.object_data.color,
|
|
37217
37213
|
occlusionVisibility: !1
|
|
37218
37214
|
});
|
|
37219
|
-
const
|
|
37215
|
+
const h = new w3({
|
|
37220
37216
|
five: this.five,
|
|
37221
|
-
|
|
37217
|
+
tagWrapper: this.tagWrapper,
|
|
37218
|
+
model: r,
|
|
37222
37219
|
group: this.group,
|
|
37223
|
-
type:
|
|
37224
|
-
rawData:
|
|
37225
|
-
tagContainerZIndex: i
|
|
37220
|
+
type: s.type,
|
|
37221
|
+
rawData: s
|
|
37226
37222
|
});
|
|
37227
|
-
this.items.push(
|
|
37228
|
-
} else if (
|
|
37229
|
-
const
|
|
37230
|
-
|
|
37231
|
-
points: [_i(
|
|
37232
|
-
heightPoint: _i(
|
|
37233
|
-
}),
|
|
37234
|
-
const
|
|
37223
|
+
this.items.push(h);
|
|
37224
|
+
} else if (s.type === "box") {
|
|
37225
|
+
const r = new hr(), { start: a, end: l, rotation: c = [0, 0, 0, 0], opacity: h, color: u } = s.object_data, f = new w.Vector3().fromArray(a), g = new w.Vector3().fromArray(l), A = new w.Euler().fromArray(c), p = new w.Quaternion().setFromEuler(A), m = p.clone().inverse(), b = new w.Vector3().lerpVectors(f, g, 0.5), y = b.clone().negate(), P = f.clone().add(y).applyQuaternion(m), I = g.clone().add(y).applyQuaternion(m), k = new w.Box3(P.clone().max(I), P.clone().min(I));
|
|
37226
|
+
r.setPoints({
|
|
37227
|
+
points: [_i(k, 2), _i(k, 3), _i(k, 7), _i(k, 6)],
|
|
37228
|
+
heightPoint: _i(k, 0)
|
|
37229
|
+
}), r.position.copy(b), r.quaternion.copy(p), r.setStyle({ color: u, opacity: h, lineColor: u, occlusionVisibility: !1 });
|
|
37230
|
+
const E = new g3({
|
|
37235
37231
|
five: this.five,
|
|
37236
|
-
|
|
37232
|
+
tagWrapper: this.tagWrapper,
|
|
37233
|
+
model: r,
|
|
37237
37234
|
group: this.group,
|
|
37238
|
-
type:
|
|
37239
|
-
rawData:
|
|
37240
|
-
tagContainerZIndex: i
|
|
37235
|
+
type: s.type,
|
|
37236
|
+
rawData: s
|
|
37241
37237
|
});
|
|
37242
|
-
this.items.push(
|
|
37238
|
+
this.items.push(E);
|
|
37243
37239
|
}
|
|
37244
37240
|
}), this.five.needsRender = !0, this.state.enabled ? this.handleEnable() : this.handleDisable(), this.state.visible ? this.handleShow() : this.handleHide(), this.updateTagRenderer(), this.hooks.emit("dataLoaded", e);
|
|
37245
37241
|
});
|
|
@@ -37272,10 +37268,10 @@ class C3 extends vi {
|
|
|
37272
37268
|
this.hooks.emit("dispose"), this.handleDisable();
|
|
37273
37269
|
}
|
|
37274
37270
|
handleShow() {
|
|
37275
|
-
this.
|
|
37271
|
+
this.group.visible = !0, this.tagWrapper.style.visibility = "visible", this.five.needsRender = !0;
|
|
37276
37272
|
}
|
|
37277
37273
|
handleHide() {
|
|
37278
|
-
this.
|
|
37274
|
+
this.group.visible = !1, this.tagWrapper.style.visibility = "hidden", this.five.needsRender = !0;
|
|
37279
37275
|
}
|
|
37280
37276
|
}
|
|
37281
37277
|
const qx = (...n) => new C3(...n);
|