@realsee/dnalogel 2.21.0-dev.9 → 2.21.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/PanoCompassPlugin/typings.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +4 -15
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +18 -26
- package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +2 -9
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +9 -26
- package/dist/PanoMeasurePlugin/Model/index.d.ts +0 -10
- package/dist/PanoMeasurePlugin/Model/line.d.ts +1 -7
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +0 -4
- package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +4 -8
- package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/Magnifier.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +3 -10
- package/dist/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +0 -3
- package/dist/PanoMeasurePlugin/typings/data.d.ts +0 -24
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +3 -13
- package/dist/PanoMeasurePlugin/typings/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +30 -0
- package/dist/{shared-utils → PanoMeasurePlugin/utils}/getIntersectionFromEvent.d.ts +1 -1
- package/{libs/shared-utils → dist/PanoMeasurePlugin/utils}/getPointFromHammerEvent.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/line.d.ts +1 -2
- package/dist/PanoMeasurePlugin/utils/ndc2Screen.d.ts +1 -2
- package/dist/base/BasePlugin.d.ts +4 -4
- package/dist/base/BasePluginWithData.d.ts +2 -1
- package/dist/index.cjs.js +67 -69
- package/dist/index.js +7095 -8835
- package/dist/index.umd.js +60 -62
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +7 -3
- package/dist/shared-utils/absoluteUrl.d.ts +2 -2
- package/dist/shared-utils/three/FivePointSelector.d.ts +36 -0
- package/dist/shared-utils/three/Magnifier.d.ts +0 -3
- package/dist/shared-utils/three/index.d.ts +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -32
- package/docs/classes/CruisePluginController.html +26 -27
- package/docs/classes/GuideLineItem.GuideLineItem.html +20 -21
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +35 -36
- package/docs/classes/Magnifier.html +20 -21
- package/docs/classes/ModelRoomLabelController.html +11 -12
- package/docs/classes/Object3DHelperController.html +25 -26
- package/docs/classes/PaintBrush.html +15 -16
- package/docs/classes/PanoMeasurePluginLine.html +106 -72
- package/docs/classes/PanoMeasurePluginModel.html +24 -82
- package/docs/classes/PanoMeasurePluginPoint.html +14 -15
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -39
- package/docs/classes/PanoTagPluginController.html +47 -48
- package/docs/classes/Util.BetterTween.html +9 -10
- package/docs/classes/{Util.PointSelectorHelper.html → Util.FivePointSelector.html} +26 -96
- package/docs/classes/Util.Interval.html +12 -13
- package/docs/classes/Util.Magnifier.html +17 -31
- package/docs/classes/Util.PointDomHelper.html +11 -12
- package/docs/classes/Util.PointHelper.html +11 -12
- package/docs/classes/Util.Rectangle.html +13 -14
- package/docs/enums/CameraMovementEffect.html +7 -8
- package/docs/enums/ContentType.html +20 -21
- package/docs/enums/DIRECTION.html +9 -10
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -10
- package/docs/enums/DimensionType.html +7 -8
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -9
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -10
- package/docs/enums/PaintBrushTypeEnum.html +8 -9
- package/docs/enums/PointType.html +7 -8
- package/docs/enums/Rotation.html +8 -9
- package/docs/functions/CSS3DRenderPlugin.html +4 -5
- package/docs/functions/CameraMovementPlugin.html +4 -5
- package/docs/functions/CruisePlugin.html +4 -5
- package/docs/functions/GuideLinePlugin.html +5 -6
- package/docs/functions/ItemLabelPlugin.html +4 -5
- package/docs/functions/MapviewFloorplanPlugin.html +4 -5
- package/docs/functions/ModelChassisCompassPlugin.html +4 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -5
- package/docs/functions/ModelFloorplanPlugin.html +4 -5
- package/docs/functions/ModelItemLabelPlugin.html +4 -5
- package/docs/functions/ModelRoomLabelPlugin.html +4 -5
- package/docs/functions/ModelTVVideoPlugin.html +4 -5
- package/docs/functions/ModelViewPlugin.html +4 -5
- package/docs/functions/Object3DHelperPlugin.html +4 -5
- package/docs/functions/PanoCompassPlugin.html +4 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -5
- package/docs/functions/PanoDoorLabelPlugin.html +4 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -5
- package/docs/functions/PanoMeasurePlugin.html +4 -5
- package/docs/functions/PanoRulerPlugin.html +4 -5
- package/docs/functions/PanoRulerProPlugin.html +4 -5
- package/docs/functions/PanoSpatialTagPlugin.html +4 -5
- package/docs/functions/PanoTagPlugin.html +4 -5
- package/docs/functions/PanoVideoPlugin.html +4 -5
- package/docs/functions/TopviewFloorplanPlugin.html +4 -5
- package/docs/functions/Util.absoluteUrl.html +5 -6
- package/docs/functions/Util.getCoordsFromClient.html +5 -6
- package/docs/functions/Util.getCoordsFromElement.html +5 -6
- package/docs/functions/Util.getFrameTime.html +5 -6
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -6
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -6
- package/docs/functions/Util.isAbsoluteURL.html +5 -6
- package/docs/functions/Util.isModelLike.html +5 -6
- package/docs/functions/Util.isNil.html +5 -6
- package/docs/functions/Util.isPanoramaLike.html +5 -6
- package/docs/functions/Util.nextFrame.html +5 -6
- package/docs/functions/Util.notNil.html +5 -6
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -6
- package/docs/functions/Util.tweenProgress.html +5 -6
- package/docs/functions/Util.uuid.html +5 -6
- package/docs/functions/pluginFlag.html +5 -6
- package/docs/index.html +5 -6
- package/docs/interfaces/AddTagConfig.html +6 -7
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -12
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -9
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -8
- package/docs/interfaces/CruisePluginTypes.Config.html +8 -9
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -13
- package/docs/interfaces/CruisePluginTypes.EventMap.html +20 -21
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +12 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +14 -15
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +14 -15
- package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -10
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -8
- package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -12
- package/docs/interfaces/EventMap.html +15 -16
- package/docs/interfaces/FloorplanBounding.html +8 -9
- package/docs/interfaces/FloorplanData.html +10 -11
- package/docs/interfaces/FloorplanEntrance.html +11 -12
- package/docs/interfaces/FloorplanExtraObject.html +10 -11
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -9
- package/docs/interfaces/FloorplanFloorData.html +9 -10
- package/docs/interfaces/FloorplanImagePosition.html +7 -8
- package/docs/interfaces/FloorplanObserver.html +9 -10
- package/docs/interfaces/FloorplanOutlineItem.html +9 -10
- package/docs/interfaces/FloorplanPosition.html +7 -8
- package/docs/interfaces/FloorplanRoomItem.html +13 -14
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -8
- package/docs/interfaces/FloorplanServerBounding.html +8 -9
- package/docs/interfaces/FloorplanServerComputedData.html +10 -11
- package/docs/interfaces/FloorplanServerData.html +7 -8
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -11
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -9
- package/docs/interfaces/FloorplanServerEntrance.html +11 -12
- package/docs/interfaces/FloorplanServerFloorData.html +9 -10
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -8
- package/docs/interfaces/FloorplanServerObserver.html +9 -10
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -10
- package/docs/interfaces/FloorplanServerPosition.html +7 -8
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -15
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -8
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +8 -9
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +10 -11
- package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -14
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -9
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +13 -14
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -9
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +18 -19
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +7 -8
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +18 -19
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +5 -6
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -8
- package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -9
- package/docs/interfaces/GuideLinePluginType.Route.html +11 -12
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -10
- package/docs/interfaces/HelperOffset.html +8 -9
- package/docs/interfaces/ImagePlaneGroup.html +6 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -7
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -12
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -10
- package/docs/interfaces/MinMax.html +7 -8
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -8
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -9
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -9
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -9
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -7
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -12
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -8
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -7
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -10
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -9
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -7
- package/docs/interfaces/ModelViewPluginExportType.html +11 -12
- package/docs/interfaces/Object3DHelperState.html +8 -9
- package/docs/interfaces/ObjectHelperControllers.html +9 -10
- package/docs/interfaces/PaintBrushAction.html +12 -13
- package/docs/interfaces/PaintBrushConfigs.html +12 -13
- package/docs/interfaces/PaintBrushState.html +10 -11
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -11
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -6
- package/docs/interfaces/PanoMeasureParameterType.html +15 -23
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -9
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -8
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -8
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -9
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -11
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -8
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -9
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -10
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -8
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -8
- package/docs/interfaces/PanoRulerProPluginState.html +8 -9
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -6
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -6
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -12
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -11
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -14
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -11
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -14
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -12
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -11
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -7
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -9
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -7
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -10
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -7
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -9
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -11
- package/docs/interfaces/Point.html +8 -9
- package/docs/interfaces/Room.html +9 -10
- package/docs/interfaces/RoomInfo.html +7 -8
- package/docs/interfaces/RoomLabel.html +14 -15
- package/docs/interfaces/RoomRules.html +5 -6
- package/docs/interfaces/Rooms.html +5 -6
- package/docs/interfaces/Scissor.html +9 -10
- package/docs/interfaces/State.html +8 -9
- package/docs/interfaces/TagCacheInterface.html +12 -13
- package/docs/interfaces/TagConfig.html +13 -14
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -7
- package/docs/interfaces/TagIconUrl.html +12 -13
- package/docs/interfaces/TagObjectGroup.html +6 -7
- package/docs/interfaces/TagStyle.html +6 -7
- package/docs/interfaces/Tags.html +9 -10
- package/docs/interfaces/TemporaryState.html +6 -7
- package/docs/interfaces/Util.MagnifierParameter.html +11 -12
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -9
- package/docs/modules/CruisePluginTypes.html +5 -6
- package/docs/modules/GuideLineItem.html +5 -6
- package/docs/modules/GuideLineModeItem.html +5 -6
- package/docs/modules/GuideLinePluginType.html +5 -6
- package/docs/modules/PanoVideoPluginType.html +5 -6
- package/docs/modules/Util.html +6 -8
- package/docs/modules.html +5 -6
- package/docs/types/ArrayPosition.html +5 -6
- package/docs/types/AudioAppearance.html +5 -6
- package/docs/types/AudioTagTypeConfigKey.html +5 -6
- package/docs/types/CSS3DRenderExportType.html +5 -6
- package/docs/types/CSS3DRenderPluginExportType.html +5 -6
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -6
- package/docs/types/ClassFunctionParameters.html +5 -6
- package/docs/types/Color.html +5 -6
- package/docs/types/ContentTypeConfigKey.html +5 -6
- package/docs/types/ContentTypeConfigKeySplit.html +5 -6
- package/docs/types/ContentTypeMap.html +5 -6
- package/docs/types/Create3DDomContainerReturnType.html +5 -6
- package/docs/types/Create3DElementReturnType.html +5 -6
- package/docs/types/CruisePluginExportType.html +5 -6
- package/docs/types/CruisePluginTypes.CruiseData.html +5 -6
- package/docs/types/CruisePluginTypes.MoveEffect.html +5 -6
- package/docs/types/DeprecatedMediaPlaneProperty.html +5 -6
- package/docs/types/DeprecatedTagProperty.html +5 -6
- package/docs/types/Direction-1.html +5 -6
- package/docs/types/Direction4.html +5 -6
- package/docs/types/ElementRenderer.html +5 -6
- package/docs/types/FloorplanRuleLabels.html +5 -6
- package/docs/types/FloorplanServerRuleLabels.html +5 -6
- package/docs/types/GuideLinePluginExportType.html +5 -6
- package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -6
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -6
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -6
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -6
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +5 -6
- package/docs/types/GuideLinePluginType.PathItem.html +5 -6
- package/docs/types/GuideLinePluginType.PluginData.html +5 -6
- package/docs/types/HelperEventMap.html +5 -6
- package/docs/types/LoadTagConfig.html +5 -6
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -6
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -6
- package/docs/types/MediaData.html +5 -6
- package/docs/types/MediaStore.html +5 -6
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -6
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -6
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -6
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -6
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -6
- package/docs/types/MoveArgs.html +5 -6
- package/docs/types/MoveOpts.html +5 -6
- package/docs/types/Object3DHelperEventMap.html +5 -6
- package/docs/types/ObjectFit.html +5 -6
- package/docs/types/PaintBrushEventMap.html +5 -6
- package/docs/types/PanoCompassPluginData.html +5 -6
- package/docs/types/PanoCompassPluginExportType.html +5 -6
- package/docs/types/PanoCompassPluginParameterType.html +5 -6
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -6
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -6
- package/docs/types/PanoIndex.html +5 -6
- package/docs/types/PanoMeasurePluginEvent.html +5 -6
- package/docs/types/PanoMeasureReturnType.html +5 -6
- package/docs/types/PanoSpatialTagPluginId.html +5 -6
- package/docs/types/PanoTagPluginExportInterface.html +5 -6
- package/docs/types/PanoTagPluginParamsInterface.html +5 -6
- package/docs/types/PanoVideoPluginParameterType.html +5 -6
- package/docs/types/PanoVideoPluginReturnType.html +5 -6
- package/docs/types/PartialObjectDeep.html +5 -6
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -6
- package/docs/types/PlaneTag.html +5 -6
- package/docs/types/Point2DTag.html +5 -6
- package/docs/types/Point3DTag.html +5 -6
- package/docs/types/PointTag.html +5 -6
- package/docs/types/PointTagInstance.html +5 -6
- package/docs/types/Position.html +5 -6
- package/docs/types/RotateArgs.html +5 -6
- package/docs/types/RotateOpts.html +5 -6
- package/docs/types/RuleLabelsKey.html +5 -6
- package/docs/types/RuleLabelsValue.html +5 -6
- package/docs/types/StickType.html +5 -6
- package/docs/types/Tag.html +5 -6
- package/docs/types/Tag2D.html +5 -6
- package/docs/types/Tag3D.html +5 -6
- package/docs/types/TagContentType.html +5 -6
- package/docs/types/TagDimensionType.html +5 -6
- package/docs/types/TagElement.html +5 -6
- package/docs/types/TagEvents.html +5 -6
- package/docs/types/TagGLTFObject.html +5 -6
- package/docs/types/TagHooks.html +5 -6
- package/docs/types/TagId.html +5 -6
- package/docs/types/TagInstance.html +5 -6
- package/docs/types/TagPointType.html +5 -6
- package/docs/types/TagRendererMap.html +5 -6
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -6
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -6
- package/docs/types/WorkCode.html +5 -6
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -6
- package/docs/variables/PLUGIN.html +5 -6
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -6
- package/docs/variables/ROOM_TYPE_MAP.html +5 -6
- package/docs/variables/itemLabelPluginServerParams.html +5 -6
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -6
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -6
- package/libs/ModelChassisCompassPlugin/Plugin.js +58 -56
- package/libs/Object3DHelperPlugin/Controller.js +2 -3
- package/libs/Object3DHelperPlugin/index.js +5 -6
- package/libs/PanoCompassPlugin/Controller.js +1 -1
- package/libs/PanoCompassPlugin/typings.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +4 -15
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +34 -43
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +18 -26
- package/libs/PanoMeasurePlugin/Controller/EditController.js +92 -270
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +25 -26
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +4 -5
- package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +2 -9
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +54 -101
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +9 -26
- package/libs/PanoMeasurePlugin/Controller/index.js +91 -146
- package/libs/PanoMeasurePlugin/Model/index.d.ts +0 -10
- package/libs/PanoMeasurePlugin/Model/index.js +35 -58
- package/libs/PanoMeasurePlugin/Model/line.d.ts +1 -7
- package/libs/PanoMeasurePlugin/Model/line.js +22 -36
- package/libs/PanoMeasurePlugin/Model/point.js +12 -17
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +0 -4
- package/libs/PanoMeasurePlugin/Model/polyline.js +3 -10
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +4 -8
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +37 -49
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/Magnifier.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +3 -10
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +37 -123
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +0 -3
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +63 -64
- package/libs/PanoMeasurePlugin/index.js +24 -72
- package/libs/PanoMeasurePlugin/typings/data.d.ts +0 -24
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +3 -13
- package/libs/PanoMeasurePlugin/typings/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +30 -0
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +83 -0
- package/libs/{shared-utils → PanoMeasurePlugin/utils}/getIntersectionFromEvent.d.ts +1 -1
- package/{dist/shared-utils → libs/PanoMeasurePlugin/utils}/getPointFromHammerEvent.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/line.d.ts +1 -2
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.d.ts +1 -2
- package/libs/base/BasePlugin.d.ts +4 -4
- package/libs/base/BasePlugin.js +3 -3
- package/libs/base/BasePluginWithData.d.ts +2 -1
- package/libs/index.js +121 -141
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +7 -3
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +49 -29
- package/libs/shared-utils/absoluteUrl.d.ts +2 -2
- package/libs/shared-utils/index.js +9 -9
- package/libs/shared-utils/logger.js +2 -2
- package/libs/shared-utils/three/FivePointSelector.d.ts +36 -0
- package/libs/shared-utils/three/FivePointSelector.js +49 -0
- package/libs/shared-utils/three/Magnifier.d.ts +0 -3
- package/libs/shared-utils/three/Magnifier.js +13 -16
- package/libs/shared-utils/three/centerPoint.js +3 -1
- package/libs/shared-utils/three/index.d.ts +1 -1
- package/libs/vendor/svelte/internal/index.js +345 -392
- package/package.json +2 -4
- package/dist/PanoMeasurePlugin/Components/Common/CircleButton.svelte.d.ts +0 -1
- package/dist/PanoMeasurePlugin/Components/Common/Exit.svelte.d.ts +0 -1
- package/dist/PanoMeasurePlugin/Components/Common/Switcher0.svelte.d.ts +0 -1
- package/dist/PanoMeasurePlugin/Components/Common/Switcher1.svelte.d.ts +0 -1
- package/dist/PanoMeasurePlugin/Components/Common/icons/index.d.ts +0 -4
- package/dist/PanoMeasurePlugin/Components/Controller0.svelte.d.ts +0 -1
- package/dist/PanoMeasurePlugin/Components/Controller1.svelte.d.ts +0 -1
- package/dist/PanoMeasurePlugin/Model/area.d.ts +0 -70
- package/dist/PanoMeasurePlugin/Model/polygon.d.ts +0 -14
- package/dist/PanoMeasurePlugin/Modules/FiveHelper.d.ts +0 -12
- package/dist/PanoMeasurePlugin/utils/dom/areaDom.d.ts +0 -22
- package/dist/PanoMeasurePlugin/utils/dom/base.d.ts +0 -29
- package/dist/PanoMeasurePlugin/utils/dom/distanceItem.d.ts +0 -27
- package/dist/PanoMeasurePlugin/utils/generatePolygonGeometry.d.ts +0 -6
- package/dist/PanoMeasurePlugin/utils/geometryUtil.d.ts +0 -7
- package/dist/PanoMeasurePlugin/utils/isIntersecting.d.ts +0 -15
- package/dist/shared-utils/isTouchDevice.d.ts +0 -1
- package/dist/shared-utils/safeObj.d.ts +0 -1
- package/dist/shared-utils/three/IObject3D.d.ts +0 -7
- package/dist/shared-utils/three/PointSelector.d.ts +0 -66
- package/dist/shared-utils/three/PointSelectorHelper.d.ts +0 -50
- package/docs/interfaces/Util.PointIntersection.html +0 -408
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +0 -57
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.svelte.d.ts +0 -1
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +0 -42
- package/libs/PanoMeasurePlugin/Components/Common/Exit.svelte.d.ts +0 -1
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +0 -246
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.svelte.d.ts +0 -1
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +0 -211
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.svelte.d.ts +0 -1
- package/libs/PanoMeasurePlugin/Components/Common/icons/index.d.ts +0 -4
- package/libs/PanoMeasurePlugin/Components/Common/icons/index.js +0 -7
- package/libs/PanoMeasurePlugin/Components/Controller0.js +0 -240
- package/libs/PanoMeasurePlugin/Components/Controller0.svelte.d.ts +0 -1
- package/libs/PanoMeasurePlugin/Components/Controller1.js +0 -399
- package/libs/PanoMeasurePlugin/Components/Controller1.svelte.d.ts +0 -1
- package/libs/PanoMeasurePlugin/Model/area.d.ts +0 -70
- package/libs/PanoMeasurePlugin/Model/area.js +0 -110
- package/libs/PanoMeasurePlugin/Model/polygon.d.ts +0 -14
- package/libs/PanoMeasurePlugin/Model/polygon.js +0 -44
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.d.ts +0 -12
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +0 -29
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.d.ts +0 -22
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +0 -50
- package/libs/PanoMeasurePlugin/utils/dom/base.d.ts +0 -29
- package/libs/PanoMeasurePlugin/utils/dom/base.js +0 -78
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.d.ts +0 -27
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +0 -62
- package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.d.ts +0 -6
- package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.js +0 -13
- package/libs/PanoMeasurePlugin/utils/geometryUtil.d.ts +0 -7
- package/libs/PanoMeasurePlugin/utils/geometryUtil.js +0 -39
- package/libs/PanoMeasurePlugin/utils/isIntersecting.d.ts +0 -15
- package/libs/PanoMeasurePlugin/utils/isIntersecting.js +0 -25
- package/libs/shared-utils/isTouchDevice.d.ts +0 -1
- package/libs/shared-utils/isTouchDevice.js +0 -4
- package/libs/shared-utils/safeObj.d.ts +0 -1
- package/libs/shared-utils/safeObj.js +0 -6
- package/libs/shared-utils/three/IObject3D.d.ts +0 -7
- package/libs/shared-utils/three/IObject3D.js +0 -25
- package/libs/shared-utils/three/PointSelector.d.ts +0 -66
- package/libs/shared-utils/three/PointSelector.js +0 -116
- package/libs/shared-utils/three/PointSelectorHelper.d.ts +0 -50
- package/libs/shared-utils/three/PointSelectorHelper.js +0 -100
- /package/libs/{shared-utils → PanoMeasurePlugin/utils}/getIntersectionFromEvent.js +0 -0
- /package/libs/{shared-utils → PanoMeasurePlugin/utils}/getPointFromHammerEvent.js +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var a = (s, t, e) => (
|
|
1
|
+
var P = Object.defineProperty;
|
|
2
|
+
var b = (s, t, e) => t in s ? P(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
|
|
3
|
+
var a = (s, t, e) => (b(s, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
4
|
import w from "hammerjs";
|
|
5
|
-
import * as
|
|
5
|
+
import * as m from "three";
|
|
6
6
|
import { Subscribe as D } from "@realsee/five";
|
|
7
7
|
function l(s, t, e) {
|
|
8
8
|
const n = s[t], i = s[e];
|
|
9
9
|
!n || !i || (s[t] = i, s[e] = n);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function E(s, t, e) {
|
|
12
12
|
const n = e / 2;
|
|
13
13
|
for (let i = 1; i <= n; i++) {
|
|
14
14
|
const h = e - (i - 1);
|
|
@@ -30,7 +30,7 @@ class H {
|
|
|
30
30
|
a(this, "config");
|
|
31
31
|
a(this, "offset", { x: 0, y: 0 });
|
|
32
32
|
a(this, "context");
|
|
33
|
-
a(this, "renderCenter", new
|
|
33
|
+
a(this, "renderCenter", new m.Vector3());
|
|
34
34
|
a(this, "hammer");
|
|
35
35
|
a(this, "state", { enabled: !1 });
|
|
36
36
|
a(this, "onPan", (t) => {
|
|
@@ -55,9 +55,6 @@ class H {
|
|
|
55
55
|
throw new Error("CANNOT CREATE CONTEXT2D");
|
|
56
56
|
this.context = n, this.config.dragEnabled && (this.hammer = new w(this.canvas), this.hammer.on("pan", this.onPan), this.hammer.on("panend", this.onPanEnd)), this.initStyle();
|
|
57
57
|
}
|
|
58
|
-
getCurrentState() {
|
|
59
|
-
return this.state;
|
|
60
|
-
}
|
|
61
58
|
dispose() {
|
|
62
59
|
var t;
|
|
63
60
|
this.clear(), this.disable(), (t = this.hammer) == null || t.destroy();
|
|
@@ -73,7 +70,8 @@ class H {
|
|
|
73
70
|
}
|
|
74
71
|
/** 把放大镜放到某一个容器中 */
|
|
75
72
|
appendTo(t) {
|
|
76
|
-
|
|
73
|
+
var e;
|
|
74
|
+
return this.containerDom && ((e = this.containerDom) == null || e.removeChild(this.canvas)), this.containerDom = t, this.state.enabled && t.append(this.canvas), this;
|
|
77
75
|
}
|
|
78
76
|
/** 清除放大镜渲染内容 */
|
|
79
77
|
clear() {
|
|
@@ -92,17 +90,16 @@ class H {
|
|
|
92
90
|
render() {
|
|
93
91
|
if (!this.five.renderer || !this.containerDom)
|
|
94
92
|
return;
|
|
95
|
-
this.
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
m.data.set(d), e.putImageData(m, 0, 0);
|
|
93
|
+
const { scale: t, context: e, width: n, height: i } = this, h = this.renderCenter.clone().project(this.five.camera), r = this.five.renderer.getSize(new m.Vector2()), o = 1, c = n / t, v = i / t, u = o * t, y = (h.x + 1) / 2 * r.x, p = (h.y + 1) / 2 * r.y, d = this.five.getPixels(y - c / 2, p - c / 2, c, v, u), f = Math.floor(n * o), x = Math.floor(i * o);
|
|
94
|
+
E(d, f, x);
|
|
95
|
+
const g = new ImageData(f, x);
|
|
96
|
+
g.data.set(d), e.putImageData(g, 0, 0);
|
|
100
97
|
}
|
|
101
98
|
initStyle() {
|
|
102
99
|
const t = this.canvas;
|
|
103
100
|
t.classList.add("five-plugin__magnifier"), t.style.position = "absolute", t.style.pointerEvents = "all", t.style.borderRadius = "50%", t.style.zIndex = "99";
|
|
104
101
|
const e = 1;
|
|
105
|
-
t.setAttribute("width", (this.width * e).toString()), t.setAttribute("height", (this.height * e).toString()), t.style.border = "2px solid rgba(255,255,255,0.20)", t.style.width = this.width + "px", t.style.height = this.height + "px", t.style.top = this.config.initialPosition.top, t.style.left = this.config.initialPosition.left, t.style.transform = "translate(0,0,100px)",
|
|
102
|
+
t.setAttribute("width", (this.width * e).toString()), t.setAttribute("height", (this.height * e).toString()), t.style.border = "2px solid rgba(255,255,255,0.20)", t.style.width = this.width + "px", t.style.height = this.height + "px", t.style.top = this.config.initialPosition.top, t.style.left = this.config.initialPosition.left, t.style.transform = "translate(0,0,100px)", this.config.dragEnabled && (this.canvas.style.cursor = "pointer");
|
|
106
103
|
}
|
|
107
104
|
}
|
|
108
105
|
export {
|