@realsee/dnalogel 3.77.2-alpha.0 → 3.77.3-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/Sculpt/Meshes/Line.d.ts +4 -0
- package/dist/Sculpt/Objects/Base/Editor.d.ts +20 -1
- package/dist/Sculpt/Objects/Box/index.d.ts +5 -2
- package/dist/Sculpt/Objects/Rectangle/index.d.ts +7 -4
- package/dist/floorplan/MapviewFloorplanPlugin/Controller.d.ts +21 -0
- package/dist/floorplan/ModelFloorplanPlugin/Controller.d.ts +16 -0
- package/dist/floorplan/typings/index.d.ts +3 -0
- package/dist/index.cjs.js +79 -79
- package/dist/index.js +6181 -6031
- package/dist/index.umd.js +71 -71
- package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -3
- package/dist/shared-utils/five/getFiveFromParentChain.d.ts +7 -0
- package/dist/shared-utils/three/PointSelector/index.d.ts +1 -1
- 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 +39 -38
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +10 -9
- 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 +15 -14
- 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/MeasurePlugin/Controller.js +11 -10
- package/libs/MeasurePlugin/index.js +5 -4
- package/libs/MeasurePlugin/utils/MeasureMesh.js +3 -2
- package/libs/ModelChassisCompassPlugin/Plugin.js +4 -3
- package/libs/ModelChassisCompassPlugin/index.js +1 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -5
- package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
- package/libs/ModelMakerPlugin/Controller.js +3 -2
- package/libs/ModelMakerPlugin/index.js +3 -2
- package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
- package/libs/ModelTVVideoPlugin/index.js +3 -2
- package/libs/ModelViewPlugin/Plugin.js +20 -19
- package/libs/ModelViewPlugin/index.js +1 -0
- package/libs/Object3DHelperPlugin/Controller.js +3 -2
- package/libs/Object3DHelperPlugin/index.js +6 -5
- package/libs/PanoCompassPlugin/Controller.js +3 -2
- package/libs/PanoCompassPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/Controller.js +24 -23
- 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/ShortcutKeyController.js +7 -10
- 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 +16 -15
- package/libs/PanoMeasurePlugin/index.js +14 -13
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
- package/libs/PanoRulerProPlugin/Controller.js +3 -2
- package/libs/PanoRulerProPlugin/RulerItems.js +42 -41
- package/libs/PanoRulerProPlugin/index.js +4 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +34 -33
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -2
- 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 +3 -2
- 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/PanoTagPlugin/utils/tag/format.js +3 -2
- package/libs/PanoVideoPlugin/Controller.js +9 -8
- 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.d.ts +4 -0
- package/libs/Sculpt/Meshes/Line.js +85 -76
- package/libs/Sculpt/Meshes/Point.js +28 -28
- package/libs/Sculpt/Meshes/Polygon.js +43 -43
- package/libs/Sculpt/Objects/Base/Editor.d.ts +20 -1
- package/libs/Sculpt/Objects/Base/Editor.js +91 -35
- package/libs/Sculpt/Objects/Box/index.d.ts +5 -2
- package/libs/Sculpt/Objects/Box/index.js +61 -55
- package/libs/Sculpt/Objects/Prism/index.js +48 -47
- package/libs/Sculpt/Objects/Rectangle/index.d.ts +7 -4
- package/libs/Sculpt/Objects/Rectangle/index.js +119 -117
- package/libs/Sculpt/index.js +1 -1
- package/libs/Sculpt/utils/Modules/Cursor.js +7 -7
- package/libs/Sculpt/utils/Modules/Global.js +24 -24
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -2
- package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -3
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.d.ts +21 -0
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +134 -92
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +16 -0
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +133 -104
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -4
- 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/floorplan/index.js +1 -1
- package/libs/floorplan/typings/index.d.ts +3 -0
- package/libs/index.js +151 -150
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +18 -18
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +1 -1
- package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -3
- package/libs/shared-utils/five/getFiveFromParentChain.d.ts +7 -0
- package/libs/shared-utils/five/getFiveFromParentChain.js +15 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/index.d.ts +1 -1
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +1 -0
- package/package.json +1 -1
package/libs/index.js
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
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 { FloorplanGuidePlugin as
|
|
15
|
-
import { FLOOR_TYPE_MAP as
|
|
16
|
-
import { ModelChassisCompassPlugin as
|
|
17
|
-
import { ModelEntryDoorGuidePlugin as
|
|
18
|
-
import { CameraMovementPlugin as
|
|
19
|
-
import { CameraMovementEffect as
|
|
20
|
-
import { PanoRulerPlugin as
|
|
21
|
-
import { PanoRulerProPlugin as
|
|
22
|
-
import { PanoCompassPlugin as
|
|
23
|
-
import { PanoMeasurePlugin as
|
|
24
|
-
import { MeasurePlugin as
|
|
25
|
-
import { PanoSpatialTagPlugin as
|
|
26
|
-
import { modelItemLabelPluginServerParams as
|
|
27
|
-
import { ModelTVVideoPlugin as
|
|
28
|
-
import { DIRECTION as
|
|
29
|
-
import { itemLabelPluginServerParams as
|
|
30
|
-
import { PanoDoorLabelPlugin as
|
|
31
|
-
import { GuideLinePlugin as
|
|
32
|
-
import { CruisePlugin as
|
|
33
|
-
import { PanoTagPlugin as
|
|
34
|
-
import { Object3DHelperPlugin as
|
|
35
|
-
import { PanoVideoPlugin as
|
|
36
|
-
import { PipelinePlugin as
|
|
37
|
-
import { AreaMakerPlugin as
|
|
38
|
-
import { CurrentPanoImagePlugin as
|
|
39
|
-
import { Sculpt as
|
|
40
|
-
import { ModelMakerPlugin as
|
|
41
|
-
import { exports as
|
|
42
|
-
import { CSS3DRender as
|
|
43
|
-
import { Model as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { Polyline as
|
|
47
|
-
import { Magnifier as
|
|
48
|
-
import { validatePolygon as
|
|
49
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
50
|
-
import { ModelItemLabelPlugin as
|
|
51
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
52
|
-
import { Plugin as
|
|
53
|
-
import { GuideLineItem$1 as
|
|
54
|
-
import { GuideLineModeItem$1 as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { typing as
|
|
58
|
-
import { default as
|
|
59
|
-
import { defaultGlobalConfig as
|
|
60
|
-
import { ContentType as
|
|
61
|
-
import { Object3DHelperController as
|
|
62
|
-
import { typings as
|
|
63
|
-
import { createPoint as
|
|
64
|
-
import { createLine as
|
|
65
|
-
import { createPolyline as
|
|
66
|
-
import { createPolygon as
|
|
67
|
-
import { createPrism as
|
|
68
|
-
import { createRectangle as
|
|
69
|
-
import { createCircle as
|
|
70
|
-
import { createCylinder as
|
|
71
|
-
import { createBox as
|
|
3
|
+
import { PaintBrush as Fn } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as Dn } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as Yn } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as Bn } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as hn } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as wn, modelRoomLabelPluginServerParams as Hn } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as jn } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as Wn } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as zn } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as Kn } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as Xn } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FloorplanGuidePlugin as oa } from "./floorplan/FloorplanGuidePlugin/index.js";
|
|
15
|
+
import { FLOOR_TYPE_MAP as ta, ROOM_FETILE_TYPE_MAP as ia, ROOM_TYPE_MAP as ma } from "./floorplan/typings/floorplanServerData.js";
|
|
16
|
+
import { ModelChassisCompassPlugin as ea } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
17
|
+
import { ModelEntryDoorGuidePlugin as na } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
18
|
+
import { CameraMovementPlugin as Pa } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
19
|
+
import { CameraMovementEffect as ua, Rotation as xa } from "./CameraMovementPlugin/typing.js";
|
|
20
|
+
import { PanoRulerPlugin as sa } from "./PanoRulerPlugin/Plugin.js";
|
|
21
|
+
import { PanoRulerProPlugin as Ma } from "./PanoRulerProPlugin/index.js";
|
|
22
|
+
import { PanoCompassPlugin as Ca } from "./PanoCompassPlugin/index.js";
|
|
23
|
+
import { PanoMeasurePlugin as ca } from "./PanoMeasurePlugin/index.js";
|
|
24
|
+
import { MeasurePlugin as _a } from "./MeasurePlugin/index.js";
|
|
25
|
+
import { PanoSpatialTagPlugin as Ea } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
26
|
+
import { modelItemLabelPluginServerParams as Sa } from "./ModelItemLabelPlugin/index.js";
|
|
27
|
+
import { ModelTVVideoPlugin as va } from "./ModelTVVideoPlugin/Plugin.js";
|
|
28
|
+
import { DIRECTION as Fa } from "./ModelTVVideoPlugin/typings.js";
|
|
29
|
+
import { itemLabelPluginServerParams as Da } from "./ItemLabelPlugin/index.js";
|
|
30
|
+
import { PanoDoorLabelPlugin as Ya } from "./PanoDoorLabelPlugin/index.js";
|
|
31
|
+
import { GuideLinePlugin as Ba } from "./GuideLinePlugin/index.js";
|
|
32
|
+
import { CruisePlugin as ha, MovePlugin as ka } from "./CruisePlugin/index.js";
|
|
33
|
+
import { PanoTagPlugin as Ha } from "./PanoTagPlugin/index.js";
|
|
34
|
+
import { Object3DHelperPlugin as ja } from "./Object3DHelperPlugin/index.js";
|
|
35
|
+
import { PanoVideoPlugin as Wa } from "./PanoVideoPlugin/index.js";
|
|
36
|
+
import { PipelinePlugin as za } from "./PipelinePlugin/index.js";
|
|
37
|
+
import { AreaMakerPlugin as Ka } from "./AreaMakerPlugin/index.js";
|
|
38
|
+
import { CurrentPanoImagePlugin as Xa } from "./CurrentPanoImagePlugin/index.js";
|
|
39
|
+
import { Sculpt as oP, SculptPlugin as rP, SculptPluginForFive as tP } from "./Sculpt/index.js";
|
|
40
|
+
import { ModelMakerPlugin as mP } from "./ModelMakerPlugin/index.js";
|
|
41
|
+
import { exports as eP } from "./shared-utils/exports.js";
|
|
42
|
+
import { CSS3DRender as nP } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
43
|
+
import { Model as PP } from "./PanoMeasurePlugin/Model/index.js";
|
|
44
|
+
import { default as uP } from "./PanoMeasurePlugin/Model/point.js";
|
|
45
|
+
import { default as gP } from "./PanoMeasurePlugin/Model/line.js";
|
|
46
|
+
import { Polyline as dP } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
47
|
+
import { Magnifier as TP } from "./shared-utils/three/Magnifier.js";
|
|
48
|
+
import { validatePolygon as LP } from "./MeasurePlugin/utils/validatePolygon.js";
|
|
49
|
+
import { DISPLAY_STRATEGY_TYPE as RP } from "./ModelItemLabelPlugin/typings.js";
|
|
50
|
+
import { ModelItemLabelPlugin as yP } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
51
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as IP } from "./ItemLabelPlugin/typings.js";
|
|
52
|
+
import { Plugin as OP } from "./ItemLabelPlugin/Plugin.js";
|
|
53
|
+
import { GuideLineItem$1 as AP } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
54
|
+
import { GuideLineModeItem$1 as GP } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
55
|
+
import { default as bP, default as YP } from "./CruisePlugin/Work.js";
|
|
56
|
+
import { default as BP } from "./CruisePlugin/Move.js";
|
|
57
|
+
import { typing as hP } from "./CruisePlugin/typing/index.js";
|
|
58
|
+
import { default as wP, pluginFlag as HP } from "./PanoTagPlugin/controller/index.js";
|
|
59
|
+
import { defaultGlobalConfig as jP } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
60
|
+
import { ContentType as WP, DimensionType as qP, PointType as zP } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
61
|
+
import { Object3DHelperController as KP, PLUGIN as QP } from "./Object3DHelperPlugin/Controller.js";
|
|
62
|
+
import { typings as ZP } from "./PanoVideoPlugin/typings/index.js";
|
|
63
|
+
import { createPoint as rf } from "./Sculpt/Objects/Point/index.js";
|
|
64
|
+
import { createLine as mf } from "./Sculpt/Objects/Line/index.js";
|
|
65
|
+
import { createPolyline as ef } from "./Sculpt/Objects/Polyline/index.js";
|
|
66
|
+
import { createPolygon as nf } from "./Sculpt/Objects/Polygon/index.js";
|
|
67
|
+
import { createPrism as Pf } from "./Sculpt/Objects/Prism/index.js";
|
|
68
|
+
import { createRectangle as uf } from "./Sculpt/Objects/Rectangle/index.js";
|
|
69
|
+
import { createCircle as gf } from "./Sculpt/Objects/Circle/index.js";
|
|
70
|
+
import { createCylinder as df } from "./Sculpt/Objects/Cylinder/index.js";
|
|
71
|
+
import { createBox as Tf } from "./Sculpt/Objects/Box/index.js";
|
|
72
72
|
import "./components/PaintBrush/Controller.js";
|
|
73
73
|
import "./components/PaintBrush/utils.js";
|
|
74
74
|
import "./components/PaintBrush/tween.js";
|
|
@@ -124,6 +124,7 @@ import "./Sculpt/typings/style.js";
|
|
|
124
124
|
import "./shared-utils/three/IObject3D.js";
|
|
125
125
|
import "./Sculpt/utils/Meshes/getLengthHTML.js";
|
|
126
126
|
import "./shared-utils/three/applyObjectMatrixWorld.js";
|
|
127
|
+
import "./shared-utils/five/getFiveFromParentChain.js";
|
|
127
128
|
import "./shared-utils/three/core/LineGeometry.js";
|
|
128
129
|
import "./shared-utils/three/core/LineMaterial.js";
|
|
129
130
|
import "./shared-utils/three/core/Line2.js";
|
|
@@ -580,85 +581,85 @@ import "./shared-utils/five/lookObject.js";
|
|
|
580
581
|
r();
|
|
581
582
|
o();
|
|
582
583
|
export {
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
584
|
+
Ka as AreaMakerPlugin,
|
|
585
|
+
nP as CSS3DRender,
|
|
586
|
+
Bn as CSS3DRenderPlugin,
|
|
587
|
+
ua as CameraMovementEffect,
|
|
588
|
+
Pa as CameraMovementPlugin,
|
|
589
|
+
WP as ContentType,
|
|
590
|
+
ha as CruisePlugin,
|
|
591
|
+
bP as CruisePluginController,
|
|
592
|
+
hP as CruisePluginTypes,
|
|
593
|
+
Xa as CurrentPanoImagePlugin,
|
|
594
|
+
Fa as DIRECTION,
|
|
595
|
+
RP as DISPLAY_STRATEGY_TYPE,
|
|
596
|
+
qP as DimensionType,
|
|
597
|
+
jn as FLOOR_PLAN_ATTACHED_TO,
|
|
598
|
+
ta as FLOOR_TYPE_MAP,
|
|
599
|
+
oa as FloorplanGuidePlugin,
|
|
600
|
+
AP as GuideLineItem,
|
|
601
|
+
GP as GuideLineModeItem,
|
|
602
|
+
Ba as GuideLinePlugin,
|
|
603
|
+
IP as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
604
|
+
OP as ItemLabelPlugin,
|
|
605
|
+
TP as Magnifier,
|
|
606
|
+
zn as MapviewFloorplanPlugin,
|
|
607
|
+
_a as MeasurePlugin,
|
|
608
|
+
ea as ModelChassisCompassPlugin,
|
|
609
|
+
na as ModelEntryDoorGuidePlugin,
|
|
610
|
+
Wn as ModelFloorplanPlugin,
|
|
611
|
+
yP as ModelItemLabelPlugin,
|
|
612
|
+
mP as ModelMakerPlugin,
|
|
613
|
+
wn as ModelRoomLabelPlugin,
|
|
614
|
+
va as ModelTVVideoPlugin,
|
|
615
|
+
Yn as ModelViewPlugin,
|
|
616
|
+
BP as MoveController,
|
|
617
|
+
ka as MovePlugin,
|
|
618
|
+
KP as Object3DHelperController,
|
|
619
|
+
ja as Object3DHelperPlugin,
|
|
620
|
+
QP as PLUGIN,
|
|
621
|
+
Fn as PaintBrush,
|
|
622
|
+
Dn as PaintBrushTypeEnum,
|
|
623
|
+
Ca as PanoCompassPlugin,
|
|
624
|
+
hn as PanoCursorRaycasterPlugin,
|
|
625
|
+
Ya as PanoDoorLabelPlugin,
|
|
626
|
+
Xn as PanoFloorplanRadarPlugin,
|
|
627
|
+
ca as PanoMeasurePlugin,
|
|
628
|
+
gP as PanoMeasurePluginLine,
|
|
629
|
+
PP as PanoMeasurePluginModel,
|
|
630
|
+
uP as PanoMeasurePluginPoint,
|
|
631
|
+
dP as PanoMeasurePluginPolyline,
|
|
632
|
+
sa as PanoRulerPlugin,
|
|
633
|
+
Ma as PanoRulerProPlugin,
|
|
634
|
+
Ea as PanoSpatialTagPlugin,
|
|
635
|
+
Ha as PanoTagPlugin,
|
|
636
|
+
wP as PanoTagPluginController,
|
|
637
|
+
Wa as PanoVideoPlugin,
|
|
638
|
+
ZP as PanoVideoPluginType,
|
|
639
|
+
za as PipelinePlugin,
|
|
640
|
+
zP as PointType,
|
|
641
|
+
ia as ROOM_FETILE_TYPE_MAP,
|
|
642
|
+
ma as ROOM_TYPE_MAP,
|
|
643
|
+
xa as Rotation,
|
|
644
|
+
oP as Sculpt,
|
|
645
|
+
rP as SculptPlugin,
|
|
646
|
+
tP as SculptPluginForFive,
|
|
647
|
+
Kn as TopviewFloorplanPlugin,
|
|
648
|
+
eP as Util,
|
|
649
|
+
YP as WalkController,
|
|
650
|
+
Tf as createBox,
|
|
651
|
+
gf as createCircle,
|
|
652
|
+
df as createCylinder,
|
|
653
|
+
mf as createLine,
|
|
654
|
+
rf as createPoint,
|
|
655
|
+
nf as createPolygon,
|
|
656
|
+
ef as createPolyline,
|
|
657
|
+
Pf as createPrism,
|
|
658
|
+
uf as createRectangle,
|
|
659
|
+
jP as defaultGlobalConfig,
|
|
660
|
+
Da as itemLabelPluginServerParams,
|
|
661
|
+
Sa as modelItemLabelPluginServerParams,
|
|
662
|
+
Hn as modelRoomLabelPluginServerParams,
|
|
663
|
+
HP as pluginFlag,
|
|
664
|
+
LP as validatePolygon
|
|
664
665
|
};
|
|
@@ -68,7 +68,7 @@ class z extends B {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
const m = o === "plane" ? [] : [o];
|
|
71
|
-
this.helperObject3D.showDraggingHelper(m), this.hooks.emit("moveStart"), this.isDragging = !0;
|
|
71
|
+
this.helperObject3D.showDraggingHelper(m), this.hooks.emit("moveStart", o), this.isDragging = !0;
|
|
72
72
|
});
|
|
73
73
|
h(this, "dragging", (e) => {
|
|
74
74
|
if (!this.isDragging || !this.startInfo)
|
|
@@ -31,31 +31,31 @@ class _ extends Y {
|
|
|
31
31
|
this.helperObject3D.applyHelperScaleMatrix4(t.matrix, t.origin);
|
|
32
32
|
}
|
|
33
33
|
getDragPlane() {
|
|
34
|
-
const t = new D.Plane(),
|
|
35
|
-
if (
|
|
36
|
-
return
|
|
34
|
+
const t = new D.Plane(), e = this.helperObject3D.cornerPositions;
|
|
35
|
+
if (e.length !== 0)
|
|
36
|
+
return e.length < 3 ? t.setFromNormalAndCoplanarPoint(this.originObject3D.getWorldDirection(new o()), e[0]) : t.setFromCoplanarPoints(e[0], e[1], e[2]), t;
|
|
37
37
|
}
|
|
38
|
-
dragStart(t,
|
|
38
|
+
dragStart(t, e) {
|
|
39
39
|
var p, n;
|
|
40
40
|
(n = (p = this.helperObject3D).updatePoints) == null || n.call(p);
|
|
41
41
|
const f = this.getDragPlane();
|
|
42
42
|
if (!f)
|
|
43
43
|
return this.dragEnd();
|
|
44
|
-
this.startInfo = { startPoint: { position:
|
|
44
|
+
this.startInfo = { startPoint: { position: e.position.clone(), direction: e.direction }, plane: f }, this.hooks.emit("scaleStart", e.direction), this.render(), this.isDragging = !0;
|
|
45
45
|
}
|
|
46
46
|
dragging(t) {
|
|
47
47
|
if (!this.isDragging)
|
|
48
48
|
return;
|
|
49
|
-
const
|
|
50
|
-
if (!
|
|
49
|
+
const e = T(this.camera, t, this.container);
|
|
50
|
+
if (!e)
|
|
51
51
|
return this.dragEnd();
|
|
52
|
-
this.scale(
|
|
52
|
+
this.scale(e);
|
|
53
53
|
}
|
|
54
54
|
scale(t) {
|
|
55
55
|
var C, E;
|
|
56
56
|
if (!this.startInfo)
|
|
57
57
|
return;
|
|
58
|
-
const
|
|
58
|
+
const e = this.originObject3D, { startPoint: f, plane: p } = this.startInfo, n = this.helperObject3D.cornerPositions;
|
|
59
59
|
if (n.length < 4)
|
|
60
60
|
return this.dragEnd();
|
|
61
61
|
const g = t.ray.intersectPlane(p, new o());
|
|
@@ -65,30 +65,30 @@ class _ extends Y {
|
|
|
65
65
|
const i = new o(0, 0, 0);
|
|
66
66
|
if (!this.startInfo)
|
|
67
67
|
return i;
|
|
68
|
-
const
|
|
68
|
+
const s = (r === "ew" ? I : y).clone(), c = k.clone().projectOnVector(s), b = g.clone().projectOnVector(s), M = m.clone().projectOnVector(s);
|
|
69
69
|
if (b.equals(c))
|
|
70
70
|
return i;
|
|
71
71
|
if (r === "ns" && typeof this.startInfo.dragPointInCenterBottom != "boolean") {
|
|
72
|
-
const l = new o().subVectors(b, M), O = l.x < 0 &&
|
|
72
|
+
const l = new o().subVectors(b, M), O = l.x < 0 && s.x >= 0, P = l.y < 0 && s.y >= 0, j = l.z < 0 && s.z >= 0;
|
|
73
73
|
this.startInfo.dragPointInCenterBottom = O || P || j;
|
|
74
74
|
}
|
|
75
75
|
if (r === "ew" && typeof this.startInfo.dragPointInCenterLeft != "boolean") {
|
|
76
|
-
const l = new o().subVectors(b, M), O = l.x < 0 &&
|
|
76
|
+
const l = new o().subVectors(b, M), O = l.x < 0 && s.x >= 0, P = l.y < 0 && s.y >= 0, j = l.z < 0 && s.z >= 0;
|
|
77
77
|
this.startInfo.dragPointInCenterLeft = O || P || j;
|
|
78
78
|
}
|
|
79
79
|
const v = new o().subVectors(b, c), N = v.length();
|
|
80
80
|
return N > 0.3 ? (console.warn("offset.length() > 0.3, skipped", N), i) : v;
|
|
81
81
|
}, A = S("ew"), B = S("ns"), V = () => {
|
|
82
82
|
const r = A;
|
|
83
|
-
this.helperObject3D.cornerPositions.forEach((i,
|
|
83
|
+
this.helperObject3D.cornerPositions.forEach((i, s) => {
|
|
84
84
|
var c;
|
|
85
|
-
(c = this.startInfo) != null && c.dragPointInCenterLeft ? (
|
|
85
|
+
(c = this.startInfo) != null && c.dragPointInCenterLeft ? (s === 0 || s === 3) && i.add(r) : (s === 1 || s === 2) && i.add(r);
|
|
86
86
|
});
|
|
87
87
|
}, x = () => {
|
|
88
88
|
const r = B;
|
|
89
|
-
this.helperObject3D.cornerPositions.forEach((i,
|
|
89
|
+
this.helperObject3D.cornerPositions.forEach((i, s) => {
|
|
90
90
|
var c;
|
|
91
|
-
(c = this.startInfo) != null && c.dragPointInCenterBottom ? (
|
|
91
|
+
(c = this.startInfo) != null && c.dragPointInCenterBottom ? (s === 0 || s === 1) && i.add(r) : (s === 2 || s === 3) && i.add(r);
|
|
92
92
|
});
|
|
93
93
|
};
|
|
94
94
|
switch (z) {
|
|
@@ -103,9 +103,9 @@ class _ extends Y {
|
|
|
103
103
|
V(), x();
|
|
104
104
|
}
|
|
105
105
|
const H = new o().subVectors(n[1], n[0]).length() / I.length(), L = new o().subVectors(n[3], n[0]).length() / y.length(), R = new o(H, L, 1), u = new D.Matrix4().scale(R);
|
|
106
|
-
|
|
106
|
+
e.isCSS3DObjectPlus && e.applyScaleMatrix4 ? e.applyScaleMatrix4(u) : e.scale.applyMatrix4(u), f.position.copy(g);
|
|
107
107
|
const q = new o().addVectors(n[0], n[2]).divideScalar(2), F = new o().subVectors(q, m), d = new D.Matrix4().setPosition(F);
|
|
108
|
-
|
|
108
|
+
e.applyMatrix4(d), (C = this.helperObject3D.css3DInstance) == null || C.css3DObject.applyMatrix4(d), (E = this.helperObject3D.plane) == null || E.applyMatrix4(d), this.internalHooks.emit("applyObjectScale", { matrix: u }), this.internalHooks.emit("applyObjectPosition", { matrix: d }), this.render();
|
|
109
109
|
}
|
|
110
110
|
dragEnd() {
|
|
111
111
|
this.isDragging && (this.startInfo = void 0, this.isDragging = !1, "onScaleEnd" in this.helperObject3D && typeof this.helperObject3D.onScaleEnd == "function" && this.helperObject3D.onScaleEnd(), this.hooks.emit("scaleEnd"), this.render());
|
|
@@ -92,7 +92,7 @@ class I extends Q {
|
|
|
92
92
|
angleHelper: s,
|
|
93
93
|
angle: 0,
|
|
94
94
|
helperQuaternion: a.clone()
|
|
95
|
-
}, w = new o.Quaternion(), this.helperObject3D.showDraggingHelper([n]), this.hooks.emit("rotateStart"), this.isDragging = !0;
|
|
95
|
+
}, w = new o.Quaternion(), this.helperObject3D.showDraggingHelper([n]), this.hooks.emit("rotateStart", n), this.isDragging = !0;
|
|
96
96
|
}
|
|
97
97
|
getMatrix() {
|
|
98
98
|
var e, n;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type * as THREE from 'three';
|
|
2
|
+
import type { Direction, Direction4 } from './Direction';
|
|
2
3
|
export type HelperEventMap = {
|
|
3
4
|
wantToMove: (position: THREE.Vector3) => void;
|
|
4
5
|
moveBefore: (position: THREE.Vector3) => THREE.Vector3 | null | undefined;
|
|
@@ -7,9 +8,9 @@ export type HelperEventMap = {
|
|
|
7
8
|
move: (position: THREE.Vector3) => void;
|
|
8
9
|
rotate: (quaternion: THREE.Quaternion) => void;
|
|
9
10
|
scale: (scale: THREE.Vector3) => void;
|
|
10
|
-
moveStart: () => void;
|
|
11
|
-
rotateStart: () => void;
|
|
12
|
-
scaleStart: () => void;
|
|
11
|
+
moveStart: (direction?: Direction) => void;
|
|
12
|
+
rotateStart: (direction?: Direction) => void;
|
|
13
|
+
scaleStart: (direction?: Direction | Direction4) => void;
|
|
13
14
|
moveEnd: () => void;
|
|
14
15
|
rotateEnd: () => void;
|
|
15
16
|
scaleEnd: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.77.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.77.3-alpha.1",
|
|
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",
|
|
@@ -130,6 +130,7 @@ class E extends e.Object3D {
|
|
|
130
130
|
o(this, "lineMesh");
|
|
131
131
|
o(this, "ballMesh");
|
|
132
132
|
o(this, "cssBallMesh");
|
|
133
|
+
this.__five__ = r;
|
|
133
134
|
const i = 0.18;
|
|
134
135
|
this.planeMesh = P(), this.ringMesh = C(), this.crossline = b(), this.lineMesh = V(i), this.ballMesh = x(), this.cssBallMesh = S(), this.ballMesh.position.setZ(i), this.cssBallMesh.position.setZ(i), this.planeMesh.renderOrder = 0, this.ringMesh.renderOrder = 1, this.crossline.renderOrder = 2, this.lineMesh.renderOrder = 3, this.ballMesh.renderOrder = 4, this.add(this.planeMesh, this.lineMesh, this.ballMesh, this.ringMesh, this.cssBallMesh), A(r);
|
|
135
136
|
}
|