@realsee/dnalogel 3.46.0 → 3.47.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/CHANGELOG.md +7 -0
- package/dist/Sculpt/Meshes/Polygon.d.ts +6 -0
- package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +8 -0
- package/dist/Sculpt/Meshes/Polyline.d.ts +7 -0
- package/dist/Sculpt/utils/removeAllTag.d.ts +2 -0
- package/dist/Sculpt/utils/three/ColoredMesh.d.ts +6 -0
- package/dist/index.cjs.js +54 -54
- package/dist/index.js +3645 -3592
- package/dist/index.umd.js +46 -46
- package/dist/shared-utils/five/getPosition.d.ts +2 -0
- package/dist/shared-utils/three/PointSelector/index.d.ts +14 -10
- package/dist/typings/typings.d.ts +2 -0
- package/libs/AreaMakerPlugin/Controller.js +3 -2
- package/libs/AreaMakerPlugin/index.js +3 -2
- package/libs/AreaMakerPlugin/utils/Item.js +3 -2
- package/libs/CSS3DRenderPlugin/Controller.js +3 -2
- package/libs/CSS3DRenderPlugin/index.js +6 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +3 -2
- package/libs/CruisePlugin/BaseController.js +5 -4
- package/libs/CruisePlugin/Move.js +3 -2
- package/libs/CruisePlugin/Work.js +3 -2
- package/libs/CruisePlugin/index.js +7 -6
- package/libs/CurrentPanoImagePlugin/Controller.js +3 -2
- package/libs/CurrentPanoImagePlugin/index.js +4 -3
- package/libs/GuideLinePlugin/Controller.js +5 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
- package/libs/GuideLinePlugin/index.js +7 -6
- package/libs/ModelMakerPlugin/Controller.js +3 -2
- package/libs/ModelMakerPlugin/index.js +3 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
- package/libs/ModelTVVideoPlugin/index.js +3 -2
- package/libs/Object3DHelperPlugin/Controller.js +19 -18
- package/libs/Object3DHelperPlugin/index.js +6 -5
- package/libs/PanoCompassPlugin/Controller.js +3 -2
- package/libs/PanoCompassPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/BaseController.js +3 -2
- package/libs/PanoDoorLabelPlugin/Controller.js +21 -20
- package/libs/PanoDoorLabelPlugin/index.js +4 -3
- package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
- package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
- package/libs/PanoMeasurePlugin/Model/area.js +3 -2
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -2
- package/libs/PanoMeasurePlugin/index.js +14 -13
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
- package/libs/PanoSpatialTagPlugin/Plugin.js +4 -3
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +34 -33
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +62 -61
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +6 -5
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
- package/libs/PanoVideoPlugin/Controller.js +3 -2
- package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
- package/libs/PanoVideoPlugin/index.js +6 -5
- package/libs/PipelinePlugin/Controller.js +3 -2
- package/libs/PipelinePlugin/index.js +4 -3
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -0
- package/libs/Sculpt/Meshes/Line.js +17 -14
- package/libs/Sculpt/Meshes/Polygon.d.ts +6 -0
- package/libs/Sculpt/Meshes/Polygon.js +7 -4
- package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +8 -0
- package/libs/Sculpt/Meshes/PolygonWithEdge.js +38 -24
- package/libs/Sculpt/Meshes/Polyline.d.ts +7 -0
- package/libs/Sculpt/Meshes/Polyline.js +32 -23
- package/libs/Sculpt/Objects/Base/index.js +20 -17
- package/libs/Sculpt/Objects/Line/Editor.js +6 -6
- package/libs/Sculpt/Objects/Line/index.js +16 -16
- package/libs/Sculpt/Objects/Point/Editor.js +10 -10
- package/libs/Sculpt/Objects/Polygon/Editor.js +6 -6
- package/libs/Sculpt/Objects/Polygon/index.js +43 -37
- package/libs/Sculpt/Objects/Polyline/Editor.js +3 -3
- package/libs/Sculpt/Objects/Polyline/index.js +43 -43
- package/libs/Sculpt/utils/removeAllTag.d.ts +2 -0
- package/libs/Sculpt/utils/removeAllTag.js +10 -0
- package/libs/Sculpt/utils/three/ColoredMesh.d.ts +6 -0
- package/libs/Sculpt/utils/three/ColoredMesh.js +39 -31
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/index.js +126 -125
- package/libs/shared-utils/five/getPosition.d.ts +2 -0
- package/libs/shared-utils/five/getPosition.js +25 -30
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/index.d.ts +14 -10
- package/libs/shared-utils/three/PointSelector/index.js +74 -57
- package/libs/typings/typings.d.ts +2 -0
- package/package.json +1 -1
package/libs/index.js
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
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 { PipelinePlugin as
|
|
35
|
-
import { AreaMakerPlugin as
|
|
36
|
-
import { CurrentPanoImagePlugin as
|
|
37
|
-
import { Sculpt as
|
|
38
|
-
import { ModelMakerPlugin as
|
|
39
|
-
import { index as
|
|
40
|
-
import { CSS3DRender as
|
|
41
|
-
import { Model as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { Polyline as
|
|
45
|
-
import { Magnifier as
|
|
46
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
47
|
-
import { ModelItemLabelPlugin as
|
|
48
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
49
|
-
import { Plugin as
|
|
50
|
-
import { GuideLineItem$1 as
|
|
51
|
-
import { GuideLineModeItem$1 as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { typing as
|
|
55
|
-
import { default as
|
|
56
|
-
import { defaultGlobalConfig as
|
|
57
|
-
import { ContentType as
|
|
58
|
-
import { Object3DHelperController as
|
|
59
|
-
import { typings as
|
|
3
|
+
import { PaintBrush as El } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as Rl } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as Ol } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as Al } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as Gl } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as vl, modelRoomLabelPluginServerParams as Fl } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as cl } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as Nl } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as kl } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as Bl } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as Ul } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as $l, ROOM_FETILE_TYPE_MAP as Wl, ROOM_TYPE_MAP as ql } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as Jl } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as Ql } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as Zl } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as rn, Rotation as tn } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as pn } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as ln } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as an } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as un } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as xn } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as sn } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as Mn } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as Ln } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as _n } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as In } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as Sn } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as yn, MovePlugin as An } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as Gn } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as vn } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as Yn } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as Vn } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { AreaMakerPlugin as hn } from "./AreaMakerPlugin/index.js";
|
|
36
|
+
import { CurrentPanoImagePlugin as wn } from "./CurrentPanoImagePlugin/index.js";
|
|
37
|
+
import { Sculpt as Hn, SculptPlugin as Un } from "./Sculpt/index.js";
|
|
38
|
+
import { ModelMakerPlugin as $n } from "./ModelMakerPlugin/index.js";
|
|
39
|
+
import { index as qn } from "./shared-utils/index.js";
|
|
40
|
+
import { CSS3DRender as Jn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
41
|
+
import { Model as Qn } from "./PanoMeasurePlugin/Model/index.js";
|
|
42
|
+
import { default as Zn } from "./PanoMeasurePlugin/Model/point.js";
|
|
43
|
+
import { default as ra } from "./PanoMeasurePlugin/Model/line.js";
|
|
44
|
+
import { Polyline as ia } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
45
|
+
import { Magnifier as pa } from "./shared-utils/three/Magnifier.js";
|
|
46
|
+
import { DISPLAY_STRATEGY_TYPE as la } from "./ModelItemLabelPlugin/typings.js";
|
|
47
|
+
import { ModelItemLabelPlugin as aa } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
48
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as ua } from "./ItemLabelPlugin/typings.js";
|
|
49
|
+
import { Plugin as xa } from "./ItemLabelPlugin/Plugin.js";
|
|
50
|
+
import { GuideLineItem$1 as sa } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
51
|
+
import { GuideLineModeItem$1 as Ma } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
52
|
+
import { default as La, default as Ca } from "./CruisePlugin/Work.js";
|
|
53
|
+
import { default as Ea } from "./CruisePlugin/Move.js";
|
|
54
|
+
import { typing as Ra } from "./CruisePlugin/typing/index.js";
|
|
55
|
+
import { default as Oa, pluginFlag as ya } from "./PanoTagPlugin/controller/index.js";
|
|
56
|
+
import { defaultGlobalConfig as Da } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
57
|
+
import { ContentType as ba, DimensionType as va, PointType as Fa } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
58
|
+
import { Object3DHelperController as ca, PLUGIN as Va } from "./Object3DHelperPlugin/Controller.js";
|
|
59
|
+
import { typings as ha } from "./PanoVideoPlugin/typings/index.js";
|
|
60
60
|
import "./components/PaintBrush/Controller.js";
|
|
61
61
|
import "./components/PaintBrush/utils.js";
|
|
62
62
|
import "./components/PaintBrush/tween.js";
|
|
@@ -145,6 +145,7 @@ import "./Sculpt/typings/style.js";
|
|
|
145
145
|
import "./shared-utils/five/FiveLine.js";
|
|
146
146
|
import "./shared-utils/tag.js";
|
|
147
147
|
import "./shared-utils/five/vector3ToScreen.js";
|
|
148
|
+
import "./Sculpt/utils/removeAllTag.js";
|
|
148
149
|
import "./CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
149
150
|
import "./shared-utils/isTouchDevice.js";
|
|
150
151
|
import "./shared-utils/five/getPosition.js";
|
|
@@ -506,72 +507,72 @@ import "./shared-utils/five/lookObject.js";
|
|
|
506
507
|
r();
|
|
507
508
|
o();
|
|
508
509
|
export {
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
510
|
+
hn as AreaMakerPlugin,
|
|
511
|
+
Jn as CSS3DRender,
|
|
512
|
+
Al as CSS3DRenderPlugin,
|
|
513
|
+
rn as CameraMovementEffect,
|
|
514
|
+
Zl as CameraMovementPlugin,
|
|
515
|
+
ba as ContentType,
|
|
516
|
+
yn as CruisePlugin,
|
|
517
|
+
La as CruisePluginController,
|
|
518
|
+
Ra as CruisePluginTypes,
|
|
519
|
+
wn as CurrentPanoImagePlugin,
|
|
520
|
+
Ln as DIRECTION,
|
|
521
|
+
la as DISPLAY_STRATEGY_TYPE,
|
|
522
|
+
va as DimensionType,
|
|
523
|
+
cl as FLOOR_PLAN_ATTACHED_TO,
|
|
524
|
+
$l as FLOOR_TYPE_MAP,
|
|
525
|
+
sa as GuideLineItem,
|
|
526
|
+
Ma as GuideLineModeItem,
|
|
527
|
+
Sn as GuideLinePlugin,
|
|
528
|
+
ua as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
529
|
+
xa as ItemLabelPlugin,
|
|
530
|
+
pa as Magnifier,
|
|
531
|
+
kl as MapviewFloorplanPlugin,
|
|
532
|
+
Jl as ModelChassisCompassPlugin,
|
|
533
|
+
Ql as ModelEntryDoorGuidePlugin,
|
|
534
|
+
Nl as ModelFloorplanPlugin,
|
|
535
|
+
aa as ModelItemLabelPlugin,
|
|
536
|
+
$n as ModelMakerPlugin,
|
|
537
|
+
vl as ModelRoomLabelPlugin,
|
|
538
|
+
Mn as ModelTVVideoPlugin,
|
|
539
|
+
Ol as ModelViewPlugin,
|
|
540
|
+
Ea as MoveController,
|
|
541
|
+
An as MovePlugin,
|
|
542
|
+
ca as Object3DHelperController,
|
|
543
|
+
vn as Object3DHelperPlugin,
|
|
544
|
+
Va as PLUGIN,
|
|
545
|
+
El as PaintBrush,
|
|
546
|
+
Rl as PaintBrushTypeEnum,
|
|
547
|
+
an as PanoCompassPlugin,
|
|
548
|
+
Gl as PanoCursorRaycasterPlugin,
|
|
549
|
+
In as PanoDoorLabelPlugin,
|
|
550
|
+
Ul as PanoFloorplanRadarPlugin,
|
|
551
|
+
un as PanoMeasurePlugin,
|
|
552
|
+
ra as PanoMeasurePluginLine,
|
|
553
|
+
Qn as PanoMeasurePluginModel,
|
|
554
|
+
Zn as PanoMeasurePluginPoint,
|
|
555
|
+
ia as PanoMeasurePluginPolyline,
|
|
556
|
+
pn as PanoRulerPlugin,
|
|
557
|
+
ln as PanoRulerProPlugin,
|
|
558
|
+
xn as PanoSpatialTagPlugin,
|
|
559
|
+
Gn as PanoTagPlugin,
|
|
560
|
+
Oa as PanoTagPluginController,
|
|
561
|
+
Yn as PanoVideoPlugin,
|
|
562
|
+
ha as PanoVideoPluginType,
|
|
563
|
+
Vn as PipelinePlugin,
|
|
564
|
+
Fa as PointType,
|
|
565
|
+
Wl as ROOM_FETILE_TYPE_MAP,
|
|
566
|
+
ql as ROOM_TYPE_MAP,
|
|
567
|
+
tn as Rotation,
|
|
568
|
+
Hn as Sculpt,
|
|
569
|
+
Un as SculptPlugin,
|
|
570
|
+
Bl as TopviewFloorplanPlugin,
|
|
571
|
+
qn as Util,
|
|
572
|
+
Ca as WalkController,
|
|
573
|
+
Da as defaultGlobalConfig,
|
|
574
|
+
_n as itemLabelPluginServerParams,
|
|
575
|
+
sn as modelItemLabelPluginServerParams,
|
|
576
|
+
Fl as modelRoomLabelPluginServerParams,
|
|
577
|
+
ya as pluginFlag
|
|
577
578
|
};
|
|
@@ -19,4 +19,6 @@ export declare function getIntersectByNdcPosition(five: Five, position: {
|
|
|
19
19
|
export declare function getIntersectByRaycaster(five: Five, raycaster: THREE.Raycaster, config?: {
|
|
20
20
|
virtualPoint?: boolean;
|
|
21
21
|
}): IIntersection | undefined;
|
|
22
|
+
export declare function getVirtualIntersectByRaycaster(raycaster: THREE.Raycaster, distance?: number): IIntersection;
|
|
23
|
+
export declare function getRealIntersectByRaycaster(five: Five, raycaster: THREE.Raycaster): IIntersection;
|
|
22
24
|
export {};
|
|
@@ -1,46 +1,41 @@
|
|
|
1
|
-
var u = Object.defineProperty,
|
|
2
|
-
var
|
|
1
|
+
var u = Object.defineProperty, m = Object.defineProperties;
|
|
2
|
+
var d = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var c = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var s = (
|
|
6
|
-
for (var n in
|
|
7
|
-
|
|
4
|
+
var p = Object.prototype.hasOwnProperty, y = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var s = (e, t, n) => t in e ? u(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, l = (e, t) => {
|
|
6
|
+
for (var n in t || (t = {}))
|
|
7
|
+
p.call(t, n) && s(e, n, t[n]);
|
|
8
8
|
if (c)
|
|
9
|
-
for (var n of c(
|
|
10
|
-
|
|
11
|
-
return
|
|
12
|
-
},
|
|
9
|
+
for (var n of c(t))
|
|
10
|
+
y.call(t, n) && s(e, n, t[n]);
|
|
11
|
+
return e;
|
|
12
|
+
}, a = (e, t) => m(e, d(t));
|
|
13
13
|
import * as i from "three";
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
return B(t, r, n);
|
|
14
|
+
import { getFiveModel as R } from "./getFiveModel.js";
|
|
15
|
+
function w(e, t, n) {
|
|
16
|
+
const r = V(e, t);
|
|
17
|
+
return n != null && n.virtualPoint ? r != null ? r : f(t) : r;
|
|
19
18
|
}
|
|
20
|
-
function
|
|
21
|
-
const r = V(t, e);
|
|
22
|
-
return n != null && n.virtualPoint ? r != null ? r : I(e) : r;
|
|
23
|
-
}
|
|
24
|
-
function I(t) {
|
|
19
|
+
function f(e, t = 3) {
|
|
25
20
|
const n = new i.Vector3().addVectors(
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
), r =
|
|
21
|
+
e.ray.origin,
|
|
22
|
+
e.ray.direction.clone().normalize().multiplyScalar(t)
|
|
23
|
+
), r = e.ray.direction.clone().negate();
|
|
29
24
|
return {
|
|
30
|
-
distance:
|
|
25
|
+
distance: t,
|
|
31
26
|
point: n,
|
|
32
27
|
object: new i.Object3D(),
|
|
33
28
|
face: new i.Face3(0, 0, 0, r),
|
|
34
|
-
raycaster:
|
|
29
|
+
raycaster: e,
|
|
35
30
|
isVirtual: !0
|
|
36
31
|
};
|
|
37
32
|
}
|
|
38
|
-
function V(
|
|
39
|
-
const o =
|
|
33
|
+
function V(e, t) {
|
|
34
|
+
const o = R(e).intersectRaycaster(t)[0];
|
|
40
35
|
if (o)
|
|
41
|
-
return l(
|
|
36
|
+
return a(l({}, o), { raycaster: t, isVirtual: !1 });
|
|
42
37
|
}
|
|
43
38
|
export {
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
w as getIntersectByRaycaster,
|
|
40
|
+
f as getVirtualIntersectByRaycaster
|
|
46
41
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.47.0",
|
|
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,8 +1,10 @@
|
|
|
1
|
-
import type { Five
|
|
1
|
+
import type { Five } from '@realsee/five';
|
|
2
2
|
import { PointSelectorHelper, type PointIntersection, type PointSelectorHelperConfig } from './utils/PointSelectorHelper';
|
|
3
|
-
import type
|
|
3
|
+
import { type Vector3 } from 'three';
|
|
4
|
+
import * as THREE from 'three';
|
|
4
5
|
import { Subscribe } from '../../Subscribe';
|
|
5
6
|
export type { PointIntersection };
|
|
7
|
+
type ActionIfNoModelUnderMouse = 'virtualPoint' | 'lastPoint' | 'disable';
|
|
6
8
|
interface Config {
|
|
7
9
|
/**
|
|
8
10
|
* @description: 选点的两种模式, 'fixed' 为固定选点为屏幕中心点,拖动five画布来更新点,'cursor' 为跟随鼠标移动来更新点, 'auto' 则根据设备类型自动选择
|
|
@@ -10,15 +12,15 @@ interface Config {
|
|
|
10
12
|
*/
|
|
11
13
|
mode: 'fixed' | 'cursor' | 'auto';
|
|
12
14
|
/**
|
|
13
|
-
* @description
|
|
15
|
+
* @description 当鼠标位置没有模型时的行为
|
|
14
16
|
* ```markdown
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
17
|
+
* virtualPoint: 生成一个虚拟点
|
|
18
|
+
* lastPoint: 选点器停留在上一个点处
|
|
19
|
+
* disable: 禁止选点
|
|
18
20
|
* ```
|
|
19
|
-
* @default
|
|
21
|
+
* @default 'virtualPoint'
|
|
20
22
|
*/
|
|
21
|
-
|
|
23
|
+
actionIfNoModelUnderMouse: ActionIfNoModelUnderMouse;
|
|
22
24
|
helper: PointSelectorHelperConfig;
|
|
23
25
|
}
|
|
24
26
|
export type PointSelectorConfig = Partial<Config>;
|
|
@@ -55,6 +57,8 @@ export declare class PointSelector extends Subscribe<EventMap> {
|
|
|
55
57
|
*/
|
|
56
58
|
outOfFive: boolean;
|
|
57
59
|
enabled: boolean;
|
|
60
|
+
actionIfNoModelUnderMouse: ActionIfNoModelUnderMouse;
|
|
61
|
+
plane?: THREE.Plane | null;
|
|
58
62
|
pointSelectorHelper: PointSelectorHelper;
|
|
59
63
|
/** @deprecated directly use `pointSelector.on/off` instead */
|
|
60
64
|
hook: this;
|
|
@@ -68,10 +72,10 @@ export declare class PointSelector extends Subscribe<EventMap> {
|
|
|
68
72
|
/** 吸附点的半径 */
|
|
69
73
|
private adherePointsRadius;
|
|
70
74
|
private lastFiveHelperVisible?;
|
|
75
|
+
private lastIntersection?;
|
|
71
76
|
private mousePosition;
|
|
72
77
|
private config;
|
|
73
78
|
private get mouseNdcPosition();
|
|
74
|
-
private get virtualPoint();
|
|
75
79
|
constructor(five: Five, config?: PointSelectorConfig);
|
|
76
80
|
enable(): void;
|
|
77
81
|
disable(): void;
|
|
@@ -109,7 +113,7 @@ export declare class PointSelector extends Subscribe<EventMap> {
|
|
|
109
113
|
private onPanEnd;
|
|
110
114
|
private updateByMousePosition;
|
|
111
115
|
/**
|
|
112
|
-
* @description:
|
|
116
|
+
* @description: 根据鼠标位置计算焦点位置并更新
|
|
113
117
|
*/
|
|
114
118
|
private updateByNdcPosition;
|
|
115
119
|
/**
|