@realsee/dnalogel 3.21.2 → 3.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ModelMakerPlugin/Controller.d.ts +26 -0
- package/dist/ModelMakerPlugin/index.d.ts +4 -0
- package/dist/ModelMakerPlugin/item/baseItem.d.ts +35 -0
- package/dist/ModelMakerPlugin/item/boxItem.d.ts +4 -0
- package/dist/ModelMakerPlugin/item/polygonItem.d.ts +9 -0
- package/dist/ModelMakerPlugin/item/prismItem.d.ts +4 -0
- package/dist/ModelMakerPlugin/typings/data.d.ts +41 -0
- package/dist/ModelMakerPlugin/typings/index.d.ts +52 -0
- package/dist/ModelMakerPlugin/utils/tagRenderer.d.ts +3 -0
- package/dist/Sculpt/Meshes/Area.d.ts +2 -23
- package/dist/Sculpt/Meshes/Polygon.d.ts +3 -0
- package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +22 -0
- package/dist/Sculpt/Meshes/Polyline.d.ts +9 -7
- package/dist/Sculpt/Meshes/Prism.d.ts +5 -3
- package/dist/Sculpt/Objects/Base/index.d.ts +4 -2
- package/dist/Sculpt/Objects/Polygon/Editor.d.ts +2 -1
- package/dist/Sculpt/Objects/Polyline/Editor.d.ts +3 -6
- package/dist/Sculpt/index.d.ts +32 -8
- package/dist/Sculpt/typings/utils.type.d.ts +4 -1
- package/dist/base/BasePlugin.d.ts +2 -2
- package/dist/base/BasePluginWithData.d.ts +0 -2
- package/dist/index.cjs.js +54 -54
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4409 -4136
- package/dist/index.umd.js +47 -47
- package/dist/shared-utils/five/FiveDomEvents.d.ts +1 -1
- package/dist/shared-utils/five/vector3ToScreen.d.ts +5 -0
- package/dist/shared-utils/tag.d.ts +17 -0
- package/dist/shared-utils/three/addIfNotExists.d.ts +2 -0
- package/dist/shared-utils/three/closeVectors.d.ts +2 -0
- package/dist/shared-utils/three/earcut3D.d.ts +2 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +7 -5
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +5 -3
- package/docs/classes/CSS3DRender.html +5 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +5 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +5 -3
- package/docs/classes/ModelMakerPluginType.ModelMakerController.html +561 -0
- package/docs/classes/ModelRoomLabelController.html +5 -3
- package/docs/classes/MoveController.html +5 -3
- package/docs/classes/Object3DHelperController.html +5 -3
- package/docs/classes/PaintBrush.html +5 -3
- package/docs/classes/PanoMeasurePluginLine.html +5 -3
- package/docs/classes/PanoMeasurePluginModel.html +5 -3
- package/docs/classes/PanoMeasurePluginPoint.html +5 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +5 -3
- package/docs/classes/PanoTagPluginController.html +10 -8
- package/docs/classes/Sculpt.html +35 -33
- package/docs/classes/Util.BetterTween.html +5 -3
- package/docs/classes/Util.Interval.html +5 -3
- package/docs/classes/Util.LineSegments.html +5 -3
- package/docs/classes/Util.Magnifier.html +5 -3
- package/docs/classes/Util.Object3D.html +5 -3
- package/docs/classes/Util.PointDomHelper.html +5 -3
- package/docs/classes/Util.PointHelper.html +5 -3
- package/docs/classes/Util.PointSelectorHelper.html +5 -3
- package/docs/classes/Util.Rectangle.html +5 -3
- package/docs/classes/WalkController.html +5 -3
- package/docs/enums/CameraMovementEffect.html +5 -3
- package/docs/enums/ContentType.html +5 -3
- package/docs/enums/DIRECTION.html +5 -3
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +5 -3
- package/docs/enums/DimensionType.html +5 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +5 -3
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +5 -3
- package/docs/enums/PaintBrushTypeEnum.html +5 -3
- package/docs/enums/PointType.html +5 -3
- package/docs/enums/Rotation.html +5 -3
- package/docs/functions/AreaMakerPlugin.html +5 -3
- package/docs/functions/CSS3DRenderPlugin.html +5 -3
- package/docs/functions/CameraMovementPlugin.html +5 -3
- package/docs/functions/CruisePlugin.html +5 -3
- package/docs/functions/CurrentPanoImagePlugin.html +5 -3
- package/docs/functions/GuideLinePlugin.html +5 -3
- package/docs/functions/ItemLabelPlugin.html +5 -3
- package/docs/functions/MapviewFloorplanPlugin.html +5 -3
- package/docs/functions/ModelChassisCompassPlugin.html +5 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -3
- package/docs/functions/ModelFloorplanPlugin.html +5 -3
- package/docs/functions/ModelItemLabelPlugin.html +5 -3
- package/docs/functions/ModelMakerPlugin.html +300 -0
- package/docs/functions/ModelRoomLabelPlugin.html +5 -3
- package/docs/functions/ModelTVVideoPlugin.html +5 -3
- package/docs/functions/ModelViewPlugin.html +5 -3
- package/docs/functions/MovePlugin.html +5 -3
- package/docs/functions/Object3DHelperPlugin.html +5 -3
- package/docs/functions/PanoCompassPlugin.html +5 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -3
- package/docs/functions/PanoDoorLabelPlugin.html +5 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -3
- package/docs/functions/PanoMeasurePlugin.html +5 -3
- package/docs/functions/PanoRulerPlugin.html +5 -3
- package/docs/functions/PanoRulerProPlugin.html +5 -3
- package/docs/functions/PanoSpatialTagPlugin.html +5 -3
- package/docs/functions/PanoTagPlugin.html +5 -3
- package/docs/functions/PanoVideoPlugin.html +5 -3
- package/docs/functions/PipelinePlugin.html +5 -3
- package/docs/functions/TopviewFloorplanPlugin.html +5 -3
- package/docs/functions/Util.absoluteUrl.html +5 -3
- package/docs/functions/Util.checkFiveModelLoaded.html +5 -3
- package/docs/functions/Util.equal.html +5 -3
- package/docs/functions/Util.getCoordsFromClient.html +5 -3
- package/docs/functions/Util.getCoordsFromElement.html +5 -3
- package/docs/functions/Util.getFrameTime.html +5 -3
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -3
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -3
- package/docs/functions/Util.isAbsoluteURL.html +5 -3
- package/docs/functions/Util.isModelLike.html +5 -3
- package/docs/functions/Util.isNil.html +5 -3
- package/docs/functions/Util.isPanoramaLike.html +5 -3
- package/docs/functions/Util.nextFrame.html +5 -3
- package/docs/functions/Util.notNil.html +5 -3
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -3
- package/docs/functions/Util.tweenProgress.html +5 -3
- package/docs/functions/Util.uuid.html +5 -3
- package/docs/functions/pluginFlag.html +5 -3
- package/docs/index.html +6 -4
- package/docs/interfaces/AddTagConfig.html +5 -3
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +5 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +9 -7
- package/docs/interfaces/AreaMakerPluginType.Params.html +5 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +5 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +5 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +5 -3
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +5 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +5 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +5 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +5 -3
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +5 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +5 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +5 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +5 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +5 -3
- package/docs/interfaces/CruisePluginTypes.PluginData.html +5 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +5 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +5 -3
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +5 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +5 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +5 -3
- package/docs/interfaces/EventMap.html +5 -3
- package/docs/interfaces/FloorplanBounding.html +5 -3
- package/docs/interfaces/FloorplanData.html +5 -3
- package/docs/interfaces/FloorplanEntrance.html +5 -3
- package/docs/interfaces/FloorplanExtraObject.html +5 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +5 -3
- package/docs/interfaces/FloorplanFloorData.html +5 -3
- package/docs/interfaces/FloorplanImagePosition.html +5 -3
- package/docs/interfaces/FloorplanObserver.html +5 -3
- package/docs/interfaces/FloorplanOutlineItem.html +5 -3
- package/docs/interfaces/FloorplanPosition.html +5 -3
- package/docs/interfaces/FloorplanRoomItem.html +5 -3
- package/docs/interfaces/FloorplanRoomLabelItem.html +5 -3
- package/docs/interfaces/FloorplanServerBounding.html +5 -3
- package/docs/interfaces/FloorplanServerComputedData.html +5 -3
- package/docs/interfaces/FloorplanServerData.html +5 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +5 -3
- package/docs/interfaces/FloorplanServerDoorPosition.html +5 -3
- package/docs/interfaces/FloorplanServerEntrance.html +5 -3
- package/docs/interfaces/FloorplanServerFloorData.html +5 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +5 -3
- package/docs/interfaces/FloorplanServerObserver.html +5 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +5 -3
- package/docs/interfaces/FloorplanServerPosition.html +5 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +5 -3
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +5 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +5 -3
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +5 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +5 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +5 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +5 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +5 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +5 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +5 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +5 -3
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -3
- package/docs/interfaces/GuideLinePluginType.PluginState.html +5 -3
- package/docs/interfaces/GuideLinePluginType.Route.html +5 -3
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +5 -3
- package/docs/interfaces/HelperOffset.html +5 -3
- package/docs/interfaces/ImagePlaneGroup.html +5 -3
- package/docs/interfaces/ItemLabelPluginData.html +5 -3
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +5 -3
- package/docs/interfaces/ItemLabelPluginParametersType.html +5 -3
- package/docs/interfaces/MinMax.html +5 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +5 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +5 -3
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +5 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +5 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +5 -3
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -3
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +5 -3
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +5 -3
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +588 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +340 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +376 -0
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +329 -0
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +371 -0
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +365 -0
- package/docs/interfaces/ModelMakerPluginType.State.html +361 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +5 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +5 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -3
- package/docs/interfaces/ModelViewPluginExportType.html +5 -3
- package/docs/interfaces/Object3DHelperState.html +5 -3
- package/docs/interfaces/ObjectHelperControllers.html +5 -3
- package/docs/interfaces/PaintBrushAction.html +5 -3
- package/docs/interfaces/PaintBrushConfigs.html +5 -3
- package/docs/interfaces/PaintBrushState.html +5 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +5 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -3
- package/docs/interfaces/PanoMeasureParameterType.html +5 -3
- package/docs/interfaces/PanoMeasurePluginLineJson.html +5 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +5 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +5 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +5 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +5 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +5 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +5 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +5 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +5 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +5 -3
- package/docs/interfaces/PanoRulerProPluginState.html +5 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +5 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +5 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +5 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +5 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +5 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +5 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +5 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +5 -3
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +5 -3
- package/docs/interfaces/Point.html +5 -3
- package/docs/interfaces/Room.html +5 -3
- package/docs/interfaces/RoomInfo.html +5 -3
- package/docs/interfaces/RoomLabel.html +5 -3
- package/docs/interfaces/RoomRules.html +5 -3
- package/docs/interfaces/Rooms.html +5 -3
- package/docs/interfaces/Scissor.html +5 -3
- package/docs/interfaces/State.html +5 -3
- package/docs/interfaces/TagCacheInterface.html +5 -3
- package/docs/interfaces/TagConfig.html +5 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -3
- package/docs/interfaces/TagIconUrl.html +5 -3
- package/docs/interfaces/TagObjectGroup.html +5 -3
- package/docs/interfaces/TagStyle.html +5 -3
- package/docs/interfaces/Tags.html +5 -3
- package/docs/interfaces/TemporaryState.html +5 -3
- package/docs/interfaces/Util.MagnifierParameter.html +5 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +5 -3
- package/docs/interfaces/Util.PointIntersection.html +5 -3
- package/docs/modules/AreaMakerPluginType.html +5 -3
- package/docs/modules/CruisePluginTypes.html +5 -3
- package/docs/modules/CurrentPanoImagePluginType.html +5 -3
- package/docs/modules/GuideLineItem.html +5 -3
- package/docs/modules/GuideLineModeItem.html +5 -3
- package/docs/modules/GuideLinePluginType.html +5 -3
- package/docs/modules/ModelMakerPluginType.html +325 -0
- package/docs/modules/PanoVideoPluginType.html +5 -3
- package/docs/modules/Util.html +5 -3
- package/docs/modules.html +8 -4
- package/docs/types/AddObject3DHelperConfig.html +5 -3
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +5 -3
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +5 -3
- package/docs/types/AreaMakerPluginType.PluginData.html +5 -3
- package/docs/types/AreaMakerPluginType.ServerData.html +5 -3
- package/docs/types/ArrayPosition.html +5 -3
- package/docs/types/AudioAppearance.html +5 -3
- package/docs/types/AudioTagTypeConfigKey.html +5 -3
- package/docs/types/CSS3DRenderExportType.html +5 -3
- package/docs/types/CSS3DRenderPluginExportType.html +5 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -3
- package/docs/types/ClassFunctionParameters.html +5 -3
- package/docs/types/Color.html +5 -3
- package/docs/types/ContentTypeConfigKey.html +5 -3
- package/docs/types/ContentTypeConfigKeySplit.html +5 -3
- package/docs/types/ContentTypeMap.html +5 -3
- package/docs/types/Create3DDomContainerReturnType.html +5 -3
- package/docs/types/Create3DElementReturnType.html +5 -3
- package/docs/types/CruisePluginExportType.html +5 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +5 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +5 -3
- package/docs/types/CurrentPanoImagePluginExportType.html +5 -3
- package/docs/types/DeprecatedMediaPlaneProperty.html +5 -3
- package/docs/types/DeprecatedTagProperty.html +5 -3
- package/docs/types/Direction-1.html +5 -3
- package/docs/types/Direction4.html +5 -3
- package/docs/types/ElementRenderer.html +5 -3
- package/docs/types/FloorplanRuleLabels.html +5 -3
- package/docs/types/FloorplanServerRuleLabels.html +5 -3
- package/docs/types/GuideLinePluginExportType.html +5 -3
- package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -3
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -3
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -3
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -3
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +5 -3
- package/docs/types/GuideLinePluginType.PathItem.html +5 -3
- package/docs/types/GuideLinePluginType.PluginData.html +5 -3
- package/docs/types/HelperEventMap.html +5 -3
- package/docs/types/InternalHelperEventMap.html +5 -3
- package/docs/types/LoadTagConfig.html +5 -3
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -3
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -3
- package/docs/types/MediaData.html +5 -3
- package/docs/types/MediaStore.html +5 -3
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -3
- package/docs/types/ModelId.html +5 -3
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +326 -0
- package/docs/types/ModelMakerPluginType.ItemType.html +305 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -3
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -3
- package/docs/types/MoveArgs.html +5 -3
- package/docs/types/MoveOpts.html +5 -3
- package/docs/types/Object3DHelperEventMap.html +5 -3
- package/docs/types/ObjectFit.html +5 -3
- package/docs/types/PaintBrushEventMap.html +5 -3
- package/docs/types/PanoCompassPluginData.html +5 -3
- package/docs/types/PanoCompassPluginExportType.html +5 -3
- package/docs/types/PanoCompassPluginParameterType.html +5 -3
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -3
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -3
- package/docs/types/PanoIndex.html +5 -3
- package/docs/types/PanoMeasurePluginEvent.html +5 -3
- package/docs/types/PanoMeasureReturnType.html +5 -3
- package/docs/types/PanoSpatialTagPluginId.html +5 -3
- package/docs/types/PanoTagPluginExportInterface.html +5 -3
- package/docs/types/PanoTagPluginParamsInterface.html +5 -3
- package/docs/types/PanoVideoPluginParameterType.html +5 -3
- package/docs/types/PanoVideoPluginReturnType.html +5 -3
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -3
- package/docs/types/PipelinePluginParameterType.html +5 -3
- package/docs/types/PipelinePluginReturnType.html +5 -3
- package/docs/types/PlaneTag.html +5 -3
- package/docs/types/Point2DTag.html +5 -3
- package/docs/types/Point3DTag.html +5 -3
- package/docs/types/PointTag.html +5 -3
- package/docs/types/PointTagInstance.html +5 -3
- package/docs/types/Position.html +5 -3
- package/docs/types/PositionFrom.html +5 -3
- package/docs/types/RotateArgs.html +5 -3
- package/docs/types/RotateOpts.html +5 -3
- package/docs/types/RuleLabelsKey.html +5 -3
- package/docs/types/RuleLabelsValue.html +5 -3
- package/docs/types/ScaleCallback.html +5 -3
- package/docs/types/ScalePosition.html +5 -3
- package/docs/types/StickType.html +5 -3
- package/docs/types/Tag.html +5 -3
- package/docs/types/Tag2D.html +5 -3
- package/docs/types/Tag3D.html +5 -3
- package/docs/types/TagConfigByKey.html +5 -3
- package/docs/types/TagContentType.html +5 -3
- package/docs/types/TagContentTypeMapping.html +5 -3
- package/docs/types/TagDimensionType.html +5 -3
- package/docs/types/TagElement.html +5 -3
- package/docs/types/TagEvents.html +5 -3
- package/docs/types/TagGLTFObject.html +5 -3
- package/docs/types/TagHooks.html +5 -3
- package/docs/types/TagId.html +5 -3
- package/docs/types/TagInstance.html +5 -3
- package/docs/types/TagPointType.html +5 -3
- package/docs/types/TagRendererMap.html +5 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -3
- package/docs/types/WorkCode.html +5 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -3
- package/docs/variables/PLUGIN.html +5 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -3
- package/docs/variables/ROOM_TYPE_MAP.html +5 -3
- package/docs/variables/defaultGlobalConfig.html +5 -3
- package/docs/variables/itemLabelPluginServerParams.html +5 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -3
- package/libs/GuideLinePlugin/Controller.js +15 -15
- package/libs/ModelMakerPlugin/Controller.d.ts +26 -0
- package/libs/ModelMakerPlugin/Controller.js +199 -0
- package/libs/ModelMakerPlugin/index.d.ts +4 -0
- package/libs/ModelMakerPlugin/index.js +57 -0
- package/libs/ModelMakerPlugin/item/baseItem.d.ts +35 -0
- package/libs/ModelMakerPlugin/item/baseItem.js +57 -0
- package/libs/ModelMakerPlugin/item/boxItem.d.ts +4 -0
- package/libs/ModelMakerPlugin/item/boxItem.js +20 -0
- package/libs/ModelMakerPlugin/item/polygonItem.d.ts +9 -0
- package/libs/ModelMakerPlugin/item/polygonItem.js +38 -0
- package/libs/ModelMakerPlugin/item/prismItem.d.ts +4 -0
- package/libs/ModelMakerPlugin/item/prismItem.js +19 -0
- package/libs/ModelMakerPlugin/typings/data.d.ts +41 -0
- package/libs/ModelMakerPlugin/typings/data.js +1 -0
- package/libs/ModelMakerPlugin/typings/index.d.ts +52 -0
- package/libs/ModelMakerPlugin/typings/index.js +1 -0
- package/libs/ModelMakerPlugin/utils/tagRenderer.d.ts +3 -0
- package/libs/ModelMakerPlugin/utils/tagRenderer.js +11 -0
- package/libs/PanoMeasurePlugin/Components/Controller0.js +4 -2
- package/libs/PanoMeasurePlugin/Components/Controller1.js +4 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +4 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +4 -2
- package/libs/PanoMeasurePlugin/Controller/index.js +4 -2
- package/libs/PanoMeasurePlugin/Model/area.js +4 -2
- package/libs/PanoMeasurePlugin/Model/polygon.js +12 -10
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +4 -2
- package/libs/PanoMeasurePlugin/index.js +15 -13
- package/libs/Sculpt/Meshes/Area.d.ts +2 -23
- package/libs/Sculpt/Meshes/Area.js +9 -52
- package/libs/Sculpt/Meshes/Point.js +19 -19
- package/libs/Sculpt/Meshes/Polygon.d.ts +3 -0
- package/libs/Sculpt/Meshes/Polygon.js +26 -20
- package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +22 -0
- package/libs/Sculpt/Meshes/PolygonWithEdge.js +46 -0
- package/libs/Sculpt/Meshes/Polyline.d.ts +9 -7
- package/libs/Sculpt/Meshes/Polyline.js +42 -38
- package/libs/Sculpt/Meshes/Prism.d.ts +5 -3
- package/libs/Sculpt/Meshes/Prism.js +33 -28
- package/libs/Sculpt/Objects/Base/index.d.ts +4 -2
- package/libs/Sculpt/Objects/Polygon/Editor.d.ts +2 -1
- package/libs/Sculpt/Objects/Polygon/Editor.js +5 -5
- package/libs/Sculpt/Objects/Polygon/index.js +17 -17
- package/libs/Sculpt/Objects/Polyline/Editor.d.ts +3 -6
- package/libs/Sculpt/Objects/Polyline/Editor.js +24 -32
- package/libs/Sculpt/index.d.ts +32 -8
- package/libs/Sculpt/index.js +6 -6
- package/libs/Sculpt/typings/utils.type.d.ts +4 -1
- package/libs/base/BasePlugin.d.ts +2 -2
- package/libs/base/BasePlugin.js +1 -1
- package/libs/base/BasePluginWithData.d.ts +0 -2
- package/libs/index.d.ts +1 -0
- package/libs/index.js +137 -123
- package/libs/shared-utils/five/FiveDomEvents.d.ts +1 -1
- package/libs/shared-utils/five/FiveDomEvents.js +6 -5
- package/libs/shared-utils/five/vector3ToScreen.d.ts +5 -0
- package/libs/shared-utils/five/vector3ToScreen.js +7 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +17 -0
- package/libs/shared-utils/tag.js +50 -0
- package/libs/shared-utils/three/addIfNotExists.d.ts +2 -0
- package/libs/shared-utils/three/addIfNotExists.js +8 -0
- package/libs/shared-utils/three/closeVectors.d.ts +2 -0
- package/libs/shared-utils/three/closeVectors.js +10 -0
- package/libs/shared-utils/three/earcut3D.d.ts +2 -0
- package/libs/shared-utils/three/earcut3D.js +12 -0
- package/libs/shared-utils/three/generatePolygonGeometry.js +8 -10
- package/package.json +1 -1
|
@@ -84,11 +84,11 @@ declare abstract class Controller<PluginState extends State, PluginEventMap exte
|
|
|
84
84
|
/**
|
|
85
85
|
* 展示UI
|
|
86
86
|
*/
|
|
87
|
-
show?(options?: BaseOptions): Promise<void
|
|
87
|
+
show?(options?: BaseOptions): Promise<void> | void;
|
|
88
88
|
/**
|
|
89
89
|
* 隐藏UI
|
|
90
90
|
*/
|
|
91
|
-
hide?(options?: BaseOptions): Promise<void
|
|
91
|
+
hide?(options?: BaseOptions): Promise<void> | void;
|
|
92
92
|
/**
|
|
93
93
|
* 设置state
|
|
94
94
|
* @param state 插件的目标状态
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -15,8 +15,6 @@ declare abstract class Controller<PluginState extends State, PluginEventMap exte
|
|
|
15
15
|
* @param state 插件 State
|
|
16
16
|
*/
|
|
17
17
|
abstract load(serverData: PluginServerData, state?: PluginState, userAction?: boolean): Promise<void>;
|
|
18
|
-
/** 把原始数据转化为插件数据 */
|
|
19
|
-
protected abstract formatData?(serverData: PluginServerData): Promise<PluginData> | PluginData;
|
|
20
18
|
}
|
|
21
19
|
export type { State, EventMap, Config };
|
|
22
20
|
export type { BaseOptions } from './BasePlugin';
|
package/libs/index.d.ts
CHANGED
package/libs/index.js
CHANGED
|
@@ -1,61 +1,62 @@
|
|
|
1
1
|
import { consoleVersion as o } from "./shared-utils/logger.js";
|
|
2
2
|
import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
|
|
3
|
-
import { PaintBrush as
|
|
4
|
-
import { PaintBrushTypeEnum as
|
|
5
|
-
import { ModelViewPlugin as
|
|
6
|
-
import { CSS3DRenderPlugin as
|
|
7
|
-
import { PanoCursorRaycasterPlugin as
|
|
8
|
-
import { ModelRoomLabelPlugin as
|
|
9
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
10
|
-
import { ModelFloorplanPlugin as
|
|
11
|
-
import { MapviewFloorplanPlugin as
|
|
12
|
-
import { TopviewFloorplanPlugin as
|
|
13
|
-
import { PanoFloorplanRadarPlugin as
|
|
14
|
-
import { FLOOR_TYPE_MAP as
|
|
15
|
-
import { ModelChassisCompassPlugin as
|
|
16
|
-
import { ModelEntryDoorGuidePlugin as
|
|
17
|
-
import { CameraMovementPlugin as
|
|
18
|
-
import { CameraMovementEffect as
|
|
19
|
-
import { PanoRulerPlugin as
|
|
20
|
-
import { PanoRulerProPlugin as
|
|
21
|
-
import { PanoCompassPlugin as
|
|
22
|
-
import { PanoMeasurePlugin as
|
|
23
|
-
import { PanoSpatialTagPlugin as
|
|
24
|
-
import { modelItemLabelPluginServerParams as
|
|
25
|
-
import { ModelTVVideoPlugin as
|
|
26
|
-
import { DIRECTION as
|
|
27
|
-
import { itemLabelPluginServerParams as
|
|
28
|
-
import { PanoDoorLabelPlugin as
|
|
29
|
-
import { GuideLinePlugin as
|
|
30
|
-
import { CruisePlugin as
|
|
31
|
-
import { PanoTagPlugin as
|
|
32
|
-
import { Object3DHelperPlugin as
|
|
33
|
-
import { PanoVideoPlugin as
|
|
34
|
-
import { PipelinePlugin as
|
|
35
|
-
import { AreaMakerPlugin as
|
|
36
|
-
import { CurrentPanoImagePlugin as
|
|
37
|
-
import { Sculpt as
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import { default as
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import { default as
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
3
|
+
import { PaintBrush as ol } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as tl } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as ml } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as el } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as nl } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as Pl, modelRoomLabelPluginServerParams as ul } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as xl } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as sl } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as Ml } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as Ll } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as _l } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as Il, ROOM_FETILE_TYPE_MAP as Rl, ROOM_TYPE_MAP as Ol } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as yl } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as Dl } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as bl } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as Fl, Rotation as Yl } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as Vl } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as hl } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as wl } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as Hl } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as jl } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as Wl } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as zl } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as Kl } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as Xl } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as on } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as tn } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as pn, MovePlugin as en } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as nn } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as Pn } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as fn } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as gn } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { AreaMakerPlugin as dn } from "./AreaMakerPlugin/index.js";
|
|
36
|
+
import { CurrentPanoImagePlugin as Tn } from "./CurrentPanoImagePlugin/index.js";
|
|
37
|
+
import { Sculpt as Cn } from "./Sculpt/index.js";
|
|
38
|
+
import { ModelMakerPlugin as En } from "./ModelMakerPlugin/index.js";
|
|
39
|
+
import { index as Rn } from "./shared-utils/index.js";
|
|
40
|
+
import { CSS3DRender as Sn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
41
|
+
import { Model as An } from "./PanoMeasurePlugin/Model/index.js";
|
|
42
|
+
import { default as Gn } from "./PanoMeasurePlugin/Model/point.js";
|
|
43
|
+
import { default as vn } from "./PanoMeasurePlugin/Model/line.js";
|
|
44
|
+
import { Polyline as Yn } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
45
|
+
import { Magnifier as Vn } from "./shared-utils/three/Magnifier.js";
|
|
46
|
+
import { DISPLAY_STRATEGY_TYPE as hn } from "./ModelItemLabelPlugin/typings.js";
|
|
47
|
+
import { ModelItemLabelPlugin as wn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
48
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Hn } from "./ItemLabelPlugin/typings.js";
|
|
49
|
+
import { Plugin as jn } from "./ItemLabelPlugin/Plugin.js";
|
|
50
|
+
import { GuideLineItem$1 as Wn } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
51
|
+
import { GuideLineModeItem$1 as zn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
52
|
+
import { default as Kn, default as Qn } from "./CruisePlugin/Work.js";
|
|
53
|
+
import { default as Zn } from "./CruisePlugin/Move.js";
|
|
54
|
+
import { typing as ra } from "./CruisePlugin/typing/index.js";
|
|
55
|
+
import { default as ia, pluginFlag as ma } from "./PanoTagPlugin/controller/index.js";
|
|
56
|
+
import { defaultGlobalConfig as ea } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
57
|
+
import { ContentType as na, DimensionType as aa, PointType as Pa } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
58
|
+
import { Object3DHelperController as fa, PLUGIN as xa } from "./Object3DHelperPlugin/Controller.js";
|
|
59
|
+
import { typings as sa } from "./PanoVideoPlugin/typings/index.js";
|
|
59
60
|
import "./components/PaintBrush/Controller.js";
|
|
60
61
|
import "./components/PaintBrush/utils.js";
|
|
61
62
|
import "./components/PaintBrush/tween.js";
|
|
@@ -177,7 +178,9 @@ import "./PanoMeasurePlugin/Model/area.js";
|
|
|
177
178
|
import "./PanoMeasurePlugin/Model/polygon.js";
|
|
178
179
|
import "./shared-utils/three/IObject3D.js";
|
|
179
180
|
import "./shared-utils/three/generatePolygonGeometry.js";
|
|
181
|
+
import "./shared-utils/three/earcut3D.js";
|
|
180
182
|
import "earcut";
|
|
183
|
+
import "./shared-utils/three/getNormal.js";
|
|
181
184
|
import "./PanoMeasurePlugin/utils/dom/areaDom.js";
|
|
182
185
|
import "./shared-utils/three/geometryUtil.js";
|
|
183
186
|
import "./shared-utils/isNil.js";
|
|
@@ -286,7 +289,6 @@ import "./shared-utils/math/pointIsRectangle.js";
|
|
|
286
289
|
import "./shared-utils/three/loadVideoTexture.js";
|
|
287
290
|
import "./shared-utils/three/getPositionsByObjectFit.js";
|
|
288
291
|
import "./shared-utils/three/FragmentTransparencyMaterial.js";
|
|
289
|
-
import "./shared-utils/three/getNormal.js";
|
|
290
292
|
import "./shared-utils/five/FiveDomEvents.js";
|
|
291
293
|
import "./shared-utils/five/calculateThreeMouse.js";
|
|
292
294
|
import "./PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
@@ -432,6 +434,7 @@ import "./Sculpt/Meshes/LineWithDots.js";
|
|
|
432
434
|
import "./Sculpt/Meshes/Point.js";
|
|
433
435
|
import "./Sculpt/utils/color.js";
|
|
434
436
|
import "./Sculpt/Meshes/Line.js";
|
|
437
|
+
import "./shared-utils/three/closeVectors.js";
|
|
435
438
|
import "./Sculpt/Objects/Base/index.js";
|
|
436
439
|
import "./Sculpt/Objects/Polyline/Editor.js";
|
|
437
440
|
import "./Sculpt/Objects/Base/Editor.js";
|
|
@@ -440,6 +443,7 @@ import "./Sculpt/Objects/Point/index.js";
|
|
|
440
443
|
import "./Sculpt/Objects/Point/Editor.js";
|
|
441
444
|
import "./Sculpt/Objects/Polygon/index.js";
|
|
442
445
|
import "./Sculpt/Meshes/Area.js";
|
|
446
|
+
import "./Sculpt/Meshes/PolygonWithEdge.js";
|
|
443
447
|
import "./Sculpt/Meshes/Polygon.js";
|
|
444
448
|
import "./Sculpt/utils/three/ColoredMesh.js";
|
|
445
449
|
import "./Sculpt/Objects/Polygon/Editor.js";
|
|
@@ -463,6 +467,15 @@ import "./Sculpt/Objects/Cylinder/Editor.js";
|
|
|
463
467
|
import "./Sculpt/Objects/Box/index.js";
|
|
464
468
|
import "./Sculpt/Objects/Box/Editor.js";
|
|
465
469
|
import "./Sculpt/Meshes/Box.js";
|
|
470
|
+
import "./ModelMakerPlugin/Controller.js";
|
|
471
|
+
import "./ModelMakerPlugin/item/boxItem.js";
|
|
472
|
+
import "./ModelMakerPlugin/item/polygonItem.js";
|
|
473
|
+
import "./ModelMakerPlugin/item/baseItem.js";
|
|
474
|
+
import "./shared-utils/three/addIfNotExists.js";
|
|
475
|
+
import "./shared-utils/tag.js";
|
|
476
|
+
import "./shared-utils/five/vector3ToScreen.js";
|
|
477
|
+
import "./ModelMakerPlugin/utils/tagRenderer.js";
|
|
478
|
+
import "./ModelMakerPlugin/item/prismItem.js";
|
|
466
479
|
import "./shared-utils/math/Interval.js";
|
|
467
480
|
import "./shared-utils/math/Rectangle.js";
|
|
468
481
|
import "./shared-utils/five/index.js";
|
|
@@ -472,70 +485,71 @@ import "./shared-utils/three/getIntersect.js";
|
|
|
472
485
|
r();
|
|
473
486
|
o();
|
|
474
487
|
export {
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
488
|
+
dn as AreaMakerPlugin,
|
|
489
|
+
Sn as CSS3DRender,
|
|
490
|
+
el as CSS3DRenderPlugin,
|
|
491
|
+
Fl as CameraMovementEffect,
|
|
492
|
+
bl as CameraMovementPlugin,
|
|
493
|
+
na as ContentType,
|
|
494
|
+
pn as CruisePlugin,
|
|
495
|
+
Kn as CruisePluginController,
|
|
496
|
+
ra as CruisePluginTypes,
|
|
497
|
+
Tn as CurrentPanoImagePlugin,
|
|
498
|
+
Kl as DIRECTION,
|
|
499
|
+
hn as DISPLAY_STRATEGY_TYPE,
|
|
500
|
+
aa as DimensionType,
|
|
501
|
+
xl as FLOOR_PLAN_ATTACHED_TO,
|
|
502
|
+
Il as FLOOR_TYPE_MAP,
|
|
503
|
+
Wn as GuideLineItem,
|
|
504
|
+
zn as GuideLineModeItem,
|
|
505
|
+
tn as GuideLinePlugin,
|
|
506
|
+
Hn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
507
|
+
jn as ItemLabelPlugin,
|
|
508
|
+
Vn as Magnifier,
|
|
509
|
+
Ml as MapviewFloorplanPlugin,
|
|
510
|
+
yl as ModelChassisCompassPlugin,
|
|
511
|
+
Dl as ModelEntryDoorGuidePlugin,
|
|
512
|
+
sl as ModelFloorplanPlugin,
|
|
513
|
+
wn as ModelItemLabelPlugin,
|
|
514
|
+
En as ModelMakerPlugin,
|
|
515
|
+
Pl as ModelRoomLabelPlugin,
|
|
516
|
+
zl as ModelTVVideoPlugin,
|
|
517
|
+
ml as ModelViewPlugin,
|
|
518
|
+
Zn as MoveController,
|
|
519
|
+
en as MovePlugin,
|
|
520
|
+
fa as Object3DHelperController,
|
|
521
|
+
Pn as Object3DHelperPlugin,
|
|
522
|
+
xa as PLUGIN,
|
|
523
|
+
ol as PaintBrush,
|
|
524
|
+
tl as PaintBrushTypeEnum,
|
|
525
|
+
wl as PanoCompassPlugin,
|
|
526
|
+
nl as PanoCursorRaycasterPlugin,
|
|
527
|
+
on as PanoDoorLabelPlugin,
|
|
528
|
+
_l as PanoFloorplanRadarPlugin,
|
|
529
|
+
Hl as PanoMeasurePlugin,
|
|
530
|
+
vn as PanoMeasurePluginLine,
|
|
531
|
+
An as PanoMeasurePluginModel,
|
|
532
|
+
Gn as PanoMeasurePluginPoint,
|
|
533
|
+
Yn as PanoMeasurePluginPolyline,
|
|
534
|
+
Vl as PanoRulerPlugin,
|
|
535
|
+
hl as PanoRulerProPlugin,
|
|
536
|
+
jl as PanoSpatialTagPlugin,
|
|
537
|
+
nn as PanoTagPlugin,
|
|
538
|
+
ia as PanoTagPluginController,
|
|
539
|
+
fn as PanoVideoPlugin,
|
|
540
|
+
sa as PanoVideoPluginType,
|
|
541
|
+
gn as PipelinePlugin,
|
|
542
|
+
Pa as PointType,
|
|
543
|
+
Rl as ROOM_FETILE_TYPE_MAP,
|
|
544
|
+
Ol as ROOM_TYPE_MAP,
|
|
545
|
+
Yl as Rotation,
|
|
546
|
+
Cn as Sculpt,
|
|
547
|
+
Ll as TopviewFloorplanPlugin,
|
|
548
|
+
Rn as Util,
|
|
549
|
+
Qn as WalkController,
|
|
550
|
+
ea as defaultGlobalConfig,
|
|
551
|
+
Xl as itemLabelPluginServerParams,
|
|
552
|
+
Wl as modelItemLabelPluginServerParams,
|
|
553
|
+
ul as modelRoomLabelPluginServerParams,
|
|
554
|
+
ma as pluginFlag
|
|
541
555
|
};
|
|
@@ -94,7 +94,7 @@ export declare class FiveDomEvents {
|
|
|
94
94
|
* @return {void}
|
|
95
95
|
*/
|
|
96
96
|
addEventListener<T extends EventName = EventName>(object: Object3DWithEvent, event: T, callback: FiveDomEventMap[T], config?: EventHandlerConfig): void;
|
|
97
|
-
removeEventListener(object: Object3DWithEvent, event: EventName, callback
|
|
97
|
+
removeEventListener(object: Object3DWithEvent, event: EventName, callback?: (e: FiveDomEvent) => any, ...args: any[]): void;
|
|
98
98
|
dispose(): void;
|
|
99
99
|
private getRaycaster;
|
|
100
100
|
private handleWantsGesture;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
var L = Object.defineProperty;
|
|
2
2
|
var b = Object.getOwnPropertySymbols;
|
|
3
|
-
var D = Object.prototype.hasOwnProperty,
|
|
3
|
+
var D = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
|
|
4
4
|
var p = (h, e, t) => e in h ? L(h, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[e] = t, y = (h, e) => {
|
|
5
5
|
for (var t in e || (e = {}))
|
|
6
6
|
D.call(e, t) && p(h, t, e[t]);
|
|
7
7
|
if (b)
|
|
8
8
|
for (var t of b(e))
|
|
9
|
-
|
|
9
|
+
H.call(e, t) && p(h, t, e[t]);
|
|
10
10
|
return h;
|
|
11
11
|
};
|
|
12
12
|
var d = (h, e, t) => (p(h, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
|
-
import * as
|
|
13
|
+
import * as w from "three";
|
|
14
14
|
import { getObjectVisible as M } from "../three/getObjectVisible.js";
|
|
15
|
-
import { calculateThreeMouse as
|
|
15
|
+
import { calculateThreeMouse as $ } from "./calculateThreeMouse.js";
|
|
16
16
|
class I {
|
|
17
17
|
constructor(e) {
|
|
18
18
|
d(this, "five");
|
|
@@ -175,6 +175,7 @@ class I {
|
|
|
175
175
|
var s, l;
|
|
176
176
|
if (!e._domEvent || !e._domEvent[`${t}Handler`])
|
|
177
177
|
return;
|
|
178
|
+
n === void 0 && delete e._domEvent[`${t}Handler`];
|
|
178
179
|
const o = e._domEvent[`${t}Handler`].findIndex((u) => u[0] === n);
|
|
179
180
|
if (o !== -1 && (e._domEvent[`${t}Handler`].splice(o, 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)) {
|
|
180
181
|
const u = (s = this.boundObject[t]) == null ? void 0 : s.findIndex((a) => a === e);
|
|
@@ -189,7 +190,7 @@ class I {
|
|
|
189
190
|
const t = this.five.getElement();
|
|
190
191
|
if (!t)
|
|
191
192
|
return;
|
|
192
|
-
const n =
|
|
193
|
+
const n = $(e, t), i = new w.Raycaster();
|
|
193
194
|
return i.setFromCamera(n, this.five.camera), i;
|
|
194
195
|
}
|
|
195
196
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.22.0",
|
|
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",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Five } from '@realsee/five';
|
|
2
|
+
import { type AnyPosition } from './positionToVector3';
|
|
3
|
+
export declare class LightTag {
|
|
4
|
+
container: HTMLDivElement;
|
|
5
|
+
visible: boolean;
|
|
6
|
+
enabled: boolean;
|
|
7
|
+
private five;
|
|
8
|
+
private position;
|
|
9
|
+
private wrapper;
|
|
10
|
+
constructor(five: Five, position: AnyPosition);
|
|
11
|
+
show(): void;
|
|
12
|
+
hide(): void;
|
|
13
|
+
enable(): void;
|
|
14
|
+
disable(): void;
|
|
15
|
+
private onCameraUpdate;
|
|
16
|
+
}
|
|
17
|
+
export declare function tag(five: Five, position: AnyPosition): LightTag;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
var o = Object.defineProperty;
|
|
2
|
+
var a = (i, e, t) => e in i ? o(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
|
|
3
|
+
var n = (i, e, t) => (a(i, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
|
+
import { anyPositionToVector3 as r } from "./positionToVector3.js";
|
|
5
|
+
import { vector3ToScreen as l } from "./five/vector3ToScreen.js";
|
|
6
|
+
const s = "LightTagContainer_shgjakdhwakjdhsja";
|
|
7
|
+
class h {
|
|
8
|
+
constructor(e, t) {
|
|
9
|
+
n(this, "container", (() => {
|
|
10
|
+
const e = document.createElement("div");
|
|
11
|
+
return e.style.position = "absolute", e;
|
|
12
|
+
})());
|
|
13
|
+
n(this, "visible", !1);
|
|
14
|
+
n(this, "enabled", !1);
|
|
15
|
+
n(this, "five");
|
|
16
|
+
n(this, "position");
|
|
17
|
+
n(this, "wrapper");
|
|
18
|
+
n(this, "onCameraUpdate", () => {
|
|
19
|
+
if (this.visible === !1)
|
|
20
|
+
return;
|
|
21
|
+
const e = l(this.five.camera, this.position);
|
|
22
|
+
e ? (this.container.style.opacity = "1", this.container.style.pointerEvents = "auto", this.container.style.left = e.leftPercent + "%", this.container.style.top = e.topPercent + "%") : (this.container.style.opacity = "0", this.container.style.pointerEvents = "none");
|
|
23
|
+
});
|
|
24
|
+
this.five = e, this.position = r(t).clone(), this.enable(), this.show();
|
|
25
|
+
}
|
|
26
|
+
show() {
|
|
27
|
+
this.visible = !0, this.container.style.visibility = "visible", this.onCameraUpdate();
|
|
28
|
+
}
|
|
29
|
+
hide() {
|
|
30
|
+
this.visible = !1, this.container.style.visibility = "hidden";
|
|
31
|
+
}
|
|
32
|
+
enable() {
|
|
33
|
+
var e;
|
|
34
|
+
this.enabled || (this.enabled = !0, this.wrapper = (e = document.getElementById(s)) != null ? e : (() => {
|
|
35
|
+
const t = document.createElement("div");
|
|
36
|
+
return t.id = s, t.style.position = "absolute", t.style.top = "0", t.style.left = "0", t.style.width = "100%", t.style.height = "100%", t.style.pointerEvents = "none", this.five.getElement().parentElement.appendChild(t), t;
|
|
37
|
+
})(), this.wrapper.appendChild(this.container), this.five.on("camera.update", this.onCameraUpdate));
|
|
38
|
+
}
|
|
39
|
+
disable() {
|
|
40
|
+
this.enabled && (this.enabled = !1, this.wrapper.removeChild(this.container), this.five.off("camera.update", this.onCameraUpdate));
|
|
41
|
+
}
|
|
42
|
+
// private onWantsMovePano = () => {
|
|
43
|
+
// }
|
|
44
|
+
}
|
|
45
|
+
function f(i, e) {
|
|
46
|
+
return new h(i, e);
|
|
47
|
+
}
|
|
48
|
+
export {
|
|
49
|
+
f as tag
|
|
50
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import c from "earcut";
|
|
2
|
+
import { getNormal as l } from "./getNormal.js";
|
|
3
|
+
import * as r from "three";
|
|
4
|
+
function s(t) {
|
|
5
|
+
if (t.length < 3)
|
|
6
|
+
return [];
|
|
7
|
+
const e = l([t[0].clone(), t[1].clone(), t[2].clone()]), n = new r.Quaternion().setFromUnitVectors(new r.Vector3(0, 1, 0), e), a = t.map((o) => o.clone().applyQuaternion(n)).flatMap((o) => [o.x, o.z]);
|
|
8
|
+
return c(a);
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
s as earcut3D
|
|
12
|
+
};
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import a from "
|
|
3
|
-
function
|
|
4
|
-
const t = [...new Set(
|
|
1
|
+
import * as n from "three";
|
|
2
|
+
import { earcut3D as a } from "./earcut3D.js";
|
|
3
|
+
function m(r) {
|
|
4
|
+
const t = [...new Set(r)];
|
|
5
5
|
if (t.length < 3)
|
|
6
6
|
return;
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
const e = new i.BufferGeometry();
|
|
11
|
-
return e.setAttribute("position", u), e.setIndex(o), e.name = "PolygonGeometry", e;
|
|
7
|
+
t.at(-1).equals(t[0]) || t.push(t[0]);
|
|
8
|
+
const i = t.flatMap((o) => [o.x, o.y, o.z]), s = new n.Float32BufferAttribute(i, 3), u = a(t), e = new n.BufferGeometry();
|
|
9
|
+
return e.setAttribute("position", s), e.setIndex(u), e.name = "PolygonGeometry", e;
|
|
12
10
|
}
|
|
13
11
|
export {
|
|
14
|
-
|
|
12
|
+
m as generatePolygonGeometry
|
|
15
13
|
};
|