@realsee/dnalogel 2.26.0 → 2.26.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/dist/PanoMeasurePlugin/Model/point.d.ts +0 -4
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +1 -1
- package/dist/index.cjs.js +52 -52
- package/dist/index.js +2559 -2575
- package/dist/index.umd.js +45 -45
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +26 -26
- package/docs/classes/PanoMeasurePluginModel.html +26 -26
- package/docs/classes/PanoMeasurePluginPoint.html +11 -48
- package/docs/classes/PanoMeasurePluginPolyline.html +40 -32
- package/docs/classes/PanoTagPluginController.html +46 -46
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.Magnifier.html +19 -19
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.PointSelectorHelper.html +15 -15
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +15 -15
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +12 -12
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/interfaces/Util.PointIntersection.html +7 -7
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PipelinePluginParameterType.html +4 -4
- package/docs/types/PipelinePluginReturnType.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +4 -4
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +2 -4
- package/libs/PanoMeasurePlugin/Components/Controller1.js +52 -54
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +2 -3
- package/libs/PanoMeasurePlugin/Controller/EditController.js +5 -7
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +14 -16
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +2 -3
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +41 -43
- package/libs/PanoMeasurePlugin/Controller/index.js +26 -30
- package/libs/PanoMeasurePlugin/Model/area.js +2 -3
- package/libs/PanoMeasurePlugin/Model/index.js +2 -3
- package/libs/PanoMeasurePlugin/Model/line.js +20 -20
- package/libs/PanoMeasurePlugin/Model/point.d.ts +0 -4
- package/libs/PanoMeasurePlugin/Model/point.js +12 -20
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/polyline.js +59 -51
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +22 -24
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +2 -3
- package/libs/PanoMeasurePlugin/index.js +13 -15
- package/libs/PanoVideoPlugin/VideoMeshController.js +1 -2
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +110 -112
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
- package/dist/PanoMeasurePlugin/utils/findAssociatedLines.d.ts +0 -2
- package/dist/shared-utils/removeArrayItem.d.ts +0 -7
- package/libs/PanoMeasurePlugin/utils/findAssociatedLines.d.ts +0 -2
- package/libs/PanoMeasurePlugin/utils/findAssociatedLines.js +0 -13
- package/libs/shared-utils/removeArrayItem.d.ts +0 -7
- package/libs/shared-utils/removeArrayItem.js +0 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视看房插件合集 - v2.26.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视看房插件合集 - v2.26.1</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.26.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.26.1</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-content">
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/c13090f/plugins/src/ItemLabelPlugin/index.ts#L7">plugins/src/ItemLabelPlugin/index.ts:7</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-sidebar">
|
|
29
29
|
<div class="page-menu">
|
|
30
30
|
<div class="tsd-navigation settings">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<div class="tsd-theme-toggle">
|
|
39
39
|
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
40
40
|
<div class="site-menu">
|
|
41
|
-
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v2.26.
|
|
41
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v2.26.1</span></a>
|
|
42
42
|
<ul class="tsd-small-nested-navigation">
|
|
43
43
|
<li><a href="../modules/CruisePluginTypes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Cruise<wbr/>Plugin<wbr/>Types</span></a></li>
|
|
44
44
|
<li><a href="../modules/GuideLineItem.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Guide<wbr/>Line<wbr/>Item</span></a></li>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视看房插件合集 - v2.26.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视看房插件合集 - v2.26.1</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.26.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.26.1</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-content">
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/c13090f/plugins/src/ModelItemLabelPlugin/index.ts#L7">plugins/src/ModelItemLabelPlugin/index.ts:7</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-sidebar">
|
|
29
29
|
<div class="page-menu">
|
|
30
30
|
<div class="tsd-navigation settings">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<div class="tsd-theme-toggle">
|
|
39
39
|
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
40
40
|
<div class="site-menu">
|
|
41
|
-
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v2.26.
|
|
41
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v2.26.1</span></a>
|
|
42
42
|
<ul class="tsd-small-nested-navigation">
|
|
43
43
|
<li><a href="../modules/CruisePluginTypes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Cruise<wbr/>Plugin<wbr/>Types</span></a></li>
|
|
44
44
|
<li><a href="../modules/GuideLineItem.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Guide<wbr/>Line<wbr/>Item</span></a></li>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.26.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.26.1</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.26.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.26.1</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-content">
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/c13090f/plugins/src/ModelRoomLabelPlugin/index.ts#L9">plugins/src/ModelRoomLabelPlugin/index.ts:9</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-sidebar">
|
|
29
29
|
<div class="page-menu">
|
|
30
30
|
<div class="tsd-navigation settings">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<div class="tsd-theme-toggle">
|
|
39
39
|
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
40
40
|
<div class="site-menu">
|
|
41
|
-
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v2.26.
|
|
41
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v2.26.1</span></a>
|
|
42
42
|
<ul class="tsd-small-nested-navigation">
|
|
43
43
|
<li><a href="../modules/CruisePluginTypes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Cruise<wbr/>Plugin<wbr/>Types</span></a></li>
|
|
44
44
|
<li><a href="../modules/GuideLineItem.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Guide<wbr/>Line<wbr/>Item</span></a></li>
|
|
@@ -15,7 +15,6 @@ import "../utils/dom/base.js";
|
|
|
15
15
|
import "../utils/isNDCPointInScreen.js";
|
|
16
16
|
import "../../shared-utils/three/centerPoint.js";
|
|
17
17
|
import "../Model/point.js";
|
|
18
|
-
import "../../shared-utils/removeArrayItem.js";
|
|
19
18
|
import "../../shared-utils/throttle.js";
|
|
20
19
|
import "../Controller/BaseController.js";
|
|
21
20
|
import "../utils/ironbox.js";
|
|
@@ -65,7 +64,6 @@ import "../Modules/DeleteDom/index.js";
|
|
|
65
64
|
import "../Modules/DeleteDom/_Assets/delete.svg.js";
|
|
66
65
|
import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
67
66
|
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
68
|
-
import "../utils/findAssociatedLines.js";
|
|
69
67
|
import "../utils/math.js";
|
|
70
68
|
function oe(n) {
|
|
71
69
|
F(n, "svelte-468fdd", '*.forbid.svelte-468fdd.svelte-468fdd{pointer-events:none !important;opacity:0.5}.Measure-Controller.svelte-468fdd.svelte-468fdd{pointer-events:none;position:relative;width:100%;height:100%;z-index:2}.Measure-Controller.svelte-468fdd .mode-switcher.svelte-468fdd{margin-top:2.25rem}.Measure-Controller.svelte-468fdd .bottom.svelte-468fdd{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-468fdd .bottom .mask.svelte-468fdd{position:absolute;bottom:0;width:100%;height:11.5rem;background-size:100%;background-image:linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3))}.Measure-Controller.svelte-468fdd .bottom .center.svelte-468fdd{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-468fdd .buttons.svelte-468fdd{pointer-events:all;display:flex;align-items:center;height:2.5rem;background:rgba(0, 0, 0, 0.2);color:rgba(255, 255, 255, 0.85);width:-moz-max-content;width:max-content;border-radius:624.9375rem;overflow:hidden}.Measure-Controller.svelte-468fdd .buttons .button.svelte-468fdd{cursor:pointer;display:flex;align-items:center;position:relative;font-size:0.875rem;padding:0rem 1rem}.Measure-Controller.svelte-468fdd .buttons .button .icon.svelte-468fdd{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin-right:0.25rem}.Measure-Controller.svelte-468fdd .buttons .button.svelte-468fdd::after{content:"";position:absolute;display:block;right:-0.03125rem;height:1.5rem;width:0.0625rem;background-image:linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);background-size:100%;background-repeat:no-repeat;background-position:center}.Measure-Controller.svelte-468fdd .buttons .button.svelte-468fdd:last-child::after{display:none}');
|
|
@@ -276,7 +274,7 @@ function re(n, o, i) {
|
|
|
276
274
|
u
|
|
277
275
|
];
|
|
278
276
|
}
|
|
279
|
-
class
|
|
277
|
+
class bt extends j {
|
|
280
278
|
constructor(o) {
|
|
281
279
|
super(), x(
|
|
282
280
|
this,
|
|
@@ -294,5 +292,5 @@ class _t extends j {
|
|
|
294
292
|
}
|
|
295
293
|
}
|
|
296
294
|
export {
|
|
297
|
-
|
|
295
|
+
bt as default
|
|
298
296
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as ee, init as te, safe_not_equal as oe, append_styles as re, element as j, space as T, create_component as q, attr as w, toggle_class as D, insert as I, append as g, mount_component as O, transition_in as k, transition_out as _, check_outros as R, detach as K, destroy_component as U, onMount as
|
|
1
|
+
import { SvelteComponent as ee, init as te, safe_not_equal as oe, append_styles as re, element as j, space as T, create_component as q, attr as w, toggle_class as D, insert as I, append as g, mount_component as O, transition_in as k, transition_out as _, check_outros as R, detach as K, destroy_component as U, onMount as le, onDestroy as ie, add_render_callback as F, create_bidirectional_transition as E, text as V, set_style as W, listen as X, set_data as Y, group_outros as B } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
import ne from "./Common/Switcher1.js";
|
|
3
3
|
import se from "./Common/CircleButton.js";
|
|
4
4
|
import H from "../Controller/EditController.js";
|
|
@@ -19,7 +19,6 @@ import "../utils/dom/base.js";
|
|
|
19
19
|
import "../utils/isNDCPointInScreen.js";
|
|
20
20
|
import "../../shared-utils/three/centerPoint.js";
|
|
21
21
|
import "../Model/point.js";
|
|
22
|
-
import "../../shared-utils/removeArrayItem.js";
|
|
23
22
|
import "../../shared-utils/throttle.js";
|
|
24
23
|
import "../Controller/BaseController.js";
|
|
25
24
|
import "../utils/ironbox.js";
|
|
@@ -69,13 +68,12 @@ import "../Modules/DeleteDom/index.js";
|
|
|
69
68
|
import "../Modules/DeleteDom/_Assets/delete.svg.js";
|
|
70
69
|
import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
71
70
|
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
72
|
-
import "../utils/findAssociatedLines.js";
|
|
73
71
|
import "../utils/math.js";
|
|
74
72
|
function fe(o) {
|
|
75
73
|
re(o, "svelte-ldjbp8", "*.forbid.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none !important;opacity:0.5}.Measure-Controller.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none;position:relative;width:100%;height:100%;z-index:2;color:white}.Measure-Controller.svelte-ldjbp8 .mode-switcher.svelte-ldjbp8{margin-top:2.25rem}.Measure-Controller.svelte-ldjbp8 .bottom.svelte-ldjbp8{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-ldjbp8 .bottom .mask.svelte-ldjbp8{position:absolute;bottom:0;width:100%;height:12.5rem;background-size:100%;z-index:-1;background-image:linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5))}.Measure-Controller.svelte-ldjbp8 .bottom .center.svelte-ldjbp8{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-ldjbp8 .controller.svelte-ldjbp8{pointer-events:all;display:flex;align-items:center}.Measure-Controller.svelte-ldjbp8 .controller .button.svelte-ldjbp8{cursor:pointer;display:flex;align-items:center;height:2.5rem;padding-left:1rem;padding-right:1rem;border-radius:624.9375rem;font-size:0.875rem;color:#fff;background-color:rgba(0, 0, 0, 0.2)}.Measure-Controller.svelte-ldjbp8 .controller .button .icon.svelte-ldjbp8{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin:0 0.25rem}.Measure-Controller.svelte-ldjbp8 .controller .main-button.svelte-ldjbp8{margin-left:1.75rem;margin-right:1.75rem;font-size:0.875rem;font-weight:bold}");
|
|
76
74
|
}
|
|
77
75
|
function J(o) {
|
|
78
|
-
let t,
|
|
76
|
+
let t, l;
|
|
79
77
|
return t = new ae({
|
|
80
78
|
props: {
|
|
81
79
|
onClick: (
|
|
@@ -88,19 +86,19 @@ function J(o) {
|
|
|
88
86
|
q(t.$$.fragment);
|
|
89
87
|
},
|
|
90
88
|
m(e, a) {
|
|
91
|
-
O(t, e, a),
|
|
89
|
+
O(t, e, a), l = !0;
|
|
92
90
|
},
|
|
93
91
|
p(e, a) {
|
|
94
|
-
const
|
|
92
|
+
const i = {};
|
|
95
93
|
a & /*measureController*/
|
|
96
|
-
1 && (
|
|
97
|
-
e[0].disable), t.$set(
|
|
94
|
+
1 && (i.onClick = /*measureController*/
|
|
95
|
+
e[0].disable), t.$set(i);
|
|
98
96
|
},
|
|
99
97
|
i(e) {
|
|
100
|
-
|
|
98
|
+
l || (k(t.$$.fragment, e), l = !0);
|
|
101
99
|
},
|
|
102
100
|
o(e) {
|
|
103
|
-
_(t.$$.fragment, e),
|
|
101
|
+
_(t.$$.fragment, e), l = !1;
|
|
104
102
|
},
|
|
105
103
|
d(e) {
|
|
106
104
|
U(t, e);
|
|
@@ -108,8 +106,8 @@ function J(o) {
|
|
|
108
106
|
};
|
|
109
107
|
}
|
|
110
108
|
function L(o) {
|
|
111
|
-
let t,
|
|
112
|
-
return
|
|
109
|
+
let t, l, e, a;
|
|
110
|
+
return l = new ne({
|
|
113
111
|
props: {
|
|
114
112
|
options: [
|
|
115
113
|
{
|
|
@@ -138,13 +136,13 @@ function L(o) {
|
|
|
138
136
|
}
|
|
139
137
|
}), {
|
|
140
138
|
c() {
|
|
141
|
-
t = j("div"), q(
|
|
139
|
+
t = j("div"), q(l.$$.fragment), w(t, "class", "mode-switcher svelte-ldjbp8");
|
|
142
140
|
},
|
|
143
|
-
m(
|
|
144
|
-
I(
|
|
141
|
+
m(i, n) {
|
|
142
|
+
I(i, t, n), O(l, t, null), a = !0;
|
|
145
143
|
},
|
|
146
|
-
p(
|
|
147
|
-
o =
|
|
144
|
+
p(i, n) {
|
|
145
|
+
o = i;
|
|
148
146
|
const m = {};
|
|
149
147
|
n & /*i18n*/
|
|
150
148
|
4 && (m.options = [
|
|
@@ -166,29 +164,29 @@ function L(o) {
|
|
|
166
164
|
1 && (m.defaultKey = /*measureController*/
|
|
167
165
|
o[0].currentMeasureType), n & /*measureController*/
|
|
168
166
|
1 && (m.onChange = /*measureController*/
|
|
169
|
-
o[0].changeMeasureType),
|
|
167
|
+
o[0].changeMeasureType), l.$set(m);
|
|
170
168
|
},
|
|
171
|
-
i(
|
|
172
|
-
a || (k(
|
|
169
|
+
i(i) {
|
|
170
|
+
a || (k(l.$$.fragment, i), i && F(() => {
|
|
173
171
|
a && (e || (e = E(t, S, { duration: P }, !0)), e.run(1));
|
|
174
172
|
}), a = !0);
|
|
175
173
|
},
|
|
176
|
-
o(
|
|
177
|
-
_(
|
|
174
|
+
o(i) {
|
|
175
|
+
_(l.$$.fragment, i), i && (e || (e = E(t, S, { duration: P }, !1)), e.run(0)), a = !1;
|
|
178
176
|
},
|
|
179
|
-
d(
|
|
180
|
-
|
|
177
|
+
d(i) {
|
|
178
|
+
i && K(t), U(l), i && e && e.end();
|
|
181
179
|
}
|
|
182
180
|
};
|
|
183
181
|
}
|
|
184
182
|
function N(o) {
|
|
185
|
-
let t,
|
|
183
|
+
let t, l, e, a = (
|
|
186
184
|
/*i18n*/
|
|
187
185
|
o[2]("撤销") + ""
|
|
188
|
-
),
|
|
186
|
+
), i, n, m, f, C;
|
|
189
187
|
return {
|
|
190
188
|
c() {
|
|
191
|
-
t = j("div"),
|
|
189
|
+
t = j("div"), l = j("div"), e = T(), i = V(a), w(l, "class", "icon svelte-ldjbp8"), W(l, "background-image", `url(${me})`), w(t, "class", "button svelte-ldjbp8"), D(
|
|
192
190
|
t,
|
|
193
191
|
"forbid",
|
|
194
192
|
/*buttonState*/
|
|
@@ -196,7 +194,7 @@ function N(o) {
|
|
|
196
194
|
);
|
|
197
195
|
},
|
|
198
196
|
m(r, c) {
|
|
199
|
-
I(r, t, c), g(t,
|
|
197
|
+
I(r, t, c), g(t, l), g(t, e), g(t, i), m = !0, f || (C = X(
|
|
200
198
|
t,
|
|
201
199
|
"click",
|
|
202
200
|
/*click_handler*/
|
|
@@ -206,7 +204,7 @@ function N(o) {
|
|
|
206
204
|
p(r, c) {
|
|
207
205
|
o = r, (!m || c & /*i18n*/
|
|
208
206
|
4) && a !== (a = /*i18n*/
|
|
209
|
-
o[2]("撤销") + "") && Y(
|
|
207
|
+
o[2]("撤销") + "") && Y(i, a), (!m || c & /*buttonState*/
|
|
210
208
|
8) && D(
|
|
211
209
|
t,
|
|
212
210
|
"forbid",
|
|
@@ -228,16 +226,16 @@ function N(o) {
|
|
|
228
226
|
};
|
|
229
227
|
}
|
|
230
228
|
function Q(o) {
|
|
231
|
-
let t,
|
|
229
|
+
let t, l, e, a = (
|
|
232
230
|
/*i18n*/
|
|
233
231
|
o[2]("结束") + ""
|
|
234
|
-
),
|
|
232
|
+
), i, n, m, f, C;
|
|
235
233
|
return {
|
|
236
234
|
c() {
|
|
237
|
-
t = j("div"),
|
|
235
|
+
t = j("div"), l = j("div"), e = T(), i = V(a), w(l, "class", "icon svelte-ldjbp8"), W(l, "background-image", `url(${pe})`), w(t, "class", "button svelte-ldjbp8");
|
|
238
236
|
},
|
|
239
237
|
m(r, c) {
|
|
240
|
-
I(r, t, c), g(t,
|
|
238
|
+
I(r, t, c), g(t, l), g(t, e), g(t, i), m = !0, f || (C = X(
|
|
241
239
|
t,
|
|
242
240
|
"click",
|
|
243
241
|
/*complete*/
|
|
@@ -247,7 +245,7 @@ function Q(o) {
|
|
|
247
245
|
p(r, c) {
|
|
248
246
|
o = r, (!m || c & /*i18n*/
|
|
249
247
|
4) && a !== (a = /*i18n*/
|
|
250
|
-
o[2]("结束") + "") && Y(
|
|
248
|
+
o[2]("结束") + "") && Y(i, a);
|
|
251
249
|
},
|
|
252
250
|
i(r) {
|
|
253
251
|
m || (r && F(() => {
|
|
@@ -263,7 +261,7 @@ function Q(o) {
|
|
|
263
261
|
};
|
|
264
262
|
}
|
|
265
263
|
function ue(o) {
|
|
266
|
-
let t,
|
|
264
|
+
let t, l, e, a, i, n, m, f, C, r, c, z, M, b = (
|
|
267
265
|
/*showExit*/
|
|
268
266
|
o[1] && J(o)
|
|
269
267
|
), p = (
|
|
@@ -302,16 +300,16 @@ function ue(o) {
|
|
|
302
300
|
);
|
|
303
301
|
return {
|
|
304
302
|
c() {
|
|
305
|
-
t = j("div"), b && b.c(),
|
|
303
|
+
t = j("div"), b && b.c(), l = T(), e = j("div"), a = j("div"), i = T(), n = j("div"), p && p.c(), m = T(), f = j("div"), u && u.c(), C = T(), r = j("div"), q(c.$$.fragment), z = T(), d && d.c(), w(a, "class", "mask svelte-ldjbp8"), w(r, "class", "main-button svelte-ldjbp8"), D(r, "forbid", !/*allowAddPoint*/
|
|
306
304
|
o[5]), w(f, "class", "controller svelte-ldjbp8"), w(n, "class", "center svelte-ldjbp8"), w(e, "class", "bottom svelte-ldjbp8"), w(t, "class", "Measure-Controller svelte-ldjbp8");
|
|
307
305
|
},
|
|
308
306
|
m(s, v) {
|
|
309
|
-
I(s, t, v), b && b.m(t, null), g(t,
|
|
307
|
+
I(s, t, v), b && b.m(t, null), g(t, l), g(t, e), g(e, a), g(e, i), g(e, n), p && p.m(n, null), g(n, m), g(n, f), u && u.m(f, null), g(f, C), g(f, r), O(c, r, null), g(f, z), d && d.m(f, null), M = !0;
|
|
310
308
|
},
|
|
311
309
|
p(s, [v]) {
|
|
312
310
|
/*showExit*/
|
|
313
311
|
s[1] ? b ? (b.p(s, v), v & /*showExit*/
|
|
314
|
-
2 && k(b, 1)) : (b = J(s), b.c(), k(b, 1), b.m(t,
|
|
312
|
+
2 && k(b, 1)) : (b = J(s), b.c(), k(b, 1), b.m(t, l)) : b && (B(), _(b, 1, 1, () => {
|
|
315
313
|
b = null;
|
|
316
314
|
}), R()), /*measureController*/
|
|
317
315
|
s[0].allowMeasureType.length >= 2 && /*buttonState*/
|
|
@@ -356,13 +354,13 @@ function ue(o) {
|
|
|
356
354
|
};
|
|
357
355
|
}
|
|
358
356
|
const P = 100;
|
|
359
|
-
function de(o, t,
|
|
360
|
-
let { measureController: e } = t, { showExit: a = !1 } = t, { i18n:
|
|
357
|
+
function de(o, t, l) {
|
|
358
|
+
let { measureController: e } = t, { showExit: a = !1 } = t, { i18n: i = (h) => h } = t;
|
|
361
359
|
const n = {
|
|
362
|
-
start:
|
|
363
|
-
add:
|
|
364
|
-
end:
|
|
365
|
-
complete:
|
|
360
|
+
start: i("开始"),
|
|
361
|
+
add: i("添加"),
|
|
362
|
+
end: i("结束"),
|
|
363
|
+
complete: i("完成")
|
|
366
364
|
}, m = {
|
|
367
365
|
start: "white",
|
|
368
366
|
add: "white",
|
|
@@ -377,7 +375,7 @@ function de(o, t, i) {
|
|
|
377
375
|
}, b = () => {
|
|
378
376
|
e.controller instanceof H && e.controller.complete();
|
|
379
377
|
}, p = (h) => {
|
|
380
|
-
|
|
378
|
+
l(3, r = h);
|
|
381
379
|
}, u = () => {
|
|
382
380
|
M(), A("allow");
|
|
383
381
|
}, d = () => {
|
|
@@ -389,29 +387,29 @@ function de(o, t, i) {
|
|
|
389
387
|
}, y = () => {
|
|
390
388
|
p("start"), A("allow");
|
|
391
389
|
}, A = (h) => {
|
|
392
|
-
|
|
390
|
+
l(5, C = h === "allow");
|
|
393
391
|
}, G = (h) => {
|
|
394
|
-
|
|
392
|
+
l(12, c = h);
|
|
395
393
|
}, Z = (h) => {
|
|
396
394
|
h.isEmpty && p("start");
|
|
397
395
|
};
|
|
398
|
-
|
|
396
|
+
le(() => {
|
|
399
397
|
e.hook.on("revoke", Z), e.hook.on("measureTypeChange", G), e.hook.on("modeChange", y), e.hook.on("pointsChange", v), e.hook.on("allowAddPointStateChange", A), e.hook.on("readyComplete", d), e.hook.on("notReadyComplete", s), e.hook.on("complete", y);
|
|
400
|
-
}),
|
|
398
|
+
}), ie(() => {
|
|
401
399
|
e.hook.off("measureTypeChange", G), e.hook.off("modeChange", y), e.hook.off("allowAddPointStateChange", A), e.hook.off("readyComplete", d), e.hook.off("pointsChange", v), e.hook.off("notReadyComplete", s), e.hook.off("complete", y);
|
|
402
400
|
});
|
|
403
401
|
const $ = () => e.revoke(), x = () => {
|
|
404
402
|
r === "start" ? z() : r === "add" ? M() : (r === "end" || r === "complete") && u();
|
|
405
403
|
};
|
|
406
404
|
return o.$$set = (h) => {
|
|
407
|
-
"measureController" in h &&
|
|
405
|
+
"measureController" in h && l(0, e = h.measureController), "showExit" in h && l(1, a = h.showExit), "i18n" in h && l(2, i = h.i18n);
|
|
408
406
|
}, o.$$.update = () => {
|
|
409
407
|
o.$$.dirty & /*currentMeasureType, buttonState*/
|
|
410
|
-
4104 &&
|
|
408
|
+
4104 && l(4, f = c === "area" && r !== "start");
|
|
411
409
|
}, [
|
|
412
410
|
e,
|
|
413
411
|
a,
|
|
414
|
-
|
|
412
|
+
i,
|
|
415
413
|
r,
|
|
416
414
|
f,
|
|
417
415
|
C,
|
|
@@ -426,7 +424,7 @@ function de(o, t, i) {
|
|
|
426
424
|
x
|
|
427
425
|
];
|
|
428
426
|
}
|
|
429
|
-
class
|
|
427
|
+
class At extends ee {
|
|
430
428
|
constructor(t) {
|
|
431
429
|
super(), te(
|
|
432
430
|
this,
|
|
@@ -444,5 +442,5 @@ class Bt extends ee {
|
|
|
444
442
|
}
|
|
445
443
|
}
|
|
446
444
|
export {
|
|
447
|
-
|
|
445
|
+
At as default
|
|
448
446
|
};
|
|
@@ -14,8 +14,7 @@ import "../utils/dom/distanceItem.js";
|
|
|
14
14
|
import "../utils/dom/base.js";
|
|
15
15
|
import "../utils/isNDCPointInScreen.js";
|
|
16
16
|
import "../../shared-utils/three/centerPoint.js";
|
|
17
|
-
|
|
18
|
-
class k {
|
|
17
|
+
class C {
|
|
19
18
|
constructor(e) {
|
|
20
19
|
t(this, "model");
|
|
21
20
|
t(this, "five");
|
|
@@ -72,5 +71,5 @@ class k {
|
|
|
72
71
|
}
|
|
73
72
|
}
|
|
74
73
|
export {
|
|
75
|
-
|
|
74
|
+
C as default
|
|
76
75
|
};
|
|
@@ -10,10 +10,9 @@ import w from "../Model/area.js";
|
|
|
10
10
|
import D from "../utils/isIntersecting.js";
|
|
11
11
|
import { PointSelector as x } from "../../shared-utils/three/PointSelector.js";
|
|
12
12
|
import G from "../Modules/DeleteDom/index.js";
|
|
13
|
-
import { findAssociatedLines as B } from "../utils/findAssociatedLines.js";
|
|
14
13
|
import { Vector2 as y } from "three";
|
|
15
14
|
import T from "../utils/isNDCPointInScreen.js";
|
|
16
|
-
import { closestPointOnLine as
|
|
15
|
+
import { closestPointOnLine as B } from "../utils/math.js";
|
|
17
16
|
import "../../shared-utils/uuid.js";
|
|
18
17
|
import "../utils/line.js";
|
|
19
18
|
import "@realsee/five/line";
|
|
@@ -22,7 +21,6 @@ import "@realsee/five";
|
|
|
22
21
|
import "../utils/dom/distanceItem.js";
|
|
23
22
|
import "../utils/dom/base.js";
|
|
24
23
|
import "../../shared-utils/three/centerPoint.js";
|
|
25
|
-
import "../../shared-utils/removeArrayItem.js";
|
|
26
24
|
import "../utils/ironbox.js";
|
|
27
25
|
import "../Model/polygon.js";
|
|
28
26
|
import "../../shared-utils/three/IObject3D.js";
|
|
@@ -66,7 +64,7 @@ import "../Modules/DeleteDom/_Assets/delete.svg.js";
|
|
|
66
64
|
import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
67
65
|
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
68
66
|
const M = () => !1;
|
|
69
|
-
class
|
|
67
|
+
class Ke extends j {
|
|
70
68
|
constructor(e) {
|
|
71
69
|
var t;
|
|
72
70
|
super(e);
|
|
@@ -238,7 +236,7 @@ class Ye extends j {
|
|
|
238
236
|
if (g.length === 0)
|
|
239
237
|
return;
|
|
240
238
|
const P = g.map((h) => {
|
|
241
|
-
const p =
|
|
239
|
+
const p = B(n, h.points);
|
|
242
240
|
return { id: h.id, distance: p.distanceTo(n) };
|
|
243
241
|
}).sort((h, p) => h.distance - p.distance)[0];
|
|
244
242
|
if (P.distance > 20)
|
|
@@ -248,7 +246,7 @@ class Ye extends j {
|
|
|
248
246
|
return this.chooseLine(L), !1;
|
|
249
247
|
});
|
|
250
248
|
o(this, "chooseLine", (e) => {
|
|
251
|
-
const t =
|
|
249
|
+
const t = e.getPolyline().lines;
|
|
252
250
|
this.deleteDom.setTarget(t).setLines(t).updatePosition().show(), this.highlightLines(t), this.hook.emit("selectedChange", t);
|
|
253
251
|
});
|
|
254
252
|
o(this, "chooseArea", (e, t) => {
|
|
@@ -326,5 +324,5 @@ class Ye extends j {
|
|
|
326
324
|
}
|
|
327
325
|
}
|
|
328
326
|
export {
|
|
329
|
-
|
|
327
|
+
Ke as default
|
|
330
328
|
};
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
var b = Object.defineProperty;
|
|
2
2
|
var S = (n, s, e) => s in n ? b(n, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[s] = e;
|
|
3
3
|
var t = (n, s, e) => (S(n, typeof s != "symbol" ? s + "" : s, e), e);
|
|
4
|
-
import { Model as
|
|
5
|
-
import
|
|
4
|
+
import { Model as y } from "../Model/index.js";
|
|
5
|
+
import D from "../Model/line.js";
|
|
6
6
|
import T from "./BaseController.js";
|
|
7
7
|
import M from "../Modules/DeleteDom/index.js";
|
|
8
|
-
import { findAssociatedLines as G } from "../utils/findAssociatedLines.js";
|
|
9
8
|
import { Vector2 as m } from "three";
|
|
10
9
|
import v from "../utils/isNDCPointInScreen.js";
|
|
11
|
-
import { closestPointOnLine as
|
|
10
|
+
import { closestPointOnLine as G } from "../utils/math.js";
|
|
12
11
|
import { Polyline as L } from "../Model/polyline.js";
|
|
13
|
-
import
|
|
12
|
+
import W from "../Modules/rangePiece/index.js";
|
|
14
13
|
import "@realsee/five";
|
|
15
14
|
import "../../shared-utils/uuid.js";
|
|
16
15
|
import "../utils/line.js";
|
|
@@ -20,7 +19,6 @@ import "../utils/dom/distanceItem.js";
|
|
|
20
19
|
import "../utils/dom/base.js";
|
|
21
20
|
import "../../shared-utils/three/centerPoint.js";
|
|
22
21
|
import "../Model/point.js";
|
|
23
|
-
import "../../shared-utils/removeArrayItem.js";
|
|
24
22
|
import "../utils/ironbox.js";
|
|
25
23
|
import "../Modules/DeleteDom/_Assets/delete.svg.js";
|
|
26
24
|
import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
@@ -31,7 +29,7 @@ import "../../shared-utils/animationFrame/index.js";
|
|
|
31
29
|
import "../../shared-utils/noop.js";
|
|
32
30
|
import "../utils/calculateThreeMouse.js";
|
|
33
31
|
import "../utils/mouseGroup.js";
|
|
34
|
-
class
|
|
32
|
+
class re extends T {
|
|
35
33
|
constructor(e) {
|
|
36
34
|
super(e);
|
|
37
35
|
t(this, "state", "watching");
|
|
@@ -49,18 +47,18 @@ class de extends T {
|
|
|
49
47
|
const [i] = this.five.model.intersectRaycaster(e);
|
|
50
48
|
if (!i)
|
|
51
49
|
return;
|
|
52
|
-
const h = this.five.camera, p = i.point.clone().project(h), a = this.container.clientWidth, l = this.container.clientHeight,
|
|
50
|
+
const h = this.five.camera, p = i.point.clone().project(h), a = this.container.clientWidth, l = this.container.clientHeight, g = new m(p.x * a, p.y * l), f = this.model.getAllLines().map((o) => {
|
|
53
51
|
const [r, C] = o.points, d = r.position.clone().project(h), c = C.position.clone().project(h);
|
|
54
52
|
if (!v(d) && !v(c))
|
|
55
53
|
return null;
|
|
56
54
|
const w = new m(d.x * a, d.y * l), k = new m(c.x * a, c.y * l);
|
|
57
55
|
return { id: o.id, points: [w, k] };
|
|
58
56
|
}).filter((o) => !!o);
|
|
59
|
-
if (
|
|
57
|
+
if (f.length === 0)
|
|
60
58
|
return;
|
|
61
|
-
const u =
|
|
62
|
-
const r =
|
|
63
|
-
return { id: o.id, distance: r.distanceTo(
|
|
59
|
+
const u = f.map((o) => {
|
|
60
|
+
const r = G(g, o.points);
|
|
61
|
+
return { id: o.id, distance: r.distanceTo(g) };
|
|
64
62
|
}).sort((o, r) => o.distance - r.distance)[0];
|
|
65
63
|
if (u.distance > 20)
|
|
66
64
|
return;
|
|
@@ -88,7 +86,7 @@ class de extends T {
|
|
|
88
86
|
t(this, "onGetEndPoint", () => {
|
|
89
87
|
const e = this.mobileNowPoint;
|
|
90
88
|
if (this.removeLine(this.dashed), this.hasAppendDashed = !1, this.mobileStartPoint && e) {
|
|
91
|
-
const i = new
|
|
89
|
+
const i = new D(this.mobileStartPoint, e, this.model);
|
|
92
90
|
this.polyline.addLine(i), i.distanceItem.appendTo(this.container), i.distanceItem.update(this.five), i.hook.on("selected", this.chooseLine), this.disposers.push(() => i.hook.off("selected", this.chooseLine)), this.group.add(i.mesh), this.model.addPolyline(this.polyline);
|
|
93
91
|
}
|
|
94
92
|
this.mobileStartPoint = null, this.mobileNowPoint = null, this.five.needsRender = !0;
|
|
@@ -104,7 +102,7 @@ class de extends T {
|
|
|
104
102
|
this.state = i, this.state === "watching" ? this.five.helperVisible = !0 : this.five.helperVisible = !1;
|
|
105
103
|
});
|
|
106
104
|
t(this, "chooseLine", (e) => {
|
|
107
|
-
const i =
|
|
105
|
+
const i = e.getPolyline().lines;
|
|
108
106
|
this.highlightLines(i), this.five.needsRender = !0, this.hook.emit(
|
|
109
107
|
"selectedChange",
|
|
110
108
|
i.map((h) => h)
|
|
@@ -120,7 +118,7 @@ class de extends T {
|
|
|
120
118
|
t(this, "cancelDeleteClickCallback", () => {
|
|
121
119
|
this.clearHighlightLines();
|
|
122
120
|
});
|
|
123
|
-
this.model = new
|
|
121
|
+
this.model = new y(this.config), this.polyline = new L({ model: this.model }), this.rangePieceController = new W(e), this.deleteDom = new M(this.five, {
|
|
124
122
|
i18n: this.config.i18n,
|
|
125
123
|
onClick: this.deleteDomClickCallback,
|
|
126
124
|
cancel: this.cancelDeleteClickCallback
|
|
@@ -145,5 +143,5 @@ class de extends T {
|
|
|
145
143
|
}
|
|
146
144
|
}
|
|
147
145
|
export {
|
|
148
|
-
|
|
146
|
+
re as default
|
|
149
147
|
};
|
|
@@ -15,9 +15,8 @@ import "../utils/dom/base.js";
|
|
|
15
15
|
import "../utils/isNDCPointInScreen.js";
|
|
16
16
|
import "../../shared-utils/three/centerPoint.js";
|
|
17
17
|
import "../Model/point.js";
|
|
18
|
-
import "../../shared-utils/removeArrayItem.js";
|
|
19
18
|
import "../utils/ironbox.js";
|
|
20
|
-
class
|
|
19
|
+
class F extends h {
|
|
21
20
|
constructor(e) {
|
|
22
21
|
super(e);
|
|
23
22
|
s(this, "type", "view");
|
|
@@ -67,5 +66,5 @@ class R extends h {
|
|
|
67
66
|
}
|
|
68
67
|
}
|
|
69
68
|
export {
|
|
70
|
-
|
|
69
|
+
F as default
|
|
71
70
|
};
|