@realsee/dnalogel 3.67.10 → 3.67.11-alpha.1
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 +4 -0
- package/dist/index.cjs.js +26 -26
- package/dist/index.js +260 -257
- package/dist/index.umd.js +26 -26
- package/dist/shared-utils/three/Magnifier.d.ts +2 -0
- package/dist/shared-utils/three/PointSelector/index.d.ts +5 -0
- package/dist/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +1 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- 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 +2 -2
- package/docs/classes/PanoTagPluginController.html +2 -2
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LegacyPointHelper.html +2 -2
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +8 -8
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointDomHelper.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +12 -12
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- 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 +2 -2
- package/docs/enums/Rotation.html +2 -2
- 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/MeasurePlugin.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/SculptPluginForFive.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.getIntersectFromRelativePosition.html +1 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- 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 +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.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.BoxItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
- 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 +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- 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 +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- 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 +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/SculptConfig.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +2 -2
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagState.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- 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 +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +6 -4
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +8 -8
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +3 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- 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/SculptType.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/GuideLinePluginType.RouteConfig.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/MeasurePluginConfig.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 +2 -2
- package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
- package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
- 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/SculptType.Theme.html +2 -2
- 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/TagPlacement.html +2 -2
- 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.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- 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/MeasurePlugin/Controller.js +21 -21
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/Magnifier.d.ts +2 -0
- package/libs/shared-utils/three/Magnifier.js +17 -15
- package/libs/shared-utils/three/PointSelector/index.d.ts +5 -0
- package/libs/shared-utils/three/PointSelector/index.js +38 -37
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +1 -0
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +41 -31
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ var oa = Math.pow, Vl = (n, t, e) => t in n ? Iv(n, t, { enumerable: !0, configu
|
|
|
9
9
|
for (var e of sa(t))
|
|
10
10
|
Du.call(t, e) && Vl(n, e, t[e]);
|
|
11
11
|
return n;
|
|
12
|
-
},
|
|
12
|
+
}, le = (n, t) => Ev(n, Mv(t));
|
|
13
13
|
var Hn = (n, t) => {
|
|
14
14
|
var e = {};
|
|
15
15
|
for (var i in n)
|
|
@@ -43,7 +43,7 @@ import { LineGeometry as lA, LineMaterial as cA, THREE_Line2 as hA, Line as uA }
|
|
|
43
43
|
import { GLTFLoader as dA } from "@realsee/five/gltf-loader";
|
|
44
44
|
function fA() {
|
|
45
45
|
console.debug(
|
|
46
|
-
"%c %c@realsee/dnalogel %cv3.67.
|
|
46
|
+
"%c %c@realsee/dnalogel %cv3.67.11-alpha.1",
|
|
47
47
|
[
|
|
48
48
|
"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=')",
|
|
49
49
|
"background-repeat: no-repeat",
|
|
@@ -1751,7 +1751,7 @@ var ki = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1751
1751
|
var G = O.ownerDocument || O;
|
|
1752
1752
|
return G.defaultView || G.parentWindow || t;
|
|
1753
1753
|
}
|
|
1754
|
-
var q = /mobile|tablet|ip(ad|hone|od)|android/i, ee = "ontouchstart" in t, K = S(t, "PointerEvent") !== s, se = ee && q.test(navigator.userAgent), ne = "touch",
|
|
1754
|
+
var q = /mobile|tablet|ip(ad|hone|od)|android/i, ee = "ontouchstart" in t, K = S(t, "PointerEvent") !== s, se = ee && q.test(navigator.userAgent), ne = "touch", ce = "pen", Oe = "mouse", Ae = "kinect", ze = 25, me = 1, he = 2, Te = 4, $ = 8, De = 1, Re = 2, be = 4, Ve = 8, ue = 16, Ce = Re | be, Le = Ve | ue, Xe = Ce | Le, Ye = ["x", "y"], at = ["clientX", "clientY"];
|
|
1755
1755
|
function Je(O, G) {
|
|
1756
1756
|
var Z = this;
|
|
1757
1757
|
this.manager = O, this.callback = G, this.element = O.element, this.target = O.options.inputTarget, this.domHandler = function(ie) {
|
|
@@ -1870,7 +1870,7 @@ var ki = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1870
1870
|
}
|
|
1871
1871
|
var kn = {
|
|
1872
1872
|
mousedown: me,
|
|
1873
|
-
mousemove:
|
|
1873
|
+
mousemove: he,
|
|
1874
1874
|
mouseup: Te
|
|
1875
1875
|
}, Gs = "mousedown", xn = "mousemove mouseup";
|
|
1876
1876
|
function Ci() {
|
|
@@ -1883,7 +1883,7 @@ var ki = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1883
1883
|
*/
|
|
1884
1884
|
handler: function(G) {
|
|
1885
1885
|
var Z = kn[G.type];
|
|
1886
|
-
Z & me && G.button === 0 && (this.pressed = !0), Z &
|
|
1886
|
+
Z & me && G.button === 0 && (this.pressed = !0), Z & he && G.which !== 1 && (Z = Te), this.pressed && (Z & Te && (this.pressed = !1), this.callback(this.manager, Z, {
|
|
1887
1887
|
pointers: [G],
|
|
1888
1888
|
changedPointers: [G],
|
|
1889
1889
|
pointerType: Oe,
|
|
@@ -1893,13 +1893,13 @@ var ki = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1893
1893
|
});
|
|
1894
1894
|
var gi = {
|
|
1895
1895
|
pointerdown: me,
|
|
1896
|
-
pointermove:
|
|
1896
|
+
pointermove: he,
|
|
1897
1897
|
pointerup: Te,
|
|
1898
1898
|
pointercancel: $,
|
|
1899
1899
|
pointerout: $
|
|
1900
1900
|
}, Sn = {
|
|
1901
1901
|
2: ne,
|
|
1902
|
-
3:
|
|
1902
|
+
3: ce,
|
|
1903
1903
|
4: Oe,
|
|
1904
1904
|
5: Ae
|
|
1905
1905
|
// see https://twitter.com/jacobrossi/status/480596438489890816
|
|
@@ -1925,7 +1925,7 @@ var ki = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1925
1925
|
});
|
|
1926
1926
|
var sn = {
|
|
1927
1927
|
touchstart: me,
|
|
1928
|
-
touchmove:
|
|
1928
|
+
touchmove: he,
|
|
1929
1929
|
touchend: Te,
|
|
1930
1930
|
touchcancel: $
|
|
1931
1931
|
}, fs = "touchstart", ps = "touchstart touchmove touchend touchcancel";
|
|
@@ -1952,7 +1952,7 @@ var ki = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1952
1952
|
}
|
|
1953
1953
|
var Ws = {
|
|
1954
1954
|
touchstart: me,
|
|
1955
|
-
touchmove:
|
|
1955
|
+
touchmove: he,
|
|
1956
1956
|
touchend: Te,
|
|
1957
1957
|
touchcancel: $
|
|
1958
1958
|
}, Li = "touchstart touchmove touchend touchcancel";
|
|
@@ -1972,7 +1972,7 @@ var ki = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
1972
1972
|
});
|
|
1973
1973
|
function Uo(O, G) {
|
|
1974
1974
|
var Z = I(O.touches), ie = this.targetIds;
|
|
1975
|
-
if (G & (me |
|
|
1975
|
+
if (G & (me | he) && Z.length === 1)
|
|
1976
1976
|
return ie[Z[0].identifier] = !0, [Z, Z];
|
|
1977
1977
|
var ve, Se, Qe = I(O.changedTouches), bt = [], Pt = this.target;
|
|
1978
1978
|
if (Se = Z.filter(function(xt) {
|
|
@@ -2748,7 +2748,7 @@ var ki = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
2748
2748
|
}
|
|
2749
2749
|
g(mi, {
|
|
2750
2750
|
INPUT_START: me,
|
|
2751
|
-
INPUT_MOVE:
|
|
2751
|
+
INPUT_MOVE: he,
|
|
2752
2752
|
INPUT_END: Te,
|
|
2753
2753
|
INPUT_CANCEL: $,
|
|
2754
2754
|
STATE_POSSIBLE: On,
|
|
@@ -2839,7 +2839,8 @@ class mh {
|
|
|
2839
2839
|
this.five = t, this.scale = (s = e == null ? void 0 : e.scale) != null ? s : 2, this.width = (o = e == null ? void 0 : e.width) != null ? o : 190, this.height = (a = (r = e == null ? void 0 : e.height) != null ? r : e == null ? void 0 : e.width) != null ? a : 190, this.config = {
|
|
2840
2840
|
dragEnabled: (e == null ? void 0 : e.dragEnabled) || !1,
|
|
2841
2841
|
autoFixPCPosition: (e == null ? void 0 : e.autoFixPCPosition) || !1,
|
|
2842
|
-
initialPosition: (e == null ? void 0 : e.initialPosition) || { left: "0", top: "0" }
|
|
2842
|
+
initialPosition: (e == null ? void 0 : e.initialPosition) || { left: "0", top: "0" },
|
|
2843
|
+
skipPanorama: (e == null ? void 0 : e.skipPanorama) || !1
|
|
2843
2844
|
};
|
|
2844
2845
|
const i = this.canvas.getContext("2d");
|
|
2845
2846
|
if (!i)
|
|
@@ -2907,13 +2908,14 @@ class mh {
|
|
|
2907
2908
|
m.disableGetPixel === !0 && (f.set(m, m.visible), m.visible = !1);
|
|
2908
2909
|
});
|
|
2909
2910
|
try {
|
|
2910
|
-
const m = this.five.getPixels(
|
|
2911
|
-
r - c / 2,
|
|
2912
|
-
a - c / 2,
|
|
2913
|
-
c,
|
|
2914
|
-
h,
|
|
2915
|
-
u
|
|
2916
|
-
|
|
2911
|
+
const m = this.five.getPixels({
|
|
2912
|
+
x: r - c / 2,
|
|
2913
|
+
y: a - c / 2,
|
|
2914
|
+
width: c,
|
|
2915
|
+
height: h,
|
|
2916
|
+
pixelRatio: u,
|
|
2917
|
+
skipPanorama: this.config.skipPanorama
|
|
2918
|
+
});
|
|
2917
2919
|
f.forEach((A, w) => {
|
|
2918
2920
|
w.visible = A;
|
|
2919
2921
|
});
|
|
@@ -3869,7 +3871,7 @@ class wi extends fi {
|
|
|
3869
3871
|
opacity: (l = e == null ? void 0 : e.lineOpacity) != null ? l : 1,
|
|
3870
3872
|
depthWrite: !1,
|
|
3871
3873
|
transparent: !0
|
|
3872
|
-
}, s = new YA(
|
|
3874
|
+
}, s = new YA(le(H({}, i), { dashed: !1, depthTest: !0 })), o = new ZA(le(H({}, i), { dashed: !0, depthTest: !1 }));
|
|
3873
3875
|
if (this.line1 = new Gu(this.geometry, s), this.line2 = new Gu(this.geometry, o), this.line1.renderOrder = 2, this.line2.renderOrder = 2, this.line1.name = "line1", this.line2.name = "line2", this.add(this.line1), this.five) {
|
|
3874
3876
|
const h = (c = this.five.renderer) == null ? void 0 : c.getSize(new P.Vector2());
|
|
3875
3877
|
h && this.setResolution(h.width, h.height), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("cameraFovUpdate", this.onCameraUpdate), this.five.on("panoArrived", this.onPanoArrived);
|
|
@@ -4115,7 +4117,7 @@ function ib() {
|
|
|
4115
4117
|
lineColor: 3407837,
|
|
4116
4118
|
lineOpacity: 0.7,
|
|
4117
4119
|
occlusionVisibility: !0
|
|
4118
|
-
}, i = new wi(
|
|
4120
|
+
}, i = new wi(le(H({ points: [{ x: -0.5 }, { x: 0.5 }] }, e), { lineColor: 3407837 })), s = new wi(le(H({ points: [{ y: -0.5 }, { y: 0.5 }] }, e), { lineColor: 3407837 }));
|
|
4119
4121
|
return t.add(i, s), t;
|
|
4120
4122
|
}
|
|
4121
4123
|
function nb(n) {
|
|
@@ -4216,7 +4218,7 @@ class xm {
|
|
|
4216
4218
|
d(this, "abortUpdateMagnifier", () => {
|
|
4217
4219
|
});
|
|
4218
4220
|
var s, o, r, a, l;
|
|
4219
|
-
this.five = t, this.magnifier = (e == null ? void 0 : e.magnifier) !== void 0 ? e.magnifier : new mh(t, (s = e == null ? void 0 : e.
|
|
4221
|
+
this.five = t, this.magnifier = (e == null ? void 0 : e.magnifier) !== void 0 ? e.magnifier : new mh(t, le(H({ dragEnabled: !0 }, e == null ? void 0 : e.magnifierParams), { skipPanorama: (s = e == null ? void 0 : e.skipPanorama) != null ? s : !1 }));
|
|
4220
4222
|
let i = null;
|
|
4221
4223
|
(e == null ? void 0 : e.pointHelper) === "default" || (e == null ? void 0 : e.pointHelper) === void 0 ? i = new Rm(t) : (e == null ? void 0 : e.pointHelper) === "highlight" ? i = new ab(t) : (e == null ? void 0 : e.pointHelper) === null ? i = null : i = e.pointHelper, this.pointHelper = i, this.group.name = "five-point-selector", this.five.scene.add(this.group), (l = this.magnifier) == null || l.appendTo((a = (r = e.container) != null ? r : (o = t.getElement()) == null ? void 0 : o.parentElement) != null ? a : document.body);
|
|
4222
4224
|
}
|
|
@@ -4258,7 +4260,7 @@ function Dm(n, t = 3) {
|
|
|
4258
4260
|
function cb(n, t) {
|
|
4259
4261
|
const s = bi(n).intersectRaycaster(t)[0];
|
|
4260
4262
|
if (s)
|
|
4261
|
-
return
|
|
4263
|
+
return le(H({}, s), { raycaster: t, isVirtual: !1 });
|
|
4262
4264
|
}
|
|
4263
4265
|
const Wu = `url("data:image/svg+xml,%3Csvg width='12px' height='12px' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M6,12 C9.3137085,12 12,9.3137085 12,6 C12,2.6862915 9.3137085,0 6,0 C2.6862915,0 0,2.6862915 0,6 C0,9.3137085 2.6862915,12 6,12 Z' fill='%23FF5959'%3E%3C/path%3E%3Cg transform='translate(2, 2)' stroke='%23FFFFFF'%3E%3Ccircle cx='4' cy='4' r='4'%3E%3C/circle%3E%3Cline x1='1.07141075' y1='1.23997894' x2='6.64700843' y2='6.81557662'%3E%3C/line%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 6 6, auto`, hb = new P.Vector3();
|
|
4264
4266
|
function Jn(n) {
|
|
@@ -4274,7 +4276,7 @@ function Jn(n) {
|
|
|
4274
4276
|
const Uu = new P.Vector3(), to = () => !1;
|
|
4275
4277
|
class dl extends Ct {
|
|
4276
4278
|
constructor(e, i) {
|
|
4277
|
-
var r, a, l, c;
|
|
4279
|
+
var r, a, l, c, h;
|
|
4278
4280
|
super();
|
|
4279
4281
|
d(this, "_cursorError", !1);
|
|
4280
4282
|
d(this, "actionIfNoIntersection", "virtualPoint");
|
|
@@ -4435,7 +4437,7 @@ class dl extends Ct {
|
|
|
4435
4437
|
const i = lb(this.five, e);
|
|
4436
4438
|
let s = Nr(this.five, i);
|
|
4437
4439
|
if (s) {
|
|
4438
|
-
if (this.plane && this.planeMode === "vertical" && (s =
|
|
4440
|
+
if (this.plane && this.planeMode === "vertical" && (s = le(H({}, s), {
|
|
4439
4441
|
point: this.plane.projectPoint(s.point, new P.Vector3()),
|
|
4440
4442
|
face: new P.Face3(0, 0, 0, this.plane.normal.clone()),
|
|
4441
4443
|
originalPoint: s.point.clone()
|
|
@@ -4586,8 +4588,9 @@ class dl extends Ct {
|
|
|
4586
4588
|
autoFixPCPosition: this.mode === "cursor",
|
|
4587
4589
|
initialPosition: this.mode === "fixed" ? { left: "35%", top: "20%" } : void 0
|
|
4588
4590
|
};
|
|
4589
|
-
this.pointSelectorHelper = new xm(this.five,
|
|
4590
|
-
magnifierParams: H(H({}, o), (c = i == null ? void 0 : i.helper) == null ? void 0 : c.magnifierParams)
|
|
4591
|
+
this.pointSelectorHelper = new xm(this.five, le(H({}, i == null ? void 0 : i.helper), {
|
|
4592
|
+
magnifierParams: H(H({}, o), (c = i == null ? void 0 : i.helper) == null ? void 0 : c.magnifierParams),
|
|
4593
|
+
skipPanorama: (h = i == null ? void 0 : i.skipPanorama) != null ? h : !1
|
|
4591
4594
|
})), this.pointSelectorHelper.hide();
|
|
4592
4595
|
}
|
|
4593
4596
|
get position() {
|
|
@@ -5755,9 +5758,9 @@ function ut(n) {
|
|
|
5755
5758
|
R = T[0];
|
|
5756
5759
|
else {
|
|
5757
5760
|
R = E[0];
|
|
5758
|
-
for (var
|
|
5759
|
-
E[
|
|
5760
|
-
var Oe = E[
|
|
5761
|
+
for (var ce = 0; ce < ne; ce++) {
|
|
5762
|
+
E[ce];
|
|
5763
|
+
var Oe = E[ce + 1], Ae = T[ce];
|
|
5761
5764
|
isNaN(Ae) || (Oe ? R += Ae + Oe : R += Ae + " ");
|
|
5762
5765
|
}
|
|
5763
5766
|
}
|
|
@@ -5972,7 +5975,7 @@ function ey(n, t) {
|
|
|
5972
5975
|
a.setFromCamera({ x: o, y: r }, n.camera);
|
|
5973
5976
|
const c = e.intersectRaycaster(a)[0];
|
|
5974
5977
|
if (c)
|
|
5975
|
-
return
|
|
5978
|
+
return le(H({}, c), { raycaster: a, isVirtual: !1 });
|
|
5976
5979
|
}
|
|
5977
5980
|
function ty(n, t) {
|
|
5978
5981
|
const e = n.getElement();
|
|
@@ -6187,7 +6190,7 @@ class Mr {
|
|
|
6187
6190
|
s && (e ? s.add(i) : s.remove(i));
|
|
6188
6191
|
});
|
|
6189
6192
|
d(this, "createObject", (t, e) => {
|
|
6190
|
-
const i = new Om(
|
|
6193
|
+
const i = new Om(le(H({ cornerPoints: t }, e), { style: e.wrapperStyle }));
|
|
6191
6194
|
return i.element.classList.add(`${zc}__container`), i.element.id = `${zc}__container--${i.uuid}`, i;
|
|
6192
6195
|
});
|
|
6193
6196
|
t && this.setScene(t);
|
|
@@ -6391,7 +6394,7 @@ let hy = class extends Mr {
|
|
|
6391
6394
|
return Object.assign(h, i, (i == null ? void 0 : i.mode) === "behind" ? { scene: this.five.scene } : void 0);
|
|
6392
6395
|
})(), { autoRender: o } = s;
|
|
6393
6396
|
s.mode === "behind" && s.behindFiveContainer && (this.behindFiveContainer = s.behindFiveContainer);
|
|
6394
|
-
const r = this.create3DElement(this.five.camera, e,
|
|
6397
|
+
const r = this.create3DElement(this.five.camera, e, le(H({}, s), { autoRender: !1 }));
|
|
6395
6398
|
if (!r)
|
|
6396
6399
|
return;
|
|
6397
6400
|
const a = r.dispose;
|
|
@@ -6405,7 +6408,7 @@ let hy = class extends Mr {
|
|
|
6405
6408
|
}, c = () => {
|
|
6406
6409
|
yi(this.five).then(() => l());
|
|
6407
6410
|
};
|
|
6408
|
-
return o && c(),
|
|
6411
|
+
return o && c(), le(H({}, r), { render: o ? void 0 : c });
|
|
6409
6412
|
});
|
|
6410
6413
|
this.five = e;
|
|
6411
6414
|
}
|
|
@@ -6750,7 +6753,7 @@ class Mo {
|
|
|
6750
6753
|
if (!r)
|
|
6751
6754
|
return !1;
|
|
6752
6755
|
const D = r.slice(1);
|
|
6753
|
-
return D[0] ? this.notify(
|
|
6756
|
+
return D[0] ? this.notify(le(H({}, t), { object: D[0].object, intersects: D })) : !1;
|
|
6754
6757
|
};
|
|
6755
6758
|
let f = i;
|
|
6756
6759
|
for (h.push(f); f.parent; )
|
|
@@ -8581,7 +8584,7 @@ function mw(n, t, e) {
|
|
|
8581
8584
|
}
|
|
8582
8585
|
return o.map((z) => {
|
|
8583
8586
|
const B = u(z), b = B ? f(z, k) : z.transform, C = D(z), E = o.filter((S) => S.visible && D(S) < C).length * 10;
|
|
8584
|
-
return
|
|
8587
|
+
return le(H({}, z), { visible: B, transform: b, zIndex: E });
|
|
8585
8588
|
});
|
|
8586
8589
|
}
|
|
8587
8590
|
function p() {
|
|
@@ -9534,10 +9537,10 @@ function Uw(n, t) {
|
|
|
9534
9537
|
}
|
|
9535
9538
|
function Qw(n, t, e) {
|
|
9536
9539
|
let i, s, o, r, a, l, c, h, u, f, m, p, g, v, A, w, { pxmm: M } = t, { roomAreaEnable: k } = t, { roomNameEnable: L } = t, { roomNameOtherTypeEnable: D } = t, { roomDimensionEnable: N } = t, { room: z } = t, { hoveredRoom: B } = t, { getRoomAreaText: b } = t, { getRoomDimensionText: C } = t, { getLabelElement: I } = t, { adaptiveRoomLabelVisibleEnable: E } = t, { fontSize: S } = t;
|
|
9537
|
-
function T(
|
|
9540
|
+
function T(he, Te) {
|
|
9538
9541
|
if (Te.width === 0 || Te.height === 0)
|
|
9539
9542
|
return () => !1;
|
|
9540
|
-
const $ =
|
|
9543
|
+
const $ = he.path.map(({ x: Xe, y: Ye }) => [Xe, Ye]), De = he.roomLabel.position, { x: Re, y: be } = De, { width: Ve, height: ue } = Te, Ce = Ve / 2, Le = ue / 2;
|
|
9541
9544
|
return function(Ye) {
|
|
9542
9545
|
const at = Re * Ye, Je = be * Ye, Ke = $.map(([ot, Lt]) => [ot * Ye, Lt * Ye]);
|
|
9543
9546
|
return [
|
|
@@ -9549,28 +9552,28 @@ function Qw(n, t, e) {
|
|
|
9549
9552
|
};
|
|
9550
9553
|
}
|
|
9551
9554
|
const F = z.roomLabel, R = F.positionInImage.x * 100 + "%", q = F.positionInImage.y * 100 + "%";
|
|
9552
|
-
let ee = 0, K = 0, se = 0, ne = 0,
|
|
9555
|
+
let ee = 0, K = 0, se = 0, ne = 0, ce = !1;
|
|
9553
9556
|
B.subscribe(function(Te) {
|
|
9554
|
-
e(27,
|
|
9557
|
+
e(27, ce = !!Te && Te.id === z.id);
|
|
9555
9558
|
});
|
|
9556
|
-
const Oe = (
|
|
9557
|
-
e(8, se =
|
|
9558
|
-
}, Ae = (
|
|
9559
|
-
e(9, ne =
|
|
9560
|
-
}, ze = (
|
|
9561
|
-
e(6, ee =
|
|
9562
|
-
}, me = (
|
|
9563
|
-
e(7, K =
|
|
9564
|
-
};
|
|
9565
|
-
return n.$$set = (
|
|
9566
|
-
"pxmm" in
|
|
9559
|
+
const Oe = (he) => {
|
|
9560
|
+
e(8, se = he.detail);
|
|
9561
|
+
}, Ae = (he) => {
|
|
9562
|
+
e(9, ne = he.detail);
|
|
9563
|
+
}, ze = (he) => {
|
|
9564
|
+
e(6, ee = he.detail);
|
|
9565
|
+
}, me = (he) => {
|
|
9566
|
+
e(7, K = he.detail);
|
|
9567
|
+
};
|
|
9568
|
+
return n.$$set = (he) => {
|
|
9569
|
+
"pxmm" in he && e(21, M = he.pxmm), "roomAreaEnable" in he && e(0, k = he.roomAreaEnable), "roomNameEnable" in he && e(1, L = he.roomNameEnable), "roomNameOtherTypeEnable" in he && e(2, D = he.roomNameOtherTypeEnable), "roomDimensionEnable" in he && e(3, N = he.roomDimensionEnable), "room" in he && e(4, z = he.room), "hoveredRoom" in he && e(22, B = he.hoveredRoom), "getRoomAreaText" in he && e(23, b = he.getRoomAreaText), "getRoomDimensionText" in he && e(24, C = he.getRoomDimensionText), "getLabelElement" in he && e(5, I = he.getLabelElement), "adaptiveRoomLabelVisibleEnable" in he && e(25, E = he.adaptiveRoomLabelVisibleEnable), "fontSize" in he && e(26, S = he.fontSize);
|
|
9567
9570
|
}, n.$$.update = () => {
|
|
9568
|
-
var
|
|
9571
|
+
var he, Te;
|
|
9569
9572
|
n.$$.dirty[0] & /*fontSize*/
|
|
9570
9573
|
67108864 && e(28, i = Pl[S]), n.$$.dirty[0] & /*getLabelElement, room*/
|
|
9571
9574
|
48 && e(18, s = I == null ? void 0 : I(z)), n.$$.dirty[0] & /*room, getRoomAreaText*/
|
|
9572
9575
|
8388624 && e(17, o = z.size ? b(z.size) : ""), n.$$.dirty[0] & /*room, getRoomDimensionText*/
|
|
9573
|
-
16777232 && e(16, r = z != null && z.dimension ? C((
|
|
9576
|
+
16777232 && e(16, r = z != null && z.dimension ? C((he = z.dimension) == null ? void 0 : he.width, (Te = z.dimension) == null ? void 0 : Te.height) : ""), n.$$.dirty[0] & /*clientWidth, clientHeight*/
|
|
9574
9577
|
768 && e(34, a = { width: se, height: ne }), n.$$.dirty[0] & /*room*/
|
|
9575
9578
|
16 | n.$$.dirty[1] & /*labelElementSize*/
|
|
9576
9579
|
8 && e(33, l = a ? T(z, a) : void 0), n.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, pxmm*/
|
|
@@ -9584,9 +9587,9 @@ function Qw(n, t, e) {
|
|
|
9584
9587
|
2 && e(31, u = h ? T(z, h) : void 0), n.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, pxmm*/
|
|
9585
9588
|
35651584 | n.$$.dirty[1] & /*isAllLabelInRoom*/
|
|
9586
9589
|
1 && e(29, f = E ? !!(u != null && u(M)) : !0), n.$$.dirty[0] & /*wrapperLabelVisible, mainLabelVisible, isHovered*/
|
|
9587
|
-
1744830464 && e(15, m = f || c ||
|
|
9588
|
-
1207959552 && e(14, p = c ||
|
|
9589
|
-
671088640 && e(13, g = f ||
|
|
9590
|
+
1744830464 && e(15, m = f || c || ce), n.$$.dirty[0] & /*mainLabelVisible, isHovered*/
|
|
9591
|
+
1207959552 && e(14, p = c || ce), n.$$.dirty[0] & /*wrapperLabelVisible, isHovered*/
|
|
9592
|
+
671088640 && e(13, g = f || ce), n.$$.dirty[0] & /*mainLabelVisible, wrapperLabelVisible*/
|
|
9590
9593
|
1610612736 && e(12, v = c && !f), n.$$.dirty[0] & /*fontConfig*/
|
|
9591
9594
|
268435456 && e(11, A = Yt((i == null ? void 0 : i.name) || 12)), n.$$.dirty[0] & /*fontConfig*/
|
|
9592
9595
|
268435456 && e(10, w = Yt((i == null ? void 0 : i.area) || 10));
|
|
@@ -9618,7 +9621,7 @@ function Qw(n, t, e) {
|
|
|
9618
9621
|
C,
|
|
9619
9622
|
E,
|
|
9620
9623
|
S,
|
|
9621
|
-
|
|
9624
|
+
ce,
|
|
9622
9625
|
i,
|
|
9623
9626
|
f,
|
|
9624
9627
|
c,
|
|
@@ -10918,7 +10921,7 @@ function M2(n, t, e) {
|
|
|
10918
10921
|
"roomLabelsEnable" in u && e(4, s = u.roomLabelsEnable), "roomDimensionEnable" in u && e(5, o = u.roomDimensionEnable), "floorIndex" in u && e(6, r = u.floorIndex), "floorplanData" in u && e(7, a = u.floorplanData);
|
|
10919
10922
|
}, n.$$.update = () => {
|
|
10920
10923
|
n.$$.dirty & /*floorplanData, floorIndex*/
|
|
10921
|
-
192 && e(0, i = a.floorDatas[r].rooms.map((u) =>
|
|
10924
|
+
192 && e(0, i = a.floorDatas[r].rooms.map((u) => le(H({}, u), {
|
|
10922
10925
|
path: u.path.map((f) => D0(f, a.bounding))
|
|
10923
10926
|
})));
|
|
10924
10927
|
}, [
|
|
@@ -12720,7 +12723,7 @@ let cs = class {
|
|
|
12720
12723
|
/**
|
|
12721
12724
|
* @realsee/dnalogel 版本号
|
|
12722
12725
|
*/
|
|
12723
|
-
d(this, "VERSION", "3.67.
|
|
12726
|
+
d(this, "VERSION", "3.67.11-alpha.1");
|
|
12724
12727
|
d(this, "NAME");
|
|
12725
12728
|
d(this, "five");
|
|
12726
12729
|
d(this, "workUtil");
|
|
@@ -13088,7 +13091,7 @@ let A3 = class extends Mn {
|
|
|
13088
13091
|
getRoomAreaText: (u) => (u / 1e6).toFixed(1) + "㎡",
|
|
13089
13092
|
getRoomDimensionText: (u, f) => (u / 1e3).toFixed(1) + "m × " + (f / 1e3).toFixed(1) + "m",
|
|
13090
13093
|
getRuleDistanceText: (u) => u.toString()
|
|
13091
|
-
}, o = i ? Do(i, ["selector", "scale"]) : {}, r = H(H({}, s.missingFloorConfig), o.missingFloorConfig), a =
|
|
13094
|
+
}, o = i ? Do(i, ["selector", "scale"]) : {}, r = H(H({}, s.missingFloorConfig), o.missingFloorConfig), a = le(H(H({}, s), o), { missingFloorConfig: r });
|
|
13092
13095
|
this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), e.once("dispose", this.dispose), this.addEventListener();
|
|
13093
13096
|
}
|
|
13094
13097
|
load(e, i, s = !0) {
|
|
@@ -13140,8 +13143,8 @@ let A3 = class extends Mn {
|
|
|
13140
13143
|
}
|
|
13141
13144
|
updateState(e, i) {
|
|
13142
13145
|
var a;
|
|
13143
|
-
const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? H(H({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ?
|
|
13144
|
-
this.state =
|
|
13146
|
+
const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? H(H({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? le(H(H({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
|
|
13147
|
+
this.state = le(H(H({}, this.state), e), { config: r }), !qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
|
|
13145
13148
|
}
|
|
13146
13149
|
/** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
|
|
13147
13150
|
*
|
|
@@ -13170,7 +13173,7 @@ let A3 = class extends Mn {
|
|
|
13170
13173
|
render(e) {
|
|
13171
13174
|
if (!this.state.enabled || !this.container || !this.data || this.size.width === 0 || this.showPromise)
|
|
13172
13175
|
return;
|
|
13173
|
-
const i =
|
|
13176
|
+
const i = le(H({}, this.state.config), {
|
|
13174
13177
|
visible: this.state.visible,
|
|
13175
13178
|
duration: e != null ? e : 0,
|
|
13176
13179
|
panoIndex: this.panoIndex,
|
|
@@ -16094,7 +16097,7 @@ let P3 = class extends Mn {
|
|
|
16094
16097
|
getRoomAreaText: (h) => (h / 1e6).toFixed(1) + "㎡",
|
|
16095
16098
|
getRoomDimensionText: (h, u) => (h / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
|
|
16096
16099
|
getRuleDistanceText: (h) => h.toString()
|
|
16097
|
-
}, o = i ? Do(i, ["selector", "scale"]) : {}, r = H(H({}, s.missingFloorConfig), o.missingFloorConfig), a =
|
|
16100
|
+
}, o = i ? Do(i, ["selector", "scale"]) : {}, r = H(H({}, s.missingFloorConfig), o.missingFloorConfig), a = le(H(H({}, s), o), { missingFloorConfig: r });
|
|
16098
16101
|
this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), yi(e).then(this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
|
|
16099
16102
|
}
|
|
16100
16103
|
load(e, i, s = !0) {
|
|
@@ -16173,8 +16176,8 @@ let P3 = class extends Mn {
|
|
|
16173
16176
|
}
|
|
16174
16177
|
updateState(e, i) {
|
|
16175
16178
|
var a;
|
|
16176
|
-
const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? H(H({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ?
|
|
16177
|
-
this.state =
|
|
16179
|
+
const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? H(H({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? le(H(H({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
|
|
16180
|
+
this.state = le(H(H({}, this.state), e), { config: r }), !qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
|
|
16178
16181
|
}
|
|
16179
16182
|
/** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
|
|
16180
16183
|
*
|
|
@@ -16203,7 +16206,7 @@ let P3 = class extends Mn {
|
|
|
16203
16206
|
render(e) {
|
|
16204
16207
|
if (!this.state.enabled || !this.container || !this.data || this.size.width === 0 || this.showPromise)
|
|
16205
16208
|
return;
|
|
16206
|
-
const i =
|
|
16209
|
+
const i = le(H({}, this.state.config), {
|
|
16207
16210
|
visible: this.state.visible,
|
|
16208
16211
|
duration: e != null ? e : 0,
|
|
16209
16212
|
panoIndex: this.panoIndex,
|
|
@@ -16345,7 +16348,7 @@ let C3 = class extends Mn {
|
|
|
16345
16348
|
getRoomAreaText: (h) => (h / 1e6).toFixed(1) + "㎡",
|
|
16346
16349
|
getRoomDimensionText: (h, u) => (h / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
|
|
16347
16350
|
getRuleDistanceText: (h) => h.toString()
|
|
16348
|
-
}, o = i ? Do(i, ["selector", "scale"]) : {}, r = H(H({}, s.missingFloorConfig), o.missingFloorConfig), a =
|
|
16351
|
+
}, o = i ? Do(i, ["selector", "scale"]) : {}, r = H(H({}, s.missingFloorConfig), o.missingFloorConfig), a = le(H(H({}, s), o), { missingFloorConfig: r });
|
|
16349
16352
|
this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), e.model.loaded ? this.onFiveModelLoaded() : e.once("modelLoaded", this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
|
|
16350
16353
|
}
|
|
16351
16354
|
load(e, i, s = !0) {
|
|
@@ -16448,8 +16451,8 @@ let C3 = class extends Mn {
|
|
|
16448
16451
|
}
|
|
16449
16452
|
updateState(e, i) {
|
|
16450
16453
|
var a;
|
|
16451
|
-
const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? H(H({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ?
|
|
16452
|
-
this.state =
|
|
16454
|
+
const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? H(H({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? le(H(H({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
|
|
16455
|
+
this.state = le(H(H({}, this.state), e), { config: r }), !qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
|
|
16453
16456
|
}
|
|
16454
16457
|
addEventListener() {
|
|
16455
16458
|
if (!this.state.enabled || this.hasAddedEventListener)
|
|
@@ -16479,7 +16482,7 @@ let C3 = class extends Mn {
|
|
|
16479
16482
|
render(e) {
|
|
16480
16483
|
if (!this.state.enabled || !this.container || !this.data || this.size.width === 0)
|
|
16481
16484
|
return;
|
|
16482
|
-
const i =
|
|
16485
|
+
const i = le(H({}, this.state.config), {
|
|
16483
16486
|
visible: this.state.visible,
|
|
16484
16487
|
duration: e != null ? e : 0,
|
|
16485
16488
|
panoIndex: this.panoIndex,
|
|
@@ -17385,7 +17388,7 @@ let G3 = class extends Mn {
|
|
|
17385
17388
|
}
|
|
17386
17389
|
updateState(e, i) {
|
|
17387
17390
|
const s = this.state, o = e.config ? H(H({}, s.config), e.config) : s.config;
|
|
17388
|
-
this.state =
|
|
17391
|
+
this.state = le(H(H({}, this.state), e), { config: o }), !qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
|
|
17389
17392
|
}
|
|
17390
17393
|
render() {
|
|
17391
17394
|
if (this.disposed || !this.state.enabled)
|
|
@@ -17396,7 +17399,7 @@ let G3 = class extends Mn {
|
|
|
17396
17399
|
}
|
|
17397
17400
|
if (!this.data || !this.wrapper)
|
|
17398
17401
|
return;
|
|
17399
|
-
const e =
|
|
17402
|
+
const e = le(H({}, this.state.config), {
|
|
17400
17403
|
five: this.five,
|
|
17401
17404
|
floorplanData: this.data,
|
|
17402
17405
|
visible: this.state.visible,
|
|
@@ -18637,8 +18640,8 @@ var H0 = function() {
|
|
|
18637
18640
|
if (F.materialIndex.forEach(function(Oe, Ae) {
|
|
18638
18641
|
Oe !== K && (S.addGroup(se, Ae - se, K), K = Oe, se = Ae);
|
|
18639
18642
|
}), S.groups.length > 0) {
|
|
18640
|
-
var ne = S.groups[S.groups.length - 1],
|
|
18641
|
-
|
|
18643
|
+
var ne = S.groups[S.groups.length - 1], ce = ne.start + ne.count;
|
|
18644
|
+
ce !== F.materialIndex.length && S.addGroup(ce, F.materialIndex.length - ce, K);
|
|
18642
18645
|
}
|
|
18643
18646
|
S.groups.length === 0 && S.addGroup(0, F.materialIndex.length, F.materialIndex[0]);
|
|
18644
18647
|
}
|
|
@@ -18670,12 +18673,12 @@ var H0 = function() {
|
|
|
18670
18673
|
vertexWeights: [],
|
|
18671
18674
|
weightsIndices: []
|
|
18672
18675
|
}, I = 0, E = 0, S = !1, T = [], F = [], R = [], q = [], ee = [], K = [], se = this;
|
|
18673
|
-
return b.vertexIndices.forEach(function(ne,
|
|
18676
|
+
return b.vertexIndices.forEach(function(ne, ce) {
|
|
18674
18677
|
var Oe = !1;
|
|
18675
18678
|
ne < 0 && (ne = ne ^ -1, Oe = !0);
|
|
18676
18679
|
var Ae = [], ze = [];
|
|
18677
18680
|
if (T.push(ne * 3, ne * 3 + 1, ne * 3 + 2), b.color) {
|
|
18678
|
-
var me = v(
|
|
18681
|
+
var me = v(ce, I, ne, b.color);
|
|
18679
18682
|
R.push(me[0], me[1], me[2]);
|
|
18680
18683
|
}
|
|
18681
18684
|
if (b.skeleton) {
|
|
@@ -18683,17 +18686,17 @@ var H0 = function() {
|
|
|
18683
18686
|
ze.push(Re.weight), Ae.push(Re.id);
|
|
18684
18687
|
}), ze.length > 4) {
|
|
18685
18688
|
S || (console.warn("THREE.FBXLoader: Vertex has more than 4 skinning weights assigned to vertex. Deleting additional weights."), S = !0);
|
|
18686
|
-
var
|
|
18689
|
+
var he = [0, 0, 0, 0], Te = [0, 0, 0, 0];
|
|
18687
18690
|
ze.forEach(function(Re, be) {
|
|
18688
18691
|
var Ve = Re, ue = Ae[be];
|
|
18689
18692
|
Te.forEach(function(Ce, Le, Xe) {
|
|
18690
18693
|
if (Ve > Ce) {
|
|
18691
18694
|
Xe[Le] = Ve, Ve = Ce;
|
|
18692
|
-
var Ye =
|
|
18693
|
-
|
|
18695
|
+
var Ye = he[Le];
|
|
18696
|
+
he[Le] = ue, ue = Ye;
|
|
18694
18697
|
}
|
|
18695
18698
|
});
|
|
18696
|
-
}), Ae =
|
|
18699
|
+
}), Ae = he, ze = Te;
|
|
18697
18700
|
}
|
|
18698
18701
|
for (; ze.length < 4; )
|
|
18699
18702
|
ze.push(0), Ae.push(0);
|
|
@@ -18701,13 +18704,13 @@ var H0 = function() {
|
|
|
18701
18704
|
ee.push(ze[$]), K.push(Ae[$]);
|
|
18702
18705
|
}
|
|
18703
18706
|
if (b.normal) {
|
|
18704
|
-
var me = v(
|
|
18707
|
+
var me = v(ce, I, ne, b.normal);
|
|
18705
18708
|
F.push(me[0], me[1], me[2]);
|
|
18706
18709
|
}
|
|
18707
18710
|
if (b.material && b.material.mappingType !== "AllSame")
|
|
18708
|
-
var De = v(
|
|
18711
|
+
var De = v(ce, I, ne, b.material)[0];
|
|
18709
18712
|
b.uv && b.uv.forEach(function(Re, be) {
|
|
18710
|
-
var Ve = v(
|
|
18713
|
+
var Ve = v(ce, I, ne, Re);
|
|
18711
18714
|
q[be] === void 0 && (q[be] = []), q[be].push(Ve[0]), q[be].push(Ve[1]);
|
|
18712
18715
|
}), E++, Oe && (se.genFace(
|
|
18713
18716
|
C,
|
|
@@ -18754,7 +18757,7 @@ var H0 = function() {
|
|
|
18754
18757
|
var ne = {
|
|
18755
18758
|
vertexIndices: T,
|
|
18756
18759
|
vertexPositions: ee
|
|
18757
|
-
},
|
|
18760
|
+
}, ce = this.genBuffers(ne), Oe = new eo(ce.vertex, 3);
|
|
18758
18761
|
Oe.name = S || I.attrName, Oe.applyMatrix4(E), b.morphAttributes.position.push(Oe);
|
|
18759
18762
|
},
|
|
18760
18763
|
// Parse normal from FBXTree.Objects.Geometry.LayerElementNormal if it exists
|
|
@@ -18834,8 +18837,8 @@ var H0 = function() {
|
|
|
18834
18837
|
se.forEach(function(Oe, Ae) {
|
|
18835
18838
|
Oe.toArray(ne, Ae * 3);
|
|
18836
18839
|
});
|
|
18837
|
-
var
|
|
18838
|
-
return
|
|
18840
|
+
var ce = new aa();
|
|
18841
|
+
return ce.setAttribute("position", new Qv(ne, 3)), ce;
|
|
18839
18842
|
}
|
|
18840
18843
|
};
|
|
18841
18844
|
function r() {
|
|
@@ -18933,11 +18936,11 @@ var H0 = function() {
|
|
|
18933
18936
|
S[q] && (S[q][ee.attr] = ee);
|
|
18934
18937
|
} else if (ee.curves.morph !== void 0) {
|
|
18935
18938
|
if (S[q] === void 0) {
|
|
18936
|
-
var
|
|
18939
|
+
var ce = t.get(R.ID).parents.filter(function(Te) {
|
|
18937
18940
|
return Te.relationship !== void 0;
|
|
18938
|
-
})[0].ID, Oe = t.get(
|
|
18941
|
+
})[0].ID, Oe = t.get(ce).parents[0].ID, Ae = t.get(Oe).parents[0].ID, K = t.get(Ae).parents[0].ID, se = n.Objects.Model[K], ne = {
|
|
18939
18942
|
modelName: se.attrName ? ra.sanitizeNodeName(se.attrName) : "",
|
|
18940
|
-
morphName: n.Objects.Deformer[
|
|
18943
|
+
morphName: n.Objects.Deformer[ce].attrName
|
|
18941
18944
|
};
|
|
18942
18945
|
S[q] = ne;
|
|
18943
18946
|
}
|
|
@@ -19054,9 +19057,9 @@ var H0 = function() {
|
|
|
19054
19057
|
for (var C = 1; C < b.values.length; C++) {
|
|
19055
19058
|
var I = b.values[C - 1], E = b.values[C] - I, S = Math.abs(E);
|
|
19056
19059
|
if (S >= 180) {
|
|
19057
|
-
for (var T = S / 180, F = E / T, R = I + F, q = b.times[C - 1], ee = b.times[C] - q, K = ee / T, se = q + K, ne = [],
|
|
19058
|
-
ne.push(se), se += K,
|
|
19059
|
-
b.times = B(b.times, C, ne), b.values = B(b.values, C,
|
|
19060
|
+
for (var T = S / 180, F = E / T, R = I + F, q = b.times[C - 1], ee = b.times[C] - q, K = ee / T, se = q + K, ne = [], ce = []; se < b.times[C]; )
|
|
19061
|
+
ne.push(se), se += K, ce.push(R), R += F;
|
|
19062
|
+
b.times = B(b.times, C, ne), b.values = B(b.values, C, ce);
|
|
19060
19063
|
}
|
|
19061
19064
|
}
|
|
19062
19065
|
}
|
|
@@ -19439,16 +19442,16 @@ var H0 = function() {
|
|
|
19439
19442
|
function M(b) {
|
|
19440
19443
|
var C = new nt(), I = new nt(), E = new nt(), S = new nt(), T = new nt(), F = new nt(), R = new nt(), q = new nt(), ee = new nt(), K = new nt(), se = new nt(), ne = b.inheritType ? b.inheritType : 0;
|
|
19441
19444
|
if (b.translation && C.setPosition(w.fromArray(b.translation)), b.preRotation) {
|
|
19442
|
-
var
|
|
19443
|
-
|
|
19445
|
+
var ce = b.preRotation.map(Yi.degToRad);
|
|
19446
|
+
ce.push(b.eulerOrder), I.makeRotationFromEuler(A.fromArray(ce));
|
|
19444
19447
|
}
|
|
19445
19448
|
if (b.rotation) {
|
|
19446
|
-
var
|
|
19447
|
-
|
|
19449
|
+
var ce = b.rotation.map(Yi.degToRad);
|
|
19450
|
+
ce.push(b.eulerOrder), E.makeRotationFromEuler(A.fromArray(ce));
|
|
19448
19451
|
}
|
|
19449
19452
|
if (b.postRotation) {
|
|
19450
|
-
var
|
|
19451
|
-
|
|
19453
|
+
var ce = b.postRotation.map(Yi.degToRad);
|
|
19454
|
+
ce.push(b.eulerOrder), S.makeRotationFromEuler(A.fromArray(ce));
|
|
19452
19455
|
}
|
|
19453
19456
|
b.scale && T.scale(w.fromArray(b.scale)), b.scalingOffset && R.setPosition(w.fromArray(b.scalingOffset)), b.scalingPivot && F.setPosition(w.fromArray(b.scalingPivot)), b.rotationOffset && q.setPosition(w.fromArray(b.rotationOffset)), b.rotationPivot && ee.setPosition(w.fromArray(b.rotationPivot)), b.parentMatrixWorld && (K = b.parentMatrixWorld);
|
|
19454
19457
|
var Oe = I.multiply(E).multiply(S), Ae = new nt();
|
|
@@ -19457,19 +19460,19 @@ var H0 = function() {
|
|
|
19457
19460
|
ze.copyPosition(K);
|
|
19458
19461
|
var me = new nt();
|
|
19459
19462
|
me.getInverse(Ae).multiply(K);
|
|
19460
|
-
var
|
|
19463
|
+
var he = new nt();
|
|
19461
19464
|
if (ne === 0)
|
|
19462
|
-
|
|
19465
|
+
he.copy(Ae).multiply(Oe).multiply(me).multiply(T);
|
|
19463
19466
|
else if (ne === 1)
|
|
19464
|
-
|
|
19467
|
+
he.copy(Ae).multiply(me).multiply(Oe).multiply(T);
|
|
19465
19468
|
else {
|
|
19466
19469
|
var Te = new nt().getInverse(T), $ = new nt().multiply(me).multiply(Te);
|
|
19467
|
-
|
|
19470
|
+
he.copy(Ae).multiply(Oe).multiply($).multiply(T);
|
|
19468
19471
|
}
|
|
19469
19472
|
var De = new nt().getInverse(ee), Re = new nt().getInverse(F), be = new nt();
|
|
19470
19473
|
be.copy(C).multiply(q).multiply(ee).multiply(I).multiply(E).multiply(S).multiply(De).multiply(R).multiply(F).multiply(T).multiply(Re);
|
|
19471
19474
|
var Ve = new nt().copyPosition(be), ue = new nt().copy(K).multiply(Ve);
|
|
19472
|
-
return se.copyPosition(ue), be = new nt().multiply(se).multiply(
|
|
19475
|
+
return se.copyPosition(ue), be = new nt().multiply(se).multiply(he), be;
|
|
19473
19476
|
}
|
|
19474
19477
|
function k(b) {
|
|
19475
19478
|
b = b || 0;
|
|
@@ -19923,8 +19926,8 @@ const i5 = `<style type="text/css">
|
|
|
19923
19926
|
x: se.x,
|
|
19924
19927
|
y: se.y,
|
|
19925
19928
|
z: se.z
|
|
19926
|
-
},
|
|
19927
|
-
I ?
|
|
19929
|
+
}, ce = n5({ x: z, z: B }, ne);
|
|
19930
|
+
I ? ce < E && Math.abs(ne.y - I) < 0.3 && (E = ce, S = ne) : ce < E && (E = ce, S = ne);
|
|
19928
19931
|
});
|
|
19929
19932
|
const T = new ge(z, S.y, B);
|
|
19930
19933
|
Object.assign(T, { observers: b });
|
|
@@ -20046,10 +20049,10 @@ const i5 = `<style type="text/css">
|
|
|
20046
20049
|
I.style.display = "none";
|
|
20047
20050
|
continue;
|
|
20048
20051
|
}
|
|
20049
|
-
const se = E.clone().project(A), ne = (se.x + 1) / 2 * D,
|
|
20050
|
-
let
|
|
20052
|
+
const se = E.clone().project(A), ne = (se.x + 1) / 2 * D, ce = (-se.y + 1) / 2 * N, Oe = S.clone().project(A), Ae = (Oe.x + 1) / 2 * D, ze = (-Oe.y + 1) / 2 * N, me = Math.sqrt(Math.pow(Ae - ne, 2) + Math.pow(ze - ce, 2));
|
|
20053
|
+
let he = me, Te = 50;
|
|
20051
20054
|
const $ = c(
|
|
20052
|
-
{ x: ~~ne, y: ~~
|
|
20055
|
+
{ x: ~~ne, y: ~~ce },
|
|
20053
20056
|
{
|
|
20054
20057
|
x: ~~Ae,
|
|
20055
20058
|
y: ~~ze
|
|
@@ -20057,15 +20060,15 @@ const i5 = `<style type="text/css">
|
|
|
20057
20060
|
D,
|
|
20058
20061
|
N
|
|
20059
20062
|
);
|
|
20060
|
-
if ($ && $.length === 1 && (z === E ? (
|
|
20063
|
+
if ($ && $.length === 1 && (z === E ? (he = Math.sqrt(Math.pow($[0].x - ne, 2) + Math.pow($[0].y - ce, 2)), Te = he / me * 50) : z === S && (he = Math.sqrt(Math.pow($[0].x - Ae, 2) + Math.pow($[0].y - ze, 2)), Te = 100 - he / me * 50)), $ && $.length === 2) {
|
|
20061
20064
|
const ue = {
|
|
20062
20065
|
x: ($[0].x + $[1].x) / 2,
|
|
20063
20066
|
y: ($[0].y + $[1].y) / 2
|
|
20064
20067
|
};
|
|
20065
|
-
Te = Math.sqrt(Math.pow(ue.x - ne, 2) + Math.pow(ue.y -
|
|
20068
|
+
Te = Math.sqrt(Math.pow(ue.x - ne, 2) + Math.pow(ue.y - ce, 2)) / me * 100;
|
|
20066
20069
|
}
|
|
20067
|
-
const Re = (Math.PI / 2 - Math.atan2(Ae - ne,
|
|
20068
|
-
Ve >= me || Ve / 2 >= Te / 100 * me || Ve / 2 >= (1 - Te / 100) * me ? T.style.display = "none" : (T.style.display = "block", T.style.width = me + "px", T.style.left = ne + "px", T.style.top =
|
|
20070
|
+
const Re = (Math.PI / 2 - Math.atan2(Ae - ne, ce - ze)) / Math.PI * 180, be = T.querySelector(".PanoRulerPlugin-rule-label"), Ve = be.children[0].clientWidth;
|
|
20071
|
+
Ve >= me || Ve / 2 >= Te / 100 * me || Ve / 2 >= (1 - Te / 100) * me ? T.style.display = "none" : (T.style.display = "block", T.style.width = me + "px", T.style.left = ne + "px", T.style.top = ce + "px", T.style.transform = `rotate(${-Re}deg)`, be.style.left = `${Te}%`);
|
|
20069
20072
|
}
|
|
20070
20073
|
}, u = () => G0(h), f = () => {
|
|
20071
20074
|
var g, v;
|
|
@@ -20412,11 +20415,11 @@ function d5(n, t, e) {
|
|
|
20412
20415
|
let K = !0;
|
|
20413
20416
|
L || (K = !1), !qt(M, L) && !qt(k, L) && (K = !1), b < 0.3 && (K = !1), z > Math.PI / 2 && (K = !1), B > Math.PI / 2 && (K = !1), I / b > 8 && (K = !1);
|
|
20414
20417
|
let se = 50, ne = R;
|
|
20415
|
-
const
|
|
20416
|
-
if (
|
|
20418
|
+
const ce = c({ x: ~~E, y: ~~S }, { x: ~~T, y: ~~F });
|
|
20419
|
+
if (ce && ce.length === 1 && (qt(M, L) ? (ne = Math.sqrt(Math.pow(ce[0].x - E, 2) + Math.pow(ce[0].y - S, 2)), se = ne / R * 50) : qt(k, L) && (ne = Math.sqrt(Math.pow(ce[0].x - T, 2) + Math.pow(ce[0].y - F, 2)), se = 100 - ne / R * 50)), ce && ce.length === 2) {
|
|
20417
20420
|
const Oe = {
|
|
20418
|
-
x: (
|
|
20419
|
-
y: (
|
|
20421
|
+
x: (ce[0].x + ce[1].x) / 2,
|
|
20422
|
+
y: (ce[0].y + ce[1].y) / 2
|
|
20420
20423
|
};
|
|
20421
20424
|
se = Math.sqrt(Math.pow(Oe.x - E, 2) + Math.pow(Oe.y - S, 2)) / R * 100;
|
|
20422
20425
|
}
|
|
@@ -20439,9 +20442,9 @@ function d5(n, t, e) {
|
|
|
20439
20442
|
const E = C.clone().setY(0).sub(L).normalize().angleTo(D.clone().setY(0)), S = I.clone().setY(0).sub(L).normalize().angleTo(D.clone().setY(0));
|
|
20440
20443
|
return E - S;
|
|
20441
20444
|
}), b = k.lines.map((C) => {
|
|
20442
|
-
var ne,
|
|
20445
|
+
var ne, ce;
|
|
20443
20446
|
const I = C.start, E = C.end, { startLeft: S, startTop: T, distance: F, deg: R, visible: q, labelOffset: ee, ruleLength: K } = u(new ge(I[0], -I[1], -I[2]), new ge(E[0], -E[1], -E[2]), B), se = [];
|
|
20444
|
-
return C.children && ((ne = C.children) == null ? void 0 : ne.length) > 0 && ((
|
|
20447
|
+
return C.children && ((ne = C.children) == null ? void 0 : ne.length) > 0 && ((ce = C.children) == null || ce.forEach((Oe) => {
|
|
20445
20448
|
const Ae = Oe.start, ze = Oe.end, { distance: me } = h(new ge(Ae[0], -Ae[1], -Ae[2]), new ge(ze[0], -ze[1], -ze[2]));
|
|
20446
20449
|
se.push({ width: me, state: Oe.state });
|
|
20447
20450
|
})), {
|
|
@@ -20935,7 +20938,7 @@ class Q0 {
|
|
|
20935
20938
|
class z5 extends Q0 {
|
|
20936
20939
|
constructor(e) {
|
|
20937
20940
|
var i;
|
|
20938
|
-
e.contentStyle =
|
|
20941
|
+
e.contentStyle = le(H({}, e.contentStyle), {
|
|
20939
20942
|
background: "#FFFFFF",
|
|
20940
20943
|
color: "#041066",
|
|
20941
20944
|
fontFamily: "Arial-BoldMT",
|
|
@@ -21174,7 +21177,7 @@ let El = class {
|
|
|
21174
21177
|
});
|
|
21175
21178
|
});
|
|
21176
21179
|
var i, s, o;
|
|
21177
|
-
this.five = t.five, this.hook = t.hook, this.model = t.model, this.getMeasureType = t.getMeasureType, this.config = t.config, this.editParams = t.editParams, this.magnifierParams = t.magnifierParams, this.magnifier = t.magnifier, this.pointSelectorConfig =
|
|
21180
|
+
this.five = t.five, this.hook = t.hook, this.model = t.model, this.getMeasureType = t.getMeasureType, this.config = t.config, this.editParams = t.editParams, this.magnifierParams = t.magnifierParams, this.magnifier = t.magnifier, this.pointSelectorConfig = le(H({}, t.pointSelectorConfig), {
|
|
21178
21181
|
helper: H({ magnifierParams: t.magnifierParams }, (i = t.pointSelectorConfig) == null ? void 0 : i.helper)
|
|
21179
21182
|
}), this.container = t.container, this.isMobile = (o = (s = t.openParams) == null ? void 0 : s.isMobile) != null ? o : !1, this.workUtil = t.workUtil, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new Lo(new xi([0, 0, 0]), new xi([0, 0, 0]), this.model), this.dashed.distanceItem.setCanSelect(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine", this.perpendicularDashed = new Lo(new xi([0, 0, 0]), new xi([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new Xt(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
|
|
21180
21183
|
const e = this.five.getElement();
|
|
@@ -21731,9 +21734,9 @@ function iP(n) {
|
|
|
21731
21734
|
}
|
|
21732
21735
|
class nP extends Q0 {
|
|
21733
21736
|
constructor(e) {
|
|
21734
|
-
e.containerStyle =
|
|
21737
|
+
e.containerStyle = le(H({}, e.containerStyle), {
|
|
21735
21738
|
zIndex: "1"
|
|
21736
|
-
}), e.contentStyle =
|
|
21739
|
+
}), e.contentStyle = le(H({}, e.contentStyle), {
|
|
21737
21740
|
background: "#6386FF",
|
|
21738
21741
|
borderRadius: "2px"
|
|
21739
21742
|
});
|
|
@@ -22178,7 +22181,7 @@ class Xn extends El {
|
|
|
22178
22181
|
const s = i.type === "area", o = Array.isArray(i) && ((r = i[0]) == null ? void 0 : r.type) === "line";
|
|
22179
22182
|
s && this.unHighlightArea(i), o && this.unHighlightLines(i);
|
|
22180
22183
|
}
|
|
22181
|
-
}).appendTo(this.container), this.pointSelector = new dl(this.five,
|
|
22184
|
+
}).appendTo(this.container), this.pointSelector = new dl(this.five, le(H({}, this.pointSelectorConfig), {
|
|
22182
22185
|
mode: this.editParams.pointSelectorMode,
|
|
22183
22186
|
helper: H({ magnifierParams: this.magnifierParams, container: this.container }, this.pointSelectorConfig.helper)
|
|
22184
22187
|
})), this.pointSelector.enable(), this.polyline = new zo({ model: this.model }), this.area = new Qc(void 0, {
|
|
@@ -24809,7 +24812,7 @@ class lC extends cs {
|
|
|
24809
24812
|
e.list && (i = {
|
|
24810
24813
|
polylines: e.list.map((o) => o.polyline).map((o) => {
|
|
24811
24814
|
var r;
|
|
24812
|
-
return
|
|
24815
|
+
return le(H({}, o), {
|
|
24813
24816
|
visibleFiveMode: (r = o.visibleFiveMode) != null ? r : ["Panorama"]
|
|
24814
24817
|
});
|
|
24815
24818
|
})
|
|
@@ -24965,11 +24968,11 @@ class ss extends fi {
|
|
|
24965
24968
|
size: (f = e == null ? void 0 : e.size) != null ? f : 8,
|
|
24966
24969
|
map: _f || (_f = new P.TextureLoader().load(cC)),
|
|
24967
24970
|
sizeAttenuation: !1
|
|
24968
|
-
}, a = new P.PointsMaterial(
|
|
24971
|
+
}, a = new P.PointsMaterial(le(H({}, r), {
|
|
24969
24972
|
color: (m = e == null ? void 0 : e.color) != null ? m : 16777215,
|
|
24970
24973
|
depthTest: !0,
|
|
24971
24974
|
opacity: (p = e == null ? void 0 : e.opacity) != null ? p : 1
|
|
24972
|
-
})), l = new P.PointsMaterial(
|
|
24975
|
+
})), l = new P.PointsMaterial(le(H({}, r), {
|
|
24973
24976
|
size: a.size,
|
|
24974
24977
|
color: a.color,
|
|
24975
24978
|
depthWrite: !1,
|
|
@@ -25036,7 +25039,7 @@ class Or extends wi {
|
|
|
25036
25039
|
super.setStyle(e), this._paramsStyle = H(H({}, this._paramsStyle), e), this.pointMeshes.forEach(
|
|
25037
25040
|
(i) => {
|
|
25038
25041
|
var s, o, r;
|
|
25039
|
-
return i.setStyle(
|
|
25042
|
+
return i.setStyle(le(H({}, this._paramsStyle), { color: (r = (s = this._paramsStyle) == null ? void 0 : s.pointColor) != null ? r : (o = this._paramsStyle) == null ? void 0 : o.lineColor, tip: void 0 }));
|
|
25040
25043
|
}
|
|
25041
25044
|
), this.updateEdgePointsVisibility(), this.needsRender = !0;
|
|
25042
25045
|
});
|
|
@@ -25069,7 +25072,7 @@ class Or extends wi {
|
|
|
25069
25072
|
const i = e.map(Ue).filter(Fe);
|
|
25070
25073
|
this.pointGroup.removeChildren(), this.addIfNotExists(this.pointGroup), i.forEach((s) => {
|
|
25071
25074
|
var r, a, l;
|
|
25072
|
-
const o = new ss(
|
|
25075
|
+
const o = new ss(le(H({}, this.style), {
|
|
25073
25076
|
color: (l = (r = this._paramsStyle) == null ? void 0 : r.pointColor) != null ? l : (a = this._paramsStyle) == null ? void 0 : a.lineColor,
|
|
25074
25077
|
tip: void 0
|
|
25075
25078
|
}));
|
|
@@ -25188,7 +25191,7 @@ class No extends Sl {
|
|
|
25188
25191
|
return this.points.length >= 3 ? new P.Vector3().crossVectors(this.points[1].clone().sub(this.points[0]), this.points[2].clone().sub(this.points[0])).normalize() : new P.Vector3(0, 0, 1);
|
|
25189
25192
|
}
|
|
25190
25193
|
get style() {
|
|
25191
|
-
return
|
|
25194
|
+
return le(H({}, super.style), { lengthEnable: this._paramsStyle.lengthEnable });
|
|
25192
25195
|
}
|
|
25193
25196
|
get isBlank() {
|
|
25194
25197
|
return !!this.geometry.isBlank;
|
|
@@ -25798,12 +25801,12 @@ class MC extends Ct {
|
|
|
25798
25801
|
polygonStyle: this.polygonStyle
|
|
25799
25802
|
});
|
|
25800
25803
|
this.currentMeasureMesh = e, e.line.setStyle({ cssStyle: "pointer-events: none;" }), this.pointSelector.actionIfNoIntersection = "disable", this.updateSelectAdsorbedHelper();
|
|
25801
|
-
const i = new ss({ occlusionMode: "depthTest", occlusionVisibility: !0 }), s = new Or(
|
|
25804
|
+
const i = new ss({ occlusionMode: "depthTest", occlusionVisibility: !0 }), s = new Or(le(H({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), o = new No(this.polygonStyle), r = new wi(le(H({}, this.lineStyle), {
|
|
25802
25805
|
lineOpacity: 0.5,
|
|
25803
25806
|
lineColor: 3407837,
|
|
25804
25807
|
dashed: !0,
|
|
25805
25808
|
cssStyle: "pointer-events: none; opacity: 0.5;"
|
|
25806
|
-
})), a = new wi(
|
|
25809
|
+
})), a = new wi(le(H({}, this.lineStyle), {
|
|
25807
25810
|
lineOpacity: 0.5,
|
|
25808
25811
|
lineColor: 3407837,
|
|
25809
25812
|
dashed: !0,
|
|
@@ -26423,7 +26426,7 @@ class MC extends Ct {
|
|
|
26423
26426
|
this.config = i ? H(H({}, s), i) : s, this.group = new fi(), this.group.name = "MeasureGroup", this.five.scene.add(this.group), this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), ct("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
|
|
26424
26427
|
}
|
|
26425
26428
|
get pointSelector() {
|
|
26426
|
-
return this._pointSelector ? this._pointSelector : (this._pointSelector = new dl(this.five, { mode: "cursor", helper: { pointHelper: "highlight" } }), this._pointSelector);
|
|
26429
|
+
return this._pointSelector ? this._pointSelector : (this._pointSelector = new dl(this.five, { mode: "cursor", helper: { pointHelper: "highlight" }, skipPanorama: !0 }), this._pointSelector);
|
|
26427
26430
|
}
|
|
26428
26431
|
get fiveDomEvents() {
|
|
26429
26432
|
return this._fiveDomEvents ? this._fiveDomEvents : (this._fiveDomEvents = new Mo(this.five, { fiveModels: null }), this._fiveDomEvents);
|
|
@@ -26892,9 +26895,9 @@ class VC {
|
|
|
26892
26895
|
}
|
|
26893
26896
|
}
|
|
26894
26897
|
const rc = 1e-3, Zf = 0.01, HC = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", zS = (n, t) => {
|
|
26895
|
-
var ee, K, se, ne,
|
|
26898
|
+
var ee, K, se, ne, ce, Oe, Ae, ze;
|
|
26896
26899
|
let e = t == null ? void 0 : t.container, i = 1.4;
|
|
26897
|
-
const s = (ee = t == null ? void 0 : t.wait) != null ? ee : 200, o = (K = t == null ? void 0 : t.maxNumberOnScreen) != null ? K : 3, r = (se = t == null ? void 0 : t.minRad) != null ? se : Math.PI / 4, a = (ne = t == null ? void 0 : t.nearTolerance) != null ? ne : 100, l = (
|
|
26900
|
+
const s = (ee = t == null ? void 0 : t.wait) != null ? ee : 200, o = (K = t == null ? void 0 : t.maxNumberOnScreen) != null ? K : 3, r = (se = t == null ? void 0 : t.minRad) != null ? se : Math.PI / 4, a = (ne = t == null ? void 0 : t.nearTolerance) != null ? ne : 100, l = (ce = t == null ? void 0 : t.upsideHeight) != null ? ce : 1.6, c = (Oe = t == null ? void 0 : t.minDistance) != null ? Oe : 1.2, h = (Ae = t == null ? void 0 : t.maxDistance) != null ? Ae : 3.5, u = Al(n), f = document.createElement("div");
|
|
26898
26901
|
f.classList.add("PanoSpatialTagPlugin"), Object.assign(f.style, jC);
|
|
26899
26902
|
const m = new Bo();
|
|
26900
26903
|
let p = new Image();
|
|
@@ -26912,15 +26915,15 @@ const rc = 1e-3, Zf = 0.01, HC = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
26912
26915
|
}, v = new DC({
|
|
26913
26916
|
target: f,
|
|
26914
26917
|
props: { origins: g.origins }
|
|
26915
|
-
}), A = (me,
|
|
26916
|
-
L(),
|
|
26918
|
+
}), A = (me, he) => {
|
|
26919
|
+
L(), he && D();
|
|
26917
26920
|
}, w = () => {
|
|
26918
26921
|
g.forbidden && (g.forbidden = !1, D());
|
|
26919
|
-
}, M = (me,
|
|
26922
|
+
}, M = (me, he) => {
|
|
26920
26923
|
if (g.tags.length === 0)
|
|
26921
26924
|
return;
|
|
26922
|
-
const Te =
|
|
26923
|
-
$.position.copy(
|
|
26925
|
+
const Te = he.longitude - n.state.longitude, $ = n.camera.clone();
|
|
26926
|
+
$.position.copy(he.offset), $.rotateOnWorldAxis(new P.Vector3(0, 1, 0), Te), $.updateProjectionMatrix(), $.updateMatrixWorld(!0);
|
|
26924
26927
|
const De = new P.Frustum(), Re = new P.Matrix4();
|
|
26925
26928
|
Re.multiplyMatrices($.projectionMatrix, $.matrixWorldInverse), De.setFromProjectionMatrix(Re), g.tags.forEach((be) => {
|
|
26926
26929
|
const Ve = $.position.clone().setY(i).distanceTo(be.position);
|
|
@@ -26945,15 +26948,15 @@ const rc = 1e-3, Zf = 0.01, HC = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
26945
26948
|
}), g.tags = g.tags.filter((be) => !be.destroying), L();
|
|
26946
26949
|
}, 1900);
|
|
26947
26950
|
}, k = (me) => {
|
|
26948
|
-
me !== Vt.Mode.Panorama && !g.forbidden && (v.$set({ origins: [] }), g.tags.forEach((
|
|
26949
|
-
|
|
26951
|
+
me !== Vt.Mode.Panorama && !g.forbidden && (v.$set({ origins: [] }), g.tags.forEach((he) => {
|
|
26952
|
+
he.app.$destroy(), he = null;
|
|
26950
26953
|
}), g.origins = [], g.tags = [], g.forbidden = !0);
|
|
26951
26954
|
}, L = () => {
|
|
26952
26955
|
if (g.forbidden || !g.enabled)
|
|
26953
26956
|
return;
|
|
26954
|
-
const me = n.camera,
|
|
26957
|
+
const me = n.camera, he = me.getWorldDirection(new P.Vector3());
|
|
26955
26958
|
g.origins = g.tags.map((Te) => {
|
|
26956
|
-
const $ = Te.position.clone().project(me), De = Te.position.clone().sub(me.position).setY(0).angleTo(
|
|
26959
|
+
const $ = Te.position.clone().project(me), De = Te.position.clone().sub(me.position).setY(0).angleTo(he.setY(0)) < Math.PI / 2;
|
|
26957
26960
|
return {
|
|
26958
26961
|
id: Te.id,
|
|
26959
26962
|
front: De,
|
|
@@ -26969,7 +26972,7 @@ const rc = 1e-3, Zf = 0.01, HC = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
26969
26972
|
me.length && (g.tags = g.tags.concat(me), L());
|
|
26970
26973
|
}, s));
|
|
26971
26974
|
}, N = () => {
|
|
26972
|
-
const { clientWidth: me, clientHeight:
|
|
26975
|
+
const { clientWidth: me, clientHeight: he } = n.getElement(), Te = [], $ = n.camera, De = new P.Frustum(), Re = new P.Matrix4(), be = $.getWorldDirection(new P.Vector3());
|
|
26973
26976
|
Re.multiplyMatrices($.projectionMatrix, $.matrixWorldInverse), De.setFromProjectionMatrix(Re);
|
|
26974
26977
|
const Ve = g.tags.filter((Ce) => De.containsPoint(Ce.position) && !Ce.destroying).length, ue = g.points.reduce((Ce, Le) => {
|
|
26975
26978
|
if (g.tags.find((st) => Le.id === st.id && !st.destroying))
|
|
@@ -26985,7 +26988,7 @@ const rc = 1e-3, Zf = 0.01, HC = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
26985
26988
|
if (st.position.clone().sub($.position).setY(0).angleTo(be.setY(0)) > Math.PI / 2)
|
|
26986
26989
|
return !0;
|
|
26987
26990
|
const ot = st.position.clone().project($);
|
|
26988
|
-
return Math.sqrt(Math.pow((at.x - ot.x) / 2 * me, 2) + Math.pow((at.y - ot.y) / 2 *
|
|
26991
|
+
return Math.sqrt(Math.pow((at.x - ot.x) / 2 * me, 2) + Math.pow((at.y - ot.y) / 2 * he, 2)) > a;
|
|
26989
26992
|
}))
|
|
26990
26993
|
return Ce;
|
|
26991
26994
|
const Je = {
|
|
@@ -27019,7 +27022,7 @@ const rc = 1e-3, Zf = 0.01, HC = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
27019
27022
|
if (Ke.position.clone().sub($.position).setY(0).angleTo(be.setY(0)) > Math.PI / 2)
|
|
27020
27023
|
return !0;
|
|
27021
27024
|
const st = Ke.position.clone().project($);
|
|
27022
|
-
return Math.sqrt(Math.pow((Ye.x - st.x) / 2 * me, 2) + Math.pow((Ye.y - st.y) / 2 *
|
|
27025
|
+
return Math.sqrt(Math.pow((Ye.x - st.x) / 2 * me, 2) + Math.pow((Ye.y - st.y) / 2 * he, 2)) > a;
|
|
27023
27026
|
}))
|
|
27024
27027
|
continue;
|
|
27025
27028
|
const at = new P.Raycaster(
|
|
@@ -27059,14 +27062,14 @@ const rc = 1e-3, Zf = 0.01, HC = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
27059
27062
|
}
|
|
27060
27063
|
return Te;
|
|
27061
27064
|
}, z = (me) => {
|
|
27062
|
-
g.points = me.points.map((
|
|
27065
|
+
g.points = me.points.map((he) => {
|
|
27063
27066
|
var Te, $;
|
|
27064
27067
|
return {
|
|
27065
|
-
id:
|
|
27066
|
-
position: new P.Vector3().fromArray(
|
|
27067
|
-
normal: new P.Vector3().fromArray(
|
|
27068
|
-
replacement: (Te =
|
|
27069
|
-
weight: ($ =
|
|
27068
|
+
id: he.id,
|
|
27069
|
+
position: new P.Vector3().fromArray(he.position),
|
|
27070
|
+
normal: new P.Vector3().fromArray(he.normal),
|
|
27071
|
+
replacement: (Te = he.replacement) != null ? Te : {},
|
|
27072
|
+
weight: ($ = he.weight) != null ? $ : -1
|
|
27070
27073
|
};
|
|
27071
27074
|
}), me.render && (g.render = me.render), me.template && (g.template = me.template), me.events && (g.events = me.events), me.enabled === !1 && (g.enabled = me.enabled), me.folded === !0 && (g.folded = me.folded);
|
|
27072
27075
|
}, B = (me) => {
|
|
@@ -27086,12 +27089,12 @@ const rc = 1e-3, Zf = 0.01, HC = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
27086
27089
|
me.app.$set({ folded: g.folded });
|
|
27087
27090
|
});
|
|
27088
27091
|
}, S = (me) => {
|
|
27089
|
-
g.tags.forEach((
|
|
27090
|
-
|
|
27092
|
+
g.tags.forEach((he) => {
|
|
27093
|
+
he.id === me && he.app.$set({ folded: !1 });
|
|
27091
27094
|
});
|
|
27092
27095
|
}, T = (me) => {
|
|
27093
|
-
g.tags.forEach((
|
|
27094
|
-
|
|
27096
|
+
g.tags.forEach((he) => {
|
|
27097
|
+
he.id === me && he.app.$set({ folded: !0 });
|
|
27095
27098
|
});
|
|
27096
27099
|
}, F = () => {
|
|
27097
27100
|
n.once("renderFrame", L);
|
|
@@ -27403,12 +27406,12 @@ function ZC(n, t, e) {
|
|
|
27403
27406
|
const T = S.map((R) => {
|
|
27404
27407
|
const q = A(E, R), ee = R.name.length * YC, K = k(R.modelPosition[1], c), ne = (r ? v(E, R) : !0) && !M([q[0], q[1] + K], ee);
|
|
27405
27408
|
if (!ne)
|
|
27406
|
-
return
|
|
27409
|
+
return le(H({}, R), { visible: ne });
|
|
27407
27410
|
p.push(q);
|
|
27408
|
-
const
|
|
27409
|
-
return
|
|
27411
|
+
const ce = w(q);
|
|
27412
|
+
return le(H({}, R), {
|
|
27410
27413
|
visible: ne,
|
|
27411
|
-
transform:
|
|
27414
|
+
transform: ce,
|
|
27412
27415
|
strokeLength: K
|
|
27413
27416
|
});
|
|
27414
27417
|
}), F = T.filter(({ visible: R }) => R).map((R) => ({
|
|
@@ -27417,7 +27420,7 @@ function ZC(n, t, e) {
|
|
|
27417
27420
|
})).sort((R, q) => R.distance - q.distance);
|
|
27418
27421
|
return T.map((R) => {
|
|
27419
27422
|
const q = F.findIndex((ee) => ee.itemLabelItem.id === R.id);
|
|
27420
|
-
return q !== void 0 ?
|
|
27423
|
+
return q !== void 0 ? le(H({}, R), { zIndex: q * 10 }) : R;
|
|
27421
27424
|
});
|
|
27422
27425
|
}, D = () => {
|
|
27423
27426
|
p = [], e(1, u = L(o, u));
|
|
@@ -28125,16 +28128,16 @@ function f4(n, t, e) {
|
|
|
28125
28128
|
}, k = (S, T) => {
|
|
28126
28129
|
const F = T.map((q) => {
|
|
28127
28130
|
if (S.state.panoIndex !== q.panoIndex)
|
|
28128
|
-
return
|
|
28131
|
+
return le(H({}, q), { visible: !1 });
|
|
28129
28132
|
const ee = M(S, q);
|
|
28130
28133
|
q.name.length * d4;
|
|
28131
|
-
const K = l4(q.modelPosition[1], l), se = S.currentMode === Vt.Mode.Panorama ? w(new i(q.position[0], q.position[1], q.position[2])) : !0, ne = o ? A(S, q) : !1,
|
|
28132
|
-
if (!
|
|
28133
|
-
return
|
|
28134
|
+
const K = l4(q.modelPosition[1], l), se = S.currentMode === Vt.Mode.Panorama ? w(new i(q.position[0], q.position[1], q.position[2])) : !0, ne = o ? A(S, q) : !1, ce = se && !ne;
|
|
28135
|
+
if (!ce)
|
|
28136
|
+
return le(H({}, q), { visible: ce });
|
|
28134
28137
|
g.push(ee);
|
|
28135
28138
|
const Oe = c4(ee);
|
|
28136
|
-
return
|
|
28137
|
-
visible:
|
|
28139
|
+
return le(H({}, q), {
|
|
28140
|
+
visible: ce,
|
|
28138
28141
|
transform: Oe,
|
|
28139
28142
|
strokeLength: K
|
|
28140
28143
|
});
|
|
@@ -28144,7 +28147,7 @@ function f4(n, t, e) {
|
|
|
28144
28147
|
})).sort((q, ee) => q.distance - ee.distance);
|
|
28145
28148
|
return F.map((q) => {
|
|
28146
28149
|
const ee = R.findIndex((K) => K.itemLabelItem.id === q.id);
|
|
28147
|
-
return ee !== void 0 ?
|
|
28150
|
+
return ee !== void 0 ? le(H({}, q), { zIndex: ee * 10 }) : q;
|
|
28148
28151
|
});
|
|
28149
28152
|
}, L = () => {
|
|
28150
28153
|
g = [], e(1, u = k(s, u));
|
|
@@ -28186,14 +28189,14 @@ function f4(n, t, e) {
|
|
|
28186
28189
|
longitude: Math.PI + Math.atan2(ee.x, ee.z),
|
|
28187
28190
|
latitude: Math.acos(ee.y / ee.length()) - Math.PI / 2
|
|
28188
28191
|
};
|
|
28189
|
-
s.setState(
|
|
28192
|
+
s.setState(le(H({}, K), {
|
|
28190
28193
|
mode: Vt.Mode.Panorama,
|
|
28191
28194
|
panoIndex: S.observerIndex
|
|
28192
28195
|
})), s.once("initAnimationEnded", () => {
|
|
28193
|
-
e(1, u = u.map((se) =>
|
|
28196
|
+
e(1, u = u.map((se) => le(H({}, se), {
|
|
28194
28197
|
isFold: se.id !== S.id
|
|
28195
28198
|
}))), s.once("cameraUpdate", () => {
|
|
28196
|
-
e(1, u = u.map((se) =>
|
|
28199
|
+
e(1, u = u.map((se) => le(H({}, se), { isFold: !1 })));
|
|
28197
28200
|
});
|
|
28198
28201
|
});
|
|
28199
28202
|
}
|
|
@@ -28248,7 +28251,7 @@ class p4 extends Ee {
|
|
|
28248
28251
|
}
|
|
28249
28252
|
}
|
|
28250
28253
|
function g4(n) {
|
|
28251
|
-
return n.item_labels.map((t) =>
|
|
28254
|
+
return n.item_labels.map((t) => le(H({}, t), {
|
|
28252
28255
|
modelPosition: [t.position[0], t.position[1], t.position[2]],
|
|
28253
28256
|
observerIndex: void 0
|
|
28254
28257
|
}));
|
|
@@ -28588,7 +28591,7 @@ class M4 extends cs {
|
|
|
28588
28591
|
position: u,
|
|
28589
28592
|
toward: I4(r.rad)
|
|
28590
28593
|
});
|
|
28591
|
-
}), this.labelItems = this.doorLabels.map((r) =>
|
|
28594
|
+
}), this.labelItems = this.doorLabels.map((r) => le(H({}, r), {
|
|
28592
28595
|
left: 0,
|
|
28593
28596
|
top: 0,
|
|
28594
28597
|
visible: !1,
|
|
@@ -28780,19 +28783,19 @@ function Q4(n) {
|
|
|
28780
28783
|
const F = new P.Vector2(C.x, C.y).distanceTo(new P.Vector2(E.x, E.y)), R = new P.Vector2(I.x, I.y).distanceTo(new P.Vector2(S.x, S.y)), q = 300, ee = [], K = [], se = Math.max(0, k[0] - e * q), ne = k[0];
|
|
28781
28784
|
for (let ze = se; ze < ne; ze++)
|
|
28782
28785
|
F < R ? ee.push({ x: v[ze * 6 + 0], y: v[ze * 6 + 2] }) : ee.push({ x: v[ze * 6 + 3], y: v[ze * 6 + 5] });
|
|
28783
|
-
const
|
|
28784
|
-
for (let ze =
|
|
28786
|
+
const ce = k[k.length - 1], Oe = Math.min(l - 1, k[k.length - 1] + e * q);
|
|
28787
|
+
for (let ze = ce; ze < Oe; ze++)
|
|
28785
28788
|
F < R ? K.push({ x: v[ze * 6 + 0], y: v[ze * 6 + 2] }) : K.push({ x: v[ze * 6 + 3], y: v[ze * 6 + 5] });
|
|
28786
28789
|
const Ae = F4(ee, K);
|
|
28787
28790
|
if (Ae) {
|
|
28788
28791
|
const {
|
|
28789
28792
|
line1RelativeIndex: ze,
|
|
28790
28793
|
line2RelativeIndex: me,
|
|
28791
|
-
x:
|
|
28794
|
+
x: he,
|
|
28792
28795
|
y: Te
|
|
28793
|
-
} = Ae, $ = se + ze, De =
|
|
28796
|
+
} = Ae, $ = se + ze, De = ce + me + 2;
|
|
28794
28797
|
for (let Le = $; Le < De; Le++)
|
|
28795
|
-
F < R ? (v[Le * 6 + 0] =
|
|
28798
|
+
F < R ? (v[Le * 6 + 0] = he, v[Le * 6 + 2] = Te) : (v[Le * 6 + 3] = he, v[Le * 6 + 5] = Te), L = Le;
|
|
28796
28799
|
let Re, be, Ve, ue, Ce;
|
|
28797
28800
|
F < R ? (Re = v[se * 6 + 1], be = v[$ * 6 + 1], Ve = v[De * 6 + 1], ue = v[Oe * 6 + 1], Ce = (be + Ve) / 2) : (Re = v[se * 6 + 4], be = v[$ * 6 + 4], Ve = v[De * 6 + 4], ue = v[Oe * 6 + 4], Ce = (be + Ve) / 2);
|
|
28798
28801
|
for (let Le = se; Le < $; Le++) {
|
|
@@ -29796,7 +29799,7 @@ class v8 extends cs {
|
|
|
29796
29799
|
const L = u[M];
|
|
29797
29800
|
u[M] = et({}, c, L, ...Object.values(k), l, { _isMerged: !0 });
|
|
29798
29801
|
});
|
|
29799
|
-
const m =
|
|
29802
|
+
const m = le(H({}, h), { configWithFiveMode: u });
|
|
29800
29803
|
return ol(m), Object.values(u).forEach((M) => ol(M)), m._isMerged = !0, m;
|
|
29801
29804
|
}
|
|
29802
29805
|
}
|
|
@@ -29944,7 +29947,7 @@ function cc(n, t, e) {
|
|
|
29944
29947
|
const k = h[w];
|
|
29945
29948
|
h[w] = et({}, l, k, ...Object.values(M), a, { _isMerged: !0 });
|
|
29946
29949
|
});
|
|
29947
|
-
const f =
|
|
29950
|
+
const f = le(H({}, c), { configWithFiveMode: h });
|
|
29948
29951
|
return ol(f), Object.values(h).forEach((w) => ol(w)), f._isMerged = !0, f;
|
|
29949
29952
|
}
|
|
29950
29953
|
function cp(n) {
|
|
@@ -30522,7 +30525,7 @@ class ru {
|
|
|
30522
30525
|
}).map((a) => ({ tag: a, id: a.id, tagConfig: a.getConfig().unfoldedConfig })).filter(({ tagConfig: a }) => {
|
|
30523
30526
|
var l, c;
|
|
30524
30527
|
return !(typeof a == "function" || a.keep || a.autoUnfold === !1 || ((l = a.autoUnfold) == null ? void 0 : l.enable) === !1 || ((c = a.autoUnfold) == null ? void 0 : c.strategy) !== "MinimumDistance");
|
|
30525
|
-
}).map((a) =>
|
|
30528
|
+
}).map((a) => le(H({}, a), { distance: a.tag.getDistance() })).filter(({ distance: a, tagConfig: l }) => {
|
|
30526
30529
|
const c = l.autoUnfold.distance;
|
|
30527
30530
|
return !(c && Ca(a, c) === !1);
|
|
30528
30531
|
}).sort((a, l) => a.distance - l.distance).findIndex((a) => a.id === this.id);
|
|
@@ -30562,7 +30565,7 @@ class ru {
|
|
|
30562
30565
|
return { reason: `plugin.state.visible is ${this.plugin.state.visible}` };
|
|
30563
30566
|
if (!this.enabled)
|
|
30564
30567
|
return { reason: `tag ${this.id} enabled is: ${this.enabled}` };
|
|
30565
|
-
const t =
|
|
30568
|
+
const t = le(H({}, this.computeVisible()), {
|
|
30566
30569
|
tagInstance: this
|
|
30567
30570
|
});
|
|
30568
30571
|
return t.value !== this.state.visible ? { reason: "插件故障,请联系维护人员, err: 0", info: t } : this.state.visible ? { reason: "应该是能看见才对", info: t } : t.value === !0 ? { reason: "插件故障,请联系维护人员, err: 1", info: t } : { reason: (e = t.reason.type) != null ? e : t.reason, info: t };
|
|
@@ -33262,7 +33265,7 @@ function aE({
|
|
|
33262
33265
|
head: 0,
|
|
33263
33266
|
tail: 0
|
|
33264
33267
|
};
|
|
33265
|
-
return
|
|
33268
|
+
return le(H({}, i), {
|
|
33266
33269
|
total: i.head + i.tail
|
|
33267
33270
|
});
|
|
33268
33271
|
}
|
|
@@ -33517,11 +33520,11 @@ var Ea = n9, rl = {}, s9 = {
|
|
|
33517
33520
|
(function(n, t) {
|
|
33518
33521
|
var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", f = "[object Map]", m = "[object Number]", p = "[object Object]", g = "[object Promise]", v = "[object RegExp]", A = "[object Set]", w = "[object String]", M = "[object Symbol]", k = "[object WeakMap]", L = "[object ArrayBuffer]", D = "[object DataView]", N = "[object Float32Array]", z = "[object Float64Array]", B = "[object Int8Array]", b = "[object Int16Array]", C = "[object Int32Array]", I = "[object Uint8Array]", E = "[object Uint8ClampedArray]", S = "[object Uint16Array]", T = "[object Uint32Array]", F = /[\\^$.*+?()[\]{}|]/g, R = /\w*$/, q = /^\[object .+?Constructor\]$/, ee = /^(?:0|[1-9]\d*)$/, K = {};
|
|
33519
33522
|
K[o] = K[r] = K[L] = K[D] = K[a] = K[l] = K[N] = K[z] = K[B] = K[b] = K[C] = K[f] = K[m] = K[p] = K[v] = K[A] = K[w] = K[M] = K[I] = K[E] = K[S] = K[T] = !0, K[c] = K[h] = K[k] = !1;
|
|
33520
|
-
var se = typeof ki == "object" && ki && ki.Object === Object && ki, ne = typeof self == "object" && self && self.Object === Object && self,
|
|
33523
|
+
var se = typeof ki == "object" && ki && ki.Object === Object && ki, ne = typeof self == "object" && self && self.Object === Object && self, ce = se || ne || Function("return this")(), Oe = t && !t.nodeType && t, Ae = Oe && !0 && n && !n.nodeType && n, ze = Ae && Ae.exports === Oe;
|
|
33521
33524
|
function me(x, _) {
|
|
33522
33525
|
return x.set(_[0], _[1]), x;
|
|
33523
33526
|
}
|
|
33524
|
-
function
|
|
33527
|
+
function he(x, _) {
|
|
33525
33528
|
return x.add(_), x;
|
|
33526
33529
|
}
|
|
33527
33530
|
function Te(x, _) {
|
|
@@ -33574,12 +33577,12 @@ var Ea = n9, rl = {}, s9 = {
|
|
|
33574
33577
|
J[++_] = re;
|
|
33575
33578
|
}), J;
|
|
33576
33579
|
}
|
|
33577
|
-
var Xe = Array.prototype, Ye = Function.prototype, at = Object.prototype, Je =
|
|
33580
|
+
var Xe = Array.prototype, Ye = Function.prototype, at = Object.prototype, Je = ce["__core-js_shared__"], Ke = function() {
|
|
33578
33581
|
var x = /[^.]+$/.exec(Je && Je.keys && Je.keys.IE_PROTO || "");
|
|
33579
33582
|
return x ? "Symbol(src)_1." + x : "";
|
|
33580
33583
|
}(), st = Ye.toString, ot = at.hasOwnProperty, Lt = at.toString, Ni = RegExp(
|
|
33581
33584
|
"^" + st.call(ot).replace(F, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
33582
|
-
), Ft = ze ?
|
|
33585
|
+
), Ft = ze ? ce.Buffer : void 0, ai = ce.Symbol, pi = ce.Uint8Array, rt = Ce(Object.getPrototypeOf, Object), Nt = Object.create, Gt = at.propertyIsEnumerable, Wo = Xe.splice, ds = Object.getOwnPropertySymbols, kn = Ft ? Ft.isBuffer : void 0, Gs = Ce(Object.keys, Object), xn = G(ce, "DataView"), Ci = G(ce, "Map"), gi = G(ce, "Promise"), Sn = G(ce, "Set"), Dn = G(ce, "WeakMap"), Gi = G(Object, "create"), nn = ti(xn), sn = ti(Ci), fs = ti(gi), ps = ti(Sn), Tn = ti(Dn), Wi = ai ? ai.prototype : void 0, Ws = Wi ? Wi.valueOf : void 0;
|
|
33583
33586
|
function Li(x) {
|
|
33584
33587
|
var _ = -1, J = x ? x.length : 0;
|
|
33585
33588
|
for (this.clear(); ++_ < J; ) {
|
|
@@ -33794,7 +33797,7 @@ var Ea = n9, rl = {}, s9 = {
|
|
|
33794
33797
|
}
|
|
33795
33798
|
function mi(x, _, J) {
|
|
33796
33799
|
var re = _ ? J(Le(x), !0) : Le(x);
|
|
33797
|
-
return De(re,
|
|
33800
|
+
return De(re, he, new x.constructor());
|
|
33798
33801
|
}
|
|
33799
33802
|
function qo(x) {
|
|
33800
33803
|
return Ws ? Object(Ws.call(x)) : {};
|
|
@@ -33968,9 +33971,9 @@ var al = {}, r9 = {
|
|
|
33968
33971
|
}
|
|
33969
33972
|
};
|
|
33970
33973
|
(function(n, t) {
|
|
33971
|
-
var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", h = "[object Boolean]", u = "[object Date]", f = "[object Error]", m = "[object Function]", p = "[object GeneratorFunction]", g = "[object Map]", v = "[object Number]", A = "[object Null]", w = "[object Object]", M = "[object Promise]", k = "[object Proxy]", L = "[object RegExp]", D = "[object Set]", N = "[object String]", z = "[object Symbol]", B = "[object Undefined]", b = "[object WeakMap]", C = "[object ArrayBuffer]", I = "[object DataView]", E = "[object Float32Array]", S = "[object Float64Array]", T = "[object Int8Array]", F = "[object Int16Array]", R = "[object Int32Array]", q = "[object Uint8Array]", ee = "[object Uint8ClampedArray]", K = "[object Uint16Array]", se = "[object Uint32Array]", ne = /[\\^$.*+?()[\]{}|]/g,
|
|
33974
|
+
var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", h = "[object Boolean]", u = "[object Date]", f = "[object Error]", m = "[object Function]", p = "[object GeneratorFunction]", g = "[object Map]", v = "[object Number]", A = "[object Null]", w = "[object Object]", M = "[object Promise]", k = "[object Proxy]", L = "[object RegExp]", D = "[object Set]", N = "[object String]", z = "[object Symbol]", B = "[object Undefined]", b = "[object WeakMap]", C = "[object ArrayBuffer]", I = "[object DataView]", E = "[object Float32Array]", S = "[object Float64Array]", T = "[object Int8Array]", F = "[object Int16Array]", R = "[object Int32Array]", q = "[object Uint8Array]", ee = "[object Uint8ClampedArray]", K = "[object Uint16Array]", se = "[object Uint32Array]", ne = /[\\^$.*+?()[\]{}|]/g, ce = /^\[object .+?Constructor\]$/, Oe = /^(?:0|[1-9]\d*)$/, Ae = {};
|
|
33972
33975
|
Ae[E] = Ae[S] = Ae[T] = Ae[F] = Ae[R] = Ae[q] = Ae[ee] = Ae[K] = Ae[se] = !0, Ae[a] = Ae[l] = Ae[C] = Ae[h] = Ae[I] = Ae[u] = Ae[f] = Ae[m] = Ae[g] = Ae[v] = Ae[w] = Ae[L] = Ae[D] = Ae[N] = Ae[b] = !1;
|
|
33973
|
-
var ze = typeof ki == "object" && ki && ki.Object === Object && ki, me = typeof self == "object" && self && self.Object === Object && self,
|
|
33976
|
+
var ze = typeof ki == "object" && ki && ki.Object === Object && ki, me = typeof self == "object" && self && self.Object === Object && self, he = ze || me || Function("return this")(), Te = t && !t.nodeType && t, $ = Te && !0 && n && !n.nodeType && n, De = $ && $.exports === Te, Re = De && ze.process, be = function() {
|
|
33974
33977
|
try {
|
|
33975
33978
|
return Re && Re.binding && Re.binding("util");
|
|
33976
33979
|
} catch (x) {
|
|
@@ -34027,12 +34030,12 @@ var al = {}, r9 = {
|
|
|
34027
34030
|
J[++_] = re;
|
|
34028
34031
|
}), J;
|
|
34029
34032
|
}
|
|
34030
|
-
var Lt = Array.prototype, Ni = Function.prototype, Ft = Object.prototype, ai =
|
|
34033
|
+
var Lt = Array.prototype, Ni = Function.prototype, Ft = Object.prototype, ai = he["__core-js_shared__"], pi = Ni.toString, rt = Ft.hasOwnProperty, Nt = function() {
|
|
34031
34034
|
var x = /[^.]+$/.exec(ai && ai.keys && ai.keys.IE_PROTO || "");
|
|
34032
34035
|
return x ? "Symbol(src)_1." + x : "";
|
|
34033
34036
|
}(), Gt = Ft.toString, Wo = RegExp(
|
|
34034
34037
|
"^" + pi.call(rt).replace(ne, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
34035
|
-
), ds = De ?
|
|
34038
|
+
), ds = De ? he.Buffer : void 0, kn = he.Symbol, Gs = he.Uint8Array, xn = Ft.propertyIsEnumerable, Ci = Lt.splice, gi = kn ? kn.toStringTag : void 0, Sn = Object.getOwnPropertySymbols, Dn = ds ? ds.isBuffer : void 0, Gi = st(Object.keys, Object), nn = Z(he, "DataView"), sn = Z(he, "Map"), fs = Z(he, "Promise"), ps = Z(he, "Set"), Tn = Z(he, "WeakMap"), Wi = Z(Object, "create"), Ws = ti(nn), Li = ti(sn), Ln = ti(fs), Uo = ti(ps), Qo = ti(Tn), gs = kn ? kn.prototype : void 0, on = gs ? gs.valueOf : void 0;
|
|
34036
34039
|
function Mt(x) {
|
|
34037
34040
|
var _ = -1, J = x == null ? 0 : x.length;
|
|
34038
34041
|
for (this.clear(); ++_ < J; ) {
|
|
@@ -34214,7 +34217,7 @@ var al = {}, r9 = {
|
|
|
34214
34217
|
function qo(x) {
|
|
34215
34218
|
if (!ea(x) || Pt(x))
|
|
34216
34219
|
return !1;
|
|
34217
|
-
var _ = $r(x) ? Wo :
|
|
34220
|
+
var _ = $r(x) ? Wo : ce;
|
|
34218
34221
|
return _.test(ti(x));
|
|
34219
34222
|
}
|
|
34220
34223
|
function Js(x) {
|
|
@@ -35448,7 +35451,7 @@ function S9(n, t, e) {
|
|
|
35448
35451
|
yield m.showPage(ue, { animated: !0 });
|
|
35449
35452
|
});
|
|
35450
35453
|
}
|
|
35451
|
-
function
|
|
35454
|
+
function ce() {
|
|
35452
35455
|
C && (u.durationMs = 0);
|
|
35453
35456
|
}
|
|
35454
35457
|
function Oe(ue) {
|
|
@@ -35470,7 +35473,7 @@ function S9(n, t, e) {
|
|
|
35470
35473
|
C && (yield m.offsetPage({ animated: !0 }));
|
|
35471
35474
|
});
|
|
35472
35475
|
}
|
|
35473
|
-
function
|
|
35476
|
+
function he(ue) {
|
|
35474
35477
|
u.focused = ue.detail.value;
|
|
35475
35478
|
}
|
|
35476
35479
|
function Te() {
|
|
@@ -35521,12 +35524,12 @@ function S9(n, t, e) {
|
|
|
35521
35524
|
ee,
|
|
35522
35525
|
m,
|
|
35523
35526
|
ne,
|
|
35524
|
-
|
|
35527
|
+
ce,
|
|
35525
35528
|
Oe,
|
|
35526
35529
|
Ae,
|
|
35527
35530
|
ze,
|
|
35528
35531
|
me,
|
|
35529
|
-
|
|
35532
|
+
he,
|
|
35530
35533
|
Te,
|
|
35531
35534
|
$,
|
|
35532
35535
|
M,
|
|
@@ -38568,7 +38571,7 @@ function EM(n) {
|
|
|
38568
38571
|
const r = Y1(t);
|
|
38569
38572
|
return fc.set(t, r), r;
|
|
38570
38573
|
})(), { width: s, height: o } = yield i;
|
|
38571
|
-
return
|
|
38574
|
+
return le(H({}, n), {
|
|
38572
38575
|
width: s / e,
|
|
38573
38576
|
height: o / e
|
|
38574
38577
|
});
|
|
@@ -38580,7 +38583,7 @@ function MM(n) {
|
|
|
38580
38583
|
if (!t)
|
|
38581
38584
|
throw new Error("KeyframeIcon requires steps");
|
|
38582
38585
|
const { width: o, height: r } = yield Y1(e), a = o / i, l = r / i, c = a / t, h = l, u = 1 / s * t + "s";
|
|
38583
|
-
return
|
|
38586
|
+
return le(H({}, n), {
|
|
38584
38587
|
width: c,
|
|
38585
38588
|
height: h,
|
|
38586
38589
|
duration: u
|
|
@@ -39026,7 +39029,7 @@ function RM(n) {
|
|
|
39026
39029
|
}
|
|
39027
39030
|
function fo(n) {
|
|
39028
39031
|
const { originWidth: t, originHeight: e, scale: i = 1, wantedWidth: s } = n, o = (s != null ? s : t) * i, r = typeof e == "number" ? o * (e / t) : void 0;
|
|
39029
|
-
return
|
|
39032
|
+
return le(H({}, n), { width: o, height: r });
|
|
39030
39033
|
}
|
|
39031
39034
|
function BM(n, t, e) {
|
|
39032
39035
|
let i, s, o, r, a, l, c, h, u, f, m, { width: p = null } = t, { icon: g = null } = t, { shadow: v = !1 } = t;
|
|
@@ -39040,7 +39043,7 @@ function BM(n, t, e) {
|
|
|
39040
39043
|
function M(L) {
|
|
39041
39044
|
return te(this, null, function* () {
|
|
39042
39045
|
if (typeof m == "number")
|
|
39043
|
-
return
|
|
39046
|
+
return le(H({}, L), { width: m });
|
|
39044
39047
|
const D = yield EM(L);
|
|
39045
39048
|
return A("iconLoaded", D), D;
|
|
39046
39049
|
});
|
|
@@ -39372,7 +39375,7 @@ function WM(n) {
|
|
|
39372
39375
|
}
|
|
39373
39376
|
function UM(n) {
|
|
39374
39377
|
const { originWidth: t, originHeight: e, scale: i = 1, wantedWidth: s } = n, o = (s != null ? s : t) * i, r = typeof e == "number" ? o * (e / t) : void 0;
|
|
39375
|
-
return
|
|
39378
|
+
return le(H({}, n), { width: o, height: r });
|
|
39376
39379
|
}
|
|
39377
39380
|
function QM(n, t, e) {
|
|
39378
39381
|
let i, s, o, r, a, { width: l = null } = t, { icon: c = null } = t, { shadow: h = !1 } = t;
|
|
@@ -40223,7 +40226,7 @@ class q1 extends ru {
|
|
|
40223
40226
|
c.classList.add("tag-media-container");
|
|
40224
40227
|
const h = "black";
|
|
40225
40228
|
c.style.backgroundColor = h, c.style.border = `3px solid ${h}`;
|
|
40226
|
-
const u = H({ mode: "behind", cornerPoints: l, container: c }, this.config.tag3DConfig), f = this.computeRenderType() === "BehindDom" || u.mode === "behind" ? "behind" : "front", m = new L1(
|
|
40229
|
+
const u = H({ mode: "behind", cornerPoints: l, container: c }, this.config.tag3DConfig), f = this.computeRenderType() === "BehindDom" || u.mode === "behind" ? "behind" : "front", m = new L1(le(H({}, u), { mode: f })), p = this.computeNormal();
|
|
40227
40230
|
m.position.add(p.clone().setLength(Xr.Z_FIGHTING_OFFSET)), s.add(m);
|
|
40228
40231
|
let g;
|
|
40229
40232
|
m.mode === "behind" && this.config.clickable !== !1 && (g = this.addObjectClickHandler(this, m, (A) => {
|
|
@@ -40304,7 +40307,7 @@ class A7 extends ru {
|
|
|
40304
40307
|
(a = (r = this.tag3DContentSvelte) == null ? void 0 : r.dispose) == null || a.call(r);
|
|
40305
40308
|
const c = document.createElement("div");
|
|
40306
40309
|
c.classList.add("tag-media-container");
|
|
40307
|
-
const h = H({ mode: "front", cornerPoints: l, container: c }, this.config.tag3DConfig), u = this.computeRenderType() === "BehindDom" || h.mode === "behind" ? "behind" : "front", f = new L1(
|
|
40310
|
+
const h = H({ mode: "front", cornerPoints: l, container: c }, this.config.tag3DConfig), u = this.computeRenderType() === "BehindDom" || h.mode === "behind" ? "behind" : "front", f = new L1(le(H({}, h), { mode: u })), m = this.computeNormal();
|
|
40308
40311
|
f.position.add(m.clone().setLength(Xr.Z_FIGHTING_OFFSET)), this.plugin.group.add(f);
|
|
40309
40312
|
let p;
|
|
40310
40313
|
f.mode === "behind" && this.config.clickable !== !1 && (p = this.addObjectClickHandler(this, f, (v) => {
|
|
@@ -40922,8 +40925,8 @@ function D7(n, t, e) {
|
|
|
40922
40925
|
32 && e(9, s = !i), n.$$.dirty & /*tag*/
|
|
40923
40926
|
2 && e(8, o = (ee = (q = h.style) == null ? void 0 : q.point) != null && ee.url ? (K = h.style) == null ? void 0 : K.point : { url: e4 }), n.$$.dirty & /*tag*/
|
|
40924
40927
|
2 && e(7, r = (() => {
|
|
40925
|
-
var
|
|
40926
|
-
const se = (Oe = (
|
|
40928
|
+
var ce, Oe, Ae, ze;
|
|
40929
|
+
const se = (Oe = (ce = h.style) == null ? void 0 : ce.point) == null ? void 0 : Oe.width;
|
|
40927
40930
|
if (typeof se == "number")
|
|
40928
40931
|
return se;
|
|
40929
40932
|
const ne = (ze = (Ae = h.style) == null ? void 0 : Ae.point) == null ? void 0 : ze.size;
|
|
@@ -42040,8 +42043,8 @@ function hk(n) {
|
|
|
42040
42043
|
return `${t.toString().padStart(2, "0")}:${e.toString().padStart(2, "0")}`;
|
|
42041
42044
|
}
|
|
42042
42045
|
function uk(n, t, e) {
|
|
42043
|
-
let i, s, o, r, a, l, c, h, u, f, m, p, g, v, A, w, M, k, L, D, N, z, B, b, C, I, { $$slots: E = {}, $$scope: S } = t, { tag: T } = t, { config: F = {} } = t, { theme: R = void 0 } = t, { placement: q = "right-top" } = t, { audioInstance: ee = null } = t, { audioPlaying: K = !1 } = t, { audioCurrentTime: se = 0 } = t, { audioDuration: ne = 0 } = t,
|
|
42044
|
-
function
|
|
42046
|
+
let i, s, o, r, a, l, c, h, u, f, m, p, g, v, A, w, M, k, L, D, N, z, B, b, C, I, { $$slots: E = {}, $$scope: S } = t, { tag: T } = t, { config: F = {} } = t, { theme: R = void 0 } = t, { placement: q = "right-top" } = t, { audioInstance: ee = null } = t, { audioPlaying: K = !1 } = t, { audioCurrentTime: se = 0 } = t, { audioDuration: ne = 0 } = t, ce = 0, Oe = "00:00", Ae = null, ze = 0, me = 0;
|
|
42047
|
+
function he() {
|
|
42045
42048
|
return ne > 0 ? se / ne * 100 : 0;
|
|
42046
42049
|
}
|
|
42047
42050
|
function Te() {
|
|
@@ -42055,8 +42058,8 @@ function uk(n, t, e) {
|
|
|
42055
42058
|
function $() {
|
|
42056
42059
|
if (!s)
|
|
42057
42060
|
return;
|
|
42058
|
-
const be =
|
|
42059
|
-
ne > 0 ? (K || (me = be), e(9,
|
|
42061
|
+
const be = he();
|
|
42062
|
+
ne > 0 ? (K || (me = be), e(9, ce = me), e(10, Oe = hk(me / 100 * ne)), ze = Date.now()) : (me = 0, e(9, ce = 0), e(10, Oe = "00:00"));
|
|
42060
42063
|
}
|
|
42061
42064
|
function De() {
|
|
42062
42065
|
K && ne > 0 ? Ae || Te() : Ae && (cancelAnimationFrame(Ae), Ae = null);
|
|
@@ -42141,7 +42144,7 @@ function uk(n, t, e) {
|
|
|
42141
42144
|
A,
|
|
42142
42145
|
m,
|
|
42143
42146
|
s,
|
|
42144
|
-
|
|
42147
|
+
ce,
|
|
42145
42148
|
Oe,
|
|
42146
42149
|
I,
|
|
42147
42150
|
C,
|
|
@@ -43229,14 +43232,14 @@ function Sk(n, t, e) {
|
|
|
43229
43232
|
}, se = ($) => {
|
|
43230
43233
|
f || Ae(), $.stopPropagation(), m.emit("click", { event: $, target: "TagPopoverContent", tag: p });
|
|
43231
43234
|
};
|
|
43232
|
-
let ne = null,
|
|
43235
|
+
let ne = null, ce = !1;
|
|
43233
43236
|
function Oe() {
|
|
43234
43237
|
w && ne && ne.parentNode !== w && w.appendChild(ne);
|
|
43235
43238
|
}
|
|
43236
43239
|
Rt(() => {
|
|
43237
|
-
(!A || A === document.body) && console.warn("TagPopover 组件警告:禁止使用 document.body 作为 wrapperElement,请传入自定义容器元素。"),
|
|
43240
|
+
(!A || A === document.body) && console.warn("TagPopover 组件警告:禁止使用 document.body 作为 wrapperElement,请传入自定义容器元素。"), ce = !0, Oe(), A && A !== document.body && e(25, A.style.overflow = "hidden", A);
|
|
43238
43241
|
}), Vh(() => {
|
|
43239
|
-
|
|
43242
|
+
ce && Oe();
|
|
43240
43243
|
}), ri(() => {
|
|
43241
43244
|
ne && ne.parentNode && ne.parentNode.removeChild(ne), A && A !== document.body && e(25, A.style.overflow = "", A);
|
|
43242
43245
|
});
|
|
@@ -43249,7 +43252,7 @@ function Sk(n, t, e) {
|
|
|
43249
43252
|
function me($) {
|
|
43250
43253
|
Pn.call(this, n, $);
|
|
43251
43254
|
}
|
|
43252
|
-
function
|
|
43255
|
+
function he($) {
|
|
43253
43256
|
qe[$ ? "unshift" : "push"](() => {
|
|
43254
43257
|
C = $, e(9, C);
|
|
43255
43258
|
});
|
|
@@ -43336,7 +43339,7 @@ function Sk(n, t, e) {
|
|
|
43336
43339
|
s,
|
|
43337
43340
|
ze,
|
|
43338
43341
|
me,
|
|
43339
|
-
|
|
43342
|
+
he,
|
|
43340
43343
|
Te
|
|
43341
43344
|
];
|
|
43342
43345
|
}
|
|
@@ -43867,7 +43870,7 @@ function Bk(n, t, e) {
|
|
|
43867
43870
|
C = !0, B && clearTimeout(B);
|
|
43868
43871
|
}, ne = () => {
|
|
43869
43872
|
C = !1, K(!1);
|
|
43870
|
-
},
|
|
43873
|
+
}, ce = ($) => {
|
|
43871
43874
|
var De, Re, be, Ve, ue, Ce;
|
|
43872
43875
|
if (I = !0, p.isPopoverConfigEnabled() && p.isHoverEnabled() && ((Re = (De = p.currentConfig) == null ? void 0 : De.popoverConfig) == null ? void 0 : Re.trigger) === "hover") {
|
|
43873
43876
|
if (B && clearTimeout(B), z !== void 0)
|
|
@@ -43896,7 +43899,7 @@ function Bk(n, t, e) {
|
|
|
43896
43899
|
function me($) {
|
|
43897
43900
|
b = $, e(12, b);
|
|
43898
43901
|
}
|
|
43899
|
-
function
|
|
43902
|
+
function he($) {
|
|
43900
43903
|
qe[$ ? "unshift" : "push"](() => {
|
|
43901
43904
|
E = $, e(13, E);
|
|
43902
43905
|
});
|
|
@@ -43959,12 +43962,12 @@ function Bk(n, t, e) {
|
|
|
43959
43962
|
q,
|
|
43960
43963
|
se,
|
|
43961
43964
|
ne,
|
|
43962
|
-
|
|
43965
|
+
ce,
|
|
43963
43966
|
Oe,
|
|
43964
43967
|
Ae,
|
|
43965
43968
|
ze,
|
|
43966
43969
|
me,
|
|
43967
|
-
|
|
43970
|
+
he,
|
|
43968
43971
|
Te
|
|
43969
43972
|
];
|
|
43970
43973
|
}
|
|
@@ -44357,7 +44360,7 @@ class nh extends A8 {
|
|
|
44357
44360
|
return console.error("updateRenderPlaneTag: tag2DContainer not found");
|
|
44358
44361
|
this.TagContainerSvelte = new Gk({
|
|
44359
44362
|
target: this.container,
|
|
44360
|
-
props:
|
|
44363
|
+
props: le(H({}, a), { state: le(H({}, this.state), { enabled: !1 }) })
|
|
44361
44364
|
}), Wr(() => {
|
|
44362
44365
|
var l;
|
|
44363
44366
|
(l = this.TagContainerSvelte) == null || l.$set({ state: this.state });
|
|
@@ -45037,7 +45040,7 @@ function Zk(n, t, e) {
|
|
|
45037
45040
|
}), i.push(l);
|
|
45038
45041
|
});
|
|
45039
45042
|
const s = t.transform, o = i.map((r) => Co(new P.Vector3().fromArray(r), s).toArray());
|
|
45040
|
-
return [
|
|
45043
|
+
return [le(H({}, e), { type: "CatmullRomCurve3", points: o })];
|
|
45041
45044
|
}
|
|
45042
45045
|
const qk = (
|
|
45043
45046
|
/* glsl */
|
|
@@ -45503,7 +45506,7 @@ class sh {
|
|
|
45503
45506
|
s.tag = r, Kk(r) && (s.tag.element = (h) => {
|
|
45504
45507
|
var m, p;
|
|
45505
45508
|
(m = s.app) == null || m.$destroy();
|
|
45506
|
-
const u = t === "start" ?
|
|
45509
|
+
const u = t === "start" ? le(H({}, r.data), { name: this.name, distance: Math.round((p = i == null ? void 0 : i.getLength()) != null ? p : 0), i18n: this.plugin.config.i18n }) : r.data, f = new Xk({ target: h, intro: !0, props: H({ fontSize: this.currentFontSize }, u) });
|
|
45507
45510
|
return s.app = f, () => f.$destroy();
|
|
45508
45511
|
}), s.plugin.load({ tagList: [s.tag] });
|
|
45509
45512
|
const a = this.meshStyle.translate;
|
|
@@ -45722,7 +45725,7 @@ let tv = class extends ev {
|
|
|
45722
45725
|
this.state.speed = e, this.hooks.emit("speedChange", e, { userAction: i });
|
|
45723
45726
|
});
|
|
45724
45727
|
d(this, "moveToStart", () => {
|
|
45725
|
-
this.five.setState(
|
|
45728
|
+
this.five.setState(le(H({}, gc(this.curve, 0, this.curveOffset)), { mode: "Model" }));
|
|
45726
45729
|
});
|
|
45727
45730
|
d(this, "playFromStart", () => {
|
|
45728
45731
|
this.clearPauseData(), this.setState({ playing: !0 });
|
|
@@ -45792,7 +45795,7 @@ let tv = class extends ev {
|
|
|
45792
45795
|
let o = (l = s == null ? void 0 : s.playedProgress) != null ? l : 0;
|
|
45793
45796
|
(o < 0 || o >= 1) && (o = 0);
|
|
45794
45797
|
const r = gc(this.curve, o, this.curveOffset);
|
|
45795
|
-
if (this.hooks.emit("progressChange", o), this.five.setState(
|
|
45798
|
+
if (this.hooks.emit("progressChange", o), this.five.setState(le(H({}, r), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
|
|
45796
45799
|
const c = this.addInterruptListener(() => {
|
|
45797
45800
|
this.state.playing && (this.hooks.emit("broke"), this.handlePause(), c(), i(new Error("broke")));
|
|
45798
45801
|
});
|
|
@@ -45927,7 +45930,7 @@ class vu extends ev {
|
|
|
45927
45930
|
* @description Play from first keyframe
|
|
45928
45931
|
*/
|
|
45929
45932
|
playFromStart(e) {
|
|
45930
|
-
return this.playFrom(
|
|
45933
|
+
return this.playFrom(le(H({}, e), { index: 0 }));
|
|
45931
45934
|
}
|
|
45932
45935
|
/**
|
|
45933
45936
|
* @description Format data
|
|
@@ -45945,7 +45948,7 @@ class vu extends ev {
|
|
|
45945
45948
|
keyframes: i.keyframes.map((s, o) => {
|
|
45946
45949
|
var l;
|
|
45947
45950
|
const r = i.keyframes[o + 1], a = (() => !r || r.start === void 0 || s.end === void 0 ? 0 : r.start - s.end)();
|
|
45948
|
-
return
|
|
45951
|
+
return le(H({ id: (l = s.uuid) != null ? l : Dt(), moveIndex: o, stay: a, index: o }, s), { guildPluginOptions: i.guildPluginOptions });
|
|
45949
45952
|
})
|
|
45950
45953
|
};
|
|
45951
45954
|
if (i.panoIndexList) {
|
|
@@ -46273,7 +46276,7 @@ class nv {
|
|
|
46273
46276
|
const i = t === "panorama" ? this.panoramaItem : this.modelItem, s = t === "panorama" ? e.panorama_style : e.model_style, o = e.path, r = s, a = s, l = s;
|
|
46274
46277
|
if (e.pano_group) {
|
|
46275
46278
|
const h = t === "panorama" && e.panorama_style.skip_group === !0;
|
|
46276
|
-
i.setGeometryByPanoGroup(e.pano_group, H(
|
|
46279
|
+
i.setGeometryByPanoGroup(e.pano_group, H(le(H({}, e), { skipPanoGroup: h }), r));
|
|
46277
46280
|
} else
|
|
46278
46281
|
e.path && i.setGeometryByPath(o, H({}, r));
|
|
46279
46282
|
i.name = e.name, i.setMeshStyle(l), i.setMartial(a), i.setVisibleFloorIndexes((c = e.visible_floor_indexes) != null ? c : null), i.setStartTag(s == null ? void 0 : s.start_tag), i.setEndTag(s == null ? void 0 : s.end_tag);
|
|
@@ -46379,7 +46382,7 @@ let s6 = class extends Mn {
|
|
|
46379
46382
|
var m, p, g, v, A, w, M, k;
|
|
46380
46383
|
const o = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, r = yield this.formatData(e);
|
|
46381
46384
|
this.hooks.emit("dataChange", r, o), this.data = r;
|
|
46382
|
-
const a = r.config, l = !r.lines && r.routes, c =
|
|
46385
|
+
const a = r.config, l = !r.lines && r.routes, c = le(H({}, a), {
|
|
46383
46386
|
model_style: {
|
|
46384
46387
|
texture: { url: (m = a == null ? void 0 : a.arrowTextureUrl) != null ? m : this.staticPrefix + "/release/web/arrow-white.5c2c79a5.png" }
|
|
46385
46388
|
},
|
|
@@ -48733,7 +48736,7 @@ class X6 extends cs {
|
|
|
48733
48736
|
o.video_list.forEach((l) => {
|
|
48734
48737
|
this.controllerMap.set(
|
|
48735
48738
|
l.render_id,
|
|
48736
|
-
new em(this.five,
|
|
48739
|
+
new em(this.five, le(H({}, l), {
|
|
48737
48740
|
fiveUtil: this.fiveUtil,
|
|
48738
48741
|
panoIndex: r,
|
|
48739
48742
|
renderID: a,
|
|
@@ -48812,7 +48815,7 @@ class X6 extends cs {
|
|
|
48812
48815
|
const o = s.render_id;
|
|
48813
48816
|
this.controllerMap.set(
|
|
48814
48817
|
s.render_id,
|
|
48815
|
-
new em(this.five,
|
|
48818
|
+
new em(this.five, le(H({}, s), {
|
|
48816
48819
|
fiveUtil: this.fiveUtil,
|
|
48817
48820
|
panoIndex: e,
|
|
48818
48821
|
renderID: o,
|
|
@@ -50186,9 +50189,9 @@ let vx = class extends Mn {
|
|
|
50186
50189
|
return i(e) ? {
|
|
50187
50190
|
list: e.list.filter((s) => s.object_data.points.length >= 3).map((s) => {
|
|
50188
50191
|
const o = new P.Shape(), r = s.object_data.points[0];
|
|
50189
|
-
return o.moveTo(r[0], r[2]), s.object_data.points.slice(1).forEach((l) => o.lineTo(l[0], l[2])), o.lineTo(r[0], r[2]),
|
|
50192
|
+
return o.moveTo(r[0], r[2]), s.object_data.points.slice(1).forEach((l) => o.lineTo(l[0], l[2])), o.lineTo(r[0], r[2]), le(H({}, s), {
|
|
50190
50193
|
floor_index: s.object_data.floorIndex,
|
|
50191
|
-
object_data:
|
|
50194
|
+
object_data: le(H({}, s.object_data), {
|
|
50192
50195
|
bottom_y: r[1] + s.object_data.fixedY,
|
|
50193
50196
|
shape: o.toJSON(),
|
|
50194
50197
|
height: s.object_data.height + s.object_data.fixedHeight
|
|
@@ -50489,7 +50492,7 @@ class bx {
|
|
|
50489
50492
|
return this._pointSelector;
|
|
50490
50493
|
const t = (i = this.config) == null ? void 0 : i.magnifier;
|
|
50491
50494
|
let e = t === null || t === !1 ? { magnifier: null } : { magnifierParams: t };
|
|
50492
|
-
return (s = this.config) != null && s.hideCursorCircle && (e =
|
|
50495
|
+
return (s = this.config) != null && s.hideCursorCircle && (e = le(H({}, e), { pointHelper: null })), this._pointSelector = new dl(this.five, {
|
|
50493
50496
|
mode: "cursor",
|
|
50494
50497
|
helper: e
|
|
50495
50498
|
}), this._pointSelector;
|
|
@@ -50575,7 +50578,7 @@ class hv extends fi {
|
|
|
50575
50578
|
if (r !== 0 && a === void 0)
|
|
50576
50579
|
return;
|
|
50577
50580
|
const l = (c = this.lines[r]) != null ? c : (() => {
|
|
50578
|
-
const h = new Or(
|
|
50581
|
+
const h = new Or(le(H({}, this.style), {
|
|
50579
50582
|
pointVisibility: this.withDots ? { startPoint: r === 0, endPoint: !0 } : !1
|
|
50580
50583
|
}));
|
|
50581
50584
|
return this.lines[r] = h, this.add(h), h;
|
|
@@ -50595,13 +50598,13 @@ class hv extends fi {
|
|
|
50595
50598
|
}
|
|
50596
50599
|
class Vs extends hv {
|
|
50597
50600
|
constructor(...e) {
|
|
50598
|
-
super(
|
|
50601
|
+
super(le(H({}, e[0]), { withDots: !1 }));
|
|
50599
50602
|
d(this, "name", "PolylineMesh");
|
|
50600
50603
|
}
|
|
50601
50604
|
}
|
|
50602
50605
|
class qn extends hv {
|
|
50603
50606
|
constructor(...e) {
|
|
50604
|
-
super(
|
|
50607
|
+
super(le(H({}, e[0]), { withDots: !0 }));
|
|
50605
50608
|
d(this, "name", "PolylineWithDotsMesh");
|
|
50606
50609
|
}
|
|
50607
50610
|
}
|
|
@@ -50631,7 +50634,7 @@ class Fi extends fi {
|
|
|
50631
50634
|
const s = i != null ? i : this;
|
|
50632
50635
|
return s.updateMatrixWorld(), XA(s, e);
|
|
50633
50636
|
});
|
|
50634
|
-
e != null && e.id && (this.uuid = e.id), this.config = H({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), e && (Fe((s = this.config) == null ? void 0 : s.occlusionMode) && (e.style =
|
|
50637
|
+
e != null && e.id && (this.uuid = e.id), this.config = H({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), e && (Fe((s = this.config) == null ? void 0 : s.occlusionMode) && (e.style = le(H({}, e.style), { occlusionMode: this.config.occlusionMode })), Fe((o = this.config) == null ? void 0 : o.occlusionVisibility) && (e.style = le(H({}, e.style), { occlusionVisibility: this.config.occlusionVisibility }))), ct("esc", () => {
|
|
50635
50638
|
this.stopCreating();
|
|
50636
50639
|
}), this.config.defaultAction && (ct("backspace, delete", () => {
|
|
50637
50640
|
this.selected && this.delete();
|
|
@@ -50852,7 +50855,7 @@ class sm extends Fi {
|
|
|
50852
50855
|
return this._editor || (this._editor = new Px(this)), this._editor;
|
|
50853
50856
|
}
|
|
50854
50857
|
get data() {
|
|
50855
|
-
return
|
|
50858
|
+
return le(H({}, this.baseData), {
|
|
50856
50859
|
points: oi(this.applyObjectMatrixWorld(this.polyLineMesh.points)),
|
|
50857
50860
|
style: {
|
|
50858
50861
|
lineColor: new P.Color(this.polyLineMesh.lineColor).getHex(),
|
|
@@ -50903,7 +50906,7 @@ function Cx(n, t, e) {
|
|
|
50903
50906
|
return;
|
|
50904
50907
|
const { promise: s, resolve: o, reject: r } = Fs(), a = (L = e == null ? void 0 : e.limit) != null ? L : "none", l = new Vs(n.style);
|
|
50905
50908
|
i.add(l);
|
|
50906
|
-
const c = new Vs(
|
|
50909
|
+
const c = new Vs(le(H({}, n.style), { dashed: !0, lengthEnable: !1 }));
|
|
50907
50910
|
i.add(c), t.enable();
|
|
50908
50911
|
const h = [];
|
|
50909
50912
|
let u, f, m;
|
|
@@ -50964,7 +50967,7 @@ class om extends Fi {
|
|
|
50964
50967
|
return this._editor || (this._editor = new Ix(this)), this._editor;
|
|
50965
50968
|
}
|
|
50966
50969
|
get data() {
|
|
50967
|
-
return
|
|
50970
|
+
return le(H({}, this.baseData), {
|
|
50968
50971
|
point: oi(this.applyObjectMatrixWorld(this.pointMesh.position)),
|
|
50969
50972
|
style: {
|
|
50970
50973
|
color: this.pointMesh.color.getHex(),
|
|
@@ -51024,7 +51027,7 @@ class lh extends No {
|
|
|
51024
51027
|
i && this.setPoints(i), s && this.setStyle(s);
|
|
51025
51028
|
}
|
|
51026
51029
|
get style() {
|
|
51027
|
-
return
|
|
51030
|
+
return le(H({}, super.style), {
|
|
51028
51031
|
lineWidth: this.lineWidth,
|
|
51029
51032
|
lineColor: this.lineColor
|
|
51030
51033
|
});
|
|
@@ -51044,7 +51047,7 @@ class lh extends No {
|
|
|
51044
51047
|
super.setPoints(e, H({ closed: !0 }, i)), this.points && (this.line.setPoints(this.points, H({ closed: !0 }, i)), this.addIfNotExists(this.line));
|
|
51045
51048
|
}
|
|
51046
51049
|
setStyle(e) {
|
|
51047
|
-
super.setStyle(e), e.lineOpacity !== void 0 ? this.line.setStyle(
|
|
51050
|
+
super.setStyle(e), e.lineOpacity !== void 0 ? this.line.setStyle(le(H({}, e), {
|
|
51048
51051
|
// 强制设置line的lineOpacity
|
|
51049
51052
|
lineOpacity: e.lineOpacity
|
|
51050
51053
|
})) : this.line.setStyle(e), this.needsRender = !0;
|
|
@@ -51089,7 +51092,7 @@ class rm extends Fi {
|
|
|
51089
51092
|
return this._editor || (this._editor = new Ex(this)), this._editor;
|
|
51090
51093
|
}
|
|
51091
51094
|
get data() {
|
|
51092
|
-
return this.updateMatrixWorld(),
|
|
51095
|
+
return this.updateMatrixWorld(), le(H({}, this.baseData), {
|
|
51093
51096
|
points: oi(this.applyObjectMatrixWorld(this.areaMesh.points)),
|
|
51094
51097
|
style: {
|
|
51095
51098
|
color: this.areaMesh.color.getHex(),
|
|
@@ -51144,7 +51147,7 @@ function Cu(n, t, e) {
|
|
|
51144
51147
|
}
|
|
51145
51148
|
const a = (z = e == null ? void 0 : e.limit) != null ? z : "none", l = new Vs(n.style);
|
|
51146
51149
|
r == null || r.add(l);
|
|
51147
|
-
const c = new Vs(
|
|
51150
|
+
const c = new Vs(le(H({}, n.style), { dashed: !0, lengthEnable: !1 }));
|
|
51148
51151
|
r == null || r.add(c), t.enable();
|
|
51149
51152
|
const h = [];
|
|
51150
51153
|
let u, f, m = !1, p;
|
|
@@ -51557,7 +51560,7 @@ class am extends Fi {
|
|
|
51557
51560
|
return this._editor || (this._editor = new dv(this.prismMesh)), this._editor;
|
|
51558
51561
|
}
|
|
51559
51562
|
get data() {
|
|
51560
|
-
return
|
|
51563
|
+
return le(H({}, this.baseData), {
|
|
51561
51564
|
points: oi(this.applyObjectMatrixWorld(this.prismMesh.bottomPositions, this.prismMesh)),
|
|
51562
51565
|
heightPoint: oi(this.applyObjectMatrixWorld(this.prismMesh.topPosition, this.prismMesh)),
|
|
51563
51566
|
style: {
|
|
@@ -51763,7 +51766,7 @@ class lm extends Fi {
|
|
|
51763
51766
|
return this._editor || (this._editor = new pv(this.rectangleMesh)), this._editor;
|
|
51764
51767
|
}
|
|
51765
51768
|
get data() {
|
|
51766
|
-
return
|
|
51769
|
+
return le(H({}, this.baseData), {
|
|
51767
51770
|
points: oi(this.applyObjectMatrixWorld(this.rectangleMesh.points, this.rectangleMesh)),
|
|
51768
51771
|
style: {
|
|
51769
51772
|
color: this.rectangleMesh.color.getHex(),
|
|
@@ -51814,7 +51817,7 @@ function Tx(n, t, e) {
|
|
|
51814
51817
|
const { promise: i, reject: s, resolve: o } = Fs(), r = n.parent;
|
|
51815
51818
|
if (!r)
|
|
51816
51819
|
return s(new Error("No container"));
|
|
51817
|
-
const a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new qn(
|
|
51820
|
+
const a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new qn(le(H({}, n.style), { dashed: !0 })), c = new qn(le(H({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new qn(le(H({}, n.style), { dashed: !1, lengthEnable: !1 }));
|
|
51818
51821
|
r.add(l, h, c), t.enable();
|
|
51819
51822
|
const u = [];
|
|
51820
51823
|
let f = new P.Vector3(), m = new P.Vector3();
|
|
@@ -51863,7 +51866,7 @@ function Lx(n, t, e) {
|
|
|
51863
51866
|
const { promise: i, reject: s, resolve: o } = Fs(), r = n.parent;
|
|
51864
51867
|
if (!r)
|
|
51865
51868
|
return s(new Error("No container"));
|
|
51866
|
-
const a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new qn(
|
|
51869
|
+
const a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new qn(le(H({}, n.style), { dashed: !0 })), c = new qn(le(H({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new qn(le(H({}, n.style), { dashed: !1, lengthEnable: !1 }));
|
|
51867
51870
|
r.add(l, h, c), t.enable(), t.setAdherePoints(Dx(t.five, { excludes: [n] }));
|
|
51868
51871
|
const u = [];
|
|
51869
51872
|
let f = new P.Vector3(), m = new P.Vector3();
|
|
@@ -51980,7 +51983,7 @@ class cm extends Fi {
|
|
|
51980
51983
|
return this._editor || (this._editor = new mv(this.circleMesh)), this._editor;
|
|
51981
51984
|
}
|
|
51982
51985
|
get data() {
|
|
51983
|
-
return
|
|
51986
|
+
return le(H({}, this.baseData), {
|
|
51984
51987
|
center: oi(this.applyObjectMatrixWorld(this.circleMesh.center, this.circleMesh)),
|
|
51985
51988
|
normal: oi(this.circleMesh.normal.clone().applyQuaternion(this.circleMesh.quaternion)),
|
|
51986
51989
|
radius: this.circleMesh.radius,
|
|
@@ -52165,7 +52168,7 @@ class hm extends Fi {
|
|
|
52165
52168
|
return this._editor || (this._editor = new bv(this.cylinderMesh)), this._editor;
|
|
52166
52169
|
}
|
|
52167
52170
|
get data() {
|
|
52168
|
-
return
|
|
52171
|
+
return le(H({}, this.baseData), {
|
|
52169
52172
|
bottomCenter: oi(this.applyObjectMatrixWorld(this.cylinderMesh.bottomCenter, this.cylinderMesh)),
|
|
52170
52173
|
topCenter: oi(this.applyObjectMatrixWorld(this.cylinderMesh.topCenter, this.cylinderMesh)),
|
|
52171
52174
|
radius: this.cylinderMesh.radius,
|
|
@@ -52345,7 +52348,7 @@ class um extends Fi {
|
|
|
52345
52348
|
return this._editor || (this._editor = new wv(this.boxMesh)), this._editor;
|
|
52346
52349
|
}
|
|
52347
52350
|
get data() {
|
|
52348
|
-
return
|
|
52351
|
+
return le(H({}, this.baseData), {
|
|
52349
52352
|
points: oi(this.applyObjectMatrixWorld(this.boxMesh.bottomPositions, this.boxMesh)),
|
|
52350
52353
|
heightPoint: oi(this.applyObjectMatrixWorld(this.boxMesh.topPosition, this.boxMesh)),
|
|
52351
52354
|
style: {
|
|
@@ -52427,7 +52430,7 @@ class dm extends Fi {
|
|
|
52427
52430
|
return this._editor || (this._editor = new wx(this)), this._editor;
|
|
52428
52431
|
}
|
|
52429
52432
|
get data() {
|
|
52430
|
-
return
|
|
52433
|
+
return le(H({}, this.baseData), {
|
|
52431
52434
|
points: oi(this.applyObjectMatrixWorld(this.lineMesh.points)),
|
|
52432
52435
|
style: {
|
|
52433
52436
|
lineColor: new P.Color(this.lineMesh.color).getHex(),
|
|
@@ -52478,7 +52481,7 @@ function Cv(n, t, e) {
|
|
|
52478
52481
|
return;
|
|
52479
52482
|
const { promise: s, resolve: o, reject: r } = Fs(), a = (N = e == null ? void 0 : e.limit) != null ? N : "none", l = new wi(n.style);
|
|
52480
52483
|
i.add(l);
|
|
52481
|
-
const c = new wi(
|
|
52484
|
+
const c = new wi(le(H({}, n.style), { dashed: !0, lengthEnable: !1 }));
|
|
52482
52485
|
i.add(c), t.enable();
|
|
52483
52486
|
const h = [];
|
|
52484
52487
|
let u, f, m;
|
|
@@ -52570,7 +52573,7 @@ const go = class extends Ct {
|
|
|
52570
52573
|
this.clear();
|
|
52571
52574
|
const s = (o = e == null ? void 0 : e.items) == null ? void 0 : o.map((r) => {
|
|
52572
52575
|
var l;
|
|
52573
|
-
const a =
|
|
52576
|
+
const a = le(H({}, r), {
|
|
52574
52577
|
style: H(H({}, (l = this.theme) == null ? void 0 : l[r.type.toLowerCase()]), r.style)
|
|
52575
52578
|
});
|
|
52576
52579
|
return r.type === "Point" ? new om(a, i) : r.type === "line" ? new dm(a, i) : r.type === "Polyline" ? new sm(a, i) : r.type === "Polygon" ? new rm(a, i) : r.type === "Prism" ? new am(a, i) : r.type === "Rectangle" ? new lm(a, i) : r.type === "Circle" ? new cm(a, i) : r.type === "Cylinder" ? new hm(a, i) : r.type === "Box" ? new um(a, i) : null;
|
|
@@ -52886,7 +52889,7 @@ const gm = (n, t) => {
|
|
|
52886
52889
|
class Mc extends ku {
|
|
52887
52890
|
constructor(...e) {
|
|
52888
52891
|
const i = e[0], s = Hs(i.model), o = new P.Vector3().lerpVectors(Qn(s, 0), Qn(s, 5), 0.5);
|
|
52889
|
-
super(
|
|
52892
|
+
super(le(H({}, i), { position: o }));
|
|
52890
52893
|
d(this, "onModelShownFloorChange", (e) => {
|
|
52891
52894
|
this.updateFiveCurrentFloorState(e), this.updateVisible();
|
|
52892
52895
|
});
|