@realsee/dnalogel 3.27.8 → 3.27.10
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/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
- package/dist/Sculpt/Objects/Base/index.d.ts +3 -3
- package/dist/Sculpt/index.d.ts +2 -2
- package/dist/Sculpt/{Modules → utils/Modules}/Global.d.ts +3 -3
- package/dist/index.cjs.js +6 -6
- package/dist/index.js +161 -152
- package/dist/index.umd.js +6 -6
- package/dist/shared-utils/five/FiveDomEvents.d.ts +10 -6
- package/dist/shared-utils/forReverseEach.d.ts +1 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
- package/docs/classes/ModelMakerPluginType.ModelMakerController.html +3 -3
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/MoveController.html +3 -3
- package/docs/classes/Object3DHelperController.html +3 -3
- package/docs/classes/PaintBrush.html +3 -3
- package/docs/classes/PanoMeasurePluginLine.html +3 -3
- package/docs/classes/PanoMeasurePluginModel.html +3 -3
- package/docs/classes/PanoMeasurePluginPoint.html +3 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
- package/docs/classes/PanoTagPluginController.html +3 -3
- package/docs/classes/Sculpt.html +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.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/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 +4 -4
- 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/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/PanoTagPlugin/Components/TagContainer.js +19 -19
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
- package/libs/Sculpt/Objects/Base/index.d.ts +3 -3
- package/libs/Sculpt/Objects/Base/index.js +6 -6
- package/libs/Sculpt/index.d.ts +2 -2
- package/libs/Sculpt/index.js +26 -23
- package/libs/Sculpt/{Modules → utils/Modules}/Global.d.ts +3 -3
- package/libs/Sculpt/{Modules → utils/Modules}/Global.js +9 -9
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +128 -127
- package/libs/shared-utils/five/FiveDomEvents.d.ts +10 -6
- package/libs/shared-utils/five/FiveDomEvents.js +83 -80
- package/libs/shared-utils/forReverseEach.d.ts +1 -0
- package/libs/shared-utils/forReverseEach.js +7 -0
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
- /package/dist/Sculpt/{Modules → utils/Modules}/Cursor.d.ts +0 -0
- /package/libs/Sculpt/{Modules → utils/Modules}/Cursor.d.ts +0 -0
- /package/libs/Sculpt/{Modules → utils/Modules}/Cursor.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as S, init as v, safe_not_equal as A, append_styles as T, empty as w, insert as h, transition_in as
|
|
1
|
+
import { SvelteComponent as S, init as v, safe_not_equal as A, append_styles as T, empty as w, insert as h, transition_in as s, transition_out as u, check_outros as y, detach as _, setContext as q, element as z, attr as C, toggle_class as c, group_outros as M, update_keyed_each as I, outro_and_destroy_block as N, create_component as j, mount_component as B, destroy_component as D } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
import E from "./TagItem.js";
|
|
3
3
|
import "./Tag/index.js";
|
|
4
4
|
import "./Tag/TextTag/index.js";
|
|
@@ -94,13 +94,13 @@ import "./Tag/CustomTag.js";
|
|
|
94
94
|
import "../../vendor/classnames/index.js";
|
|
95
95
|
import "./Common/TagPoint.js";
|
|
96
96
|
function F(p) {
|
|
97
|
-
T(p, "svelte-
|
|
97
|
+
T(p, "svelte-38qb2t", ".tag--container.svelte-38qb2t{box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;opacity:1;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform:translate3d(0, 0, 0);z-index:1}.withAnimation.svelte-38qb2t{transition:opacity 0.2s linear}.tag--container.hide.svelte-38qb2t{opacity:0;pointer-events:none}.tag--container.hide.svelte-38qb2t *{pointer-events:none !important}");
|
|
98
98
|
}
|
|
99
99
|
function d(p, t, i) {
|
|
100
100
|
const e = p.slice();
|
|
101
101
|
return e[8] = t[i], e;
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function b(p) {
|
|
104
104
|
let t, i = [], e = /* @__PURE__ */ new Map(), n, r = (
|
|
105
105
|
/*tags*/
|
|
106
106
|
p[1]
|
|
@@ -110,15 +110,15 @@ function k(p) {
|
|
|
110
110
|
o[8].id
|
|
111
111
|
);
|
|
112
112
|
for (let o = 0; o < r.length; o += 1) {
|
|
113
|
-
let m = d(p, r, o),
|
|
114
|
-
e.set(
|
|
113
|
+
let m = d(p, r, o), f = a(m);
|
|
114
|
+
e.set(f, i[o] = k(f, m));
|
|
115
115
|
}
|
|
116
116
|
return {
|
|
117
117
|
c() {
|
|
118
|
-
t =
|
|
118
|
+
t = z("div");
|
|
119
119
|
for (let o = 0; o < i.length; o += 1)
|
|
120
120
|
i[o].c();
|
|
121
|
-
|
|
121
|
+
C(t, "class", "tag--container svelte-38qb2t"), c(t, "hide", !/*state*/
|
|
122
122
|
p[5].visible || !/*temporaryState*/
|
|
123
123
|
p[6].visible), c(
|
|
124
124
|
t,
|
|
@@ -129,14 +129,14 @@ function k(p) {
|
|
|
129
129
|
},
|
|
130
130
|
m(o, m) {
|
|
131
131
|
h(o, t, m);
|
|
132
|
-
for (let
|
|
133
|
-
i[
|
|
132
|
+
for (let f = 0; f < i.length; f += 1)
|
|
133
|
+
i[f] && i[f].m(t, null);
|
|
134
134
|
n = !0;
|
|
135
135
|
},
|
|
136
136
|
p(o, m) {
|
|
137
137
|
m & /*state, temporaryState, withAnimation, tags, mediaStore, rendererMap, contentTypeMap*/
|
|
138
138
|
127 && (r = /*tags*/
|
|
139
|
-
o[1], M(), i = I(i, m, a, 1, o, r, e, t, N,
|
|
139
|
+
o[1], M(), i = I(i, m, a, 1, o, r, e, t, N, k, null, d), y()), (!n || m & /*state, temporaryState*/
|
|
140
140
|
96) && c(t, "hide", !/*state*/
|
|
141
141
|
o[5].visible || !/*temporaryState*/
|
|
142
142
|
o[6].visible), (!n || m & /*withAnimation*/
|
|
@@ -150,7 +150,7 @@ function k(p) {
|
|
|
150
150
|
i(o) {
|
|
151
151
|
if (!n) {
|
|
152
152
|
for (let m = 0; m < r.length; m += 1)
|
|
153
|
-
|
|
153
|
+
s(i[m]);
|
|
154
154
|
n = !0;
|
|
155
155
|
}
|
|
156
156
|
},
|
|
@@ -166,7 +166,7 @@ function k(p) {
|
|
|
166
166
|
}
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function k(p, t) {
|
|
170
170
|
let i, e, n;
|
|
171
171
|
return e = new E({
|
|
172
172
|
props: {
|
|
@@ -228,7 +228,7 @@ function b(p, t) {
|
|
|
228
228
|
t[4]), e.$set(o);
|
|
229
229
|
},
|
|
230
230
|
i(r) {
|
|
231
|
-
n || (
|
|
231
|
+
n || (s(e.$$.fragment, r), n = !0);
|
|
232
232
|
},
|
|
233
233
|
o(r) {
|
|
234
234
|
u(e.$$.fragment, r), n = !1;
|
|
@@ -241,7 +241,7 @@ function b(p, t) {
|
|
|
241
241
|
function G(p) {
|
|
242
242
|
let t, i, e = (
|
|
243
243
|
/*state*/
|
|
244
|
-
p[5].enabled &&
|
|
244
|
+
p[5].enabled && b(p)
|
|
245
245
|
);
|
|
246
246
|
return {
|
|
247
247
|
c() {
|
|
@@ -253,12 +253,12 @@ function G(p) {
|
|
|
253
253
|
p(n, [r]) {
|
|
254
254
|
/*state*/
|
|
255
255
|
n[5].enabled ? e ? (e.p(n, r), r & /*state*/
|
|
256
|
-
32 &&
|
|
256
|
+
32 && s(e, 1)) : (e = b(n), e.c(), s(e, 1), e.m(t.parentNode, t)) : e && (M(), u(e, 1, 1, () => {
|
|
257
257
|
e = null;
|
|
258
258
|
}), y());
|
|
259
259
|
},
|
|
260
260
|
i(n) {
|
|
261
|
-
i || (
|
|
261
|
+
i || (s(e), i = !0);
|
|
262
262
|
},
|
|
263
263
|
o(n) {
|
|
264
264
|
u(e), i = !1;
|
|
@@ -269,16 +269,16 @@ function G(p) {
|
|
|
269
269
|
};
|
|
270
270
|
}
|
|
271
271
|
function H(p, t, i) {
|
|
272
|
-
let { withAnimation: e = !1 } = t, { tags: n = [] } = t, { hooks: r } = t, { mediaStore: a } = t, { rendererMap: o } = t, { contentTypeMap: m } = t, { state:
|
|
272
|
+
let { withAnimation: e = !1 } = t, { tags: n = [] } = t, { hooks: r } = t, { mediaStore: a } = t, { rendererMap: o } = t, { contentTypeMap: m } = t, { state: f } = t, { temporaryState: g } = t;
|
|
273
273
|
return q("hooks", r), p.$$set = (l) => {
|
|
274
|
-
"withAnimation" in l && i(0, e = l.withAnimation), "tags" in l && i(1, n = l.tags), "hooks" in l && i(7, r = l.hooks), "mediaStore" in l && i(2, a = l.mediaStore), "rendererMap" in l && i(3, o = l.rendererMap), "contentTypeMap" in l && i(4, m = l.contentTypeMap), "state" in l && i(5,
|
|
274
|
+
"withAnimation" in l && i(0, e = l.withAnimation), "tags" in l && i(1, n = l.tags), "hooks" in l && i(7, r = l.hooks), "mediaStore" in l && i(2, a = l.mediaStore), "rendererMap" in l && i(3, o = l.rendererMap), "contentTypeMap" in l && i(4, m = l.contentTypeMap), "state" in l && i(5, f = l.state), "temporaryState" in l && i(6, g = l.temporaryState);
|
|
275
275
|
}, [
|
|
276
276
|
e,
|
|
277
277
|
n,
|
|
278
278
|
a,
|
|
279
279
|
o,
|
|
280
280
|
m,
|
|
281
|
-
|
|
281
|
+
f,
|
|
282
282
|
g,
|
|
283
283
|
r
|
|
284
284
|
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FiveDomEventMap } from '../../../shared-utils/five/FiveDomEvents';
|
|
1
|
+
import type { EventHandlerConfig, FiveDomEventMap } from '../../../shared-utils/five/FiveDomEvents';
|
|
2
2
|
import { IObject3D } from '../../../shared-utils/three/IObject3D';
|
|
3
3
|
import type { BaseEditor } from './Editor';
|
|
4
4
|
import type { RequiredDeep } from 'type-fest';
|
|
@@ -56,8 +56,8 @@ Config extends BaseObjectConfig = BaseObjectConfig> extends IObject3D {
|
|
|
56
56
|
};
|
|
57
57
|
protected get pointSelector(): import("../../../shared-utils/three/PointSelector").PointSelector;
|
|
58
58
|
constructor(data?: Partial<ImportData>, config?: Partial<Config>);
|
|
59
|
-
on: <T extends keyof FiveDomEventMap>(event: T, callback: FiveDomEventMap[T]) => void;
|
|
60
|
-
off: (event
|
|
59
|
+
on: <T extends keyof FiveDomEventMap>(event: T, callback: FiveDomEventMap[T], config?: EventHandlerConfig) => void;
|
|
60
|
+
off: (event?: keyof FiveDomEventMap, callback?: (e: import("../../../shared-utils/five/FiveDomEvents").FiveDomEvent) => any, ...args: any[]) => void;
|
|
61
61
|
stopCreating(): void;
|
|
62
62
|
delete(): void;
|
|
63
63
|
highlight(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var f = Object.defineProperty;
|
|
2
2
|
var u = Object.getOwnPropertySymbols;
|
|
3
3
|
var b = Object.prototype.hasOwnProperty, g = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var n = (s, t, e) => t in s ? f(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e,
|
|
4
|
+
var n = (s, t, e) => t in s ? f(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, p = (s, t) => {
|
|
5
5
|
for (var e in t || (t = {}))
|
|
6
6
|
b.call(t, e) && n(s, e, t[e]);
|
|
7
7
|
if (u)
|
|
@@ -10,7 +10,7 @@ var n = (s, t, e) => t in s ? f(s, t, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
return s;
|
|
11
11
|
};
|
|
12
12
|
var r = (s, t, e) => (n(s, typeof t != "symbol" ? t + "" : t, e), e);
|
|
13
|
-
import { hotkeys as
|
|
13
|
+
import { hotkeys as d } from "../../../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
14
14
|
import { Sculpt as o } from "../../index.js";
|
|
15
15
|
import { IObject3D as m } from "../../../shared-utils/three/IObject3D.js";
|
|
16
16
|
const a = /* @__PURE__ */ new Map();
|
|
@@ -29,9 +29,9 @@ class x extends m {
|
|
|
29
29
|
*/
|
|
30
30
|
r(this, "config");
|
|
31
31
|
r(this, "editor");
|
|
32
|
-
r(this, "on", (e, l,
|
|
33
|
-
r(this, "off", (...e) => o.modules.fiveDomEvents.
|
|
34
|
-
e != null && e.id && (this.uuid = e.id), this.config =
|
|
32
|
+
r(this, "on", (e, l, i) => o.modules.fiveDomEvents.addEventListener(this, e, l, i));
|
|
33
|
+
r(this, "off", (...e) => o.modules.fiveDomEvents.removeEventListener(this, ...e));
|
|
34
|
+
e != null && e.id && (this.uuid = e.id), this.config = p({ canEdit: !0, occlusionVisibility: !0 }, l), e != null && e.style && (e.style.occlusionVisibility = this.config.occlusionVisibility), this.config.canEdit && (d("backspace, delete", () => {
|
|
35
35
|
this.selected && this.delete();
|
|
36
36
|
}), this.on("click", () => {
|
|
37
37
|
var c, h;
|
|
@@ -39,7 +39,7 @@ class x extends m {
|
|
|
39
39
|
return;
|
|
40
40
|
let i = a.get(this.parent.uuid);
|
|
41
41
|
i && (i.selected = !1, i.unhighlight(), (c = i.editor) == null || c.disable()), a.set(this.parent.uuid, this), this.selected = !0, this.highlight(), (h = this.editor) == null || h.enable();
|
|
42
|
-
}),
|
|
42
|
+
}), d("esc", () => {
|
|
43
43
|
var i;
|
|
44
44
|
this.selected = !1, this.unhighlight(), !this.pointSelector.enabled && ((i = this.editor) == null || i.disable());
|
|
45
45
|
}));
|
package/libs/Sculpt/index.d.ts
CHANGED
|
@@ -41,12 +41,12 @@ type Event = {
|
|
|
41
41
|
export declare class Sculpt extends Subscribe<Event> {
|
|
42
42
|
static modules: {
|
|
43
43
|
five: Five;
|
|
44
|
-
_cursor: import("./Modules/Cursor").Cursor;
|
|
44
|
+
_cursor: import("./utils/Modules/Cursor").Cursor;
|
|
45
45
|
_pointSelector: import("../shared-utils/three/PointSelector").PointSelector;
|
|
46
46
|
_fiveDomEvents: import("../shared-utils/five/FiveDomEvents").FiveDomEvents;
|
|
47
47
|
_object3DHelper: import("..").Object3DHelperController;
|
|
48
48
|
inited: boolean;
|
|
49
|
-
readonly cursor: import("./Modules/Cursor").Cursor;
|
|
49
|
+
readonly cursor: import("./utils/Modules/Cursor").Cursor;
|
|
50
50
|
readonly pointSelector: import("../shared-utils/three/PointSelector").PointSelector;
|
|
51
51
|
readonly fiveDomEvents: import("../shared-utils/five/FiveDomEvents").FiveDomEvents;
|
|
52
52
|
readonly object3DHelper: import("..").Object3DHelperController;
|
package/libs/Sculpt/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var x = Object.defineProperty, B = Object.defineProperties;
|
|
2
2
|
var D = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var f = Object.getOwnPropertySymbols;
|
|
4
|
-
var O = Object.prototype.hasOwnProperty,
|
|
4
|
+
var O = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var d = (n, i, e) => i in n ? x(n, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[i] = e, r = (n, i) => {
|
|
6
6
|
for (var e in i || (i = {}))
|
|
7
7
|
O.call(i, e) && d(n, e, i[e]);
|
|
8
8
|
if (f)
|
|
9
9
|
for (var e of f(i))
|
|
10
|
-
|
|
10
|
+
E.call(i, e) && d(n, e, i[e]);
|
|
11
11
|
return n;
|
|
12
12
|
}, g = (n, i) => B(n, D(i));
|
|
13
|
-
var
|
|
13
|
+
var a = (n, i, e) => (d(n, typeof i != "symbol" ? i + "" : i, e), e);
|
|
14
14
|
var u = (n, i, e) => new Promise((t, o) => {
|
|
15
15
|
var l = (c) => {
|
|
16
16
|
try {
|
|
@@ -27,9 +27,9 @@ var u = (n, i, e) => new Promise((t, o) => {
|
|
|
27
27
|
}, m = (c) => c.done ? t(c.value) : Promise.resolve(c.value).then(l, s);
|
|
28
28
|
m((e = e.apply(n, i)).next());
|
|
29
29
|
});
|
|
30
|
-
import { globalModules as
|
|
31
|
-
import { Subscribe as
|
|
32
|
-
import { IObject3D as
|
|
30
|
+
import { globalModules as H } from "./utils/Modules/Global.js";
|
|
31
|
+
import { Subscribe as S } from "../shared-utils/Subscribe.js";
|
|
32
|
+
import { IObject3D as k } from "../shared-utils/three/IObject3D.js";
|
|
33
33
|
import "hammerjs";
|
|
34
34
|
import "three";
|
|
35
35
|
import "@realsee/five";
|
|
@@ -44,15 +44,16 @@ import { Polygon as I } from "./Objects/Polygon/index.js";
|
|
|
44
44
|
import { Prism as b } from "./Objects/Prism/index.js";
|
|
45
45
|
import { Rectangle as v } from "./Objects/Rectangle/index.js";
|
|
46
46
|
import { Circle as C } from "./Objects/Circle/index.js";
|
|
47
|
-
import { Cylinder as
|
|
48
|
-
import { Box as
|
|
49
|
-
|
|
47
|
+
import { Cylinder as R } from "./Objects/Cylinder/index.js";
|
|
48
|
+
import { Box as j } from "./Objects/Box/index.js";
|
|
49
|
+
import { forReverseEach as F } from "../shared-utils/forReverseEach.js";
|
|
50
|
+
const h = class extends S {
|
|
50
51
|
constructor(e, t) {
|
|
51
52
|
super();
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
this.five = e, this.theme = t, this.group = new
|
|
53
|
+
a(this, "group");
|
|
54
|
+
a(this, "five");
|
|
55
|
+
a(this, "theme");
|
|
56
|
+
this.five = e, this.theme = t, this.group = new k(), this.group.name = "Sculpt", e.scene.add(this.group), h.modules.init(e), h.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: o }) => {
|
|
56
57
|
var s;
|
|
57
58
|
const l = M((s = o == null ? void 0 : o[0]) == null ? void 0 : s.object, (m) => m.isSculptObject);
|
|
58
59
|
return l ? this.emit("click", l) : !1;
|
|
@@ -83,7 +84,7 @@ const p = class extends k {
|
|
|
83
84
|
const m = g(r({}, s), {
|
|
84
85
|
style: r(r({}, (c = this.theme) == null ? void 0 : c[s.type.toLowerCase()]), s.style)
|
|
85
86
|
});
|
|
86
|
-
return s.type === "Point" ? new P(m, t) : s.type === "Polyline" ? new w(m, t) : s.type === "Polygon" ? new I(m, t) : s.type === "Prism" ? new b(m, t) : s.type === "Rectangle" ? new v(m, t) : s.type === "Circle" ? new C(m, t) : s.type === "Cylinder" ? new
|
|
87
|
+
return s.type === "Point" ? new P(m, t) : s.type === "Polyline" ? new w(m, t) : s.type === "Polygon" ? new I(m, t) : s.type === "Prism" ? new b(m, t) : s.type === "Rectangle" ? new v(m, t) : s.type === "Circle" ? new C(m, t) : s.type === "Cylinder" ? new R(m, t) : s.type === "Box" ? new j(m, t) : null;
|
|
87
88
|
});
|
|
88
89
|
this.group.add(...o), this.needsRender();
|
|
89
90
|
}
|
|
@@ -99,7 +100,7 @@ const p = class extends k {
|
|
|
99
100
|
putObject(e) {
|
|
100
101
|
var l;
|
|
101
102
|
this.group.add(e);
|
|
102
|
-
const t =
|
|
103
|
+
const t = h.modules.object3DHelper, o = t.addObject3DHelper(e);
|
|
103
104
|
return (l = o == null ? void 0 : o.moveController) == null || l.moveByMouse(), t;
|
|
104
105
|
}
|
|
105
106
|
/**
|
|
@@ -162,7 +163,7 @@ const p = class extends k {
|
|
|
162
163
|
createCylinder(e) {
|
|
163
164
|
return u(this, null, function* () {
|
|
164
165
|
var t;
|
|
165
|
-
return this.createItem(
|
|
166
|
+
return this.createItem(R, r(r({}, (t = this.theme) == null ? void 0 : t.cylinder), e));
|
|
166
167
|
});
|
|
167
168
|
}
|
|
168
169
|
/**
|
|
@@ -171,7 +172,7 @@ const p = class extends k {
|
|
|
171
172
|
createBox(e) {
|
|
172
173
|
return u(this, null, function* () {
|
|
173
174
|
var t;
|
|
174
|
-
return this.createItem(
|
|
175
|
+
return this.createItem(j, r(r({}, (t = this.theme) == null ? void 0 : t.box), e));
|
|
175
176
|
});
|
|
176
177
|
}
|
|
177
178
|
/**
|
|
@@ -188,7 +189,9 @@ const p = class extends k {
|
|
|
188
189
|
* @description: 清空数据
|
|
189
190
|
*/
|
|
190
191
|
clear() {
|
|
191
|
-
this.
|
|
192
|
+
F(this.items, (e) => {
|
|
193
|
+
e.delete();
|
|
194
|
+
}), this.needsRender();
|
|
192
195
|
}
|
|
193
196
|
createItem(e, ...t) {
|
|
194
197
|
return u(this, null, function* () {
|
|
@@ -202,10 +205,10 @@ const p = class extends k {
|
|
|
202
205
|
this.five.needsRender = !0;
|
|
203
206
|
}
|
|
204
207
|
};
|
|
205
|
-
let
|
|
206
|
-
|
|
207
|
-
const
|
|
208
|
+
let p = h;
|
|
209
|
+
a(p, "modules", H);
|
|
210
|
+
const oe = (n) => new p(n);
|
|
208
211
|
export {
|
|
209
|
-
|
|
210
|
-
|
|
212
|
+
p as Sculpt,
|
|
213
|
+
oe as SculptPlugin
|
|
211
214
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
2
|
import { Cursor } from './Cursor';
|
|
3
|
-
import {
|
|
4
|
-
import { FiveDomEvents } from '
|
|
5
|
-
import {
|
|
3
|
+
import { Object3DHelperController } from '../../../Object3DHelperPlugin';
|
|
4
|
+
import { FiveDomEvents } from '../../../shared-utils/five/FiveDomEvents';
|
|
5
|
+
import { PointSelector } from '../../../shared-utils/three/PointSelector';
|
|
6
6
|
declare class GlobalModules {
|
|
7
7
|
five: Five;
|
|
8
8
|
_cursor: Cursor;
|
|
@@ -2,9 +2,9 @@ var o = Object.defineProperty;
|
|
|
2
2
|
var n = (i, e, r) => e in i ? o(i, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : i[e] = r;
|
|
3
3
|
var t = (i, e, r) => (n(i, typeof e != "symbol" ? e + "" : e, r), r);
|
|
4
4
|
import { Cursor as s } from "./Cursor.js";
|
|
5
|
-
import {
|
|
6
|
-
import { FiveDomEvents as h } from "
|
|
7
|
-
import {
|
|
5
|
+
import { Object3DHelperController as l } from "../../../Object3DHelperPlugin/Controller.js";
|
|
6
|
+
import { FiveDomEvents as h } from "../../../shared-utils/five/FiveDomEvents.js";
|
|
7
|
+
import { PointSelector as f } from "../../../shared-utils/three/PointSelector.js";
|
|
8
8
|
class c {
|
|
9
9
|
constructor() {
|
|
10
10
|
t(this, "five");
|
|
@@ -25,21 +25,21 @@ class c {
|
|
|
25
25
|
get pointSelector() {
|
|
26
26
|
if (!this.inited)
|
|
27
27
|
throw new Error("Global not inited");
|
|
28
|
-
return this._pointSelector ? this._pointSelector : (this._pointSelector = new
|
|
28
|
+
return this._pointSelector ? this._pointSelector : (this._pointSelector = new f(this.five), this._pointSelector);
|
|
29
29
|
}
|
|
30
30
|
get fiveDomEvents() {
|
|
31
31
|
if (!this.inited)
|
|
32
32
|
throw new Error("Global not inited");
|
|
33
|
-
return this._fiveDomEvents ? this._fiveDomEvents : (this._fiveDomEvents = new h(this.five), this._fiveDomEvents);
|
|
33
|
+
return this._fiveDomEvents ? this._fiveDomEvents : (this._fiveDomEvents = new h(this.five, { noEmitWhenNotInScene: !0 }), this._fiveDomEvents);
|
|
34
34
|
}
|
|
35
35
|
get object3DHelper() {
|
|
36
36
|
if (!this.inited)
|
|
37
37
|
throw new Error("Global not inited");
|
|
38
|
-
return this._object3DHelper ? this._object3DHelper : (this._object3DHelper = new
|
|
38
|
+
return this._object3DHelper ? this._object3DHelper : (this._object3DHelper = new l(this.five), this._object3DHelper);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
const
|
|
42
|
-
window.globalModules =
|
|
41
|
+
const u = new c();
|
|
42
|
+
window.globalModules = u;
|
|
43
43
|
export {
|
|
44
|
-
|
|
44
|
+
u as globalModules
|
|
45
45
|
};
|