@realsee/dnalogel 3.30.4 → 3.30.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 +8 -0
- package/dist/Sculpt/Objects/Base/index.d.ts +1 -1
- package/dist/Sculpt/index.d.ts +5 -20
- package/dist/Sculpt/typings/index.d.ts +45 -24
- package/dist/Sculpt/utils/Modules/Global.d.ts +4 -4
- package/dist/Sculpt/utils/three/rayOnLine.d.ts +6 -1
- package/dist/index.cjs.js +19 -19
- package/dist/index.js +806 -798
- package/dist/index.umd.js +14 -14
- 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 +13 -13
- package/docs/classes/Sculpt.html +23 -23
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- package/docs/types/SculptData.CircleData.html +4 -4
- package/docs/types/SculptData.CylinderData.html +4 -4
- package/docs/types/SculptData.PointData.html +4 -4
- package/docs/types/SculptData.PolygonData.html +4 -4
- package/docs/types/SculptData.PolylineData.html +4 -4
- package/docs/types/SculptData.PrismData.html +4 -4
- package/docs/types/SculptData.RectangleData.html +4 -4
- 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/PanoTagPlugin/controller/index.js +73 -70
- package/libs/Sculpt/Objects/Base/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Base/index.js +2 -2
- package/libs/Sculpt/Objects/Box/index.js +20 -20
- package/libs/Sculpt/Objects/Cylinder/index.js +17 -17
- package/libs/Sculpt/Objects/Prism/index.js +18 -18
- package/libs/Sculpt/index.d.ts +5 -20
- package/libs/Sculpt/index.js +32 -37
- package/libs/Sculpt/typings/index.d.ts +45 -24
- package/libs/Sculpt/utils/Modules/Global.d.ts +4 -4
- package/libs/Sculpt/utils/Modules/Global.js +10 -10
- package/libs/Sculpt/utils/three/rayOnLine.d.ts +6 -1
- package/libs/Sculpt/utils/three/rayOnLine.js +15 -9
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +2 -2
- package/libs/shared-utils/five/FiveDomEvents.js +80 -76
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/blink.js +16 -16
- package/package.json +1 -1
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
var w = Object.defineProperty;
|
|
2
2
|
var L = Object.getOwnPropertySymbols;
|
|
3
|
-
var M = Object.prototype.hasOwnProperty,
|
|
4
|
-
var
|
|
3
|
+
var M = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var b = (f, e, t) => e in f ? w(f, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : f[e] = t, D = (f, e) => {
|
|
5
5
|
for (var t in e || (e = {}))
|
|
6
|
-
M.call(e, t) &&
|
|
6
|
+
M.call(e, t) && b(f, t, e[t]);
|
|
7
7
|
if (L)
|
|
8
8
|
for (var t of L(e))
|
|
9
|
-
|
|
10
|
-
return
|
|
9
|
+
x.call(e, t) && b(f, t, e[t]);
|
|
10
|
+
return f;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
13
|
-
import * as
|
|
14
|
-
import { getObjectVisible as
|
|
12
|
+
var d = (f, e, t) => (b(f, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
|
+
import * as I from "three";
|
|
14
|
+
import { getObjectVisible as $ } from "../three/getObjectVisible.js";
|
|
15
15
|
import { calculateThreeMouse as W } from "./calculateThreeMouse.js";
|
|
16
|
-
class
|
|
16
|
+
class j {
|
|
17
17
|
constructor(e, t) {
|
|
18
|
-
|
|
18
|
+
d(this, "five");
|
|
19
19
|
/**
|
|
20
20
|
* @description: 拖动中
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
d(this, "dragging", !1);
|
|
23
|
+
d(this, "boundObject", {});
|
|
24
|
+
d(this, "config");
|
|
25
|
+
d(this, "handleWantsGesture", (e, t) => {
|
|
26
26
|
if (t.length !== 1)
|
|
27
27
|
return;
|
|
28
28
|
const n = t[0];
|
|
29
29
|
if (n) {
|
|
30
30
|
if (e === "mouseMove" && this.onDomEvent("hover", n), e === "tap") {
|
|
31
|
-
const i = this.onDomEvent("click", n),
|
|
32
|
-
if (i === !1 ||
|
|
31
|
+
const i = this.onDomEvent("click", n), r = this.onDomEvent("wantDblclick", n, void 0, this.boundObject.dblclick);
|
|
32
|
+
if (i === !1 || r === !1)
|
|
33
33
|
return !1;
|
|
34
34
|
}
|
|
35
35
|
if (this.dragging)
|
|
36
36
|
return !1;
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
|
-
|
|
39
|
+
d(this, "handleDomEvent", (e, t, n) => {
|
|
40
40
|
const i = { x: t.clientX, y: t.clientY };
|
|
41
41
|
this.onDomEvent(e, i, t, n);
|
|
42
42
|
});
|
|
43
|
-
|
|
43
|
+
d(this, "handleMouseEvent", (e) => {
|
|
44
44
|
this.handleDomEvent(e.type, e);
|
|
45
45
|
});
|
|
46
|
-
|
|
46
|
+
d(this, "handleMousedown", (e) => {
|
|
47
47
|
this.handleDomEvent("mousedown", e), this.handleDomEvent("dragstart", e, this.haveDragEventObject);
|
|
48
48
|
});
|
|
49
|
-
|
|
49
|
+
d(this, "handleMouseup", (e) => {
|
|
50
50
|
var t;
|
|
51
51
|
this.dragging = !1, (t = this.haveDragEventObject) == null || t.forEach((n) => {
|
|
52
52
|
n._dragging && (n._dragging = !1, this.notify({
|
|
@@ -57,7 +57,7 @@ class B {
|
|
|
57
57
|
}));
|
|
58
58
|
}), this.handleDomEvent("mouseup", e);
|
|
59
59
|
});
|
|
60
|
-
|
|
60
|
+
d(this, "handleMousemove", (e) => {
|
|
61
61
|
var t;
|
|
62
62
|
this.dragging && ((t = this.boundObject.drag) == null || t.forEach((n) => {
|
|
63
63
|
n._dragging && this.notify({
|
|
@@ -69,79 +69,79 @@ class B {
|
|
|
69
69
|
}));
|
|
70
70
|
});
|
|
71
71
|
// eslint-disable-next-line complexity
|
|
72
|
-
|
|
73
|
-
var
|
|
72
|
+
d(this, "onDomEvent", (e, t, n, i = this.boundObject[e]) => {
|
|
73
|
+
var u, c, v;
|
|
74
74
|
if (!t || !i || (i == null ? void 0 : i.length) === 0 || !this.five.model.loaded)
|
|
75
75
|
return;
|
|
76
|
-
const
|
|
77
|
-
|
|
78
|
-
const
|
|
79
|
-
if (
|
|
76
|
+
const r = (u = t.raycaster) != null ? u : this.getRaycaster(t);
|
|
77
|
+
r.params.Points.threshold = 0.02;
|
|
78
|
+
const s = r.intersectObjects(i, !0), l = this.five.model.intersectRaycaster(r), h = 0.01;
|
|
79
|
+
if (l.length > 0 && s.length > 0 && l[0].distance + h < s[0].distance)
|
|
80
80
|
return;
|
|
81
|
-
const
|
|
81
|
+
const o = (c = s == null ? void 0 : s[0]) == null ? void 0 : c.object;
|
|
82
82
|
if (e === "wantDblclick")
|
|
83
83
|
return !1;
|
|
84
|
-
if ((!
|
|
85
|
-
for (const
|
|
86
|
-
|
|
87
|
-
if (
|
|
84
|
+
if ((!o || !this.objectIsBound(o)) && e === "hover")
|
|
85
|
+
for (const m of (v = this.boundObject.hover) != null ? v : [])
|
|
86
|
+
m._hovered && this.notify({ eventName: "unHover", object: m });
|
|
87
|
+
if (o && o && this.notify({ eventName: e, object: o, originEvent: n, raycaster: r, intersects: s }))
|
|
88
88
|
return !1;
|
|
89
89
|
});
|
|
90
|
-
|
|
90
|
+
d(this, "objectIsBound", (e) => {
|
|
91
91
|
let t = e._domEvent, n = e.parent;
|
|
92
92
|
for (; typeof t == "undefined" && n; )
|
|
93
93
|
t = n._domEvent, n = n.parent;
|
|
94
94
|
return !!t;
|
|
95
95
|
});
|
|
96
|
-
|
|
97
|
-
var
|
|
98
|
-
const { eventName: t, object: n, originEvent: i, raycaster:
|
|
99
|
-
let
|
|
100
|
-
const
|
|
101
|
-
let
|
|
102
|
-
for (
|
|
103
|
-
|
|
104
|
-
const
|
|
105
|
-
if (!((
|
|
106
|
-
for (const
|
|
107
|
-
if (
|
|
96
|
+
d(this, "notify", (e) => {
|
|
97
|
+
var v, m, _;
|
|
98
|
+
const { eventName: t, object: n, originEvent: i, raycaster: r, intersects: s } = e;
|
|
99
|
+
let l = !1, h = [];
|
|
100
|
+
const o = [];
|
|
101
|
+
let u = n;
|
|
102
|
+
for (o.push(u); u.parent; )
|
|
103
|
+
u = u.parent, o.push(u);
|
|
104
|
+
const c = o.at(-1);
|
|
105
|
+
if (!((v = this.config) != null && v.noEmitWhenNotInScene && c.type !== "Scene")) {
|
|
106
|
+
for (const a of o) {
|
|
107
|
+
if (l)
|
|
108
108
|
break;
|
|
109
|
-
|
|
110
|
-
const
|
|
111
|
-
if (!
|
|
109
|
+
a.draggable && (t === "dragstart" && (a._dragging = !0, this.dragging = !0), t === "dragend" && (a._dragging = !1, this.dragging = !1));
|
|
110
|
+
const O = a._domEvent;
|
|
111
|
+
if (!O)
|
|
112
112
|
continue;
|
|
113
|
-
const
|
|
114
|
-
if (
|
|
115
|
-
for (const [H,
|
|
116
|
-
if (
|
|
113
|
+
const y = O[`${t}Handler`];
|
|
114
|
+
if (y)
|
|
115
|
+
for (const [H, E] of y) {
|
|
116
|
+
if (E != null && E.noEmitWhenNotInScene && c.type !== "Scene" || ((m = this.config) != null && m.noEmitWhenHide || E != null && E.noEmitWhenHide) && !$(a))
|
|
117
117
|
continue;
|
|
118
118
|
if (t === "hover") {
|
|
119
|
-
if (
|
|
119
|
+
if (a._hovered)
|
|
120
120
|
continue;
|
|
121
|
-
|
|
122
|
-
for (const g of (
|
|
123
|
-
g !==
|
|
121
|
+
a._hovered = !0;
|
|
122
|
+
for (const g of (_ = this.boundObject.hover) != null ? _ : [])
|
|
123
|
+
g !== a && g._hovered && this.notify({ eventName: "unHover", object: g });
|
|
124
124
|
}
|
|
125
125
|
if (t === "unHover") {
|
|
126
|
-
if (!
|
|
126
|
+
if (!a._hovered)
|
|
127
127
|
continue;
|
|
128
|
-
|
|
128
|
+
a._hovered = !1;
|
|
129
129
|
}
|
|
130
130
|
const p = H({
|
|
131
131
|
type: t,
|
|
132
|
-
target:
|
|
132
|
+
target: a,
|
|
133
133
|
origDomEvent: i,
|
|
134
|
-
raycaster:
|
|
135
|
-
intersects:
|
|
134
|
+
raycaster: r,
|
|
135
|
+
intersects: s,
|
|
136
136
|
stopPropagation: () => {
|
|
137
|
-
|
|
137
|
+
l = !0;
|
|
138
138
|
}
|
|
139
139
|
});
|
|
140
|
-
|
|
140
|
+
h.push(p != null ? p : !0);
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
if (t === "click" || t === "wantDblclick")
|
|
144
|
-
return
|
|
144
|
+
return h.some((a) => a === !0);
|
|
145
145
|
}
|
|
146
146
|
});
|
|
147
147
|
this.five = e, this.config = t, e.on("wantsGesture", this.handleWantsGesture), document.addEventListener("mousedown", this.handleMousedown), document.addEventListener("dblclick", this.handleMouseEvent), document.addEventListener("mouseup", this.handleMouseup), document.addEventListener("mousemove", this.handleMousemove);
|
|
@@ -155,9 +155,9 @@ class B {
|
|
|
155
155
|
* @todo: added 和 removed 还是不太智能
|
|
156
156
|
*/
|
|
157
157
|
addAutoBindEventListener(e, t, n, i) {
|
|
158
|
-
const
|
|
159
|
-
return e.addEventListener("added",
|
|
160
|
-
e.removeEventListener("added",
|
|
158
|
+
const r = () => this.addEventListener(e, t, n, i), s = () => this.removeEventListener(e, t, n, i);
|
|
159
|
+
return e.addEventListener("added", r), e.addEventListener("removed", s), e.addEventListener("dispose", s), () => {
|
|
160
|
+
e.removeEventListener("added", r), e.removeEventListener("removed", s), e.removeEventListener("dispose", s);
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
163
|
/**
|
|
@@ -168,20 +168,24 @@ class B {
|
|
|
168
168
|
* @return {void}
|
|
169
169
|
*/
|
|
170
170
|
addEventListener(e, t, n, i) {
|
|
171
|
-
e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), e._domEvent[`${t}Handler`].push([n, D({ noEmitWhenHide: !1, noEmitWhenNotInScene: !1 }, i)])
|
|
171
|
+
e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), this.boundObject[t].includes(e) || this.boundObject[t].push(e), e._domEvent[`${t}Handler`].push([n, D({ noEmitWhenHide: !1, noEmitWhenNotInScene: !1 }, i)]);
|
|
172
172
|
}
|
|
173
173
|
removeEventListener(e, t, n, ...i) {
|
|
174
|
-
var
|
|
175
|
-
if (!e._domEvent || (t === void 0 && (
|
|
174
|
+
var s, l;
|
|
175
|
+
if (!e._domEvent || (t === void 0 && (Object.keys(this.boundObject).forEach((h) => {
|
|
176
|
+
var u, c;
|
|
177
|
+
const o = (u = this.boundObject[h]) == null ? void 0 : u.findIndex((v) => v === e);
|
|
178
|
+
o !== -1 && ((c = this.boundObject[h]) == null || c.splice(o, 1));
|
|
179
|
+
}), e._domEvent = {}), !e._domEvent[`${t}Handler`]))
|
|
176
180
|
return;
|
|
177
181
|
if (n === void 0) {
|
|
178
182
|
delete e._domEvent[`${t}Handler`];
|
|
179
183
|
return;
|
|
180
184
|
}
|
|
181
|
-
const
|
|
182
|
-
if (
|
|
183
|
-
const
|
|
184
|
-
|
|
185
|
+
const r = e._domEvent[`${t}Handler`].findIndex((h) => h[0] === n);
|
|
186
|
+
if (r !== -1 && (e._domEvent[`${t}Handler`].splice(r, 1), e._domEvent[`${t}Handler`].length === 0 && delete e._domEvent[`${t}Handler`], e._domEvent && Object.keys(e._domEvent).length === 0 && delete e._domEvent, !e._domEvent)) {
|
|
187
|
+
const h = (s = this.boundObject[t]) == null ? void 0 : s.findIndex((o) => o === e);
|
|
188
|
+
h !== -1 && ((l = this.boundObject[t]) == null || l.splice(h, 1));
|
|
185
189
|
}
|
|
186
190
|
}
|
|
187
191
|
dispose() {
|
|
@@ -192,10 +196,10 @@ class B {
|
|
|
192
196
|
const t = this.five.getElement();
|
|
193
197
|
if (!t)
|
|
194
198
|
return;
|
|
195
|
-
const n = W(e, t), i = new
|
|
199
|
+
const n = W(e, t), i = new I.Raycaster();
|
|
196
200
|
return i.setFromCamera(n, this.five.camera), i;
|
|
197
201
|
}
|
|
198
202
|
}
|
|
199
203
|
export {
|
|
200
|
-
|
|
204
|
+
j as FiveDomEvents
|
|
201
205
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.30.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.30.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",
|
|
@@ -16,28 +16,28 @@ var E = (e, a, t) => new Promise((r, s) => {
|
|
|
16
16
|
} catch (i) {
|
|
17
17
|
s(i);
|
|
18
18
|
}
|
|
19
|
-
},
|
|
19
|
+
}, c = (y) => {
|
|
20
20
|
try {
|
|
21
21
|
d(t.throw(y));
|
|
22
22
|
} catch (i) {
|
|
23
23
|
s(i);
|
|
24
24
|
}
|
|
25
|
-
}, d = (y) => y.done ? r(y.value) : Promise.resolve(y.value).then(l,
|
|
25
|
+
}, d = (y) => y.done ? r(y.value) : Promise.resolve(y.value).then(l, c);
|
|
26
26
|
d((t = t.apply(e, a)).next());
|
|
27
27
|
});
|
|
28
28
|
import D from "animejs";
|
|
29
29
|
import { toArray as v } from "../util.js";
|
|
30
|
-
const
|
|
30
|
+
const f = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Map();
|
|
31
31
|
function b(e) {
|
|
32
32
|
v(e).forEach((t) => {
|
|
33
33
|
var r, s;
|
|
34
|
-
|
|
34
|
+
f.has(t) || (t instanceof HTMLElement ? f.set(t, {
|
|
35
35
|
opacity: t.style.opacity === "" ? void 0 : t.style.opacity,
|
|
36
36
|
visible: {
|
|
37
37
|
display: t.style.display,
|
|
38
38
|
visibility: t.style.visibility
|
|
39
39
|
}
|
|
40
|
-
}) : t.isObject3D &&
|
|
40
|
+
}) : t.isObject3D && f.set(t, {
|
|
41
41
|
opacity: (r = t.material) == null ? void 0 : r.opacity,
|
|
42
42
|
transparent: (s = t.material) == null ? void 0 : s.transparent,
|
|
43
43
|
visible: t.visible
|
|
@@ -46,11 +46,11 @@ function b(e) {
|
|
|
46
46
|
}
|
|
47
47
|
function k(e) {
|
|
48
48
|
v(e).forEach((t) => {
|
|
49
|
-
const r =
|
|
50
|
-
r && (t instanceof HTMLElement && (t.style.opacity = r.opacity, t.style.display = r.visible.display, t.style.visibility = r.visible.visibility, t.style.display = r.visible.display), t.isObject3D && (t.visible = r.visible, t.material && (t.material.opacity = r.opacity, t.material.transparent = r.transparent)),
|
|
49
|
+
const r = f.get(t);
|
|
50
|
+
r && (t instanceof HTMLElement && (t.style.opacity = r.opacity === void 0 ? "" : r.opacity, t.style.display = r.visible.display, t.style.visibility = r.visible.visibility, t.style.display = r.visible.display), t.isObject3D && (t.visible = r.visible, t.material && (t.material.opacity = r.opacity, t.material.transparent = r.transparent)), f.delete(t));
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function o(e, a) {
|
|
54
54
|
return E(this, null, function* () {
|
|
55
55
|
var d, y;
|
|
56
56
|
const t = (d = a == null ? void 0 : a.traverseTHREEObject) != null ? d : !0;
|
|
@@ -73,27 +73,27 @@ function N(e, a) {
|
|
|
73
73
|
i.animatables.forEach((L) => {
|
|
74
74
|
var M;
|
|
75
75
|
const p = L.target;
|
|
76
|
-
if (!
|
|
76
|
+
if (!f.has(p))
|
|
77
77
|
return;
|
|
78
|
-
const h = Number((M =
|
|
78
|
+
const h = Number((M = f.get(p).opacity) != null ? M : 1) * (100 - i.progress) / 100;
|
|
79
79
|
p instanceof HTMLElement ? p.style.opacity = String(h) : p.material && (p.material.opacity = h, p.material.transparent = !0);
|
|
80
80
|
}), (u = a == null ? void 0 : a.updateRender) == null || u.call(a);
|
|
81
81
|
}
|
|
82
|
-
}, a)),
|
|
83
|
-
|
|
82
|
+
}, a)), c = T.get(e);
|
|
83
|
+
c == null || c.pause(), c == null || c.seek(0), T.set(e, l), l.play(), yield l.finished, k(r), (y = a == null ? void 0 : a.updateRender) == null || y.call(a);
|
|
84
84
|
});
|
|
85
85
|
}
|
|
86
86
|
function C(e, a) {
|
|
87
87
|
return E(this, null, function* () {
|
|
88
|
-
return
|
|
88
|
+
return o(e, g({
|
|
89
89
|
update: (t) => {
|
|
90
90
|
var r;
|
|
91
91
|
t.animatables.forEach((s) => {
|
|
92
92
|
var i, u;
|
|
93
93
|
const l = s.target;
|
|
94
|
-
if (!
|
|
94
|
+
if (!f.has(l))
|
|
95
95
|
return;
|
|
96
|
-
const
|
|
96
|
+
const c = f.get(l), y = ((u = (i = c == null ? void 0 : c.opacity) != null ? i : a == null ? void 0 : a.maxOpacity) != null ? u : 1) * (t.progress / 100);
|
|
97
97
|
l instanceof HTMLElement ? (l.style.opacity = String(y), l.style.visibility = "visible") : l.isObject3D && (v(e).includes(l) && (l.visible = !0), l.material && (l.material.opacity = y, l.material.transparent = !0));
|
|
98
98
|
}), (r = a == null ? void 0 : a.updateRender) == null || r.call(a);
|
|
99
99
|
}
|
|
@@ -101,6 +101,6 @@ function C(e, a) {
|
|
|
101
101
|
});
|
|
102
102
|
}
|
|
103
103
|
export {
|
|
104
|
-
|
|
104
|
+
o as blink,
|
|
105
105
|
C as reblink
|
|
106
106
|
};
|