@realsee/dnalogel 2.3.6 → 2.3.7-0
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/Controller/BaseController.d.ts +5 -5
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +5 -6
- package/dist/PanoMeasurePlugin/Controller/MixedController.d.ts +6 -9
- package/dist/PanoMeasurePlugin/Controller/ViewController.d.ts +6 -3
- package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +3 -3
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +27 -9
- package/dist/PanoMeasurePlugin/Model/index.d.ts +17 -17
- package/dist/PanoMeasurePlugin/Model/line.d.ts +6 -4
- package/dist/PanoMeasurePlugin/Model/point.d.ts +2 -4
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +37 -12
- package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +2 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +3 -4
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -2
- package/dist/PanoMeasurePlugin/index.d.ts +6 -2
- package/dist/PanoMeasurePlugin/typings/data.d.ts +6 -16
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +18 -14
- package/dist/PanoMeasurePlugin/typings/index.d.ts +4 -2
- package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +4 -3
- package/dist/index.cjs.js +96 -96
- package/dist/index.js +2535 -2459
- package/dist/index.umd.js +91 -91
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +301 -0
- package/docs/classes/PanoMeasurePluginModel.html +275 -0
- package/docs/classes/PanoMeasurePluginPoint.html +160 -0
- package/docs/classes/PanoMeasurePluginPolyline.html +306 -0
- package/docs/classes/PanoTagPluginController.html +39 -39
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +12 -12
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/LinkType.html +7 -7
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +12 -7
- package/docs/functions/CameraMovementPlugin.html +12 -7
- package/docs/functions/CruisePlugin.html +12 -7
- package/docs/functions/GuideLinePlugin.html +13 -8
- package/docs/functions/ItemLabelPlugin.html +12 -7
- package/docs/functions/MapviewFloorplanPlugin.html +12 -7
- package/docs/functions/ModelChassisCompassPlugin.html +12 -7
- package/docs/functions/ModelEntryDoorGuidePlugin.html +12 -7
- package/docs/functions/ModelFloorplanPlugin.html +12 -7
- package/docs/functions/ModelItemLabelPlugin.html +12 -7
- package/docs/functions/ModelRoomLabelPlugin.html +12 -7
- package/docs/functions/ModelTVVideoPlugin.html +12 -7
- package/docs/functions/ModelViewPlugin.html +12 -7
- package/docs/functions/Object3DHelperPlugin.html +12 -7
- package/docs/functions/PanoCompassPlugin.html +12 -7
- package/docs/functions/PanoCursorRaycasterPlugin.html +12 -7
- package/docs/functions/PanoDoorLabelPlugin.html +12 -7
- package/docs/functions/PanoFloorplanRadarPlugin.html +12 -7
- package/docs/functions/PanoMeasurePlugin.html +12 -7
- package/docs/functions/PanoRulerPlugin.html +12 -7
- package/docs/functions/PanoRulerProPlugin.html +12 -7
- package/docs/functions/PanoSpatialTagPlugin.html +12 -7
- package/docs/functions/PanoTagPlugin.html +12 -7
- package/docs/functions/TopviewFloorplanPlugin.html +12 -7
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +13 -8
- package/docs/index.html +12 -7
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +12 -12
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +13 -8
- package/docs/interfaces/PanoMeasureParameterType.html +24 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +78 -0
- package/docs/interfaces/{OpenParameter.html → PanoMeasurePluginOpenParameter.html} +15 -15
- package/docs/interfaces/{LineJson.html → PanoMeasurePluginPointJson.html} +18 -18
- package/docs/interfaces/{PointJson.html → PanoMeasurePluginPolylineJson.html} +24 -22
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +13 -8
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +13 -8
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +13 -8
- package/docs/interfaces/Rooms.html +13 -8
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +20 -10
- package/docs/types/ArrayPosition.html +13 -8
- package/docs/types/CSS3DRenderExportType.html +13 -8
- package/docs/types/CSS3DRenderPluginExportType.html +13 -8
- package/docs/types/CSS3DRenderPluginParameterType.html +13 -8
- package/docs/types/Color.html +13 -8
- package/docs/types/ContentTypeConfigKey.html +13 -8
- package/docs/types/ContentTypeConfigKeyArray.html +13 -8
- package/docs/types/Create3DDomContainerReturnType.html +13 -8
- package/docs/types/Create3DElementReturnType.html +13 -8
- package/docs/types/CruisePluginExportType.html +13 -8
- package/docs/types/Direction-1.html +13 -8
- package/docs/types/Direction4.html +13 -8
- package/docs/types/FloorplanRuleLabels.html +13 -8
- package/docs/types/FloorplanServerRuleLabels.html +13 -8
- package/docs/types/GuideLinePluginExportType.html +13 -8
- package/docs/types/HelperEventMap.html +13 -8
- package/docs/types/MapviewFloorplanPluginParameterType.html +13 -8
- package/docs/types/MapviewFloorplanPluginReturnType.html +13 -8
- package/docs/types/MediaData.html +13 -8
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +13 -8
- package/docs/types/ModelFloorplanPluginParameterType.html +13 -8
- package/docs/types/ModelFloorplanPluginReturnType.html +13 -8
- package/docs/types/ModelRoomLabelPluginParameters.html +13 -8
- package/docs/types/ModelRoomLabelPluginReturnType.html +13 -8
- package/docs/types/MoveArgs.html +13 -8
- package/docs/types/MoveOpts.html +13 -8
- package/docs/types/Object3DHelperEventMap.html +13 -8
- package/docs/types/ObjectFit.html +13 -8
- package/docs/types/PaintBrushEventMap.html +13 -8
- package/docs/types/PanoCompassPluginData.html +13 -8
- package/docs/types/PanoCompassPluginExportType.html +13 -8
- package/docs/types/PanoCompassPluginParameterType.html +13 -8
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +13 -8
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +13 -8
- package/docs/types/PanoMeasurePluginEvent.html +13 -8
- package/docs/types/PanoMeasureReturnType.html +13 -8
- package/docs/types/PanoSpatialTagPluginId.html +13 -8
- package/docs/types/PanoTagPluginExportInterface.html +13 -8
- package/docs/types/PanoTagPluginParamsInterface.html +13 -8
- package/docs/types/PlaneTag.html +13 -8
- package/docs/types/PointTag.html +13 -8
- package/docs/types/Position.html +13 -8
- package/docs/types/RotateArgs.html +13 -8
- package/docs/types/RotateOpts.html +13 -8
- package/docs/types/RuleLabelsKey.html +13 -8
- package/docs/types/RuleLabelsValue.html +13 -8
- package/docs/types/Tag.html +13 -8
- package/docs/types/Tag2D.html +13 -8
- package/docs/types/Tag3D.html +13 -8
- package/docs/types/TagId.html +13 -8
- package/docs/types/TopviewFloorplanPluginParameterType.html +13 -8
- package/docs/types/TopviewFloorplanPluginReturnType.html +13 -8
- package/docs/variables/FLOOR_TYPE_MAP.html +13 -8
- package/docs/variables/PLUGIN.html +13 -8
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +13 -8
- package/docs/variables/ROOM_TYPE_MAP.html +13 -8
- package/docs/variables/VERSION.html +13 -8
- package/docs/variables/itemLabelPluginServerParams.html +13 -8
- package/docs/variables/modelItemLabelPluginServerParams.html +13 -8
- package/docs/variables/modelRoomLabelPluginServerParams.html +13 -8
- package/libs/PanoCompassPlugin/Controller.js +3 -8
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +5 -5
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +8 -8
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +5 -6
- package/libs/PanoMeasurePlugin/Controller/EditController.js +56 -57
- package/libs/PanoMeasurePlugin/Controller/MixedController.d.ts +6 -9
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +38 -37
- package/libs/PanoMeasurePlugin/Controller/ViewController.d.ts +6 -3
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +68 -52
- package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +3 -3
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +39 -41
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +27 -9
- package/libs/PanoMeasurePlugin/Controller/index.js +117 -92
- package/libs/PanoMeasurePlugin/Model/index.d.ts +17 -17
- package/libs/PanoMeasurePlugin/Model/index.js +49 -72
- package/libs/PanoMeasurePlugin/Model/line.d.ts +6 -4
- package/libs/PanoMeasurePlugin/Model/line.js +29 -25
- package/libs/PanoMeasurePlugin/Model/point.d.ts +2 -4
- package/libs/PanoMeasurePlugin/Model/point.js +3 -3
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +37 -12
- package/libs/PanoMeasurePlugin/Model/polyline.js +90 -37
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +2 -0
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +16 -11
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +5 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +3 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +21 -21
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +22 -22
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +5 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +10 -10
- package/libs/PanoMeasurePlugin/index.d.ts +6 -2
- package/libs/PanoMeasurePlugin/index.js +31 -27
- package/libs/PanoMeasurePlugin/typings/data.d.ts +6 -16
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +18 -14
- package/libs/PanoMeasurePlugin/typings/index.d.ts +4 -2
- package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +4 -3
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +57 -41
- package/libs/index.js +109 -105
- package/package.json +1 -1
|
@@ -1,21 +1,13 @@
|
|
|
1
|
-
import { MeasureController as
|
|
2
|
-
import { Magnifier as
|
|
1
|
+
import { MeasureController as i } from "./Controller/index.js";
|
|
2
|
+
import { Magnifier as ro } from "./Modules/Magnifier.js";
|
|
3
|
+
import { Model as to } from "./Model/index.js";
|
|
4
|
+
import { Point as po } from "./Model/point.js";
|
|
5
|
+
import { Line as no } from "./Model/line.js";
|
|
6
|
+
import { Polyline as uo } from "./Model/polyline.js";
|
|
3
7
|
import "./Modules/FiveHelper.js";
|
|
4
8
|
import "three";
|
|
5
9
|
import "./Controller/EditController.js";
|
|
6
10
|
import "hammerjs";
|
|
7
|
-
import "./Model/index.js";
|
|
8
|
-
import "./Model/line.js";
|
|
9
|
-
import "../shared-utils/uuid.js";
|
|
10
|
-
import "./Model/polyline.js";
|
|
11
|
-
import "./utils/line.js";
|
|
12
|
-
import "@realsee/five/line";
|
|
13
|
-
import "./utils/constants.js";
|
|
14
|
-
import "@realsee/five";
|
|
15
|
-
import "./utils/distanceDom.js";
|
|
16
|
-
import "./utils/isNDCPointInScreen.js";
|
|
17
|
-
import "./Model/point.js";
|
|
18
|
-
import "../shared-utils/removeArrayItem.js";
|
|
19
11
|
import "../shared-utils/throttle.js";
|
|
20
12
|
import "./Controller/BaseController.js";
|
|
21
13
|
import "./utils/ironbox.js";
|
|
@@ -23,7 +15,11 @@ import "./utils/getIntersectionFromEvent.js";
|
|
|
23
15
|
import "./utils/getPointFromHammerEvent.js";
|
|
24
16
|
import "./Controller/ViewController.js";
|
|
25
17
|
import "./utils/math.js";
|
|
18
|
+
import "./utils/isNDCPointInScreen.js";
|
|
26
19
|
import "./utils/findAssociatedLines.js";
|
|
20
|
+
import "@realsee/five/line";
|
|
21
|
+
import "./utils/constants.js";
|
|
22
|
+
import "@realsee/five";
|
|
27
23
|
import "./Controller/WatchController.js";
|
|
28
24
|
import "./Modules/DeleteDom/index.js";
|
|
29
25
|
import "./Modules/DeleteDom/_Assets/delete.svg.js";
|
|
@@ -32,9 +28,16 @@ import "./Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
|
32
28
|
import "./utils/findClosestPoint.js";
|
|
33
29
|
import "./utils/ndc2Screen.js";
|
|
34
30
|
import "./Controller/MixedController.js";
|
|
31
|
+
import "./Modules/rangePiece/index.js";
|
|
32
|
+
import "@tweenjs/tween.js";
|
|
33
|
+
import "./Modules/rangePiece/html.js";
|
|
34
|
+
import "../shared-utils/animationFrame/index.js";
|
|
35
|
+
import "../shared-utils/animationFrame/BetterTween.js";
|
|
36
|
+
import "../shared-utils/noop.js";
|
|
37
|
+
import "./utils/calculateThreeMouse.js";
|
|
38
|
+
import "./utils/mouseGroup.js";
|
|
35
39
|
import "../shared-utils/filter.js";
|
|
36
40
|
import "../shared-utils/tap.js";
|
|
37
|
-
import "./utils/mouseGroup.js";
|
|
38
41
|
import "./Modules/UIController/index.js";
|
|
39
42
|
import "./Modules/UIController/HTML.js";
|
|
40
43
|
import "./Modules/UIController/mobileHTML.js";
|
|
@@ -44,18 +47,19 @@ import "./Modules/UIController/mobileMainBtnController.js";
|
|
|
44
47
|
import "./Modules/UIController/Revoke/index.js";
|
|
45
48
|
import "./Modules/GuideController.js";
|
|
46
49
|
import "./Controller/ShortcutKeyController.js";
|
|
47
|
-
import "
|
|
48
|
-
import "
|
|
49
|
-
import "./
|
|
50
|
-
import "
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
import "./utils/calculateThreeMouse.js";
|
|
54
|
-
const tr = function(r, o) {
|
|
55
|
-
return new t(r, o);
|
|
50
|
+
import "../shared-utils/uuid.js";
|
|
51
|
+
import "../shared-utils/removeArrayItem.js";
|
|
52
|
+
import "./utils/line.js";
|
|
53
|
+
import "./utils/distanceDom.js";
|
|
54
|
+
const _ = function(o, r) {
|
|
55
|
+
return new i(o, r);
|
|
56
56
|
};
|
|
57
57
|
export {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
ro as Magnifier,
|
|
59
|
+
_ as PanoMeasurePlugin,
|
|
60
|
+
no as PanoMeasurePluginLine,
|
|
61
|
+
to as PanoMeasurePluginModel,
|
|
62
|
+
po as PanoMeasurePluginPoint,
|
|
63
|
+
uo as PanoMeasurePluginPolyline,
|
|
64
|
+
_ as default
|
|
61
65
|
};
|
|
@@ -1,29 +1,19 @@
|
|
|
1
|
-
export interface
|
|
2
|
-
id: string;
|
|
3
|
-
points: PointJson[];
|
|
4
|
-
}
|
|
5
|
-
export interface PolylineCompletelyJson {
|
|
1
|
+
export interface PolylineJson {
|
|
6
2
|
id: string;
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
lines: LineJson[];
|
|
4
|
+
/** 当前折线在哪个点位上可见,字段不存在时,不做限制 */
|
|
5
|
+
visiblePanoIndexes?: number[];
|
|
9
6
|
}
|
|
10
7
|
export interface LineJson {
|
|
11
8
|
id: string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export interface PolylineJson {
|
|
15
|
-
id: string;
|
|
16
|
-
points: string[];
|
|
17
|
-
lines: string[];
|
|
9
|
+
text?: string;
|
|
10
|
+
points: PointJson[];
|
|
18
11
|
}
|
|
19
12
|
export interface PointJson {
|
|
20
13
|
id: string;
|
|
21
|
-
lines: string[];
|
|
22
14
|
position: number[];
|
|
23
15
|
}
|
|
24
16
|
export interface PluginData {
|
|
25
|
-
lines: LineJson[];
|
|
26
|
-
points: PointJson[];
|
|
27
17
|
polylines: PolylineJson[];
|
|
28
18
|
}
|
|
29
19
|
/** 开放可配置参数 */
|
|
@@ -1,37 +1,41 @@
|
|
|
1
|
-
import type { SubscribeEventMap } from '@realsee/five';
|
|
2
1
|
import type { Vector3 } from 'three';
|
|
3
2
|
import type { Mode } from '../Controller';
|
|
4
3
|
import type { State } from '../Controller/MixedController';
|
|
4
|
+
import Line from '../Model/line';
|
|
5
5
|
import type Point from '../Model/point';
|
|
6
|
-
import
|
|
7
|
-
|
|
6
|
+
import { Polyline } from '../Model/polyline';
|
|
7
|
+
declare type ControllerEvent = {
|
|
8
|
+
enable: (userAction: boolean) => void;
|
|
9
|
+
disable: (userAction: boolean) => void;
|
|
8
10
|
/**
|
|
9
11
|
* Mode 变更
|
|
10
12
|
*/
|
|
11
13
|
modeChange: (mode: Mode) => void;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
selectedChange: (lines:
|
|
15
|
-
}
|
|
16
|
-
|
|
14
|
+
};
|
|
15
|
+
declare type WatchEvent = {
|
|
16
|
+
selectedChange: (lines: Line[]) => void;
|
|
17
|
+
};
|
|
18
|
+
declare type EditEvent = {
|
|
17
19
|
/**
|
|
18
20
|
* 编辑线条变更
|
|
19
21
|
*/
|
|
20
|
-
|
|
22
|
+
editedPolylineChange: (polyline: Polyline) => void;
|
|
23
|
+
/** 编辑中的虚线变更 */
|
|
24
|
+
editedDashedLineChange: (line: Line | null) => void;
|
|
21
25
|
anchorChange: (anchor: Vector3 | null) => void;
|
|
22
|
-
}
|
|
23
|
-
|
|
26
|
+
};
|
|
27
|
+
declare type DragEvent = {
|
|
24
28
|
wantsDragLine: (event: {
|
|
25
29
|
point: string;
|
|
26
30
|
lines: string[];
|
|
27
31
|
}) => boolean;
|
|
28
|
-
}
|
|
32
|
+
};
|
|
29
33
|
/** 移动端专用事件 */
|
|
30
|
-
|
|
34
|
+
declare type MobileEvent = {
|
|
31
35
|
getStartPoint: (point: Point) => void;
|
|
32
36
|
getEndPoint: (point: Point) => void;
|
|
33
37
|
willChangeState: (state: State, newState: State) => void;
|
|
34
38
|
nowPointChange: (point: Point) => void;
|
|
35
|
-
}
|
|
39
|
+
};
|
|
36
40
|
export declare type PanoMeasurePluginEvent = ControllerEvent & EditEvent & WatchEvent & DragEvent & MobileEvent;
|
|
37
41
|
export {};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { UserDistanceItem } from '../utils/distanceDom';
|
|
2
2
|
export interface Config {
|
|
3
|
-
userDistanceItemCreator
|
|
3
|
+
userDistanceItemCreator?: undefined | (() => UserDistanceItem);
|
|
4
4
|
/** 展示 distance DOM 时,使用的转换函数
|
|
5
5
|
* @param distance 单位是 m
|
|
6
6
|
*/
|
|
7
|
-
getDistanceText
|
|
7
|
+
getDistanceText?: (distance: number) => string;
|
|
8
|
+
/** 默认的 distance DOM 文本 */
|
|
9
|
+
defaultText?: string | null;
|
|
8
10
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type Line from '../Model/line';
|
|
2
2
|
import type { Five } from '@realsee/five';
|
|
3
|
-
import type { LineCompletelyJson, PolylineCompletelyJson } from '../typings/data';
|
|
4
3
|
import { Vector3 } from 'three';
|
|
4
|
+
import { Polyline } from '../Model/polyline';
|
|
5
5
|
export declare type DistanceItem = ReturnType<typeof createDistanceItem>;
|
|
6
6
|
export interface UserDistanceItem {
|
|
7
7
|
element: Element;
|
|
8
8
|
highlight: () => void;
|
|
9
9
|
unHighlight: () => void;
|
|
10
10
|
update: (params: {
|
|
11
|
-
line:
|
|
12
|
-
polyline:
|
|
11
|
+
line: Line;
|
|
12
|
+
polyline: Polyline;
|
|
13
13
|
}) => void;
|
|
14
14
|
}
|
|
15
15
|
export interface CreateDistanceItemProps {
|
|
@@ -25,4 +25,5 @@ export declare function createDistanceItem(props: CreateDistanceItemProps): {
|
|
|
25
25
|
remove: () => void;
|
|
26
26
|
highlight: () => void;
|
|
27
27
|
unHighlight: () => void;
|
|
28
|
+
getCurrentContent: () => string;
|
|
28
29
|
};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { Vector3 as
|
|
2
|
-
import { isNDCPointInScreen as
|
|
3
|
-
|
|
1
|
+
import { Vector3 as M, Vector2 as v } from "three";
|
|
2
|
+
import { isNDCPointInScreen as g } from "./isNDCPointInScreen.js";
|
|
3
|
+
import "@realsee/five/line";
|
|
4
|
+
import "./constants.js";
|
|
5
|
+
import "@realsee/five";
|
|
6
|
+
function S() {
|
|
4
7
|
const t = document.createElement("div");
|
|
5
8
|
return t.setAttribute("style", "backdrop-filter: blur(4px);-webkit-backdrop-filter: blur(4px);"), t.style.padding = "3px 6px", t.style.lineHeight = "1", t.style.textAlign = "center", t.style.transform = "translate(-50%, -50%)", t.style.borderRadius = "100px", t.style.fontSize = "14px", t.style.color = "#fff", t.style.background = "rgba(195,195,195,0.70)", t.style.border = "0.5px solid rgba(255,255,255,0.6)", t.style.pointerEvents = "all", t.style.cursor = "pointer", t;
|
|
6
9
|
}
|
|
@@ -8,55 +11,68 @@ function z(t) {
|
|
|
8
11
|
const e = document.createElement("div");
|
|
9
12
|
return e.id = "distance_" + t.id, e.classList.add("five-plugin-measure__distance"), e.style.opacity = "0", e.style.position = "absolute", e.style.left = "0", e.style.top = "0", e.style.transform = "translate3d(0, 0, 0)", e.style.transformOrigin = "left top", e;
|
|
10
13
|
}
|
|
11
|
-
function
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
function O(t) {
|
|
15
|
+
const { line: e } = t, E = e.id, c = S(), n = z(e), i = t.userDistanceItem, P = new M(0, 0, 0), h = {
|
|
16
|
+
lineID: E,
|
|
17
|
+
ndcPosition: P,
|
|
18
|
+
update: C,
|
|
19
|
+
appendTo: F,
|
|
20
|
+
remove: H,
|
|
21
|
+
highlight: k,
|
|
22
|
+
unHighlight: D,
|
|
23
|
+
getCurrentContent: x
|
|
24
|
+
};
|
|
25
|
+
i != null && i.element ? n.appendChild(i.element) : n.appendChild(c);
|
|
26
|
+
function b() {
|
|
27
|
+
var o;
|
|
28
|
+
(o = t.clickCallback) == null || o.call(t, h);
|
|
20
29
|
}
|
|
21
30
|
function k() {
|
|
22
|
-
if (
|
|
23
|
-
return
|
|
24
|
-
|
|
31
|
+
if (i)
|
|
32
|
+
return i.highlight();
|
|
33
|
+
c.style.border = "0.5px solid #95AEFF", c.style.background = "linear-gradient(90deg, #95AEFF 0%, #6386FF 100%)";
|
|
25
34
|
}
|
|
26
|
-
function D(
|
|
27
|
-
|
|
28
|
-
|
|
35
|
+
function D() {
|
|
36
|
+
if (i)
|
|
37
|
+
return i.unHighlight();
|
|
38
|
+
c.style.border = "0.5px solid rgba(255,255,255,0.6)", c.style.background = "rgba(195,195,195,0.70)";
|
|
39
|
+
}
|
|
40
|
+
function C(o) {
|
|
41
|
+
if (e.mesh.visible === !1) {
|
|
42
|
+
n.style.opacity = "0", n.style.pointerEvents = "none";
|
|
29
43
|
return;
|
|
30
|
-
|
|
31
|
-
|
|
44
|
+
}
|
|
45
|
+
const f = o.getElement();
|
|
46
|
+
if (!f)
|
|
47
|
+
return;
|
|
48
|
+
const a = f.clientWidth, l = f.clientHeight;
|
|
49
|
+
if (e.points.length < 2)
|
|
32
50
|
return;
|
|
33
|
-
const [
|
|
34
|
-
if ((() => !(Math.abs(
|
|
51
|
+
const [y, u] = e.points, r = y.position.clone().project(o.camera), s = u.position.clone().project(o.camera), d = r.clone().lerp(s, 0.5), p = new v(r.x * a, r.y * l), m = new v(s.x * a, s.y * l);
|
|
52
|
+
if ((() => !(Math.abs(r.z) > 1 || Math.abs(s.z) > 1 || !g(r) && !g(s) || !g(d) || p.distanceTo(m) < 20))() === !1) {
|
|
35
53
|
n.style.opacity = "0", n.style.pointerEvents = "none";
|
|
36
54
|
return;
|
|
37
55
|
}
|
|
38
|
-
const
|
|
39
|
-
n.style.transform = `translate(${
|
|
40
|
-
const
|
|
41
|
-
|
|
56
|
+
const I = (d.x + 1) / 2 * a, T = -(d.y - 1) / 2 * l, w = -(Math.atan((p.y - m.y) / (p.x - m.x)) * 180) / Math.PI;
|
|
57
|
+
n.style.transform = `translate(${I}px, ${T}px) rotate(${w}deg)`, n.style.opacity = "1", n.style.pointerEvents = "all", i && i.update({ line: e, polyline: e.getPolyline() });
|
|
58
|
+
const A = x();
|
|
59
|
+
c.innerText = A;
|
|
42
60
|
}
|
|
43
|
-
function
|
|
44
|
-
|
|
61
|
+
function F(o) {
|
|
62
|
+
o.appendChild(n), n.addEventListener("click", b);
|
|
45
63
|
}
|
|
46
|
-
function
|
|
47
|
-
|
|
64
|
+
function H() {
|
|
65
|
+
c.removeEventListener("click", b), n.remove();
|
|
48
66
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
};
|
|
58
|
-
return o != null && o.element ? n.appendChild(o.element) : n.appendChild(i), g;
|
|
67
|
+
function x() {
|
|
68
|
+
var r, s, d;
|
|
69
|
+
if (e.points.length < 2)
|
|
70
|
+
return "";
|
|
71
|
+
const [o, f] = e.points, a = o.position.clone().distanceTo(f.position), l = (r = t.line.text) != null ? r : t.line.model.config.defaultText, y = (d = (s = t.line.model.config) == null ? void 0 : s.getDistanceText) == null ? void 0 : d.call(s, a), u = l != null ? l : y;
|
|
72
|
+
return u != null ? u : a.toFixed(2) + "m";
|
|
73
|
+
}
|
|
74
|
+
return h;
|
|
59
75
|
}
|
|
60
76
|
export {
|
|
61
|
-
|
|
77
|
+
O as createDistanceItem
|
|
62
78
|
};
|
package/libs/index.js
CHANGED
|
@@ -1,44 +1,48 @@
|
|
|
1
|
-
import { PaintBrush as
|
|
2
|
-
import { PaintBrushTypeEnum as
|
|
3
|
-
import { ModelViewPlugin as
|
|
4
|
-
import { CSS3DRenderPlugin as
|
|
5
|
-
import { PanoCursorRaycasterPlugin as
|
|
6
|
-
import { ModelRoomLabelPlugin as
|
|
7
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
8
|
-
import { ModelFloorplanPlugin as
|
|
9
|
-
import { MapviewFloorplanPlugin as
|
|
10
|
-
import { TopviewFloorplanPlugin as
|
|
11
|
-
import { PanoFloorplanRadarPlugin as
|
|
12
|
-
import { FLOOR_TYPE_MAP as
|
|
13
|
-
import { ModelChassisCompassPlugin as
|
|
14
|
-
import { ModelEntryDoorGuidePlugin as
|
|
15
|
-
import { CameraMovementPlugin as
|
|
16
|
-
import { CameraMovementEffect as
|
|
17
|
-
import { PanoRulerPlugin as
|
|
18
|
-
import { PanoRulerProPlugin as
|
|
19
|
-
import { PanoCompassPlugin as
|
|
20
|
-
import { PanoMeasurePlugin as
|
|
21
|
-
import { PanoSpatialTagPlugin as
|
|
22
|
-
import { modelItemLabelPluginServerParams as
|
|
23
|
-
import { ModelTVVideoPlugin as
|
|
24
|
-
import { DIRECTION as
|
|
25
|
-
import { itemLabelPluginServerParams as
|
|
26
|
-
import { PanoDoorLabelPlugin as
|
|
27
|
-
import { GuideLinePlugin as
|
|
28
|
-
import { CruisePlugin as
|
|
29
|
-
import { PanoTagPlugin as
|
|
30
|
-
import { Object3DHelperPlugin as
|
|
31
|
-
import { index as
|
|
32
|
-
import { CSS3DRender as
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
1
|
+
import { PaintBrush as ji } from "./components/PaintBrush/index.js";
|
|
2
|
+
import { PaintBrushTypeEnum as qi } from "./components/PaintBrush/typings.js";
|
|
3
|
+
import { ModelViewPlugin as Ji } from "./ModelViewPlugin/Plugin.js";
|
|
4
|
+
import { CSS3DRenderPlugin as Qi } from "./CSS3DRenderPlugin/index.js";
|
|
5
|
+
import { PanoCursorRaycasterPlugin as Xi } from "./PanoCursorRaycasterPlugin/index.js";
|
|
6
|
+
import { ModelRoomLabelPlugin as $i, modelRoomLabelPluginServerParams as om } from "./ModelRoomLabelPlugin/index.js";
|
|
7
|
+
import { FLOOR_PLAN_ATTACHED_TO as tm } from "./floorplan/constant.js";
|
|
8
|
+
import { ModelFloorplanPlugin as mm } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
9
|
+
import { MapviewFloorplanPlugin as em } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
10
|
+
import { TopviewFloorplanPlugin as lm } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
11
|
+
import { PanoFloorplanRadarPlugin as am } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
12
|
+
import { FLOOR_TYPE_MAP as fm, ROOM_FETILE_TYPE_MAP as xm, ROOM_TYPE_MAP as gm } from "./floorplan/typings/floorplanServerData.js";
|
|
13
|
+
import { ModelChassisCompassPlugin as Tm } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
14
|
+
import { ModelEntryDoorGuidePlugin as Lm } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
15
|
+
import { CameraMovementPlugin as Em } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
16
|
+
import { CameraMovementEffect as _m, Rotation as Cm } from "./CameraMovementPlugin/typing.js";
|
|
17
|
+
import { PanoRulerPlugin as Sm } from "./PanoRulerPlugin/Plugin.js";
|
|
18
|
+
import { PanoRulerProPlugin as Am } from "./PanoRulerProPlugin/index.js";
|
|
19
|
+
import { PanoCompassPlugin as bm } from "./PanoCompassPlugin/index.js";
|
|
20
|
+
import { PanoMeasurePlugin as Ym } from "./PanoMeasurePlugin/index.js";
|
|
21
|
+
import { PanoSpatialTagPlugin as vm } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
22
|
+
import { modelItemLabelPluginServerParams as Nm } from "./ModelItemLabelPlugin/index.js";
|
|
23
|
+
import { ModelTVVideoPlugin as Vm } from "./ModelTVVideoPlugin/Plugin.js";
|
|
24
|
+
import { DIRECTION as wm } from "./ModelTVVideoPlugin/typings.js";
|
|
25
|
+
import { itemLabelPluginServerParams as Hm } from "./ItemLabelPlugin/index.js";
|
|
26
|
+
import { PanoDoorLabelPlugin as jm } from "./PanoDoorLabelPlugin/index.js";
|
|
27
|
+
import { GuideLinePlugin as qm } from "./GuideLinePlugin/index.js";
|
|
28
|
+
import { CruisePlugin as Jm } from "./CruisePlugin/index.js";
|
|
29
|
+
import { PanoTagPlugin as Qm } from "./PanoTagPlugin/index.js";
|
|
30
|
+
import { Object3DHelperPlugin as Xm } from "./Object3DHelperPlugin/index.js";
|
|
31
|
+
import { index as $m } from "./shared-utils/index.js";
|
|
32
|
+
import { CSS3DRender as rp } from "./CSS3DRenderPlugin/CSS3DRender.js";
|
|
33
|
+
import { Model as ip } from "./PanoMeasurePlugin/Model/index.js";
|
|
34
|
+
import { Point as pp } from "./PanoMeasurePlugin/Model/point.js";
|
|
35
|
+
import { Line as np } from "./PanoMeasurePlugin/Model/line.js";
|
|
36
|
+
import { Polyline as Pp } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
37
|
+
import { Magnifier as up } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
38
|
+
import { DISPLAY_STRATEGY_TYPE as xp } from "./ModelItemLabelPlugin/typings.js";
|
|
39
|
+
import { ModelItemLabelPlugin as sp } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
40
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Mp } from "./ItemLabelPlugin/typings.js";
|
|
41
|
+
import { Plugin as dp } from "./ItemLabelPlugin/Plugin.js";
|
|
42
|
+
import { default as Rp } from "./CruisePlugin/Controller.js";
|
|
43
|
+
import { PanoTagPluginController as Cp, pluginFlag as Op } from "./PanoTagPlugin/controller/index.js";
|
|
44
|
+
import { ContentType as Ip, DimensionType as Ap, LinkType as Dp, PointType as bp } from "./PanoTagPlugin/typings/tag.js";
|
|
45
|
+
import { Object3DHelperController as Yp, PLUGIN as Fp, VERSION as vp } from "./Object3DHelperPlugin/Controller.js";
|
|
42
46
|
import "./components/PaintBrush/Controller.js";
|
|
43
47
|
import "./components/PaintBrush/utils.js";
|
|
44
48
|
import "./components/PaintBrush/tween.js";
|
|
@@ -143,22 +147,15 @@ import "./PanoMeasurePlugin/Controller/index.js";
|
|
|
143
147
|
import "./PanoMeasurePlugin/Modules/FiveHelper.js";
|
|
144
148
|
import "./PanoMeasurePlugin/Controller/EditController.js";
|
|
145
149
|
import "hammerjs";
|
|
146
|
-
import "./PanoMeasurePlugin/Model/index.js";
|
|
147
|
-
import "./PanoMeasurePlugin/Model/line.js";
|
|
148
|
-
import "./PanoMeasurePlugin/Model/polyline.js";
|
|
149
|
-
import "./PanoMeasurePlugin/utils/line.js";
|
|
150
|
-
import "./PanoMeasurePlugin/utils/constants.js";
|
|
151
|
-
import "./PanoMeasurePlugin/utils/distanceDom.js";
|
|
152
|
-
import "./PanoMeasurePlugin/utils/isNDCPointInScreen.js";
|
|
153
|
-
import "./PanoMeasurePlugin/Model/point.js";
|
|
154
|
-
import "./shared-utils/removeArrayItem.js";
|
|
155
150
|
import "./PanoMeasurePlugin/Controller/BaseController.js";
|
|
156
151
|
import "./PanoMeasurePlugin/utils/ironbox.js";
|
|
157
152
|
import "./PanoMeasurePlugin/utils/getIntersectionFromEvent.js";
|
|
158
153
|
import "./PanoMeasurePlugin/utils/getPointFromHammerEvent.js";
|
|
159
154
|
import "./PanoMeasurePlugin/Controller/ViewController.js";
|
|
160
155
|
import "./PanoMeasurePlugin/utils/math.js";
|
|
156
|
+
import "./PanoMeasurePlugin/utils/isNDCPointInScreen.js";
|
|
161
157
|
import "./PanoMeasurePlugin/utils/findAssociatedLines.js";
|
|
158
|
+
import "./PanoMeasurePlugin/utils/constants.js";
|
|
162
159
|
import "./PanoMeasurePlugin/Controller/WatchController.js";
|
|
163
160
|
import "./PanoMeasurePlugin/Modules/DeleteDom/index.js";
|
|
164
161
|
import "./PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js";
|
|
@@ -167,6 +164,10 @@ import "./PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
|
167
164
|
import "./PanoMeasurePlugin/utils/findClosestPoint.js";
|
|
168
165
|
import "./PanoMeasurePlugin/utils/ndc2Screen.js";
|
|
169
166
|
import "./PanoMeasurePlugin/Controller/MixedController.js";
|
|
167
|
+
import "./PanoMeasurePlugin/Modules/rangePiece/index.js";
|
|
168
|
+
import "./PanoMeasurePlugin/Modules/rangePiece/html.js";
|
|
169
|
+
import "./shared-utils/noop.js";
|
|
170
|
+
import "./PanoMeasurePlugin/utils/calculateThreeMouse.js";
|
|
170
171
|
import "./PanoMeasurePlugin/utils/mouseGroup.js";
|
|
171
172
|
import "./PanoMeasurePlugin/Modules/UIController/index.js";
|
|
172
173
|
import "./PanoMeasurePlugin/Modules/UIController/HTML.js";
|
|
@@ -177,10 +178,9 @@ import "./PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js";
|
|
|
177
178
|
import "./PanoMeasurePlugin/Modules/UIController/Revoke/index.js";
|
|
178
179
|
import "./PanoMeasurePlugin/Modules/GuideController.js";
|
|
179
180
|
import "./PanoMeasurePlugin/Controller/ShortcutKeyController.js";
|
|
180
|
-
import "./
|
|
181
|
-
import "./PanoMeasurePlugin/
|
|
182
|
-
import "./
|
|
183
|
-
import "./PanoMeasurePlugin/utils/calculateThreeMouse.js";
|
|
181
|
+
import "./shared-utils/removeArrayItem.js";
|
|
182
|
+
import "./PanoMeasurePlugin/utils/line.js";
|
|
183
|
+
import "./PanoMeasurePlugin/utils/distanceDom.js";
|
|
184
184
|
import "./PanoSpatialTagPlugin/Components/origins.js";
|
|
185
185
|
import "./PanoSpatialTagPlugin/store.js";
|
|
186
186
|
import "./PanoSpatialTagPlugin/Components/tag.js";
|
|
@@ -300,55 +300,59 @@ import "./shared-utils/three/Assets/index.js";
|
|
|
300
300
|
import "./shared-utils/three/PointDomHelper.js";
|
|
301
301
|
import "./shared-utils/three/FivePointSelector.js";
|
|
302
302
|
export {
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
303
|
+
rp as CSS3DRender,
|
|
304
|
+
Qi as CSS3DRenderPlugin,
|
|
305
|
+
_m as CameraMovementEffect,
|
|
306
|
+
Em as CameraMovementPlugin,
|
|
307
|
+
Ip as ContentType,
|
|
308
|
+
Jm as CruisePlugin,
|
|
309
|
+
Rp as CruisePluginController,
|
|
310
|
+
wm as DIRECTION,
|
|
311
|
+
xp as DISPLAY_STRATEGY_TYPE,
|
|
312
|
+
Ap as DimensionType,
|
|
313
|
+
tm as FLOOR_PLAN_ATTACHED_TO,
|
|
314
|
+
fm as FLOOR_TYPE_MAP,
|
|
315
|
+
qm as GuideLinePlugin,
|
|
316
|
+
Mp as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
317
|
+
dp as ItemLabelPlugin,
|
|
318
|
+
Dp as LinkType,
|
|
319
|
+
up as Magnifier,
|
|
320
|
+
em as MapviewFloorplanPlugin,
|
|
321
|
+
Tm as ModelChassisCompassPlugin,
|
|
322
|
+
Lm as ModelEntryDoorGuidePlugin,
|
|
323
|
+
mm as ModelFloorplanPlugin,
|
|
324
|
+
sp as ModelItemLabelPlugin,
|
|
325
|
+
$i as ModelRoomLabelPlugin,
|
|
326
|
+
Vm as ModelTVVideoPlugin,
|
|
327
|
+
Ji as ModelViewPlugin,
|
|
328
|
+
Yp as Object3DHelperController,
|
|
329
|
+
Xm as Object3DHelperPlugin,
|
|
330
|
+
Fp as PLUGIN,
|
|
331
|
+
ji as PaintBrush,
|
|
332
|
+
qi as PaintBrushTypeEnum,
|
|
333
|
+
bm as PanoCompassPlugin,
|
|
334
|
+
Xi as PanoCursorRaycasterPlugin,
|
|
335
|
+
jm as PanoDoorLabelPlugin,
|
|
336
|
+
am as PanoFloorplanRadarPlugin,
|
|
337
|
+
Ym as PanoMeasurePlugin,
|
|
338
|
+
np as PanoMeasurePluginLine,
|
|
339
|
+
ip as PanoMeasurePluginModel,
|
|
340
|
+
pp as PanoMeasurePluginPoint,
|
|
341
|
+
Pp as PanoMeasurePluginPolyline,
|
|
342
|
+
Sm as PanoRulerPlugin,
|
|
343
|
+
Am as PanoRulerProPlugin,
|
|
344
|
+
vm as PanoSpatialTagPlugin,
|
|
345
|
+
Qm as PanoTagPlugin,
|
|
346
|
+
Cp as PanoTagPluginController,
|
|
347
|
+
bp as PointType,
|
|
348
|
+
xm as ROOM_FETILE_TYPE_MAP,
|
|
349
|
+
gm as ROOM_TYPE_MAP,
|
|
350
|
+
Cm as Rotation,
|
|
351
|
+
lm as TopviewFloorplanPlugin,
|
|
352
|
+
$m as Util,
|
|
353
|
+
vp as VERSION,
|
|
354
|
+
Hm as itemLabelPluginServerParams,
|
|
355
|
+
Nm as modelItemLabelPluginServerParams,
|
|
356
|
+
om as modelRoomLabelPluginServerParams,
|
|
357
|
+
Op as pluginFlag
|
|
354
358
|
};
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "2.3.
|
|
10
|
+
"version": "2.3.7-0",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|