@realsee/dnalogel 3.32.0-dev.0 → 3.32.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 +7 -0
- package/dist/PanoSpatialTagPlugin/store.d.ts +0 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +0 -1
- package/dist/index.cjs.js +61 -61
- package/dist/index.js +5219 -5396
- package/dist/index.umd.js +57 -57
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +44 -34
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +44 -34
- package/docs/classes/CSS3DRender.html +43 -33
- package/docs/classes/GuideLineItem.GuideLineItem.html +31 -21
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +55 -45
- package/docs/classes/{Magnifier.html → ModelMakerPluginInstance.html} +200 -113
- package/docs/classes/ModelRoomLabelController.html +23 -13
- package/docs/classes/MoveController.html +43 -33
- package/docs/classes/Object3DHelperController.html +39 -47
- package/docs/classes/PaintBrush.html +27 -17
- package/docs/classes/PanoMeasurePluginLine.html +56 -36
- package/docs/classes/PanoMeasurePluginModel.html +42 -32
- package/docs/classes/PanoMeasurePluginPoint.html +23 -13
- package/docs/classes/PanoMeasurePluginPolyline.html +54 -34
- package/docs/classes/PanoTagPluginController.html +229 -123
- package/docs/classes/Sculpt.html +852 -0
- package/docs/classes/Util.BetterTween.html +27 -13
- package/docs/classes/Util.Interval.html +29 -15
- package/docs/classes/Util.LineSegments.html +25 -11
- package/docs/classes/Util.Magnifier.html +93 -60
- package/docs/classes/Util.Object3D.html +26 -12
- package/docs/classes/Util.PointDomHelper.html +28 -14
- package/docs/classes/Util.PointHelper.html +28 -14
- package/docs/classes/Util.PointSelectorHelper.html +34 -20
- package/docs/classes/Util.Rectangle.html +30 -16
- package/docs/classes/WalkController.html +39 -29
- package/docs/enums/CameraMovementEffect.html +19 -9
- package/docs/enums/ContentType.html +33 -23
- package/docs/enums/DIRECTION.html +21 -11
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +21 -11
- package/docs/enums/DimensionType.html +19 -9
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +20 -10
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +21 -11
- package/docs/enums/PaintBrushTypeEnum.html +20 -10
- package/docs/enums/PointType.html +19 -9
- package/docs/enums/Rotation.html +20 -10
- package/docs/functions/AreaMakerPlugin.html +17 -7
- package/docs/functions/CSS3DRenderPlugin.html +17 -7
- package/docs/functions/CameraMovementPlugin.html +17 -7
- package/docs/functions/CruisePlugin.html +17 -7
- package/docs/functions/CurrentPanoImagePlugin.html +17 -7
- package/docs/functions/GuideLinePlugin.html +17 -7
- package/docs/functions/ItemLabelPlugin.html +17 -7
- package/docs/functions/MapviewFloorplanPlugin.html +17 -7
- package/docs/functions/ModelChassisCompassPlugin.html +17 -7
- package/docs/functions/ModelEntryDoorGuidePlugin.html +17 -7
- package/docs/functions/ModelFloorplanPlugin.html +17 -7
- package/docs/functions/ModelItemLabelPlugin.html +17 -7
- package/docs/functions/ModelMakerPlugin.html +303 -0
- package/docs/functions/ModelRoomLabelPlugin.html +17 -7
- package/docs/functions/ModelTVVideoPlugin.html +17 -7
- package/docs/functions/ModelViewPlugin.html +17 -7
- package/docs/functions/MovePlugin.html +18 -8
- package/docs/functions/Object3DHelperPlugin.html +17 -7
- package/docs/functions/PanoCompassPlugin.html +17 -7
- package/docs/functions/PanoCursorRaycasterPlugin.html +17 -7
- package/docs/functions/PanoDoorLabelPlugin.html +17 -7
- package/docs/functions/PanoFloorplanRadarPlugin.html +17 -7
- package/docs/functions/PanoMeasurePlugin.html +17 -7
- package/docs/functions/PanoRulerPlugin.html +17 -7
- package/docs/functions/PanoRulerProPlugin.html +17 -7
- package/docs/functions/PanoSpatialTagPlugin.html +17 -7
- package/docs/functions/PanoTagPlugin.html +17 -7
- package/docs/functions/PanoVideoPlugin.html +17 -7
- package/docs/functions/PipelinePlugin.html +17 -7
- package/docs/functions/SculptPlugin.html +306 -0
- package/docs/functions/TopviewFloorplanPlugin.html +17 -7
- package/docs/functions/Util.absoluteUrl.html +22 -8
- package/docs/functions/Util.blink.html +351 -0
- package/docs/functions/Util.checkFiveModelLoaded.html +22 -8
- package/docs/functions/Util.equal.html +22 -8
- package/docs/functions/Util.getCoordsFromClient.html +22 -8
- package/docs/functions/Util.getCoordsFromElement.html +22 -8
- package/docs/functions/Util.getFrameTime.html +22 -8
- package/docs/functions/Util.getIntersectFromRelativePosition.html +29 -10
- package/docs/functions/Util.getRaycasterFromFivePointer.html +22 -8
- package/docs/functions/Util.isAbsoluteURL.html +22 -8
- package/docs/functions/Util.isModelLike.html +22 -8
- package/docs/functions/Util.isNil.html +22 -8
- package/docs/functions/Util.isPanoramaLike.html +22 -8
- package/docs/functions/Util.nextFrame.html +22 -8
- package/docs/functions/Util.notNil.html +22 -8
- package/docs/functions/Util.reblink.html +349 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +22 -8
- package/docs/functions/Util.tweenProgress.html +22 -8
- package/docs/functions/Util.uuid.html +22 -8
- package/docs/functions/pluginFlag.html +17 -7
- package/docs/index.html +18 -7
- package/docs/interfaces/AddTagConfig.html +18 -8
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.Config.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +30 -20
- package/docs/interfaces/AreaMakerPluginType.Params.html +18 -8
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +20 -10
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +19 -9
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +17 -7
- package/docs/interfaces/AreaMakerPluginType.State.html +19 -9
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +23 -13
- package/docs/interfaces/CSS3DRenderPluginState.html +20 -10
- package/docs/interfaces/CameraMovementPluginExportType.html +19 -9
- package/docs/interfaces/ContentTypeMapInterface.html +773 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +21 -10
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +24 -13
- package/docs/interfaces/CruisePluginTypes.EventMap.html +33 -22
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +352 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +39 -23
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +30 -18
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +30 -18
- package/docs/interfaces/CruisePluginTypes.PluginData.html +41 -30
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +18 -7
- package/docs/interfaces/CruisePluginTypes.PluginState.html +25 -14
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +23 -13
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +24 -14
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +19 -9
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +18 -8
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +20 -10
- package/docs/interfaces/EventMap.html +27 -17
- package/docs/interfaces/FloorplanBounding.html +20 -10
- package/docs/interfaces/FloorplanData.html +22 -12
- package/docs/interfaces/FloorplanEntrance.html +23 -13
- package/docs/interfaces/FloorplanExtraObject.html +22 -12
- package/docs/interfaces/FloorplanExtraObject3D.html +20 -10
- package/docs/interfaces/FloorplanFloorData.html +21 -11
- package/docs/interfaces/FloorplanImagePosition.html +19 -9
- package/docs/interfaces/FloorplanObserver.html +21 -11
- package/docs/interfaces/FloorplanOutlineItem.html +21 -11
- package/docs/interfaces/FloorplanPosition.html +19 -9
- package/docs/interfaces/FloorplanRoomItem.html +26 -16
- package/docs/interfaces/FloorplanRoomLabelItem.html +19 -9
- package/docs/interfaces/FloorplanServerBounding.html +20 -10
- package/docs/interfaces/FloorplanServerComputedData.html +22 -12
- package/docs/interfaces/FloorplanServerData.html +19 -9
- package/docs/interfaces/FloorplanServerDoorItem.html +22 -12
- package/docs/interfaces/FloorplanServerDoorPosition.html +20 -10
- package/docs/interfaces/FloorplanServerEntrance.html +23 -13
- package/docs/interfaces/FloorplanServerFloorData.html +21 -11
- package/docs/interfaces/FloorplanServerImagePosition.html +19 -9
- package/docs/interfaces/FloorplanServerObserver.html +21 -11
- package/docs/interfaces/FloorplanServerOutlineItem.html +21 -11
- package/docs/interfaces/FloorplanServerPosition.html +19 -9
- package/docs/interfaces/FloorplanServerRoomItem.html +27 -17
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +19 -9
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +20 -10
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +21 -11
- package/docs/interfaces/GuideLinePluginType.EventMap.html +24 -14
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +19 -9
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +17 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +26 -16
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +17 -7
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +19 -9
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +32 -22
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +18 -8
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +33 -23
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +16 -6
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +17 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +19 -9
- package/docs/interfaces/GuideLinePluginType.Route.html +22 -12
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +20 -10
- package/docs/interfaces/HelperOffset.html +20 -10
- package/docs/interfaces/ImagePlaneGroup.html +18 -8
- package/docs/interfaces/ItemLabelPluginData.html +18 -8
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +23 -13
- package/docs/interfaces/ItemLabelPluginParametersType.html +21 -11
- package/docs/interfaces/MinMax.html +19 -9
- package/docs/interfaces/ModelChassisCompassPluginData.html +19 -9
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +20 -10
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +19 -9
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +20 -10
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +20 -10
- package/docs/interfaces/ModelItemLabelPluginData.html +18 -8
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +23 -13
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +19 -9
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +556 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +349 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +391 -0
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +332 -0
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +401 -0
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +381 -0
- package/docs/interfaces/ModelMakerPluginType.State.html +364 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +18 -8
- package/docs/interfaces/ModelTVVideoPluginData.html +21 -11
- package/docs/interfaces/ModelTVVideoPluginExportType.html +20 -10
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +18 -8
- package/docs/interfaces/ModelViewPluginExportType.html +23 -13
- package/docs/interfaces/Object3DHelperState.html +20 -10
- package/docs/interfaces/ObjectHelperControllers.html +22 -12
- package/docs/interfaces/PaintBrushAction.html +24 -14
- package/docs/interfaces/PaintBrushConfigs.html +24 -14
- package/docs/interfaces/PaintBrushState.html +22 -12
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +22 -12
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +17 -7
- package/docs/interfaces/PanoMeasureParameterType.html +28 -18
- package/docs/interfaces/PanoMeasurePluginLineJson.html +20 -10
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +19 -9
- package/docs/interfaces/PanoMeasurePluginPointJson.html +19 -9
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +20 -10
- package/docs/interfaces/PanoRulerPluginExportType.html +22 -12
- package/docs/interfaces/PanoRulerPluginOptions.html +19 -9
- package/docs/interfaces/PanoRulerPluginParameterType.html +20 -10
- package/docs/interfaces/PanoRulerProPluginExportType.html +21 -11
- package/docs/interfaces/PanoRulerProPluginOptions.html +19 -9
- package/docs/interfaces/PanoRulerProPluginParameterType.html +19 -9
- package/docs/interfaces/PanoRulerProPluginState.html +20 -10
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +17 -7
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +17 -7
- package/docs/interfaces/PanoSpatialTagPluginData.html +23 -13
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +22 -12
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +25 -15
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +22 -12
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +25 -15
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +23 -13
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +22 -12
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +18 -8
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +20 -10
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +18 -8
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +21 -11
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +18 -8
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +20 -10
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +22 -12
- package/docs/interfaces/Point.html +20 -10
- package/docs/interfaces/Room.html +21 -11
- package/docs/interfaces/RoomInfo.html +19 -9
- package/docs/interfaces/RoomLabel.html +26 -16
- package/docs/interfaces/RoomRules.html +17 -7
- package/docs/interfaces/Rooms.html +17 -7
- package/docs/interfaces/Scissor.html +21 -11
- package/docs/interfaces/State.html +20 -10
- package/docs/interfaces/TagCacheInterface.html +24 -14
- package/docs/interfaces/TagConfig.html +65 -49
- package/docs/interfaces/TagGLTFObjectGroup.html +18 -8
- package/docs/interfaces/TagIconUrl.html +24 -14
- package/docs/interfaces/TagObjectGroup.html +18 -8
- package/docs/interfaces/TagStyle.html +18 -8
- package/docs/interfaces/Tags.html +61 -437
- package/docs/interfaces/TemporaryState.html +18 -8
- package/docs/interfaces/Util.BlinkAnimeOptions.html +380 -0
- package/docs/interfaces/Util.MagnifierParameter.html +43 -24
- package/docs/interfaces/Util.MouseGroupParameter.html +25 -11
- package/docs/interfaces/Util.PointIntersection.html +33 -12
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +387 -0
- package/docs/modules/AreaMakerPluginType.html +16 -6
- package/docs/modules/CruisePluginTypes.html +18 -6
- package/docs/modules/CurrentPanoImagePluginType.html +17 -7
- package/docs/modules/GuideLineItem.html +17 -7
- package/docs/modules/GuideLineModeItem.html +17 -7
- package/docs/modules/GuideLinePluginType.html +16 -6
- package/docs/modules/ModelMakerPluginType.html +339 -0
- package/docs/modules/PanoVideoPluginType.html +17 -7
- package/docs/modules/SculptData.html +318 -0
- package/docs/modules/Util.html +26 -8
- package/docs/modules.html +34 -11
- package/docs/types/AddObject3DHelperConfig.html +315 -0
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +16 -6
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +16 -6
- package/docs/types/AreaMakerPluginType.PluginData.html +16 -6
- package/docs/types/AreaMakerPluginType.ServerData.html +16 -6
- package/docs/types/ArrayPosition.html +17 -7
- package/docs/types/AudioAppearance.html +17 -7
- package/docs/types/CSS3DRenderExportType.html +17 -7
- package/docs/types/CSS3DRenderPluginExportType.html +17 -7
- package/docs/types/CSS3DRenderPluginParameterType.html +17 -7
- package/docs/types/ClassFunctionParameters.html +17 -7
- package/docs/types/Color.html +17 -7
- package/docs/types/ContentTypeConfigKey.html +17 -7
- package/docs/types/ContentTypeConfigKeySplit.html +18 -8
- package/docs/types/ContentTypeMap.html +17 -7
- package/docs/types/Create3DDomContainerReturnType.html +17 -7
- package/docs/types/Create3DElementReturnType.html +17 -7
- package/docs/types/CruisePluginExportType.html +17 -7
- package/docs/types/CruisePluginTypes.CruiseData.html +17 -6
- package/docs/types/CruisePluginTypes.MoveEffect.html +17 -6
- package/docs/types/CurrentPanoImagePluginExportType.html +17 -7
- package/docs/types/DeprecatedMediaPlaneProperty.html +17 -7
- package/docs/types/DeprecatedTagProperty.html +17 -7
- package/docs/types/Direction-1.html +17 -7
- package/docs/types/Direction4.html +17 -7
- package/docs/types/ElementRenderer.html +17 -7
- package/docs/types/FloorplanRuleLabels.html +17 -7
- package/docs/types/FloorplanServerRuleLabels.html +17 -7
- package/docs/types/GuideLinePluginExportType.html +17 -7
- package/docs/types/GuideLinePluginType.GuideLineItem.html +18 -8
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +16 -6
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +16 -6
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +16 -6
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +16 -6
- package/docs/types/GuideLinePluginType.PathItem.html +16 -6
- package/docs/types/GuideLinePluginType.PluginData.html +16 -6
- package/docs/types/HelperEventMap.html +17 -7
- package/docs/types/InternalHelperEventMap.html +29 -11
- package/docs/types/LoadTagConfig.html +17 -7
- package/docs/types/MapviewFloorplanPluginParameterType.html +17 -7
- package/docs/types/MapviewFloorplanPluginReturnType.html +17 -7
- package/docs/types/MediaData.html +20 -10
- package/docs/types/MediaStore.html +17 -7
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +17 -7
- package/docs/types/ModelFloorplanPluginParameterType.html +17 -7
- package/docs/types/ModelFloorplanPluginReturnType.html +17 -7
- package/docs/types/ModelId.html +17 -7
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +329 -0
- package/docs/types/ModelMakerPluginType.ItemType.html +308 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +17 -7
- package/docs/types/ModelRoomLabelPluginReturnType.html +17 -7
- package/docs/types/MoveArgs.html +17 -7
- package/docs/types/MoveOpts.html +17 -7
- package/docs/types/Object3DHelperEventMap.html +17 -7
- package/docs/types/ObjectFit.html +17 -7
- package/docs/types/PaintBrushEventMap.html +17 -7
- package/docs/types/PanoCompassPluginData.html +17 -7
- package/docs/types/PanoCompassPluginExportType.html +17 -7
- package/docs/types/PanoCompassPluginParameterType.html +17 -7
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +17 -7
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +17 -7
- package/docs/types/PanoIndex.html +17 -7
- package/docs/types/PanoMeasurePluginEvent.html +17 -7
- package/docs/types/PanoMeasureReturnType.html +17 -7
- package/docs/types/PanoSpatialTagPluginId.html +17 -7
- package/docs/types/PanoTagPluginExportInterface.html +17 -7
- package/docs/types/PanoTagPluginParamsInterface.html +17 -7
- package/docs/types/PanoVideoPluginParameterType.html +17 -7
- package/docs/types/PanoVideoPluginReturnType.html +17 -7
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +22 -12
- package/docs/types/PipelinePluginParameterType.html +17 -7
- package/docs/types/PipelinePluginReturnType.html +17 -7
- package/docs/types/PlaneTag.html +17 -7
- package/docs/types/Point2DTag.html +17 -7
- package/docs/types/Point3DTag.html +17 -7
- package/docs/types/PointTag.html +17 -7
- package/docs/types/PointTagInstance.html +17 -7
- package/docs/types/Position.html +17 -7
- package/docs/types/{AudioTagTypeConfigKey.html → PositionFrom.html} +28 -10
- package/docs/types/RotateArgs.html +17 -7
- package/docs/types/RotateOpts.html +17 -7
- package/docs/types/RuleLabelsKey.html +17 -7
- package/docs/types/RuleLabelsValue.html +17 -7
- package/docs/types/ScaleCallback.html +314 -0
- package/docs/types/ScalePosition.html +303 -0
- package/docs/types/SculptData.BoxData.html +306 -0
- package/docs/types/SculptData.CircleData.html +306 -0
- package/docs/types/SculptData.CylinderData.html +306 -0
- package/docs/types/SculptData.PointData.html +306 -0
- package/docs/types/SculptData.PolygonData.html +306 -0
- package/docs/types/SculptData.PolylineData.html +306 -0
- package/docs/types/SculptData.PrismData.html +306 -0
- package/docs/types/SculptData.RectangleData.html +306 -0
- package/docs/types/StickType.html +17 -7
- package/docs/types/Tag.html +35 -13
- package/docs/types/Tag2D.html +17 -7
- package/docs/types/Tag3D.html +17 -7
- package/docs/types/TagConfigByKey.html +18 -8
- package/docs/types/TagContentType.html +17 -7
- package/docs/types/TagContentTypeMapping.html +17 -7
- package/docs/types/TagDimensionType.html +17 -7
- package/docs/types/TagElement.html +17 -7
- package/docs/types/TagEvents.html +38 -12
- package/docs/types/TagGLTFObject.html +17 -7
- package/docs/types/TagHooks.html +17 -7
- package/docs/types/TagId.html +17 -7
- package/docs/types/TagInstance.html +44 -8
- package/docs/types/TagPointType.html +17 -7
- package/docs/types/TagRendererMap.html +17 -7
- package/docs/types/TopviewFloorplanPluginParameterType.html +17 -7
- package/docs/types/TopviewFloorplanPluginReturnType.html +17 -7
- package/docs/types/WorkCode.html +17 -7
- package/docs/variables/FLOOR_TYPE_MAP.html +17 -7
- package/docs/variables/PLUGIN.html +17 -7
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +17 -7
- package/docs/variables/ROOM_TYPE_MAP.html +17 -7
- package/docs/variables/defaultGlobalConfig.html +17 -7
- package/docs/variables/itemLabelPluginServerParams.html +17 -7
- package/docs/variables/modelItemLabelPluginServerParams.html +17 -7
- package/docs/variables/modelRoomLabelPluginServerParams.html +17 -7
- package/libs/AreaMakerPlugin/Controller.js +44 -54
- package/libs/AreaMakerPlugin/index.js +3 -13
- package/libs/AreaMakerPlugin/utils/Item.js +3 -13
- package/libs/CSS3DRenderPlugin/Controller.js +9 -9
- package/libs/CSS3DRenderPlugin/index.js +1 -1
- package/libs/CruisePlugin/Move.js +38 -52
- package/libs/CruisePlugin/Work.js +7 -21
- package/libs/CruisePlugin/index.js +11 -25
- package/libs/GuideLinePlugin/Components/Tag.js +48 -58
- package/libs/GuideLinePlugin/Controller.js +34 -48
- package/libs/GuideLinePlugin/GuideLineItem.js +7 -21
- package/libs/GuideLinePlugin/GuideLineModeItem.js +7 -21
- package/libs/GuideLinePlugin/index.js +11 -25
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +139 -152
- package/libs/ItemLabelPlugin/ItemLabelItem.js +57 -67
- package/libs/ItemLabelPlugin/Plugin.js +26 -37
- package/libs/ItemLabelPlugin/index.js +5 -16
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +103 -116
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +35 -45
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +24 -35
- package/libs/ModelItemLabelPlugin/index.js +5 -16
- package/libs/ModelMakerPlugin/Controller.js +23 -33
- package/libs/ModelMakerPlugin/index.js +3 -13
- package/libs/ModelMakerPlugin/utils/Text.js +33 -43
- package/libs/ModelMakerPlugin/utils/tagRenderer.js +18 -28
- package/libs/ModelRoomLabelPlugin/Controller.js +8 -20
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +42 -52
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +61 -75
- package/libs/ModelRoomLabelPlugin/index.js +5 -17
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
- package/libs/ModelTVVideoPlugin/index.js +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +9 -9
- package/libs/Object3DHelperPlugin/index.js +1 -1
- package/libs/PanoCompassPlugin/Controller.js +1 -1
- package/libs/PanoCompassPlugin/index.js +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +28 -38
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +45 -55
- package/libs/PanoDoorLabelPlugin/index.js +4 -14
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +60 -70
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +22 -32
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +62 -75
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +97 -110
- package/libs/PanoMeasurePlugin/Components/Controller0.js +62 -73
- package/libs/PanoMeasurePlugin/Components/Controller1.js +23 -34
- package/libs/PanoMeasurePlugin/Components/Tip.js +66 -76
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +18 -29
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +16 -26
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +24 -35
- package/libs/PanoMeasurePlugin/index.js +17 -28
- package/libs/PanoRulerProPlugin/Controller.js +27 -38
- package/libs/PanoRulerProPlugin/RulerItem.js +79 -94
- package/libs/PanoRulerProPlugin/RulerItems.js +82 -95
- package/libs/PanoRulerProPlugin/index.js +4 -15
- package/libs/PanoSpatialTagPlugin/Components/origins.js +38 -51
- package/libs/PanoSpatialTagPlugin/Components/tag.js +22 -32
- package/libs/PanoSpatialTagPlugin/Plugin.js +105 -116
- package/libs/PanoSpatialTagPlugin/index.js +3 -14
- package/libs/PanoSpatialTagPlugin/store.d.ts +0 -1
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +34 -44
- package/libs/PanoTagPlugin/Components/Common/Audio.js +89 -99
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +112 -123
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +45 -55
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +49 -59
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +69 -79
- package/libs/PanoTagPlugin/Components/Common/Media.js +131 -145
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +25 -35
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +48 -58
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +24 -35
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +86 -97
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +96 -109
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +118 -128
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +49 -59
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +90 -100
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +81 -92
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +57 -68
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +35 -45
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +110 -122
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +42 -53
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +115 -130
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -66
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +66 -76
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +56 -66
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +98 -109
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +43 -54
- package/libs/PanoTagPlugin/Components/Tag/index.js +148 -161
- package/libs/PanoTagPlugin/Components/TagContainer.js +62 -77
- package/libs/PanoTagPlugin/Components/TagItem.js +169 -182
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +42 -52
- package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
- package/libs/PanoTagPlugin/controller/index.js +49 -63
- package/libs/PanoTagPlugin/index.js +16 -30
- package/libs/PanoTagPlugin/typings/controller.d.ts +0 -1
- package/libs/base/BasePlugin.js +3 -3
- package/libs/components/AreaLabel/LabelItem.js +51 -56
- package/libs/floorplan/Components/BaseImage.js +39 -43
- package/libs/floorplan/Components/Camera.js +32 -41
- package/libs/floorplan/Components/Compass.js +24 -27
- package/libs/floorplan/Components/CurrentFloor.js +162 -167
- package/libs/floorplan/Components/Main.js +76 -85
- package/libs/floorplan/Components/MissingFloor.js +21 -24
- package/libs/floorplan/Components/Normalmage.js +22 -25
- package/libs/floorplan/Components/RoomHighlight/Room.js +25 -28
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +61 -69
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +101 -104
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +57 -65
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +118 -125
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +22 -25
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +40 -43
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +29 -32
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +41 -49
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +94 -102
- package/libs/floorplan/Components/SvgImage.js +27 -30
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +6 -18
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +7 -19
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +46 -58
- package/libs/floorplan/ModelFloorplanPlugin/index.js +7 -19
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +65 -77
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +83 -95
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +53 -70
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +100 -112
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +28 -40
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -16
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +18 -30
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +7 -19
- package/libs/floorplan/index.js +0 -1
- package/libs/index.js +130 -145
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/svelte/internal/index.js +749 -0
- package/libs/vendor/svelte/{src/runtime/store → store}/index.js +5 -5
- package/libs/vendor/svelte/{src/runtime/transition → transition}/index.js +1 -1
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +25 -29
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +225 -197
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +12 -16
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +59 -65
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +29 -32
- package/package.json +6 -5
- package/dist/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +0 -2
- package/libs/vendor/svelte/src/runtime/internal/Component.js +0 -122
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/animations.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +0 -47
- package/libs/vendor/svelte/src/runtime/internal/dev.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +0 -2
- package/libs/vendor/svelte/src/runtime/internal/dom.js +0 -214
- package/libs/vendor/svelte/src/runtime/internal/each.js +0 -46
- package/libs/vendor/svelte/src/runtime/internal/environment.js +0 -7
- package/libs/vendor/svelte/src/runtime/internal/globals.js +0 -7
- package/libs/vendor/svelte/src/runtime/internal/index.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +0 -63
- package/libs/vendor/svelte/src/runtime/internal/loop.js +0 -21
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +0 -66
- package/libs/vendor/svelte/src/runtime/internal/spread.js +0 -26
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +0 -48
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +0 -192
- package/libs/vendor/svelte/src/runtime/internal/utils.js +0 -110
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +0 -1
- package/libs/vendor/svelte/src/shared/utils/names.js +0 -1
- package/libs/vendor/svelte/src/shared/version.js +0 -4
- /package/libs/vendor/svelte/{src/runtime/easing → easing}/index.js +0 -0
- /package/libs/vendor/svelte/{src/runtime/index.js → index.js} +0 -0
|
@@ -1,23 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { append_styles as te, element as j, space as T, attr as w, toggle_class as D, insert as I, append as g, detach as K, text as V, set_style as W, listen as X, set_data as Y } from "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
-
import { transition_in as k, transition_out as _, check_outros as R, create_bidirectional_transition as E, group_outros as B } from "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
4
|
-
import { add_render_callback as q } from "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
5
|
-
import { onMount as oe, onDestroy as re } from "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
6
|
-
import { SvelteComponent as ie, init as le, create_component as O, mount_component as U, destroy_component as F } from "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
7
|
-
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
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 ie, onDestroy as le, 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";
|
|
8
2
|
import ne from "./Common/Switcher1.js";
|
|
9
3
|
import se from "./Common/CircleButton.js";
|
|
10
4
|
import H from "../Controller/EditController.js";
|
|
11
5
|
import ae from "./Common/Exit.js";
|
|
12
|
-
import { fade as S } from "../../vendor/svelte/
|
|
6
|
+
import { fade as S } from "../../vendor/svelte/transition/index.js";
|
|
13
7
|
import { IconUndo as me, IconOk as pe } from "./Common/icons/index.js";
|
|
14
|
-
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
15
|
-
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
16
|
-
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
17
|
-
import "../../vendor/svelte/src/shared/version.js";
|
|
18
|
-
import "../../vendor/svelte/src/runtime/internal/each.js";
|
|
19
8
|
import "../Modules/UIController/mobileHTML.js";
|
|
20
|
-
import "../../vendor/svelte/
|
|
9
|
+
import "../../vendor/svelte/easing/index.js";
|
|
21
10
|
import "../Model/line.js";
|
|
22
11
|
import "../../shared-utils/uuid.js";
|
|
23
12
|
import "../utils/line.js";
|
|
@@ -73,8 +62,8 @@ import "../../shared-utils/three/PointDomHelper.js";
|
|
|
73
62
|
import "../Modules/rangePiece/html.js";
|
|
74
63
|
import "../../CSS3DRenderPlugin/index.js";
|
|
75
64
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
76
|
-
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
77
65
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
66
|
+
import "../../shared-utils/five/fiveModelLoad.js";
|
|
78
67
|
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
79
68
|
import "../../shared-utils/animationFrame/index.js";
|
|
80
69
|
import "../../shared-utils/isTouchDevice.js";
|
|
@@ -86,7 +75,7 @@ import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
|
86
75
|
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
87
76
|
import "../utils/math.js";
|
|
88
77
|
function fe(o) {
|
|
89
|
-
|
|
78
|
+
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}");
|
|
90
79
|
}
|
|
91
80
|
function J(o) {
|
|
92
81
|
let t, i;
|
|
@@ -99,10 +88,10 @@ function J(o) {
|
|
|
99
88
|
}
|
|
100
89
|
}), {
|
|
101
90
|
c() {
|
|
102
|
-
|
|
91
|
+
q(t.$$.fragment);
|
|
103
92
|
},
|
|
104
93
|
m(e, a) {
|
|
105
|
-
|
|
94
|
+
O(t, e, a), i = !0;
|
|
106
95
|
},
|
|
107
96
|
p(e, a) {
|
|
108
97
|
const l = {};
|
|
@@ -117,7 +106,7 @@ function J(o) {
|
|
|
117
106
|
_(t.$$.fragment, e), i = !1;
|
|
118
107
|
},
|
|
119
108
|
d(e) {
|
|
120
|
-
|
|
109
|
+
U(t, e);
|
|
121
110
|
}
|
|
122
111
|
};
|
|
123
112
|
}
|
|
@@ -152,10 +141,10 @@ function L(o) {
|
|
|
152
141
|
}
|
|
153
142
|
}), {
|
|
154
143
|
c() {
|
|
155
|
-
t = j("div"),
|
|
144
|
+
t = j("div"), q(i.$$.fragment), w(t, "class", "mode-switcher svelte-ldjbp8");
|
|
156
145
|
},
|
|
157
146
|
m(l, n) {
|
|
158
|
-
I(l, t, n),
|
|
147
|
+
I(l, t, n), O(i, t, null), a = !0;
|
|
159
148
|
},
|
|
160
149
|
p(l, n) {
|
|
161
150
|
o = l;
|
|
@@ -183,7 +172,7 @@ function L(o) {
|
|
|
183
172
|
o[0].changeMeasureType), i.$set(m);
|
|
184
173
|
},
|
|
185
174
|
i(l) {
|
|
186
|
-
a || (k(i.$$.fragment, l), l &&
|
|
175
|
+
a || (k(i.$$.fragment, l), l && F(() => {
|
|
187
176
|
a && (e || (e = E(t, S, { duration: P }, !0)), e.run(1));
|
|
188
177
|
}), a = !0);
|
|
189
178
|
},
|
|
@@ -191,7 +180,7 @@ function L(o) {
|
|
|
191
180
|
_(i.$$.fragment, l), l && (e || (e = E(t, S, { duration: P }, !1)), e.run(0)), a = !1;
|
|
192
181
|
},
|
|
193
182
|
d(l) {
|
|
194
|
-
l && K(t),
|
|
183
|
+
l && K(t), U(i), l && e && e.end();
|
|
195
184
|
}
|
|
196
185
|
};
|
|
197
186
|
}
|
|
@@ -229,7 +218,7 @@ function N(o) {
|
|
|
229
218
|
);
|
|
230
219
|
},
|
|
231
220
|
i(r) {
|
|
232
|
-
m || (r &&
|
|
221
|
+
m || (r && F(() => {
|
|
233
222
|
m && (n || (n = E(t, S, { duration: P }, !0)), n.run(1));
|
|
234
223
|
}), m = !0);
|
|
235
224
|
},
|
|
@@ -264,7 +253,7 @@ function Q(o) {
|
|
|
264
253
|
o[2]("结束") + "") && Y(l, a);
|
|
265
254
|
},
|
|
266
255
|
i(r) {
|
|
267
|
-
m || (r &&
|
|
256
|
+
m || (r && F(() => {
|
|
268
257
|
m && (n || (n = E(t, S, { duration: P }, !0)), n.run(1));
|
|
269
258
|
}), m = !0);
|
|
270
259
|
},
|
|
@@ -316,11 +305,11 @@ function ue(o) {
|
|
|
316
305
|
);
|
|
317
306
|
return {
|
|
318
307
|
c() {
|
|
319
|
-
t = j("div"), b && b.c(), i = T(), e = j("div"), a = j("div"), l = T(), n = j("div"), p && p.c(), m = T(), f = j("div"), u && u.c(), C = T(), r = j("div"),
|
|
308
|
+
t = j("div"), b && b.c(), i = T(), e = j("div"), a = j("div"), l = 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*/
|
|
320
309
|
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");
|
|
321
310
|
},
|
|
322
311
|
m(s, v) {
|
|
323
|
-
I(s, t, v), b && b.m(t, null), g(t, i), g(t, e), g(e, a), g(e, l), 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),
|
|
312
|
+
I(s, t, v), b && b.m(t, null), g(t, i), g(t, e), g(e, a), g(e, l), 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;
|
|
324
313
|
},
|
|
325
314
|
p(s, [v]) {
|
|
326
315
|
/*showExit*/
|
|
@@ -365,7 +354,7 @@ function ue(o) {
|
|
|
365
354
|
_(b), _(p), _(u), _(c.$$.fragment, s), _(d), M = !1;
|
|
366
355
|
},
|
|
367
356
|
d(s) {
|
|
368
|
-
s && K(t), b && b.d(), p && p.d(), u && u.d(),
|
|
357
|
+
s && K(t), b && b.d(), p && p.d(), u && u.d(), U(c), d && d.d();
|
|
369
358
|
}
|
|
370
359
|
};
|
|
371
360
|
}
|
|
@@ -409,9 +398,9 @@ function de(o, t, i) {
|
|
|
409
398
|
}, Z = (h) => {
|
|
410
399
|
h.isEmpty && p("start");
|
|
411
400
|
};
|
|
412
|
-
|
|
401
|
+
ie(() => {
|
|
413
402
|
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);
|
|
414
|
-
}),
|
|
403
|
+
}), le(() => {
|
|
415
404
|
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);
|
|
416
405
|
});
|
|
417
406
|
const $ = () => e.revoke(), x = () => {
|
|
@@ -440,14 +429,14 @@ function de(o, t, i) {
|
|
|
440
429
|
x
|
|
441
430
|
];
|
|
442
431
|
}
|
|
443
|
-
class
|
|
432
|
+
class Kt extends ee {
|
|
444
433
|
constructor(t) {
|
|
445
|
-
super(),
|
|
434
|
+
super(), te(
|
|
446
435
|
this,
|
|
447
436
|
t,
|
|
448
437
|
de,
|
|
449
438
|
ue,
|
|
450
|
-
|
|
439
|
+
oe,
|
|
451
440
|
{
|
|
452
441
|
measureController: 0,
|
|
453
442
|
showExit: 1,
|
|
@@ -458,5 +447,5 @@ class Vt extends ie {
|
|
|
458
447
|
}
|
|
459
448
|
}
|
|
460
449
|
export {
|
|
461
|
-
|
|
450
|
+
Kt as default
|
|
462
451
|
};
|
|
@@ -1,130 +1,120 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import { add_render_callback as B, binding_callbacks as F } from "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
5
|
-
import { onMount as G, onDestroy as H } from "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
6
|
-
import { SvelteComponent as I, init as J } from "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
7
|
-
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
8
|
-
import { fade as v } from "../../vendor/svelte/src/runtime/transition/index.js";
|
|
9
|
-
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
10
|
-
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
11
|
-
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
12
|
-
import "../../vendor/svelte/src/shared/version.js";
|
|
13
|
-
import "../../vendor/svelte/src/runtime/easing/index.js";
|
|
1
|
+
import { SvelteComponent as E, init as N, safe_not_equal as O, append_styles as P, empty as W, insert as q, transition_in as h, transition_out as k, check_outros as j, detach as x, onMount as A, onDestroy as B, element as C, text as F, attr as y, append as T, set_data as G, add_render_callback as H, create_bidirectional_transition as M, group_outros as I, binding_callbacks as J } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { fade as v } from "../../vendor/svelte/transition/index.js";
|
|
3
|
+
import "../../vendor/svelte/easing/index.js";
|
|
14
4
|
function K(s) {
|
|
15
|
-
|
|
5
|
+
P(s, "svelte-1q8gtp4", ".Measure-Tips.svelte-1q8gtp4.svelte-1q8gtp4{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1q8gtp4 .text.svelte-1q8gtp4{text-align:center;position:relative;max-width:100%;top:3.125rem;color:#fff;word-break:break-all;word-wrap:break-word;text-shadow:0 0.0625rem 0.375rem rgba(0, 0, 0, 0.5);font-size:1.25rem;font-weight:bold}");
|
|
16
6
|
}
|
|
17
7
|
function w(s) {
|
|
18
|
-
let i, e,
|
|
8
|
+
let i, o, e, n, r;
|
|
19
9
|
return {
|
|
20
10
|
c() {
|
|
21
|
-
i =
|
|
11
|
+
i = C("div"), o = C("div"), e = F(
|
|
22
12
|
/*tip*/
|
|
23
13
|
s[2]
|
|
24
|
-
),
|
|
14
|
+
), y(o, "class", "text svelte-1q8gtp4"), y(i, "class", "Measure-Tips svelte-1q8gtp4");
|
|
25
15
|
},
|
|
26
|
-
m(
|
|
27
|
-
q(
|
|
16
|
+
m(l, f) {
|
|
17
|
+
q(l, i, f), T(i, o), T(o, e), s[7](o), r = !0;
|
|
28
18
|
},
|
|
29
|
-
p(
|
|
30
|
-
(!
|
|
31
|
-
4) &&
|
|
32
|
-
|
|
19
|
+
p(l, f) {
|
|
20
|
+
(!r || f & /*tip*/
|
|
21
|
+
4) && G(
|
|
22
|
+
e,
|
|
33
23
|
/*tip*/
|
|
34
|
-
|
|
24
|
+
l[2]
|
|
35
25
|
);
|
|
36
26
|
},
|
|
37
|
-
i(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}),
|
|
27
|
+
i(l) {
|
|
28
|
+
r || (H(() => {
|
|
29
|
+
r && (n || (n = M(i, v, {}, !0)), n.run(1));
|
|
30
|
+
}), r = !0);
|
|
41
31
|
},
|
|
42
|
-
o(
|
|
43
|
-
n
|
|
32
|
+
o(l) {
|
|
33
|
+
n || (n = M(i, v, {}, !1)), n.run(0), r = !1;
|
|
44
34
|
},
|
|
45
|
-
d(
|
|
46
|
-
|
|
35
|
+
d(l) {
|
|
36
|
+
l && x(i), s[7](null), l && n && n.end();
|
|
47
37
|
}
|
|
48
38
|
};
|
|
49
39
|
}
|
|
50
40
|
function L(s) {
|
|
51
|
-
let i, e = (
|
|
41
|
+
let i, o, e = (
|
|
52
42
|
/*visible*/
|
|
53
43
|
s[0] && w(s)
|
|
54
44
|
);
|
|
55
45
|
return {
|
|
56
46
|
c() {
|
|
57
|
-
e && e.c(), i =
|
|
47
|
+
e && e.c(), i = W();
|
|
58
48
|
},
|
|
59
|
-
m(
|
|
60
|
-
e && e.m(
|
|
49
|
+
m(n, r) {
|
|
50
|
+
e && e.m(n, r), q(n, i, r), o = !0;
|
|
61
51
|
},
|
|
62
|
-
p(
|
|
52
|
+
p(n, [r]) {
|
|
63
53
|
/*visible*/
|
|
64
|
-
|
|
65
|
-
1 && h(e, 1)) : (e = w(
|
|
54
|
+
n[0] ? e ? (e.p(n, r), r & /*visible*/
|
|
55
|
+
1 && h(e, 1)) : (e = w(n), e.c(), h(e, 1), e.m(i.parentNode, i)) : e && (I(), k(e, 1, 1, () => {
|
|
66
56
|
e = null;
|
|
67
57
|
}), j());
|
|
68
58
|
},
|
|
69
|
-
i(
|
|
70
|
-
h(e);
|
|
59
|
+
i(n) {
|
|
60
|
+
o || (h(e), o = !0);
|
|
71
61
|
},
|
|
72
|
-
o(
|
|
73
|
-
|
|
62
|
+
o(n) {
|
|
63
|
+
k(e), o = !1;
|
|
74
64
|
},
|
|
75
|
-
d(
|
|
76
|
-
|
|
65
|
+
d(n) {
|
|
66
|
+
e && e.d(n), n && x(i);
|
|
77
67
|
}
|
|
78
68
|
};
|
|
79
69
|
}
|
|
80
|
-
function Q(s, i,
|
|
81
|
-
let { measureController:
|
|
82
|
-
const S = (
|
|
83
|
-
const D =
|
|
84
|
-
let
|
|
85
|
-
return
|
|
86
|
-
}, c = (
|
|
87
|
-
|
|
70
|
+
function Q(s, i, o) {
|
|
71
|
+
let { measureController: e } = i, { i18n: n = (t) => t } = i, { tips: r } = i, { tipStyle: l = {} } = i, { visible: f = !0 } = i, a = null;
|
|
72
|
+
const S = (t) => {
|
|
73
|
+
const D = e.currentMeasureType;
|
|
74
|
+
let d = "";
|
|
75
|
+
return d = r[t], d === void 0 && (d = r[D][t]), d;
|
|
76
|
+
}, c = (t) => {
|
|
77
|
+
o(2, p = n(S(t)));
|
|
88
78
|
}, u = () => {
|
|
89
|
-
|
|
79
|
+
o(2, p = "");
|
|
90
80
|
};
|
|
91
81
|
let p = "";
|
|
92
|
-
const
|
|
93
|
-
|
|
82
|
+
const m = (t) => {
|
|
83
|
+
t === "Edit" && e.changeMeasureType ? c("start") : u();
|
|
94
84
|
}, g = () => {
|
|
95
|
-
|
|
85
|
+
e.getCurrentMode() === "Watch" && u();
|
|
96
86
|
}, _ = () => {
|
|
97
|
-
|
|
98
|
-
}, b = (
|
|
99
|
-
|
|
87
|
+
e.getCurrentMode() === "Edit" && c("start");
|
|
88
|
+
}, b = (t) => {
|
|
89
|
+
e.currentMeasureType === "area" && (t.length >= 2 ? c("close") : t.length === 0 ? c("start") : u());
|
|
100
90
|
};
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}),
|
|
104
|
-
|
|
91
|
+
A(() => {
|
|
92
|
+
m(e.getCurrentMode()), e.hook.on("modeChange", m), e.hook.on("complete", g), e.hook.on("pointsChange", b), e.hook.on("measureTypeChange", _);
|
|
93
|
+
}), B(() => {
|
|
94
|
+
e.hook.off("modeChange", m), e.hook.off("complete", g), e.hook.off("pointsChange", b), e.hook.off("measureTypeChange", _), u();
|
|
105
95
|
});
|
|
106
|
-
function z(
|
|
107
|
-
|
|
108
|
-
a =
|
|
96
|
+
function z(t) {
|
|
97
|
+
J[t ? "unshift" : "push"](() => {
|
|
98
|
+
a = t, o(1, a), o(6, l);
|
|
109
99
|
});
|
|
110
100
|
}
|
|
111
|
-
return s.$$set = (
|
|
112
|
-
"measureController" in
|
|
101
|
+
return s.$$set = (t) => {
|
|
102
|
+
"measureController" in t && o(3, e = t.measureController), "i18n" in t && o(4, n = t.i18n), "tips" in t && o(5, r = t.tips), "tipStyle" in t && o(6, l = t.tipStyle), "visible" in t && o(0, f = t.visible);
|
|
113
103
|
}, s.$$.update = () => {
|
|
114
104
|
if (s.$$.dirty & /*textDom, tipStyle*/
|
|
115
105
|
66 && a)
|
|
116
|
-
for (const
|
|
117
|
-
|
|
118
|
-
}, [f, a, p,
|
|
106
|
+
for (const t in l)
|
|
107
|
+
l.hasOwnProperty(t) && o(1, a.style[t] = l[t], a);
|
|
108
|
+
}, [f, a, p, e, n, r, l, z];
|
|
119
109
|
}
|
|
120
|
-
class
|
|
110
|
+
class X extends E {
|
|
121
111
|
constructor(i) {
|
|
122
|
-
super(),
|
|
112
|
+
super(), N(
|
|
123
113
|
this,
|
|
124
114
|
i,
|
|
125
115
|
Q,
|
|
126
116
|
L,
|
|
127
|
-
|
|
117
|
+
O,
|
|
128
118
|
{
|
|
129
119
|
measureController: 3,
|
|
130
120
|
i18n: 4,
|
|
@@ -137,5 +127,5 @@ class se extends I {
|
|
|
137
127
|
}
|
|
138
128
|
}
|
|
139
129
|
export {
|
|
140
|
-
|
|
130
|
+
X as default
|
|
141
131
|
};
|
|
@@ -58,8 +58,8 @@ import "../../shared-utils/three/PointDomHelper.js";
|
|
|
58
58
|
import "../Modules/rangePiece/html.js";
|
|
59
59
|
import "../../CSS3DRenderPlugin/index.js";
|
|
60
60
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
61
|
-
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
62
61
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
62
|
+
import "../../shared-utils/five/fiveModelLoad.js";
|
|
63
63
|
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
64
64
|
import "../../shared-utils/animationFrame/index.js";
|
|
65
65
|
import "../../shared-utils/isTouchDevice.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var I = Object.defineProperty;
|
|
2
2
|
var w = Object.getOwnPropertySymbols;
|
|
3
3
|
var T = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var p = (s, t, e) => t in s ? I(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e,
|
|
4
|
+
var p = (s, t, e) => t in s ? I(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, a = (s, t) => {
|
|
5
5
|
for (var e in t || (t = {}))
|
|
6
6
|
T.call(t, e) && p(s, e, t[e]);
|
|
7
7
|
if (w)
|
|
@@ -13,7 +13,7 @@ var r = (s, t, e) => (p(s, typeof t != "symbol" ? t + "" : t, e), e);
|
|
|
13
13
|
import l from "./EditController.js";
|
|
14
14
|
import P from "./ViewController.js";
|
|
15
15
|
import v from "./WatchController.js";
|
|
16
|
-
import
|
|
16
|
+
import h from "./MixedController.js";
|
|
17
17
|
import { omit as k } from "../../shared-utils/filter.js";
|
|
18
18
|
import { Group as D } from "three";
|
|
19
19
|
import { Model as E } from "../Model/index.js";
|
|
@@ -64,8 +64,8 @@ import "../../shared-utils/three/PointDomHelper.js";
|
|
|
64
64
|
import "../Modules/rangePiece/html.js";
|
|
65
65
|
import "../../CSS3DRenderPlugin/index.js";
|
|
66
66
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
67
|
-
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
68
67
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
68
|
+
import "../../shared-utils/five/fiveModelLoad.js";
|
|
69
69
|
import "../../shared-utils/positionToVector3.js";
|
|
70
70
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
71
71
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -102,29 +102,18 @@ import "../Modules/UIController/MainBtnController.js";
|
|
|
102
102
|
import "../Modules/UIController/mobileMainBtnController.js";
|
|
103
103
|
import "../Modules/UIController/Revoke/index.js";
|
|
104
104
|
import "../Components/Controller0.js";
|
|
105
|
-
import "../../vendor/svelte/
|
|
106
|
-
import "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
107
|
-
import "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
108
|
-
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
109
|
-
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
110
|
-
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
111
|
-
import "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
112
|
-
import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
113
|
-
import "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
114
|
-
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
115
|
-
import "../../vendor/svelte/src/shared/version.js";
|
|
105
|
+
import "../../vendor/svelte/internal/index.js";
|
|
116
106
|
import "../Components/Common/Switcher0.js";
|
|
117
|
-
import "../../vendor/svelte/src/runtime/internal/each.js";
|
|
118
107
|
import "../Components/Common/Exit.js";
|
|
119
108
|
import "../Components/Common/icons/index.js";
|
|
120
109
|
import "../Components/Controller1.js";
|
|
121
110
|
import "../Components/Common/Switcher1.js";
|
|
122
111
|
import "../Components/Common/CircleButton.js";
|
|
123
|
-
import "../../vendor/svelte/
|
|
124
|
-
import "../../vendor/svelte/
|
|
112
|
+
import "../../vendor/svelte/transition/index.js";
|
|
113
|
+
import "../../vendor/svelte/easing/index.js";
|
|
125
114
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
126
115
|
import "../Components/Tip.js";
|
|
127
|
-
class
|
|
116
|
+
class Le {
|
|
128
117
|
constructor(t, e) {
|
|
129
118
|
r(this, "hasOpen", !1);
|
|
130
119
|
r(this, "hook", new G());
|
|
@@ -152,7 +141,7 @@ class Ne {
|
|
|
152
141
|
var t, e, i, o;
|
|
153
142
|
this.hasOpen = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (t = this.controller) == null || t.dispose(), (e = this.useUIController) == null || e.hide(), (i = this.useGuideController) == null || i.hide(), (o = this.shortcutKeyController) == null || o.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
|
|
154
143
|
});
|
|
155
|
-
r(this, "getCurrentMode", () => this.controller instanceof l ? "Edit" : this.controller instanceof v ? "Watch" : this.controller instanceof
|
|
144
|
+
r(this, "getCurrentMode", () => this.controller instanceof l ? "Edit" : this.controller instanceof v ? "Watch" : this.controller instanceof h ? "Mixed" : this.controller instanceof P ? "View" : null);
|
|
156
145
|
/** 变更场景
|
|
157
146
|
* @description 如果从编辑场景改变到观看场景,不会自动保存,默认丢弃所有改动
|
|
158
147
|
*/
|
|
@@ -165,7 +154,7 @@ class Ne {
|
|
|
165
154
|
View: P,
|
|
166
155
|
Watch: v,
|
|
167
156
|
Edit: l,
|
|
168
|
-
Mixed:
|
|
157
|
+
Mixed: h
|
|
169
158
|
};
|
|
170
159
|
if (!e[t])
|
|
171
160
|
throw new Error("不存在的 Mode");
|
|
@@ -182,22 +171,22 @@ class Ne {
|
|
|
182
171
|
this.five = t, this.params = e, this.config = k(e, ["openParams", "magnifierParams"]), this.model = new E(this.config), this.isMobile = (c = (n = e == null ? void 0 : e.openParams) == null ? void 0 : n.isMobile) != null ? c : !1, this.magnifier = new A(t, (u = e.magnifierParams) != null ? u : { width: 190, height: 190, scale: 2 }), this.allowMeasureType = Array.from(new Set((f = (d = e.editParams) == null ? void 0 : d.allowMeasureType) != null ? f : ["line"])), this.currentMeasureType = (g = this.allowMeasureType[0]) != null ? g : "line", this.group = new D(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.pointerEvents = "none", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0";
|
|
183
172
|
const i = (M = (y = e.editParams) == null ? void 0 : y.pointSelectorMode) != null ? M : B ? "fixed" : "cursor", o = (C = this.params.openParams) != null ? C : {};
|
|
184
173
|
if (this.params.useUIController !== !1) {
|
|
185
|
-
const
|
|
174
|
+
const m = a({
|
|
186
175
|
container: this.container,
|
|
187
176
|
openParams: o,
|
|
188
177
|
i18n: e.i18n,
|
|
189
178
|
pointSelectorMode: i,
|
|
190
179
|
useNewUI: this.allowMeasureType.length > 1
|
|
191
180
|
}, b(this.params.useUIController));
|
|
192
|
-
this.useUIController = new S(this,
|
|
181
|
+
this.useUIController = new S(this, m);
|
|
193
182
|
}
|
|
194
183
|
if (this.params.useGuideController !== !1) {
|
|
195
|
-
const
|
|
184
|
+
const m = a({
|
|
196
185
|
container: this.container,
|
|
197
186
|
pointSelectorMode: i,
|
|
198
187
|
i18n: e.i18n
|
|
199
188
|
}, b(this.params.useGuideController));
|
|
200
|
-
this.useGuideController = new L(this,
|
|
189
|
+
this.useGuideController = new L(this, m);
|
|
201
190
|
}
|
|
202
191
|
}
|
|
203
192
|
appendTo(t) {
|
|
@@ -267,7 +256,7 @@ class Ne {
|
|
|
267
256
|
*/
|
|
268
257
|
save(t) {
|
|
269
258
|
var o;
|
|
270
|
-
if (!(this.controller instanceof l) && !(this.controller instanceof
|
|
259
|
+
if (!(this.controller instanceof l) && !(this.controller instanceof h))
|
|
271
260
|
return this;
|
|
272
261
|
const e = (o = t == null ? void 0 : t.mode) != null ? o : "View", i = this.controller.model.areas;
|
|
273
262
|
return this.controller instanceof l ? this.controller.complete() : i.forEach((n) => {
|
|
@@ -276,11 +265,11 @@ class Ne {
|
|
|
276
265
|
}
|
|
277
266
|
/** Mixed 模式才有用,添加起点 */
|
|
278
267
|
addStartPoint() {
|
|
279
|
-
this.controller instanceof
|
|
268
|
+
this.controller instanceof h && this.hook.emit("willChangeState", "watching", "editing");
|
|
280
269
|
}
|
|
281
270
|
/** Mixed 模式才有用,添加终点 */
|
|
282
271
|
addEndPoint() {
|
|
283
|
-
this.controller instanceof
|
|
272
|
+
this.controller instanceof h && this.hook.emit("willChangeState", "editing", "watching");
|
|
284
273
|
}
|
|
285
274
|
/** 导出数据 */
|
|
286
275
|
toJson() {
|
|
@@ -320,11 +309,11 @@ class Ne {
|
|
|
320
309
|
editParams: e,
|
|
321
310
|
magnifierParams: this.params.magnifierParams,
|
|
322
311
|
getMeasureType: () => this.currentMeasureType,
|
|
323
|
-
mouseGroup: x(
|
|
312
|
+
mouseGroup: x(a({}, t.crossHairParameter)),
|
|
324
313
|
userDistanceItemCreator: this.params.userDistanceItemCreator
|
|
325
314
|
};
|
|
326
315
|
}
|
|
327
316
|
}
|
|
328
317
|
export {
|
|
329
|
-
|
|
318
|
+
Le as default
|
|
330
319
|
};
|
|
@@ -1,22 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var o = (
|
|
4
|
-
import { objectAssignDeepExports as
|
|
1
|
+
var s = Object.defineProperty;
|
|
2
|
+
var r = (i, t, e) => t in i ? s(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
|
+
var o = (i, t, e) => (r(i, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
+
import { objectAssignDeepExports as p } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
5
5
|
import l from "../Components/Tip.js";
|
|
6
|
-
import "../../vendor/svelte/
|
|
7
|
-
import "../../vendor/svelte/
|
|
8
|
-
import "../../vendor/svelte/
|
|
9
|
-
|
|
10
|
-
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
11
|
-
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
12
|
-
import "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
13
|
-
import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
14
|
-
import "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
15
|
-
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
16
|
-
import "../../vendor/svelte/src/shared/version.js";
|
|
17
|
-
import "../../vendor/svelte/src/runtime/transition/index.js";
|
|
18
|
-
import "../../vendor/svelte/src/runtime/easing/index.js";
|
|
19
|
-
const m = {
|
|
6
|
+
import "../../vendor/svelte/internal/index.js";
|
|
7
|
+
import "../../vendor/svelte/transition/index.js";
|
|
8
|
+
import "../../vendor/svelte/easing/index.js";
|
|
9
|
+
const n = {
|
|
20
10
|
line: {
|
|
21
11
|
start: "选择一个合适的位置开始测量,点击【结束】或【鼠标右键】结束测量"
|
|
22
12
|
},
|
|
@@ -24,7 +14,7 @@ const m = {
|
|
|
24
14
|
start: "选择一个合适的位置开始绘制平面",
|
|
25
15
|
close: "选择3个点后将闭合平面,点击【结束】或【鼠标右键】将自动闭合"
|
|
26
16
|
}
|
|
27
|
-
},
|
|
17
|
+
}, c = {
|
|
28
18
|
line: {
|
|
29
19
|
start: ""
|
|
30
20
|
},
|
|
@@ -33,17 +23,17 @@ const m = {
|
|
|
33
23
|
close: "选择3个点后将闭合平面,点击结束自动闭合"
|
|
34
24
|
}
|
|
35
25
|
};
|
|
36
|
-
class
|
|
37
|
-
constructor(t,
|
|
26
|
+
class D {
|
|
27
|
+
constructor(t, e) {
|
|
38
28
|
o(this, "tipSvelteDom");
|
|
39
29
|
this.tipSvelteDom = new l({
|
|
40
|
-
target:
|
|
30
|
+
target: e.container,
|
|
41
31
|
props: {
|
|
42
32
|
measureController: t,
|
|
43
|
-
tips:
|
|
44
|
-
i18n:
|
|
33
|
+
tips: p({}, e.pointSelectorMode === "fixed" ? c : n, e.tips),
|
|
34
|
+
i18n: e.i18n,
|
|
45
35
|
visible: !0,
|
|
46
|
-
tipStyle:
|
|
36
|
+
tipStyle: e.tipStyle
|
|
47
37
|
}
|
|
48
38
|
});
|
|
49
39
|
}
|
|
@@ -61,5 +51,5 @@ class j {
|
|
|
61
51
|
}
|
|
62
52
|
}
|
|
63
53
|
export {
|
|
64
|
-
|
|
54
|
+
D as GuideController
|
|
65
55
|
};
|