@realsee/dnalogel 2.21.0-dev.10 → 2.21.0-dev.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PanoMeasurePlugin/Components/Tip.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Model/area.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +15 -11
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +5 -1
- package/dist/PanoTagPlugin/controller/index.d.ts +2 -1
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -1
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -4
- package/dist/index.cjs.js +53 -53
- package/dist/index.js +3020 -2869
- package/dist/index.umd.js +41 -41
- package/dist/shared-utils/three/PointSelector.d.ts +17 -1
- package/dist/shared-utils/three/PointSelectorHelper.d.ts +2 -11
- package/dist/typings/typings.d.ts +4 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +30 -31
- package/docs/classes/CruisePluginController.html +25 -26
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -20
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -35
- package/docs/classes/Magnifier.html +19 -20
- package/docs/classes/ModelRoomLabelController.html +10 -11
- package/docs/classes/Object3DHelperController.html +24 -25
- package/docs/classes/PaintBrush.html +14 -15
- package/docs/classes/PanoMeasurePluginLine.html +26 -27
- package/docs/classes/PanoMeasurePluginModel.html +26 -27
- package/docs/classes/PanoMeasurePluginPoint.html +13 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -27
- package/docs/classes/PanoTagPluginController.html +50 -51
- package/docs/classes/Util.BetterTween.html +8 -9
- package/docs/classes/Util.Interval.html +11 -12
- package/docs/classes/Util.Magnifier.html +19 -20
- package/docs/classes/Util.PointDomHelper.html +10 -11
- package/docs/classes/Util.PointHelper.html +10 -11
- package/docs/classes/Util.PointSelectorHelper.html +21 -59
- package/docs/classes/Util.Rectangle.html +12 -13
- package/docs/enums/CameraMovementEffect.html +6 -7
- package/docs/enums/ContentType.html +19 -20
- package/docs/enums/DIRECTION.html +8 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -9
- package/docs/enums/DimensionType.html +6 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -9
- package/docs/enums/PaintBrushTypeEnum.html +7 -8
- package/docs/enums/PointType.html +6 -7
- package/docs/enums/Rotation.html +7 -8
- package/docs/functions/CSS3DRenderPlugin.html +3 -4
- package/docs/functions/CameraMovementPlugin.html +3 -4
- package/docs/functions/CruisePlugin.html +3 -4
- package/docs/functions/GuideLinePlugin.html +4 -5
- package/docs/functions/ItemLabelPlugin.html +3 -4
- package/docs/functions/MapviewFloorplanPlugin.html +3 -4
- package/docs/functions/ModelChassisCompassPlugin.html +3 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -4
- package/docs/functions/ModelFloorplanPlugin.html +3 -4
- package/docs/functions/ModelItemLabelPlugin.html +3 -4
- package/docs/functions/ModelRoomLabelPlugin.html +3 -4
- package/docs/functions/ModelTVVideoPlugin.html +3 -4
- package/docs/functions/ModelViewPlugin.html +3 -4
- package/docs/functions/Object3DHelperPlugin.html +3 -4
- package/docs/functions/PanoCompassPlugin.html +3 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -4
- package/docs/functions/PanoDoorLabelPlugin.html +3 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -4
- package/docs/functions/PanoMeasurePlugin.html +3 -4
- package/docs/functions/PanoRulerPlugin.html +3 -4
- package/docs/functions/PanoRulerProPlugin.html +3 -4
- package/docs/functions/PanoSpatialTagPlugin.html +3 -4
- package/docs/functions/PanoTagPlugin.html +3 -4
- package/docs/functions/PanoVideoPlugin.html +3 -4
- package/docs/functions/TopviewFloorplanPlugin.html +3 -4
- package/docs/functions/Util.absoluteUrl.html +4 -5
- package/docs/functions/Util.getCoordsFromClient.html +4 -5
- package/docs/functions/Util.getCoordsFromElement.html +4 -5
- package/docs/functions/Util.getFrameTime.html +4 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -5
- package/docs/functions/Util.isAbsoluteURL.html +4 -5
- package/docs/functions/Util.isModelLike.html +4 -5
- package/docs/functions/Util.isNil.html +4 -5
- package/docs/functions/Util.isPanoramaLike.html +4 -5
- package/docs/functions/Util.nextFrame.html +4 -5
- package/docs/functions/Util.notNil.html +4 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -5
- package/docs/functions/Util.tweenProgress.html +4 -5
- package/docs/functions/Util.uuid.html +4 -5
- package/docs/functions/pluginFlag.html +4 -5
- package/docs/index.html +4 -5
- package/docs/interfaces/AddTagConfig.html +5 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -20
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -7
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -11
- package/docs/interfaces/EventMap.html +14 -15
- package/docs/interfaces/FloorplanBounding.html +7 -8
- package/docs/interfaces/FloorplanData.html +9 -10
- package/docs/interfaces/FloorplanEntrance.html +10 -11
- package/docs/interfaces/FloorplanExtraObject.html +9 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -8
- package/docs/interfaces/FloorplanFloorData.html +8 -9
- package/docs/interfaces/FloorplanImagePosition.html +6 -7
- package/docs/interfaces/FloorplanObserver.html +8 -9
- package/docs/interfaces/FloorplanOutlineItem.html +8 -9
- package/docs/interfaces/FloorplanPosition.html +6 -7
- package/docs/interfaces/FloorplanRoomItem.html +12 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -7
- package/docs/interfaces/FloorplanServerBounding.html +7 -8
- package/docs/interfaces/FloorplanServerComputedData.html +9 -10
- package/docs/interfaces/FloorplanServerData.html +6 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -8
- package/docs/interfaces/FloorplanServerEntrance.html +10 -11
- package/docs/interfaces/FloorplanServerFloorData.html +8 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -7
- package/docs/interfaces/FloorplanServerObserver.html +8 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -9
- package/docs/interfaces/FloorplanServerPosition.html +6 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -7
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -8
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -13
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -18
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -7
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -18
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -5
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -8
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -11
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -9
- package/docs/interfaces/HelperOffset.html +7 -8
- package/docs/interfaces/ImagePlaneGroup.html +5 -6
- package/docs/interfaces/ItemLabelPluginData.html +5 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -9
- package/docs/interfaces/MinMax.html +6 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -6
- package/docs/interfaces/ModelViewPluginExportType.html +10 -11
- package/docs/interfaces/Object3DHelperState.html +7 -8
- package/docs/interfaces/ObjectHelperControllers.html +8 -9
- package/docs/interfaces/PaintBrushAction.html +11 -12
- package/docs/interfaces/PaintBrushConfigs.html +11 -12
- package/docs/interfaces/PaintBrushState.html +9 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -5
- package/docs/interfaces/PanoMeasureParameterType.html +14 -15
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -7
- package/docs/interfaces/PanoRulerProPluginState.html +7 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -10
- package/docs/interfaces/Point.html +7 -8
- package/docs/interfaces/Room.html +8 -9
- package/docs/interfaces/RoomInfo.html +6 -7
- package/docs/interfaces/RoomLabel.html +13 -14
- package/docs/interfaces/RoomRules.html +4 -5
- package/docs/interfaces/Rooms.html +4 -5
- package/docs/interfaces/Scissor.html +8 -9
- package/docs/interfaces/State.html +7 -8
- package/docs/interfaces/TagCacheInterface.html +11 -12
- package/docs/interfaces/TagConfig.html +13 -14
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -6
- package/docs/interfaces/TagIconUrl.html +11 -12
- package/docs/interfaces/TagObjectGroup.html +5 -6
- package/docs/interfaces/TagStyle.html +5 -6
- package/docs/interfaces/Tags.html +8 -9
- package/docs/interfaces/TemporaryState.html +5 -6
- package/docs/interfaces/Util.MagnifierParameter.html +10 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -8
- package/docs/interfaces/Util.PointIntersection.html +7 -8
- package/docs/modules/CruisePluginTypes.html +4 -5
- package/docs/modules/GuideLineItem.html +4 -5
- package/docs/modules/GuideLineModeItem.html +4 -5
- package/docs/modules/GuideLinePluginType.html +4 -5
- package/docs/modules/PanoVideoPluginType.html +4 -5
- package/docs/modules/Util.html +4 -5
- package/docs/modules.html +4 -6
- package/docs/types/ArrayPosition.html +4 -5
- package/docs/types/AudioAppearance.html +4 -5
- package/docs/types/AudioTagTypeConfigKey.html +4 -5
- package/docs/types/CSS3DRenderExportType.html +4 -5
- package/docs/types/CSS3DRenderPluginExportType.html +4 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -5
- package/docs/types/ClassFunctionParameters.html +4 -5
- package/docs/types/Color.html +4 -5
- package/docs/types/ContentTypeConfigKey.html +4 -5
- package/docs/types/ContentTypeConfigKeySplit.html +4 -5
- package/docs/types/ContentTypeMap.html +4 -5
- package/docs/types/Create3DDomContainerReturnType.html +4 -5
- package/docs/types/Create3DElementReturnType.html +4 -5
- package/docs/types/CruisePluginExportType.html +4 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -5
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -5
- package/docs/types/DeprecatedTagProperty.html +4 -5
- package/docs/types/Direction-1.html +4 -5
- package/docs/types/Direction4.html +4 -5
- package/docs/types/ElementRenderer.html +4 -5
- package/docs/types/FloorplanRuleLabels.html +4 -5
- package/docs/types/FloorplanServerRuleLabels.html +4 -5
- package/docs/types/GuideLinePluginExportType.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -5
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -5
- package/docs/types/GuideLinePluginType.PathItem.html +4 -5
- package/docs/types/GuideLinePluginType.PluginData.html +4 -5
- package/docs/types/HelperEventMap.html +4 -5
- package/docs/types/LoadTagConfig.html +4 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -5
- package/docs/types/MediaData.html +4 -5
- package/docs/types/MediaStore.html +4 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -5
- package/docs/types/MoveArgs.html +4 -5
- package/docs/types/MoveOpts.html +4 -5
- package/docs/types/Object3DHelperEventMap.html +4 -5
- package/docs/types/ObjectFit.html +4 -5
- package/docs/types/PaintBrushEventMap.html +4 -5
- package/docs/types/PanoCompassPluginData.html +4 -5
- package/docs/types/PanoCompassPluginExportType.html +4 -5
- package/docs/types/PanoCompassPluginParameterType.html +4 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -5
- package/docs/types/PanoIndex.html +4 -5
- package/docs/types/PanoMeasurePluginEvent.html +4 -5
- package/docs/types/PanoMeasureReturnType.html +4 -5
- package/docs/types/PanoSpatialTagPluginId.html +4 -5
- package/docs/types/PanoTagPluginExportInterface.html +4 -5
- package/docs/types/PanoTagPluginParamsInterface.html +4 -5
- package/docs/types/PanoVideoPluginParameterType.html +4 -5
- package/docs/types/PanoVideoPluginReturnType.html +4 -5
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -5
- package/docs/types/PlaneTag.html +4 -5
- package/docs/types/Point2DTag.html +4 -5
- package/docs/types/Point3DTag.html +4 -5
- package/docs/types/PointTag.html +4 -5
- package/docs/types/PointTagInstance.html +4 -5
- package/docs/types/Position.html +4 -5
- package/docs/types/RotateArgs.html +4 -5
- package/docs/types/RotateOpts.html +4 -5
- package/docs/types/RuleLabelsKey.html +4 -5
- package/docs/types/RuleLabelsValue.html +4 -5
- package/docs/types/StickType.html +4 -5
- package/docs/types/Tag.html +4 -5
- package/docs/types/Tag2D.html +4 -5
- package/docs/types/Tag3D.html +4 -5
- package/docs/types/TagContentType.html +4 -5
- package/docs/types/TagDimensionType.html +4 -5
- package/docs/types/TagElement.html +4 -5
- package/docs/types/TagEvents.html +4 -5
- package/docs/types/TagGLTFObject.html +4 -5
- package/docs/types/TagHooks.html +4 -5
- package/docs/types/TagId.html +4 -5
- package/docs/types/TagInstance.html +4 -5
- package/docs/types/TagPointType.html +4 -5
- package/docs/types/TagRendererMap.html +4 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -5
- package/docs/types/WorkCode.html +4 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -5
- package/docs/variables/PLUGIN.html +4 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -5
- package/docs/variables/ROOM_TYPE_MAP.html +4 -5
- package/docs/variables/itemLabelPluginServerParams.html +4 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -5
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +43 -43
- package/libs/PanoMeasurePlugin/Components/Controller0.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Controller1.js +141 -139
- package/libs/PanoMeasurePlugin/Components/Tip.js +154 -0
- package/libs/PanoMeasurePlugin/Components/Tip.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Controller/EditController.js +82 -76
- package/libs/PanoMeasurePlugin/Controller/index.js +23 -21
- package/libs/PanoMeasurePlugin/Model/area.d.ts +4 -0
- package/libs/PanoMeasurePlugin/Model/area.js +38 -31
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +15 -11
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +67 -40
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -1
- package/libs/PanoMeasurePlugin/index.js +16 -14
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +5 -1
- package/libs/PanoTagPlugin/controller/index.d.ts +2 -1
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -1
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -4
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +111 -110
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector.d.ts +17 -1
- package/libs/shared-utils/three/PointSelector.js +90 -35
- package/libs/shared-utils/three/PointSelectorHelper.d.ts +2 -11
- package/libs/shared-utils/three/PointSelectorHelper.js +32 -82
- package/libs/typings/typings.d.ts +4 -0
- package/package.json +1 -1
- package/docs/types/PartialObjectDeep.html +0 -361
|
@@ -1,52 +1,79 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
var e = Object.defineProperty;
|
|
2
|
+
var p = (o, t, i) => t in o ? e(o, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[t] = i;
|
|
3
|
+
var r = (o, t, i) => (p(o, typeof t != "symbol" ? t + "" : t, i), i);
|
|
4
|
+
import { objectAssignDeepExports as m } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
5
|
+
import s from "../Components/Tip.js";
|
|
6
|
+
import "../../vendor/svelte/internal/index.js";
|
|
7
|
+
import "../../vendor/svelte/transition/index.js";
|
|
8
|
+
import "../../vendor/svelte/easing/index.js";
|
|
9
|
+
import "@realsee/five/line";
|
|
10
|
+
import "../utils/constants.js";
|
|
11
|
+
import "three";
|
|
12
|
+
import "@realsee/five";
|
|
13
|
+
import "../Model/polygon.js";
|
|
14
|
+
import "../../shared-utils/three/IObject3D.js";
|
|
15
|
+
import "../utils/generatePolygonGeometry.js";
|
|
16
|
+
import "earcut";
|
|
17
|
+
import "hammerjs";
|
|
18
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
19
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
20
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
21
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
22
|
+
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
23
|
+
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
24
|
+
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
25
|
+
import "../../shared-utils/Subscribe.js";
|
|
26
|
+
import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
27
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
28
|
+
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
29
|
+
import "../../shared-utils/three/centerPoint.js";
|
|
30
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
31
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
32
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
33
|
+
const l = {
|
|
34
|
+
select: "点击按钮选择功能",
|
|
35
|
+
line: {
|
|
36
|
+
start: "点击开始测量"
|
|
37
|
+
},
|
|
38
|
+
area: {
|
|
39
|
+
start: "点击开始测量",
|
|
40
|
+
close: "选择三个点后将闭合平面,点击结束自动闭合"
|
|
41
|
+
}
|
|
42
|
+
}, c = {
|
|
43
|
+
select: "点击按钮选择功能",
|
|
44
|
+
line: {
|
|
45
|
+
start: "点击开始按钮打点"
|
|
46
|
+
},
|
|
47
|
+
area: {
|
|
48
|
+
start: "点击开始按钮打点",
|
|
49
|
+
close: "选择三个点后将闭合平面,点击结束自动闭合"
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
class K {
|
|
53
|
+
constructor(t, i) {
|
|
54
|
+
r(this, "tipSvelteDom");
|
|
55
|
+
this.tipSvelteDom = new s({
|
|
56
|
+
target: i.container,
|
|
57
|
+
props: {
|
|
58
|
+
measureController: t,
|
|
59
|
+
tips: m({}, i.pointSelectorMode === "fixed" ? c : l, i.tips),
|
|
60
|
+
visible: !0
|
|
22
61
|
}
|
|
23
|
-
t === "Edit" && (this.textDom.innerText = (e = this._params.firstPointTip) != null ? e : "请选择第一个测量点,Esc或单击鼠标右键可取消选择", this.show());
|
|
24
62
|
});
|
|
25
|
-
i(this, "anchorChange", (t) => {
|
|
26
|
-
var e, s;
|
|
27
|
-
!this.hasAnchor && t ? (this.hasAnchor = !0, this.textDom.innerText = (e = this._params.nextPointTip) != null ? e : "选择下一个测量点,Esc或单击鼠标右键取消选择") : t || (this.hasAnchor = !1, this.textDom.innerText = (s = this._params.firstPointTip) != null ? s : "请选择第一个测量点,Esc或单击鼠标右键可取消选择");
|
|
28
|
-
});
|
|
29
|
-
i(this, "onEditedLineChange", (t) => {
|
|
30
|
-
var e;
|
|
31
|
-
t.lines.length === 1 && (this.textDom.innerText = (e = this._params.endTip) != null ? e : "可以连续选择测量点,或点击下方“结束”按钮完成测量(Esc取消,Command+S保存)");
|
|
32
|
-
});
|
|
33
|
-
this._params = e, this.initDom(), e.container.append(this.container), this.measureController = t, t.hook.on("modeChange", this.onModelChange), t.hook.on("anchorChange", this.anchorChange), t.hook.on("editedPolylineChange", this.onEditedLineChange);
|
|
34
63
|
}
|
|
35
64
|
dispose() {
|
|
36
|
-
|
|
65
|
+
var t;
|
|
66
|
+
(t = this.tipSvelteDom) == null || t.$destroy();
|
|
37
67
|
}
|
|
38
68
|
show() {
|
|
39
|
-
|
|
69
|
+
var t;
|
|
70
|
+
return (t = this.tipSvelteDom) == null || t.set({ visible: !0 }), this;
|
|
40
71
|
}
|
|
41
72
|
hide() {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
initDom() {
|
|
45
|
-
var s;
|
|
46
|
-
const t = this.container, e = this.textDom;
|
|
47
|
-
t.classList.add("fpm__guide-container"), t.style.position = "absolute", t.style.top = "0px", t.style.left = "0px", t.style.width = "100%", t.style.height = "110px", t.style.display = "flex", t.style.alignItems = "center", t.style.justifyContent = "center", t.style.transform = "translate(0, -10px)", t.style.background = "linear-gradient(180deg, rgba(0,0,0,0.40) 0%, rgba(0,0,0,0.00) 100%)", t.style.transition = "opacity 500ms ease-in-out, transform 500ms ease-in-out", t.style.opacity = "0", e.classList.add("fpm__guide-text"), e.style.color = "#fff", e.style.fontSize = "20px", e.innerText = (s = this._params.startTip) != null ? s : "点击下方“开始”按钮开始测距", t.appendChild(e);
|
|
73
|
+
var t;
|
|
74
|
+
return (t = this.tipSvelteDom) == null || t.set({ visible: !1 }), this;
|
|
48
75
|
}
|
|
49
76
|
}
|
|
50
77
|
export {
|
|
51
|
-
|
|
78
|
+
K as GuideController
|
|
52
79
|
};
|
|
@@ -42,7 +42,6 @@ import "../../../shared-utils/three/PointSelector.js";
|
|
|
42
42
|
import "../../../shared-utils/three/PointSelectorHelper.js";
|
|
43
43
|
import "../../../shared-utils/three/Magnifier.js";
|
|
44
44
|
import "hammerjs";
|
|
45
|
-
import "../../../shared-utils/three/getIntersect.js";
|
|
46
45
|
import "../../../shared-utils/three/PointHelper.js";
|
|
47
46
|
import "../../../shared-utils/three/Assets/index.js";
|
|
48
47
|
import "../../../shared-utils/three/PointDomHelper.js";
|
|
@@ -70,6 +69,7 @@ import "../../../shared-utils/animationFrame/index.js";
|
|
|
70
69
|
import "../../../shared-utils/isTouchDevice.js";
|
|
71
70
|
import "../../../shared-utils/getIntersectionFromEvent.js";
|
|
72
71
|
import "../../../shared-utils/getPointFromHammerEvent.js";
|
|
72
|
+
import "../../../shared-utils/three/getIntersect.js";
|
|
73
73
|
import "../DeleteDom/index.js";
|
|
74
74
|
import "../DeleteDom/_Assets/delete.svg.js";
|
|
75
75
|
import "../DeleteDom/_Assets/delete_bg.png.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import t from "./Controller/index.js";
|
|
2
|
-
import { default as
|
|
3
|
-
import { Model as
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
6
|
-
import { Polyline as
|
|
2
|
+
import { default as Yo } from "./Modules/Magnifier.js";
|
|
3
|
+
import { Model as _o } from "./Model/index.js";
|
|
4
|
+
import { default as or } from "./Model/point.js";
|
|
5
|
+
import { default as tr } from "./Model/line.js";
|
|
6
|
+
import { Polyline as mr } from "./Model/polyline.js";
|
|
7
7
|
import "./Modules/FiveHelper.js";
|
|
8
8
|
import "three";
|
|
9
9
|
import "./Controller/EditController.js";
|
|
@@ -32,7 +32,6 @@ import "../shared-utils/three/PointSelector.js";
|
|
|
32
32
|
import "../shared-utils/three/PointSelectorHelper.js";
|
|
33
33
|
import "../shared-utils/three/Magnifier.js";
|
|
34
34
|
import "hammerjs";
|
|
35
|
-
import "../shared-utils/three/getIntersect.js";
|
|
36
35
|
import "../shared-utils/three/PointHelper.js";
|
|
37
36
|
import "../shared-utils/three/Assets/index.js";
|
|
38
37
|
import "../shared-utils/three/PointDomHelper.js";
|
|
@@ -60,6 +59,7 @@ import "../shared-utils/animationFrame/index.js";
|
|
|
60
59
|
import "../shared-utils/isTouchDevice.js";
|
|
61
60
|
import "../shared-utils/getIntersectionFromEvent.js";
|
|
62
61
|
import "../shared-utils/getPointFromHammerEvent.js";
|
|
62
|
+
import "../shared-utils/three/getIntersect.js";
|
|
63
63
|
import "./Modules/DeleteDom/index.js";
|
|
64
64
|
import "./Modules/DeleteDom/_Assets/delete.svg.js";
|
|
65
65
|
import "./Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
@@ -95,17 +95,19 @@ import "./Components/Common/CircleButton.js";
|
|
|
95
95
|
import "../vendor/svelte/transition/index.js";
|
|
96
96
|
import "../vendor/svelte/easing/index.js";
|
|
97
97
|
import "./Modules/GuideController.js";
|
|
98
|
+
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
99
|
+
import "./Components/Tip.js";
|
|
98
100
|
import "./Controller/ShortcutKeyController.js";
|
|
99
101
|
import "../shared-utils/safeObj.js";
|
|
100
|
-
const
|
|
102
|
+
const Vo = function(o, r) {
|
|
101
103
|
return new t(o, r);
|
|
102
104
|
};
|
|
103
105
|
export {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
106
|
+
Yo as Magnifier,
|
|
107
|
+
Vo as PanoMeasurePlugin,
|
|
108
|
+
tr as PanoMeasurePluginLine,
|
|
109
|
+
_o as PanoMeasurePluginModel,
|
|
110
|
+
or as PanoMeasurePluginPoint,
|
|
111
|
+
mr as PanoMeasurePluginPolyline,
|
|
112
|
+
Vo as default
|
|
111
113
|
};
|
|
@@ -27,8 +27,12 @@ type EditEvent = {
|
|
|
27
27
|
revoke: (params: {
|
|
28
28
|
isEmpty: boolean;
|
|
29
29
|
}) => void;
|
|
30
|
-
/**
|
|
30
|
+
/** 点一下按钮就可以完成,如:测距中,差最后一次打点就可以完成线段;测面积中,当前点吸附到了多边形的开始点上,点一下就可以闭合多边形 */
|
|
31
31
|
readyComplete: () => void;
|
|
32
|
+
/** 点击了撤销或者其他原因导致刚刚的 readyComplete 失效 */
|
|
33
|
+
notReadyComplete: () => void;
|
|
34
|
+
/** 选点 */
|
|
35
|
+
pointsChange: (points: any[]) => void;
|
|
32
36
|
/** 一条线段或者一个面积编辑完成 */
|
|
33
37
|
complete: () => void;
|
|
34
38
|
/** 测量面积时,是否可以打点的状态是会一直变的 */
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { Tag, TagId, Tags, TagInstance, State, AddTagConfig, LoadTagConfig, ContentTypeConfigKey, TagConfig
|
|
1
|
+
import type { Tag, TagId, Tags, TagInstance, State, AddTagConfig, LoadTagConfig, ContentTypeConfigKey, TagConfig } from '../typings';
|
|
2
2
|
import type { PickTagContentTypeInContentTypeConfigKey, TagContentType } from '..';
|
|
3
3
|
import type { ArrayPosition } from '../typings';
|
|
4
4
|
import { type Five } from '@realsee/five';
|
|
5
5
|
import { TagRender } from './TagRender';
|
|
6
|
+
import type { PartialObjectDeep } from '../../typings/typings';
|
|
6
7
|
export declare const pluginFlag: (name: string) => string;
|
|
7
8
|
declare class PanoTagPluginController extends TagRender {
|
|
8
9
|
/** state */
|
|
@@ -2,8 +2,8 @@ import type { Create3DDomContainerParamsType } from '../../../CSS3DRenderPlugin/
|
|
|
2
2
|
import type { Five, Mode } from '@realsee/five';
|
|
3
3
|
import type { ContentTypeMap, TagContentType } from './TagData';
|
|
4
4
|
import type { MinMax } from './Utils';
|
|
5
|
-
import type { PartialObjectDeep } from './Utils';
|
|
6
5
|
import type { TagInstance } from './TagInstance';
|
|
6
|
+
import type { PartialObjectDeep } from '../../../typings/typings';
|
|
7
7
|
type ConfigFunction = (five: Five, tagState: {
|
|
8
8
|
tag: TagInstance<any>;
|
|
9
9
|
/** 标签点或中心点的到摄像机的距离 */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Tag } from './Tag';
|
|
2
2
|
import type TagContentSvelte from '../../Components/Tag/index.svelte';
|
|
3
3
|
import type { TagContentType } from './TagData';
|
|
4
|
-
import type {
|
|
4
|
+
import type { StickType, TagGLTFObject } from './Utils';
|
|
5
5
|
import type { Create3DDomContainerReturnType } from '../../../CSS3DRenderPlugin';
|
|
6
6
|
import type { Vector3 } from 'three';
|
|
7
7
|
import type { ImagePlane, VideoPlane } from '../../utils/model/mediaPlane';
|
|
@@ -9,6 +9,7 @@ import type { TagEvents } from '../controller';
|
|
|
9
9
|
import type { TagConfig } from './TagConfig';
|
|
10
10
|
import type { Subscribe } from '@realsee/five';
|
|
11
11
|
import type { SetRequired } from 'type-fest';
|
|
12
|
+
import type { PartialObjectDeep } from '../../../typings/typings';
|
|
12
13
|
type RequiredTag<C extends TagContentType = TagContentType, S extends StickType = StickType> = SetRequired<Tag<C, S>, 'id' | 'data' | 'enabled' | 'config' | 'stickType' | 'contentType'>;
|
|
13
14
|
export type TagInstance<C extends TagContentType = TagContentType, S extends StickType = StickType> = RequiredTag<C, S> & Partial<{
|
|
14
15
|
screenPosition: {
|
|
@@ -2,16 +2,12 @@ import type { GLTFObject } from '@realsee/five/gltf-loader';
|
|
|
2
2
|
import type { Group } from 'three';
|
|
3
3
|
import type { TagContentType } from './TagData';
|
|
4
4
|
import type { ImagePlane } from '../../utils/model/mediaPlane';
|
|
5
|
-
import type { PartialDeep } from 'type-fest';
|
|
6
5
|
import type { TagInstance } from './TagInstance';
|
|
7
6
|
export type TagId = string | number;
|
|
8
7
|
export type ArrayPosition = number[];
|
|
9
8
|
export type Position = ArrayPosition;
|
|
10
9
|
export type PanoIndex = number;
|
|
11
10
|
export type WorkCode = string;
|
|
12
|
-
export type PartialObjectDeep<ObjectType extends object> = {
|
|
13
|
-
[KeyType in keyof ObjectType]?: PartialDeep<ObjectType[KeyType]>;
|
|
14
|
-
};
|
|
15
11
|
export interface MinMax {
|
|
16
12
|
min?: number;
|
|
17
13
|
max?: number;
|
package/libs/base/BasePlugin.js
CHANGED
package/libs/index.js
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import { consoleVersion as o } from "./shared-utils/logger.js";
|
|
2
2
|
import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
|
|
3
|
-
import { PaintBrush as
|
|
4
|
-
import { PaintBrushTypeEnum as
|
|
5
|
-
import { ModelViewPlugin as
|
|
6
|
-
import { CSS3DRenderPlugin as
|
|
7
|
-
import { PanoCursorRaycasterPlugin as
|
|
8
|
-
import { ModelRoomLabelPlugin as
|
|
9
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
10
|
-
import { ModelFloorplanPlugin as
|
|
11
|
-
import { MapviewFloorplanPlugin as
|
|
12
|
-
import { TopviewFloorplanPlugin as
|
|
13
|
-
import { PanoFloorplanRadarPlugin as
|
|
14
|
-
import { FLOOR_TYPE_MAP as
|
|
15
|
-
import { ModelChassisCompassPlugin as
|
|
16
|
-
import { ModelEntryDoorGuidePlugin as
|
|
17
|
-
import { CameraMovementPlugin as
|
|
18
|
-
import { CameraMovementEffect as
|
|
19
|
-
import { PanoRulerPlugin as
|
|
20
|
-
import { PanoRulerProPlugin as
|
|
21
|
-
import { PanoCompassPlugin as
|
|
22
|
-
import { PanoMeasurePlugin as
|
|
23
|
-
import { PanoSpatialTagPlugin as
|
|
24
|
-
import { modelItemLabelPluginServerParams as
|
|
25
|
-
import { ModelTVVideoPlugin as
|
|
26
|
-
import { DIRECTION as
|
|
27
|
-
import { itemLabelPluginServerParams as
|
|
28
|
-
import { PanoDoorLabelPlugin as
|
|
29
|
-
import { GuideLinePlugin as
|
|
30
|
-
import { CruisePlugin as
|
|
31
|
-
import { PanoTagPlugin as
|
|
32
|
-
import { Object3DHelperPlugin as
|
|
33
|
-
import { PanoVideoPlugin as
|
|
34
|
-
import { index as
|
|
35
|
-
import { CSS3DRender as
|
|
36
|
-
import { Model as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { Polyline as
|
|
40
|
-
import { default as
|
|
41
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
42
|
-
import { ModelItemLabelPlugin as
|
|
43
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
44
|
-
import { Plugin as
|
|
45
|
-
import { GuideLineItem$1 as
|
|
46
|
-
import { GuideLineModeItem$1 as
|
|
47
|
-
import { default as
|
|
48
|
-
import { typing as
|
|
49
|
-
import { default as
|
|
50
|
-
import { ContentType as
|
|
51
|
-
import { Object3DHelperController as
|
|
52
|
-
import { typings as
|
|
3
|
+
import { PaintBrush as Ip } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as yp } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as Ap } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as Gp } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as Fp } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as vp, modelRoomLabelPluginServerParams as cp } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as Np } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as wp } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as Hp } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as jp } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as kp } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as zp, ROOM_FETILE_TYPE_MAP as Jp, ROOM_TYPE_MAP as Kp } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as Wp } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as Zp } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as re } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as ie, Rotation as me } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as ee } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as le } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as Pe } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as fe } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as ge } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as de } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as Te } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as Ce } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as Ee } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as Ie } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as ye } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as Ae } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as Ge } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as Fe } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as ve } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { index as Ve } from "./shared-utils/index.js";
|
|
35
|
+
import { CSS3DRender as he } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
36
|
+
import { Model as Be } from "./PanoMeasurePlugin/Model/index.js";
|
|
37
|
+
import { default as Ue } from "./PanoMeasurePlugin/Model/point.js";
|
|
38
|
+
import { default as $e } from "./PanoMeasurePlugin/Model/line.js";
|
|
39
|
+
import { Polyline as qe } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
40
|
+
import { default as Je } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
41
|
+
import { DISPLAY_STRATEGY_TYPE as Qe } from "./ModelItemLabelPlugin/typings.js";
|
|
42
|
+
import { ModelItemLabelPlugin as Xe } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
43
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as on } from "./ItemLabelPlugin/typings.js";
|
|
44
|
+
import { Plugin as tn } from "./ItemLabelPlugin/Plugin.js";
|
|
45
|
+
import { GuideLineItem$1 as pn } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
46
|
+
import { GuideLineModeItem$1 as nn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
47
|
+
import { default as an } from "./CruisePlugin/Controller.js";
|
|
48
|
+
import { typing as un } from "./CruisePlugin/typing/index.js";
|
|
49
|
+
import { default as xn, pluginFlag as gn } from "./PanoTagPlugin/controller/index.js";
|
|
50
|
+
import { ContentType as dn, DimensionType as Mn, PointType as Tn } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
51
|
+
import { Object3DHelperController as Cn, PLUGIN as _n } from "./Object3DHelperPlugin/Controller.js";
|
|
52
|
+
import { typings as Rn } from "./PanoVideoPlugin/typings/index.js";
|
|
53
53
|
import "./components/PaintBrush/Controller.js";
|
|
54
54
|
import "./components/PaintBrush/utils.js";
|
|
55
55
|
import "./components/PaintBrush/tween.js";
|
|
@@ -176,7 +176,6 @@ import "./PanoMeasurePlugin/utils/isIntersecting.js";
|
|
|
176
176
|
import "./shared-utils/three/PointSelector.js";
|
|
177
177
|
import "./shared-utils/three/PointSelectorHelper.js";
|
|
178
178
|
import "./shared-utils/three/Magnifier.js";
|
|
179
|
-
import "./shared-utils/three/getIntersect.js";
|
|
180
179
|
import "./shared-utils/three/PointHelper.js";
|
|
181
180
|
import "./shared-utils/three/Assets/index.js";
|
|
182
181
|
import "./shared-utils/three/PointDomHelper.js";
|
|
@@ -184,6 +183,7 @@ import "./PanoMeasurePlugin/Modules/rangePiece/html.js";
|
|
|
184
183
|
import "./shared-utils/isTouchDevice.js";
|
|
185
184
|
import "./shared-utils/getIntersectionFromEvent.js";
|
|
186
185
|
import "./shared-utils/getPointFromHammerEvent.js";
|
|
186
|
+
import "./shared-utils/three/getIntersect.js";
|
|
187
187
|
import "./PanoMeasurePlugin/Modules/DeleteDom/index.js";
|
|
188
188
|
import "./PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js";
|
|
189
189
|
import "./PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
@@ -214,6 +214,8 @@ import "./PanoMeasurePlugin/Components/Controller1.js";
|
|
|
214
214
|
import "./PanoMeasurePlugin/Components/Common/Switcher1.js";
|
|
215
215
|
import "./PanoMeasurePlugin/Components/Common/CircleButton.js";
|
|
216
216
|
import "./PanoMeasurePlugin/Modules/GuideController.js";
|
|
217
|
+
import "./vendor/object-assign-deep/objectAssignDeep.js";
|
|
218
|
+
import "./PanoMeasurePlugin/Components/Tip.js";
|
|
217
219
|
import "./PanoMeasurePlugin/Controller/ShortcutKeyController.js";
|
|
218
220
|
import "./shared-utils/safeObj.js";
|
|
219
221
|
import "./PanoSpatialTagPlugin/Components/origins.js";
|
|
@@ -240,7 +242,6 @@ import "./PanoDoorLabelPlugin/BaseController.js";
|
|
|
240
242
|
import "./PanoDoorLabelPlugin/DoorLabelItem.js";
|
|
241
243
|
import "./PanoDoorLabelPlugin/utils.js";
|
|
242
244
|
import "./GuideLinePlugin/Controller.js";
|
|
243
|
-
import "./vendor/object-assign-deep/objectAssignDeep.js";
|
|
244
245
|
import "./shared-utils/log.js";
|
|
245
246
|
import "./GuideLinePlugin/utils/createLineGeometry.js";
|
|
246
247
|
import "./vendor/polyline-normals/index.js";
|
|
@@ -393,62 +394,62 @@ import "./shared-utils/three/getRaycaster.js";
|
|
|
393
394
|
r();
|
|
394
395
|
o();
|
|
395
396
|
export {
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
397
|
+
he as CSS3DRender,
|
|
398
|
+
Gp as CSS3DRenderPlugin,
|
|
399
|
+
ie as CameraMovementEffect,
|
|
400
|
+
re as CameraMovementPlugin,
|
|
401
|
+
dn as ContentType,
|
|
402
|
+
Ae as CruisePlugin,
|
|
403
|
+
an as CruisePluginController,
|
|
404
|
+
un as CruisePluginTypes,
|
|
405
|
+
Ce as DIRECTION,
|
|
406
|
+
Qe as DISPLAY_STRATEGY_TYPE,
|
|
407
|
+
Mn as DimensionType,
|
|
408
|
+
Np as FLOOR_PLAN_ATTACHED_TO,
|
|
409
|
+
zp as FLOOR_TYPE_MAP,
|
|
410
|
+
pn as GuideLineItem,
|
|
411
|
+
nn as GuideLineModeItem,
|
|
412
|
+
ye as GuideLinePlugin,
|
|
413
|
+
on as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
414
|
+
tn as ItemLabelPlugin,
|
|
415
|
+
Je as Magnifier,
|
|
416
|
+
Hp as MapviewFloorplanPlugin,
|
|
417
|
+
Wp as ModelChassisCompassPlugin,
|
|
418
|
+
Zp as ModelEntryDoorGuidePlugin,
|
|
419
|
+
wp as ModelFloorplanPlugin,
|
|
420
|
+
Xe as ModelItemLabelPlugin,
|
|
421
|
+
vp as ModelRoomLabelPlugin,
|
|
422
|
+
Te as ModelTVVideoPlugin,
|
|
423
|
+
Ap as ModelViewPlugin,
|
|
424
|
+
Cn as Object3DHelperController,
|
|
425
|
+
Fe as Object3DHelperPlugin,
|
|
426
|
+
_n as PLUGIN,
|
|
427
|
+
Ip as PaintBrush,
|
|
428
|
+
yp as PaintBrushTypeEnum,
|
|
429
|
+
Pe as PanoCompassPlugin,
|
|
430
|
+
Fp as PanoCursorRaycasterPlugin,
|
|
431
|
+
Ie as PanoDoorLabelPlugin,
|
|
432
|
+
kp as PanoFloorplanRadarPlugin,
|
|
433
|
+
fe as PanoMeasurePlugin,
|
|
434
|
+
$e as PanoMeasurePluginLine,
|
|
435
|
+
Be as PanoMeasurePluginModel,
|
|
436
|
+
Ue as PanoMeasurePluginPoint,
|
|
437
|
+
qe as PanoMeasurePluginPolyline,
|
|
438
|
+
ee as PanoRulerPlugin,
|
|
439
|
+
le as PanoRulerProPlugin,
|
|
440
|
+
ge as PanoSpatialTagPlugin,
|
|
441
|
+
Ge as PanoTagPlugin,
|
|
442
|
+
xn as PanoTagPluginController,
|
|
443
|
+
ve as PanoVideoPlugin,
|
|
444
|
+
Rn as PanoVideoPluginType,
|
|
445
|
+
Tn as PointType,
|
|
446
|
+
Jp as ROOM_FETILE_TYPE_MAP,
|
|
447
|
+
Kp as ROOM_TYPE_MAP,
|
|
448
|
+
me as Rotation,
|
|
449
|
+
jp as TopviewFloorplanPlugin,
|
|
450
|
+
Ve as Util,
|
|
451
|
+
Ee as itemLabelPluginServerParams,
|
|
452
|
+
de as modelItemLabelPluginServerParams,
|
|
453
|
+
cp as modelRoomLabelPluginServerParams,
|
|
454
|
+
gn as pluginFlag
|
|
454
455
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv2.21.0-dev.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv2.21.0-dev.11",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Five, SubscribeEventMap } from '@realsee/five';
|
|
2
2
|
import { Subscribe } from '@realsee/five';
|
|
3
3
|
import { PointSelectorHelper, type PointIntersection } from './PointSelectorHelper';
|
|
4
|
+
import { Vector3 } from 'three';
|
|
4
5
|
interface Config {
|
|
5
6
|
/**
|
|
6
7
|
* @description: 选点的两种模式, 'fixed' 为固定选点为屏幕中心点,拖动five画布来更新点,'cursor' 为跟随鼠标移动来更新点, 'auto' 则根据设备类型自动选择
|
|
@@ -12,8 +13,9 @@ interface Config {
|
|
|
12
13
|
interface EventMap extends SubscribeEventMap {
|
|
13
14
|
/**
|
|
14
15
|
* @description: 与模型交点更新时触发,移出监听范围时为null
|
|
16
|
+
* @param isAdhered 是否为吸附的点
|
|
15
17
|
*/
|
|
16
|
-
intersectionUpdate: (intersection: PointIntersection | null) => void;
|
|
18
|
+
intersectionUpdate: (intersection: PointIntersection | null, isAdhered?: boolean) => void;
|
|
17
19
|
/**
|
|
18
20
|
* @description: 试图打点,返回false则不打点
|
|
19
21
|
*/
|
|
@@ -37,10 +39,15 @@ export declare class PointSelector {
|
|
|
37
39
|
private enabled;
|
|
38
40
|
/** 长按屏幕的动作触发后为true,手指抬起后为false */
|
|
39
41
|
private pressDown;
|
|
42
|
+
/** 一组吸附的点,光标靠近这些点时,会将helper以及放大镜的位置设置为这些点 */
|
|
43
|
+
private adherePoints;
|
|
44
|
+
/** 吸附点的半径 */
|
|
45
|
+
private adherePointsRadius;
|
|
40
46
|
constructor(five: Five, config?: Partial<Config>);
|
|
41
47
|
enable(): void;
|
|
42
48
|
disable(): void;
|
|
43
49
|
dispose(): void;
|
|
50
|
+
setAdherePoints(points: Vector3[] | Vector3 | null, radius?: number): void;
|
|
44
51
|
/**
|
|
45
52
|
* @description: 主动触发一次选点
|
|
46
53
|
* @return: select 是否成功
|
|
@@ -69,6 +76,15 @@ export declare class PointSelector {
|
|
|
69
76
|
*/
|
|
70
77
|
private onPanEnd;
|
|
71
78
|
private intersectionOnModelUpdate;
|
|
79
|
+
private updateByMousePosition;
|
|
80
|
+
/**
|
|
81
|
+
* @description: 根据鼠标位置更新helper位置
|
|
82
|
+
*/
|
|
83
|
+
private updateByNdcPosition;
|
|
84
|
+
/**
|
|
85
|
+
* @description: 更新 pointSelectorHelper 的焦点位置
|
|
86
|
+
*/
|
|
87
|
+
private updatePointSelectorHelperIntersect;
|
|
72
88
|
private onFiveWantsPanGesture;
|
|
73
89
|
private renderScreenCenter;
|
|
74
90
|
private emitIntersectionUpdate;
|