@realsee/dnalogel 3.58.2 → 3.58.4-alpha.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/CHANGELOG.md +6 -0
- package/dist/ModelMakerPlugin/item/baseItem.d.ts +2 -0
- package/dist/ModelMakerPlugin/item/boxItem.d.ts +9 -3
- package/dist/ModelMakerPlugin/item/polygonItem.d.ts +7 -7
- package/dist/ModelMakerPlugin/item/prismItem.d.ts +0 -3
- package/dist/Sculpt/Objects/Rectangle/index.d.ts +3 -3
- package/dist/Sculpt/index.d.ts +15 -10
- package/dist/index.cjs.js +31 -31
- package/dist/index.js +2174 -2156
- package/dist/index.umd.js +31 -31
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
- package/docs/classes/ModelMakerPluginInstance.html +15 -15
- package/docs/classes/ModelRoomLabelController.html +6 -6
- package/docs/classes/MoveController.html +17 -17
- package/docs/classes/Object3DHelperController.html +15 -15
- package/docs/classes/PaintBrush.html +5 -5
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
- package/docs/classes/PanoTagPluginController.html +35 -35
- package/docs/classes/Sculpt.html +23 -23
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +4 -4
- package/docs/classes/Util.FivePuppet.html +3 -3
- package/docs/classes/Util.Interval.html +5 -5
- package/docs/classes/Util.LightTag.html +14 -14
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +6 -6
- package/docs/classes/Util.Object3D.html +4 -4
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +11 -11
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +5 -5
- package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
- package/docs/classes/Util.sculpt.BoxMesh.html +6 -6
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
- package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.LineMesh.html +5 -5
- package/docs/classes/Util.sculpt.PointMesh.html +5 -5
- package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
- package/docs/classes/WalkController.html +18 -18
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +18 -18
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
- 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 +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +15 -15
- package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
- package/docs/interfaces/FloorplanBounding.html +5 -5
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +8 -8
- package/docs/interfaces/FloorplanExtraObject.html +5 -5
- 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 +8 -8
- package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
- package/docs/interfaces/FloorplanServerBounding.html +5 -5
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +8 -8
- 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 +9 -9
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +10 -10
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +7 -7
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +6 -6
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
- package/docs/interfaces/PluginEventMap.html +4 -4
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +6 -6
- package/docs/interfaces/State.html +4 -4
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +7 -7
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +4 -4
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +4 -4
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
- package/docs/interfaces/Util.MagnifierParameter.html +5 -5
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +4 -4
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/Util.html +2 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +2 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoModelUnderMouse.html +1 -1
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.animeMap.html +1 -1
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/ModelMakerPlugin/Controller.js +48 -48
- package/libs/ModelMakerPlugin/index.js +1 -1
- package/libs/ModelMakerPlugin/item/baseItem.d.ts +2 -0
- package/libs/ModelMakerPlugin/item/baseItem.js +32 -28
- package/libs/ModelMakerPlugin/item/boxItem.d.ts +9 -3
- package/libs/ModelMakerPlugin/item/boxItem.js +27 -6
- package/libs/ModelMakerPlugin/item/polygonItem.d.ts +7 -7
- package/libs/ModelMakerPlugin/item/polygonItem.js +24 -20
- package/libs/ModelMakerPlugin/item/prismItem.d.ts +0 -3
- package/libs/ModelMakerPlugin/item/prismItem.js +25 -31
- package/libs/Sculpt/Objects/Rectangle/index.d.ts +3 -3
- package/libs/Sculpt/Objects/Rectangle/index.js +138 -141
- package/libs/Sculpt/index.d.ts +15 -10
- package/libs/Sculpt/index.js +52 -49
- package/libs/base/BasePlugin.js +5 -5
- package/libs/index.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视空间交互插件合集 - v3.58.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视空间交互插件合集 - v3.58.4-alpha.0</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.58.4-alpha.0</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="itemLabelPluginServerParams.html">itemLabelPluginServerParams</a></li></ul><h1>Variable itemLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ItemLabelPlugin/index.ts:7</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.58.4-alpha.0</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.58.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.58.4-alpha.0</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.58.4-alpha.0</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="modelItemLabelPluginServerParams.html">modelItemLabelPluginServerParams</a></li></ul><h1>Variable modelItemLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">model<wbr/>Item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ModelItemLabelPlugin/index.ts:7</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.58.4-alpha.0</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.58.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.58.4-alpha.0</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.58.4-alpha.0</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul><h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ModelRoomLabelPlugin/index.ts:9</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.58.4-alpha.0</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var b = (l, n, e) => n in l ?
|
|
1
|
+
var P = Object.defineProperty;
|
|
2
|
+
var V = Object.getOwnPropertySymbols;
|
|
3
|
+
var T = Object.prototype.hasOwnProperty, D = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var b = (l, n, e) => n in l ? P(l, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[n] = e, g = (l, n) => {
|
|
5
5
|
for (var e in n || (n = {}))
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var e of
|
|
9
|
-
|
|
6
|
+
T.call(n, e) && b(l, e, n[e]);
|
|
7
|
+
if (V)
|
|
8
|
+
for (var e of V(n))
|
|
9
|
+
D.call(n, e) && b(l, e, n[e]);
|
|
10
10
|
return l;
|
|
11
11
|
};
|
|
12
12
|
var h = (l, n, e) => (b(l, typeof n != "symbol" ? n + "" : n, e), e);
|
|
@@ -26,30 +26,30 @@ var E = (l, n, e) => new Promise((i, a) => {
|
|
|
26
26
|
}, s = (t) => t.done ? i(t.value) : Promise.resolve(t.value).then(o, r);
|
|
27
27
|
s((e = e.apply(l, n)).next());
|
|
28
28
|
});
|
|
29
|
-
import { Controller as
|
|
29
|
+
import { Controller as j } from "../base/BasePluginWithData.js";
|
|
30
30
|
import * as d from "three";
|
|
31
|
-
import { ModelMakerBoxItem as
|
|
32
|
-
import { PrismMesh as
|
|
33
|
-
import { anyPositionToVector3 as
|
|
34
|
-
import { PolygonWithEdgeMesh as
|
|
31
|
+
import { ModelMakerBoxItem as L } from "./item/boxItem.js";
|
|
32
|
+
import { PrismMesh as W } from "../Sculpt/Meshes/Prism.js";
|
|
33
|
+
import { anyPositionToVector3 as A } from "../shared-utils/positionToVector3.js";
|
|
34
|
+
import { PolygonWithEdgeMesh as S } from "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
35
35
|
import "../shared-utils/tag.js";
|
|
36
36
|
import "hammerjs";
|
|
37
37
|
import "../shared-utils/three/PointSelector/index.js";
|
|
38
38
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
39
39
|
import "@realsee/five/line";
|
|
40
|
-
import { notNil as
|
|
40
|
+
import { notNil as k } from "../shared-utils/isNil.js";
|
|
41
41
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
42
42
|
import { boxVertex as v } from "../shared-utils/three/boundingBox.js";
|
|
43
43
|
import "animejs";
|
|
44
|
-
import { waitFiveModelLoaded as
|
|
44
|
+
import { waitFiveModelLoaded as H } from "../shared-utils/five/fiveModelLoad.js";
|
|
45
45
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
46
46
|
import "../shared-utils/five/FivePuppet.js";
|
|
47
|
-
import { tagRendererMap as
|
|
48
|
-
import { ModelMakerPrismItem as
|
|
49
|
-
import { ModelMakerPolygonItem as
|
|
50
|
-
import { getFiveDomEvent as
|
|
51
|
-
import { fiveEveryReadyListener as
|
|
52
|
-
import { sleep as
|
|
47
|
+
import { tagRendererMap as B } from "./utils/tagRenderer.js";
|
|
48
|
+
import { ModelMakerPrismItem as F } from "./item/prismItem.js";
|
|
49
|
+
import { ModelMakerPolygonItem as O } from "./item/polygonItem.js";
|
|
50
|
+
import { getFiveDomEvent as z } from "./utils/getFiveDomEvent.js";
|
|
51
|
+
import { fiveEveryReadyListener as Q } from "../shared-utils/five/fiveEveryReadyListener.js";
|
|
52
|
+
import { sleep as q } from "../CruisePlugin/utils/sleep.js";
|
|
53
53
|
import "../base/BasePlugin.js";
|
|
54
54
|
import "../shared-utils/Subscribe.js";
|
|
55
55
|
import "../shared-utils/three/core/Sphere.js";
|
|
@@ -59,6 +59,8 @@ import "../shared-utils/Utils/WorkUtil.js";
|
|
|
59
59
|
import "../shared-utils/five/transformPosition.js";
|
|
60
60
|
import "../shared-utils/five/getFiveModel.js";
|
|
61
61
|
import "../shared-utils/url/absoluteUrl.js";
|
|
62
|
+
import "./item/baseItem.js";
|
|
63
|
+
import "../shared-utils/three/addIfNotExists.js";
|
|
62
64
|
import "../shared-utils/three/IObject3D.js";
|
|
63
65
|
import "../shared-utils/three/core/Raycaster.js";
|
|
64
66
|
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
@@ -115,11 +117,9 @@ import "../vendor/svelte/internal/index.js";
|
|
|
115
117
|
import "../components/AreaLabel/LabelItem.js";
|
|
116
118
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
117
119
|
import "../shared-utils/math/rad2Deg.js";
|
|
118
|
-
import "./item/baseItem.js";
|
|
119
|
-
import "../shared-utils/three/addIfNotExists.js";
|
|
120
120
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
121
121
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
122
|
-
class
|
|
122
|
+
class Ft extends j {
|
|
123
123
|
constructor(e, i) {
|
|
124
124
|
var a, o;
|
|
125
125
|
super(e);
|
|
@@ -142,7 +142,7 @@ class Pt extends A {
|
|
|
142
142
|
});
|
|
143
143
|
h(this, "handleEnable", () => {
|
|
144
144
|
var e, i;
|
|
145
|
-
this.five.scene.add(this.group), (i = (e = this.five.getElement()) == null ? void 0 : e.parentElement) == null || i.appendChild(this.tagWrapper), this.five.needsRender = !0, this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveEveryReady(), this.five.on("modeChange", this.onFiveModeChange), this.fiveEveryReadyListenerDisposer =
|
|
145
|
+
this.five.scene.add(this.group), (i = (e = this.five.getElement()) == null ? void 0 : e.parentElement) == null || i.appendChild(this.tagWrapper), this.five.needsRender = !0, this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveEveryReady(), this.five.on("modeChange", this.onFiveModeChange), this.fiveEveryReadyListenerDisposer = Q(this.five, this.onFiveEveryReady);
|
|
146
146
|
});
|
|
147
147
|
h(this, "handleDisable", () => {
|
|
148
148
|
this.five.scene.remove(this.group), this.tagWrapper.remove(), this.five.needsRender = !0, this.five.off("modeChange", this.onFiveModeChange), this.fiveEveryReadyListenerDisposer();
|
|
@@ -150,8 +150,8 @@ class Pt extends A {
|
|
|
150
150
|
h(this, "onFiveEveryReady", () => E(this, null, function* () {
|
|
151
151
|
if (this.five.state.mode === "Panorama")
|
|
152
152
|
return;
|
|
153
|
-
const e = this.items.filter((t) => t instanceof
|
|
154
|
-
yield
|
|
153
|
+
const e = this.items.filter((t) => t instanceof F).map((t) => t.tag), i = e.filter((t) => t.position && t.visible && t.enabled);
|
|
154
|
+
yield q(0);
|
|
155
155
|
const a = this.five.camera.position.clone(), o = i.sort((t, p) => a.distanceTo(t.position) - a.distanceTo(p.position)), r = [], s = (t, p) => !(t.right < p.left || t.left > p.right || t.bottom < p.top || t.top > p.bottom);
|
|
156
156
|
e.forEach((t) => {
|
|
157
157
|
t.visibles[2] = void 0;
|
|
@@ -161,18 +161,18 @@ class Pt extends A {
|
|
|
161
161
|
const p = t.container.getElementsByClassName("room-label-item__text")[0];
|
|
162
162
|
if (!p)
|
|
163
163
|
return;
|
|
164
|
-
const
|
|
165
|
-
r.every((
|
|
164
|
+
const c = p.getBoundingClientRect();
|
|
165
|
+
r.every((m) => !s(m.boundingClientRect, c)) ? (r.push({ tag: t, boundingClientRect: c }), t.visibles[2] = !0) : t.visibles[2] = !1, t.needsRender = !0;
|
|
166
166
|
});
|
|
167
167
|
}));
|
|
168
168
|
h(this, "updateTagRenderer", () => {
|
|
169
169
|
this.items.forEach((e) => {
|
|
170
170
|
var a;
|
|
171
|
-
const i = (a = this.tagRendererMap[e.type]) != null ? a :
|
|
171
|
+
const i = (a = this.tagRendererMap[e.type]) != null ? a : B[e.type];
|
|
172
172
|
i && e.__renderer !== i && (e.__renderer = i, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = i(e.tag.container, e, this.five));
|
|
173
173
|
});
|
|
174
174
|
});
|
|
175
|
-
this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.occlusionVisibility = (a = i == null ? void 0 : i.occlusionVisibility) != null ? a : !1, this.occlusionMode = (o = i == null ? void 0 : i.occlusionMode) != null ? o : "translucence", this.fiveDomEvents =
|
|
175
|
+
this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.occlusionVisibility = (a = i == null ? void 0 : i.occlusionVisibility) != null ? a : !1, this.occlusionMode = (o = i == null ? void 0 : i.occlusionMode) != null ? o : "translucence", this.fiveDomEvents = z(e), this.tagWrapper = (() => {
|
|
176
176
|
var s;
|
|
177
177
|
const r = document.createElement("div");
|
|
178
178
|
return r.style.position = "absolute", r.style.top = "0", r.style.left = "0", r.style.width = "100%", r.style.height = "100%", r.style.pointerEvents = "none", r.style.zIndex = `${(s = i == null ? void 0 : i.tagContainerZIndex) != null ? s : ""}`, r;
|
|
@@ -181,7 +181,7 @@ class Pt extends A {
|
|
|
181
181
|
load(e) {
|
|
182
182
|
return E(this, null, function* () {
|
|
183
183
|
var a;
|
|
184
|
-
if (this.clear(), this.data = e, yield
|
|
184
|
+
if (this.clear(), this.data = e, yield H(this.five), this.data !== e)
|
|
185
185
|
return;
|
|
186
186
|
this.clear();
|
|
187
187
|
const i = (o) => {
|
|
@@ -200,9 +200,9 @@ class Pt extends A {
|
|
|
200
200
|
(a = e == null ? void 0 : e.list) == null || a.forEach((o) => {
|
|
201
201
|
var r;
|
|
202
202
|
if (o.type === "triangles") {
|
|
203
|
-
const s = new
|
|
203
|
+
const s = new S();
|
|
204
204
|
s.setPoints(o.object_data.points), s.setStyle(i(o)), this.fiveDomEvents.addEventListener(s, "hover", () => s.highlight()), this.fiveDomEvents.addEventListener(s, "unHover", () => s.unhighlight());
|
|
205
|
-
const t = new
|
|
205
|
+
const t = new O({
|
|
206
206
|
five: this.five,
|
|
207
207
|
tagWrapper: this.tagWrapper,
|
|
208
208
|
model: s,
|
|
@@ -212,16 +212,16 @@ class Pt extends A {
|
|
|
212
212
|
});
|
|
213
213
|
this.items.push(t);
|
|
214
214
|
} else if (o.type === "prism") {
|
|
215
|
-
const s = new
|
|
215
|
+
const s = new W();
|
|
216
216
|
this.zFightingOffset += 5e-4;
|
|
217
|
-
const t = o.object_data.points.map((
|
|
218
|
-
var
|
|
219
|
-
return [
|
|
217
|
+
const t = o.object_data.points.map((m) => {
|
|
218
|
+
var y;
|
|
219
|
+
return [m[0], m[1] + ((y = o.object_data.fixedY) != null ? y : 0), m[2]];
|
|
220
220
|
});
|
|
221
221
|
t.push(t[0]);
|
|
222
|
-
const p = o.object_data.height + ((r = o.object_data.fixedHeight) != null ? r : 0) + this.zFightingOffset,
|
|
223
|
-
s.setPoints({ points: t, heightPoint:
|
|
224
|
-
const
|
|
222
|
+
const p = o.object_data.height + ((r = o.object_data.fixedHeight) != null ? r : 0) + this.zFightingOffset, c = A(t[0]).add(new d.Vector3().setY(p));
|
|
223
|
+
s.setPoints({ points: t, heightPoint: c }), s.setStyle(i(o));
|
|
224
|
+
const u = new F({
|
|
225
225
|
five: this.five,
|
|
226
226
|
tagWrapper: this.tagWrapper,
|
|
227
227
|
model: s,
|
|
@@ -229,14 +229,14 @@ class Pt extends A {
|
|
|
229
229
|
type: o.type,
|
|
230
230
|
rawData: o
|
|
231
231
|
});
|
|
232
|
-
this.items.push(
|
|
232
|
+
this.items.push(u);
|
|
233
233
|
} else if (o.type === "box") {
|
|
234
|
-
const s = new
|
|
234
|
+
const s = new W(), { start: t, end: p, rotation: c = [0, 0, 0, 0] } = o.object_data, u = new d.Vector3().fromArray(t), m = new d.Vector3().fromArray(p), y = new d.Euler().fromArray(c), w = new d.Quaternion().setFromEuler(y), R = w.clone().inverse(), M = new d.Vector3().lerpVectors(u, m, 0.5), _ = M.clone().negate(), C = u.clone().add(_).applyQuaternion(R), x = m.clone().add(_).applyQuaternion(R), f = new d.Box3(C.clone().max(x), C.clone().min(x));
|
|
235
235
|
s.setPoints({
|
|
236
236
|
points: [v(f, 2), v(f, 3), v(f, 7), v(f, 6)],
|
|
237
237
|
heightPoint: v(f, 1)
|
|
238
|
-
}), s.position.copy(
|
|
239
|
-
const
|
|
238
|
+
}), s.position.copy(M), s.quaternion.copy(w), s.setStyle(i(o));
|
|
239
|
+
const I = new L({
|
|
240
240
|
five: this.five,
|
|
241
241
|
tagWrapper: this.tagWrapper,
|
|
242
242
|
model: s,
|
|
@@ -244,13 +244,13 @@ class Pt extends A {
|
|
|
244
244
|
type: o.type,
|
|
245
245
|
rawData: o
|
|
246
246
|
});
|
|
247
|
-
this.items.push(
|
|
247
|
+
this.items.push(I);
|
|
248
248
|
}
|
|
249
249
|
}), this.state.enabled ? this.handleEnable() : this.handleDisable(), this.state.visible ? this.handleShow() : this.handleHide(), this.updateTagRenderer(), this.hooks.emit("dataLoaded", e), this.five.needsRender = !0;
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
252
|
setState(e) {
|
|
253
|
-
|
|
253
|
+
k(e.enabled) && this.state.enabled !== e.enabled && (this.state.enabled = e.enabled, e.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(e.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), k(e.visible) && this.state.visible !== e.visible && (this.state.visible = e.visible, e.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(e.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
|
|
254
254
|
}
|
|
255
255
|
getItemById(e) {
|
|
256
256
|
return this.items.find((i) => i.rawData.id === e);
|
|
@@ -290,5 +290,5 @@ class Pt extends A {
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
export {
|
|
293
|
-
|
|
293
|
+
Ft as Controller
|
|
294
294
|
};
|
|
@@ -60,7 +60,6 @@ import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
|
60
60
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
61
61
|
import "../shared-utils/url/absoluteUrl.js";
|
|
62
62
|
import "./item/boxItem.js";
|
|
63
|
-
import "./item/polygonItem.js";
|
|
64
63
|
import "./item/baseItem.js";
|
|
65
64
|
import "../shared-utils/three/addIfNotExists.js";
|
|
66
65
|
import "../shared-utils/three/boundingBox.js";
|
|
@@ -91,6 +90,7 @@ import "../components/AreaLabel/LabelItem.js";
|
|
|
91
90
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
92
91
|
import "../shared-utils/math/rad2Deg.js";
|
|
93
92
|
import "./item/prismItem.js";
|
|
93
|
+
import "./item/polygonItem.js";
|
|
94
94
|
import "../CruisePlugin/utils/sleep.js";
|
|
95
95
|
const Ro = (...o) => new r(...o);
|
|
96
96
|
export {
|
|
@@ -20,6 +20,7 @@ export declare class ModelMakerBaseItem extends Subscribe<Event> {
|
|
|
20
20
|
visible: boolean;
|
|
21
21
|
enabled: boolean;
|
|
22
22
|
};
|
|
23
|
+
visibles: boolean[];
|
|
23
24
|
protected five: Five;
|
|
24
25
|
protected group: THREE.Object3D;
|
|
25
26
|
protected fiveDomEvents: FiveDomEvents;
|
|
@@ -39,6 +40,7 @@ export declare class ModelMakerBaseItem extends Subscribe<Event> {
|
|
|
39
40
|
hide(): void;
|
|
40
41
|
enable(): void;
|
|
41
42
|
disable(): void;
|
|
43
|
+
updateVisible(): void;
|
|
42
44
|
protected onClick(): boolean;
|
|
43
45
|
}
|
|
44
46
|
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var m = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import * as
|
|
5
|
-
import { addIfNotExists as
|
|
6
|
-
import { Subscribe as
|
|
2
|
+
var l = (s, e, i) => e in s ? m(s, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : s[e] = i;
|
|
3
|
+
var t = (s, e, i) => (l(s, typeof e != "symbol" ? e + "" : e, i), i);
|
|
4
|
+
import * as d from "three";
|
|
5
|
+
import { addIfNotExists as n } from "../../shared-utils/three/addIfNotExists.js";
|
|
6
|
+
import { Subscribe as p } from "../../shared-utils/Subscribe.js";
|
|
7
7
|
import { tag as a } from "../../shared-utils/tag.js";
|
|
8
8
|
import { boundingBox as v } from "../../shared-utils/three/boundingBox.js";
|
|
9
|
-
import { getFiveDomEvent as
|
|
9
|
+
import { getFiveDomEvent as u } from "../utils/getFiveDomEvent.js";
|
|
10
10
|
import "../../shared-utils/positionToVector3.js";
|
|
11
11
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
12
12
|
import "../../shared-utils/five/getFiveModel.js";
|
|
@@ -23,21 +23,22 @@ import "../../shared-utils/three/core/Sphere.js";
|
|
|
23
23
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
24
24
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
25
25
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
26
|
-
class
|
|
27
|
-
constructor(
|
|
28
|
-
var
|
|
26
|
+
class N extends p {
|
|
27
|
+
constructor(i) {
|
|
28
|
+
var r, h;
|
|
29
29
|
super();
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
30
|
+
t(this, "type");
|
|
31
|
+
t(this, "tag");
|
|
32
|
+
t(this, "rawData");
|
|
33
|
+
t(this, "model");
|
|
34
|
+
t(this, "visibles", []);
|
|
35
|
+
t(this, "five");
|
|
36
|
+
t(this, "group");
|
|
37
|
+
t(this, "fiveDomEvents");
|
|
38
|
+
t(this, "disposers", []);
|
|
39
|
+
this.five = i.five, this.model = i.model, this.group = i.group, this.type = i.type, this.rawData = i.rawData, this.fiveDomEvents = u(this.five);
|
|
40
|
+
const o = (h = (r = i.position) != null ? r : this.model.center) != null ? h : v(this.model).getCenter(new d.Vector3());
|
|
41
|
+
this.tag = a(this.five, o, { wrapper: i.tagWrapper }), this.tag.extraObjectsForIntersectCheck.push(this.group);
|
|
41
42
|
}
|
|
42
43
|
get container() {
|
|
43
44
|
return this.tag.container;
|
|
@@ -49,25 +50,28 @@ class O extends l {
|
|
|
49
50
|
};
|
|
50
51
|
}
|
|
51
52
|
show() {
|
|
52
|
-
this.
|
|
53
|
+
this.visibles[0] = !0, this.updateVisible(), this.emit("show");
|
|
53
54
|
}
|
|
54
55
|
hide() {
|
|
55
|
-
this.
|
|
56
|
+
this.visibles[0] = !1, this.updateVisible(), this.emit("hide");
|
|
56
57
|
}
|
|
57
58
|
enable() {
|
|
58
|
-
|
|
59
|
-
const
|
|
60
|
-
this.fiveDomEvents.addEventListener(this.model, "click",
|
|
59
|
+
n(this.group, this.model), this.five.needsRender = !0, this.model.updateMatrixWorld(!0), this.tag.setTransformMatrix(this.model.matrixWorld), this.tag.enable();
|
|
60
|
+
const i = this.onClick.bind(this);
|
|
61
|
+
this.fiveDomEvents.addEventListener(this.model, "click", i), this.disposers.push(() => {
|
|
61
62
|
this.fiveDomEvents.removeEventListener(this.model, "click");
|
|
62
|
-
}), this.emit("enable");
|
|
63
|
+
}), this.updateVisible(), this.emit("enable");
|
|
63
64
|
}
|
|
64
65
|
disable() {
|
|
65
|
-
this.group.remove(this.model), this.five.needsRender = !0, this.tag.disable(), this.disposers.forEach((
|
|
66
|
+
this.group.remove(this.model), this.five.needsRender = !0, this.tag.disable(), this.disposers.forEach((i) => i()), this.disposers = [], this.emit("disable");
|
|
67
|
+
}
|
|
68
|
+
updateVisible() {
|
|
69
|
+
!this.visibles.some((o) => o === !1) ? (this.tag.show(), this.model.visible = !0) : (this.tag.hide(), this.model.visible = !1), this.five.needsRender = !0;
|
|
66
70
|
}
|
|
67
71
|
onClick() {
|
|
68
72
|
return this.emit("click", this);
|
|
69
73
|
}
|
|
70
74
|
}
|
|
71
75
|
export {
|
|
72
|
-
|
|
76
|
+
N as ModelMakerBaseItem
|
|
73
77
|
};
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class ModelMakerBoxItem extends
|
|
3
|
-
constructor(...args: ConstructorParameters<typeof
|
|
1
|
+
import { ModelMakerBaseItem } from './baseItem';
|
|
2
|
+
export declare class ModelMakerBoxItem extends ModelMakerBaseItem {
|
|
3
|
+
constructor(...args: ConstructorParameters<typeof ModelMakerBaseItem>);
|
|
4
|
+
enable(): void;
|
|
5
|
+
disable(): void;
|
|
6
|
+
show(): void;
|
|
7
|
+
protected onClick(): boolean;
|
|
8
|
+
private hideTag;
|
|
9
|
+
updateVisible(): void;
|
|
4
10
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
var r = Object.defineProperty;
|
|
2
|
+
var h = (t, i, e) => i in t ? r(t, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[i] = e;
|
|
3
|
+
var s = (t, i, e) => (h(t, typeof i != "symbol" ? i + "" : i, e), e);
|
|
4
|
+
import { ModelMakerBaseItem as p } from "./baseItem.js";
|
|
3
5
|
import "three";
|
|
4
6
|
import "../../shared-utils/three/addIfNotExists.js";
|
|
5
7
|
import "../../shared-utils/Subscribe.js";
|
|
@@ -22,11 +24,30 @@ import "../utils/getFiveDomEvent.js";
|
|
|
22
24
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
23
25
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
24
26
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
25
|
-
class
|
|
26
|
-
constructor(...
|
|
27
|
-
super(...
|
|
27
|
+
class z extends p {
|
|
28
|
+
constructor(...e) {
|
|
29
|
+
super(...e);
|
|
30
|
+
s(this, "hideTag", () => {
|
|
31
|
+
this.tag.hide();
|
|
32
|
+
});
|
|
33
|
+
this.enable(), this.tag.hide(), this.updateVisible();
|
|
34
|
+
}
|
|
35
|
+
enable() {
|
|
36
|
+
super.enable(), this.five.on("mode.change.request", this.hideTag), this.five.on("pano.request", this.hideTag);
|
|
37
|
+
}
|
|
38
|
+
disable() {
|
|
39
|
+
super.disable(), this.five.off("mode.change.request", this.hideTag), this.five.off("pano.request", this.hideTag);
|
|
40
|
+
}
|
|
41
|
+
show() {
|
|
42
|
+
super.show(), this.tag.hide();
|
|
43
|
+
}
|
|
44
|
+
onClick() {
|
|
45
|
+
return this.tag.visible ? this.tag.hide() : this.tag.show({ force: !0 }), super.onClick(), !0;
|
|
46
|
+
}
|
|
47
|
+
updateVisible() {
|
|
48
|
+
!this.visibles.some((o) => o === !1) ? this.model.visible = !0 : (this.tag.hide(), this.model.visible = !1), this.five.needsRender = !0;
|
|
28
49
|
}
|
|
29
50
|
}
|
|
30
51
|
export {
|
|
31
|
-
|
|
52
|
+
z as ModelMakerBoxItem
|
|
32
53
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class ModelMakerPolygonItem extends
|
|
3
|
-
constructor(...args: ConstructorParameters<typeof
|
|
4
|
-
enable(): void;
|
|
5
|
-
disable(): void;
|
|
1
|
+
import { ModelMakerBoxItem } from './boxItem';
|
|
2
|
+
export declare class ModelMakerPolygonItem extends ModelMakerBoxItem {
|
|
3
|
+
constructor(...args: ConstructorParameters<typeof ModelMakerBoxItem>);
|
|
6
4
|
show(): void;
|
|
7
|
-
|
|
8
|
-
private
|
|
5
|
+
private onPanoArrived;
|
|
6
|
+
private onModeChange;
|
|
7
|
+
private updatePanoIndex;
|
|
8
|
+
private updateMode;
|
|
9
9
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
var r = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import {
|
|
2
|
+
var a = (o, i, t) => i in o ? r(o, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[i] = t;
|
|
3
|
+
var e = (o, i, t) => (a(o, typeof i != "symbol" ? i + "" : i, t), t);
|
|
4
|
+
import { ModelMakerBoxItem as d } from "./boxItem.js";
|
|
5
|
+
import "./baseItem.js";
|
|
5
6
|
import "three";
|
|
6
7
|
import "../../shared-utils/three/addIfNotExists.js";
|
|
7
8
|
import "../../shared-utils/Subscribe.js";
|
|
@@ -24,27 +25,30 @@ import "../utils/getFiveDomEvent.js";
|
|
|
24
25
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
25
26
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
26
27
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
27
|
-
class
|
|
28
|
-
constructor(...
|
|
29
|
-
super(...
|
|
30
|
-
|
|
31
|
-
this.
|
|
28
|
+
class z extends d {
|
|
29
|
+
constructor(...t) {
|
|
30
|
+
super(...t);
|
|
31
|
+
e(this, "onPanoArrived", (t) => {
|
|
32
|
+
this.updatePanoIndex(t), this.updateVisible();
|
|
33
|
+
});
|
|
34
|
+
e(this, "onModeChange", (t) => {
|
|
35
|
+
this.updateMode(t), this.updateVisible();
|
|
36
|
+
});
|
|
37
|
+
e(this, "updatePanoIndex", (t) => {
|
|
38
|
+
var s, p;
|
|
39
|
+
this.visibles[1] = ((p = (s = this.rawData) == null ? void 0 : s.object_data) == null ? void 0 : p.panoIndex) === t;
|
|
40
|
+
});
|
|
41
|
+
e(this, "updateMode", (t) => {
|
|
42
|
+
this.visibles[2] = t === "Panorama";
|
|
43
|
+
});
|
|
44
|
+
this.updatePanoIndex(this.five.state.panoIndex), this.updateMode(this.five.state.mode), this.updateVisible(), this.five.on("panoArrived", this.onPanoArrived), this.five.on("modeChange", this.onModeChange), this.disposers.push(() => {
|
|
45
|
+
this.five.off("panoArrived", this.onPanoArrived), this.five.off("modeChange", this.onModeChange);
|
|
32
46
|
});
|
|
33
|
-
this.enable(), this.tag.hide();
|
|
34
|
-
}
|
|
35
|
-
enable() {
|
|
36
|
-
super.enable(), this.five.on("mode.change.request", this.hideTag), this.five.on("pano.request", this.hideTag);
|
|
37
|
-
}
|
|
38
|
-
disable() {
|
|
39
|
-
super.disable(), this.five.off("mode.change.request", this.hideTag), this.five.off("pano.request", this.hideTag);
|
|
40
47
|
}
|
|
41
48
|
show() {
|
|
42
|
-
this.
|
|
43
|
-
}
|
|
44
|
-
onClick() {
|
|
45
|
-
return this.tag.visible ? this.tag.hide() : this.tag.show({ force: !0 }), super.onClick(), !0;
|
|
49
|
+
this.updatePanoIndex(this.five.state.panoIndex), this.updateMode(this.five.state.mode), super.show();
|
|
46
50
|
}
|
|
47
51
|
}
|
|
48
52
|
export {
|
|
49
|
-
|
|
53
|
+
z as ModelMakerPolygonItem
|
|
50
54
|
};
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { ModelMakerBaseItem } from './baseItem';
|
|
2
2
|
export declare class ModelMakerPrismItem extends ModelMakerBaseItem {
|
|
3
|
-
private _visible;
|
|
4
|
-
private _visibleByFloor;
|
|
5
3
|
constructor(...args: ConstructorParameters<typeof ModelMakerBaseItem>);
|
|
6
4
|
onModelShownFloorChange: (fiveCurrentfloor: number | null) => void;
|
|
7
5
|
show(): void;
|
|
8
6
|
hide(): void;
|
|
9
7
|
private updateFiveCurrentFloorState;
|
|
10
|
-
private updateVisible;
|
|
11
8
|
}
|