@realsee/dnalogel 3.44.5 → 3.45.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 +3 -0
- package/dist/Sculpt/Meshes/Area.d.ts +1 -1
- package/dist/Sculpt/Meshes/Box.d.ts +1 -1
- package/dist/Sculpt/Meshes/Circle.d.ts +1 -1
- package/dist/Sculpt/Meshes/CircleWithEdge.d.ts +1 -1
- package/dist/Sculpt/Meshes/Line.d.ts +2 -1
- package/dist/Sculpt/Meshes/LineWithDots.d.ts +1 -1
- package/dist/Sculpt/Meshes/Point.d.ts +1 -1
- package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/dist/Sculpt/Meshes/Prism.d.ts +1 -1
- package/dist/Sculpt/Meshes/RectangleWithEdge.d.ts +3 -4
- package/dist/Sculpt/Objects/Line/Editor.d.ts +22 -0
- package/dist/Sculpt/Objects/Line/index.d.ts +33 -0
- package/dist/Sculpt/Objects/Point/index.d.ts +1 -1
- package/dist/Sculpt/Objects/Polygon/Editor.d.ts +2 -2
- package/dist/Sculpt/Objects/Polygon/index.d.ts +3 -2
- package/dist/Sculpt/Objects/Polyline/Editor.d.ts +3 -17
- package/dist/Sculpt/Objects/Polyline/index.d.ts +7 -6
- package/dist/Sculpt/index.d.ts +5 -0
- package/dist/Sculpt/typings/index.d.ts +11 -6
- package/dist/Sculpt/{utils/color.d.ts → typings/style.d.ts} +7 -0
- package/dist/Sculpt/typings/utils.type.d.ts +2 -0
- package/dist/Sculpt/utils/three/ColoredMesh.d.ts +1 -1
- package/dist/Sculpt/utils/three/rayOnLine.d.ts +3 -5
- package/dist/index.cjs.js +56 -56
- package/dist/index.js +4272 -4171
- package/dist/index.umd.js +45 -45
- package/dist/shared-utils/Utils/WorkUtil.d.ts +6 -6
- package/libs/ModelMakerPlugin/Controller.js +1 -1
- package/libs/ModelMakerPlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Controller0.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Controller1.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -1
- package/libs/PanoMeasurePlugin/index.js +1 -1
- package/libs/Sculpt/Meshes/Area.d.ts +1 -1
- package/libs/Sculpt/Meshes/Box.d.ts +1 -1
- package/libs/Sculpt/Meshes/Box.js +10 -10
- package/libs/Sculpt/Meshes/Circle.d.ts +1 -1
- package/libs/Sculpt/Meshes/Circle.js +1 -1
- package/libs/Sculpt/Meshes/CircleWithEdge.d.ts +1 -1
- package/libs/Sculpt/Meshes/Cylinder.js +1 -1
- package/libs/Sculpt/Meshes/Line.d.ts +2 -1
- package/libs/Sculpt/Meshes/Line.js +55 -47
- package/libs/Sculpt/Meshes/LineWithDots.d.ts +1 -1
- package/libs/Sculpt/Meshes/LineWithDots.js +26 -26
- package/libs/Sculpt/Meshes/Point.d.ts +1 -1
- package/libs/Sculpt/Meshes/Point.js +1 -1
- package/libs/Sculpt/Meshes/Polygon.js +1 -1
- package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/libs/Sculpt/Meshes/Prism.d.ts +1 -1
- package/libs/Sculpt/Meshes/RectangleWithEdge.d.ts +3 -4
- package/libs/Sculpt/Objects/Box/index.js +41 -43
- package/libs/Sculpt/Objects/Cylinder/index.js +35 -37
- package/libs/Sculpt/Objects/Line/Editor.d.ts +22 -0
- package/libs/Sculpt/Objects/Line/Editor.js +61 -0
- package/libs/Sculpt/Objects/Line/index.d.ts +33 -0
- package/libs/Sculpt/Objects/Line/index.js +107 -0
- package/libs/Sculpt/Objects/Point/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Polygon/Editor.d.ts +2 -2
- package/libs/Sculpt/Objects/Polygon/Editor.js +5 -5
- package/libs/Sculpt/Objects/Polygon/index.d.ts +3 -2
- package/libs/Sculpt/Objects/Polygon/index.js +80 -80
- package/libs/Sculpt/Objects/Polyline/Editor.d.ts +3 -17
- package/libs/Sculpt/Objects/Polyline/Editor.js +10 -48
- package/libs/Sculpt/Objects/Polyline/index.d.ts +7 -6
- package/libs/Sculpt/Objects/Polyline/index.js +63 -58
- package/libs/Sculpt/Objects/Prism/index.js +56 -58
- package/libs/Sculpt/index.d.ts +5 -0
- package/libs/Sculpt/index.js +58 -48
- package/libs/Sculpt/typings/index.d.ts +11 -6
- package/libs/Sculpt/{utils/color.d.ts → typings/style.d.ts} +7 -0
- package/libs/Sculpt/typings/utils.type.d.ts +2 -0
- package/libs/Sculpt/utils/three/ColoredMesh.d.ts +1 -1
- package/libs/Sculpt/utils/three/ColoredMesh.js +1 -1
- package/libs/Sculpt/utils/three/rayOnLine.d.ts +3 -5
- package/libs/Sculpt/utils/three/rayOnLine.js +15 -14
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
- package/libs/index.js +128 -126
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +23 -23
- package/libs/shared-utils/Utils/WorkUtil.d.ts +6 -6
- package/libs/shared-utils/Utils/WorkUtil.js +8 -7
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +15 -15
- package/package.json +1 -1
- package/dist/Sculpt/typings/SimplifyDeep.d.ts +0 -3
- package/libs/Sculpt/typings/SimplifyDeep.d.ts +0 -3
- /package/libs/Sculpt/{utils/color.js → typings/style.js} +0 -0
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 _l } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as Il } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as Sl } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as yl } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as Dl } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as bl, modelRoomLabelPluginServerParams as vl } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as Yl } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as Vl } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as hl } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as wl } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as Hl } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as jl, ROOM_FETILE_TYPE_MAP as $l, ROOM_TYPE_MAP as Wl } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as zl } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as Kl } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as Xl } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as on, Rotation as rn } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as mn } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as en } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as nn } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as Pn } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as fn } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as gn } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as dn } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as Tn } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as Cn } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as En } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as Rn } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as On, MovePlugin as yn } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as Dn } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as bn } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as Fn } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as cn } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { AreaMakerPlugin as Nn } from "./AreaMakerPlugin/index.js";
|
|
36
|
+
import { CurrentPanoImagePlugin as kn } from "./CurrentPanoImagePlugin/index.js";
|
|
37
|
+
import { Sculpt as Bn, SculptPlugin as Hn } from "./Sculpt/index.js";
|
|
38
|
+
import { ModelMakerPlugin as jn } from "./ModelMakerPlugin/index.js";
|
|
39
|
+
import { index as Wn } from "./shared-utils/index.js";
|
|
40
|
+
import { CSS3DRender as zn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
41
|
+
import { Model as Kn } from "./PanoMeasurePlugin/Model/index.js";
|
|
42
|
+
import { default as Xn } from "./PanoMeasurePlugin/Model/point.js";
|
|
43
|
+
import { default as oa } from "./PanoMeasurePlugin/Model/line.js";
|
|
44
|
+
import { Polyline as ta } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
45
|
+
import { Magnifier as ma } from "./shared-utils/three/Magnifier.js";
|
|
46
|
+
import { DISPLAY_STRATEGY_TYPE as ea } from "./ModelItemLabelPlugin/typings.js";
|
|
47
|
+
import { ModelItemLabelPlugin as na } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
48
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Pa } from "./ItemLabelPlugin/typings.js";
|
|
49
|
+
import { Plugin as fa } from "./ItemLabelPlugin/Plugin.js";
|
|
50
|
+
import { GuideLineItem$1 as ga } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
51
|
+
import { GuideLineModeItem$1 as da } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
52
|
+
import { default as Ta, default as La } from "./CruisePlugin/Work.js";
|
|
53
|
+
import { default as _a } from "./CruisePlugin/Move.js";
|
|
54
|
+
import { typing as Ia } from "./CruisePlugin/typing/index.js";
|
|
55
|
+
import { default as Sa, pluginFlag as Oa } from "./PanoTagPlugin/controller/index.js";
|
|
56
|
+
import { defaultGlobalConfig as Aa } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
57
|
+
import { ContentType as Ga, DimensionType as ba, PointType as va } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
58
|
+
import { Object3DHelperController as Ya, PLUGIN as ca } from "./Object3DHelperPlugin/Controller.js";
|
|
59
|
+
import { typings as Na } 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";
|
|
@@ -201,7 +201,7 @@ import "./shared-utils/three/PointSelector/utils/html.js";
|
|
|
201
201
|
import "./shared-utils/five/initialCSS3DRender.js";
|
|
202
202
|
import "./shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
203
203
|
import "./Sculpt/Meshes/Line.js";
|
|
204
|
-
import "./Sculpt/
|
|
204
|
+
import "./Sculpt/typings/style.js";
|
|
205
205
|
import "./CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
206
206
|
import "./shared-utils/isTouchDevice.js";
|
|
207
207
|
import "./shared-utils/five/getPosition.js";
|
|
@@ -450,6 +450,7 @@ import "./shared-utils/three/closeVectors.js";
|
|
|
450
450
|
import "./Sculpt/Objects/Base/index.js";
|
|
451
451
|
import "./shared-utils/three/applyObjectMatrixWorld.js";
|
|
452
452
|
import "./Sculpt/Objects/Polyline/Editor.js";
|
|
453
|
+
import "./Sculpt/Objects/Line/Editor.js";
|
|
453
454
|
import "./Sculpt/Objects/Base/Editor.js";
|
|
454
455
|
import "./shared-utils/three/vector3ToArray.js";
|
|
455
456
|
import "./Sculpt/Objects/Point/index.js";
|
|
@@ -481,6 +482,7 @@ import "./Sculpt/Objects/Box/index.js";
|
|
|
481
482
|
import "./Sculpt/Objects/Box/Editor.js";
|
|
482
483
|
import "./Sculpt/Meshes/Box.js";
|
|
483
484
|
import "./shared-utils/forReverseEach.js";
|
|
485
|
+
import "./Sculpt/Objects/Line/index.js";
|
|
484
486
|
import "./ModelMakerPlugin/Controller.js";
|
|
485
487
|
import "./ModelMakerPlugin/item/boxItem.js";
|
|
486
488
|
import "./ModelMakerPlugin/item/polygonItem.js";
|
|
@@ -504,72 +506,72 @@ import "./shared-utils/five/lookObject.js";
|
|
|
504
506
|
r();
|
|
505
507
|
o();
|
|
506
508
|
export {
|
|
507
|
-
|
|
508
|
-
|
|
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
|
-
|
|
509
|
+
Nn as AreaMakerPlugin,
|
|
510
|
+
zn as CSS3DRender,
|
|
511
|
+
yl as CSS3DRenderPlugin,
|
|
512
|
+
on as CameraMovementEffect,
|
|
513
|
+
Xl as CameraMovementPlugin,
|
|
514
|
+
Ga as ContentType,
|
|
515
|
+
On as CruisePlugin,
|
|
516
|
+
Ta as CruisePluginController,
|
|
517
|
+
Ia as CruisePluginTypes,
|
|
518
|
+
kn as CurrentPanoImagePlugin,
|
|
519
|
+
Tn as DIRECTION,
|
|
520
|
+
ea as DISPLAY_STRATEGY_TYPE,
|
|
521
|
+
ba as DimensionType,
|
|
522
|
+
Yl as FLOOR_PLAN_ATTACHED_TO,
|
|
523
|
+
jl as FLOOR_TYPE_MAP,
|
|
524
|
+
ga as GuideLineItem,
|
|
525
|
+
da as GuideLineModeItem,
|
|
526
|
+
Rn as GuideLinePlugin,
|
|
527
|
+
Pa as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
528
|
+
fa as ItemLabelPlugin,
|
|
529
|
+
ma as Magnifier,
|
|
530
|
+
hl as MapviewFloorplanPlugin,
|
|
531
|
+
zl as ModelChassisCompassPlugin,
|
|
532
|
+
Kl as ModelEntryDoorGuidePlugin,
|
|
533
|
+
Vl as ModelFloorplanPlugin,
|
|
534
|
+
na as ModelItemLabelPlugin,
|
|
535
|
+
jn as ModelMakerPlugin,
|
|
536
|
+
bl as ModelRoomLabelPlugin,
|
|
537
|
+
dn as ModelTVVideoPlugin,
|
|
538
|
+
Sl as ModelViewPlugin,
|
|
539
|
+
_a as MoveController,
|
|
540
|
+
yn as MovePlugin,
|
|
541
|
+
Ya as Object3DHelperController,
|
|
542
|
+
bn as Object3DHelperPlugin,
|
|
543
|
+
ca as PLUGIN,
|
|
544
|
+
_l as PaintBrush,
|
|
545
|
+
Il as PaintBrushTypeEnum,
|
|
546
|
+
nn as PanoCompassPlugin,
|
|
547
|
+
Dl as PanoCursorRaycasterPlugin,
|
|
548
|
+
En as PanoDoorLabelPlugin,
|
|
549
|
+
Hl as PanoFloorplanRadarPlugin,
|
|
550
|
+
Pn as PanoMeasurePlugin,
|
|
551
|
+
oa as PanoMeasurePluginLine,
|
|
552
|
+
Kn as PanoMeasurePluginModel,
|
|
553
|
+
Xn as PanoMeasurePluginPoint,
|
|
554
|
+
ta as PanoMeasurePluginPolyline,
|
|
555
|
+
mn as PanoRulerPlugin,
|
|
556
|
+
en as PanoRulerProPlugin,
|
|
557
|
+
fn as PanoSpatialTagPlugin,
|
|
558
|
+
Dn as PanoTagPlugin,
|
|
559
|
+
Sa as PanoTagPluginController,
|
|
560
|
+
Fn as PanoVideoPlugin,
|
|
561
|
+
Na as PanoVideoPluginType,
|
|
562
|
+
cn as PipelinePlugin,
|
|
563
|
+
va as PointType,
|
|
564
|
+
$l as ROOM_FETILE_TYPE_MAP,
|
|
565
|
+
Wl as ROOM_TYPE_MAP,
|
|
566
|
+
rn as Rotation,
|
|
567
|
+
Bn as Sculpt,
|
|
568
|
+
Hn as SculptPlugin,
|
|
569
|
+
wl as TopviewFloorplanPlugin,
|
|
570
|
+
Wn as Util,
|
|
571
|
+
La as WalkController,
|
|
572
|
+
Aa as defaultGlobalConfig,
|
|
573
|
+
Cn as itemLabelPluginServerParams,
|
|
574
|
+
gn as modelItemLabelPluginServerParams,
|
|
575
|
+
vl as modelRoomLabelPluginServerParams,
|
|
576
|
+
Oa as pluginFlag
|
|
575
577
|
};
|
|
@@ -111,7 +111,7 @@ class w extends p {
|
|
|
111
111
|
move(e) {
|
|
112
112
|
if (!this.startInfo)
|
|
113
113
|
return this.dragEnd();
|
|
114
|
-
const { line: t, startVectorProject: o } = this.startInfo, h = this.originObject3D, i = y({
|
|
114
|
+
const { line: t, startVectorProject: o } = this.startInfo, h = this.originObject3D, i = y({ raycaster: e, line: t, clampToLine: !1 }), n = i.clone().sub(o), s = new m.Matrix4();
|
|
115
115
|
s.setPosition(n);
|
|
116
116
|
const r = h.position.clone().applyMatrix4(s);
|
|
117
117
|
this.hooks.emit("wantToMove", r) || (h.applyMatrix4(s), o.copy(i), this.internalHooks.emit("applyObjectPosition", { matrix: s }), this.hooks.emit("move", r));
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
var p = Object.defineProperty;
|
|
2
|
-
var u = (
|
|
3
|
-
var
|
|
2
|
+
var u = (h, r, t) => r in h ? p(h, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[r] = t;
|
|
3
|
+
var l = (h, r, t) => (u(h, typeof r != "symbol" ? r + "" : r, t), t);
|
|
4
4
|
import { BaseController as b } from "../Base/BaseController.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as g from "three";
|
|
6
6
|
import { getMouseRaycaster as P } from "../utils/getMouseRaycaster.js";
|
|
7
7
|
import { rayOnLine as f } from "../../../Sculpt/utils/three/rayOnLine.js";
|
|
8
8
|
class H extends b {
|
|
9
9
|
constructor(...t) {
|
|
10
10
|
super(...t);
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
l(this, "name", "ScaleController");
|
|
12
|
+
l(this, "startInfo");
|
|
13
|
+
l(this, "dragStart", (t) => {
|
|
14
14
|
if (this.isDragging)
|
|
15
15
|
return;
|
|
16
16
|
this.isDragging = !0;
|
|
17
|
-
const { intersect: e } = t,
|
|
18
|
-
|
|
19
|
-
const
|
|
20
|
-
this.startInfo = { line:
|
|
17
|
+
const { intersect: e } = t, a = this.camera.position, o = e.object, i = o.scalePosition.basePosition.clone(), s = o.scalePosition.handlePosition.clone().clone().sub(i).clone(), n = new g.Line3(i, i.clone().add(s.normalize().multiplyScalar(5)));
|
|
18
|
+
n.applyMatrix4(this.helperObject3D.matrixWorld);
|
|
19
|
+
const c = new g.Raycaster(a, e.point.clone().sub(a)), m = f({ raycaster: c, line: n });
|
|
20
|
+
this.startInfo = { line: n, scaleStartPoint: m, draggingObject: o }, this.hooks.emit("scaleStart");
|
|
21
21
|
});
|
|
22
|
-
|
|
22
|
+
l(this, "dragging", (t) => {
|
|
23
23
|
if (!this.isDragging || !this.startInfo)
|
|
24
24
|
return;
|
|
25
25
|
const e = P(this.camera, t, this.container);
|
|
26
26
|
return e ? (this.scale(e), !1) : this.dragEnd();
|
|
27
27
|
});
|
|
28
|
-
|
|
29
|
-
var
|
|
28
|
+
l(this, "scale", (t) => {
|
|
29
|
+
var n, c;
|
|
30
30
|
if (!this.startInfo)
|
|
31
31
|
return;
|
|
32
|
-
const { line: e, scaleStartPoint:
|
|
33
|
-
|
|
34
|
-
ratio:
|
|
35
|
-
intersectPoint:
|
|
32
|
+
const { line: e, scaleStartPoint: a, draggingObject: o } = this.startInfo, { scalePosition: i } = o, { basePosition: d } = i, s = f({ raycaster: t, line: e });
|
|
33
|
+
s.applyMatrix4(new g.Matrix4().getInverse(this.helperObject3D.matrixWorld.clone())), (c = (n = this.config) == null ? void 0 : n.scaleCallback) == null || c.call(n, {
|
|
34
|
+
ratio: s.distanceTo(d) / a.distanceTo(d),
|
|
35
|
+
intersectPoint: s,
|
|
36
36
|
scalePosition: i
|
|
37
|
-
}),
|
|
37
|
+
}), o.position.copy(s.clone());
|
|
38
38
|
});
|
|
39
|
-
|
|
39
|
+
l(this, "dragEnd", () => {
|
|
40
40
|
this.isDragging && (this.startInfo = void 0, this.isDragging = !1, this.internalHooks.emit("initialHelperPosition"), this.hooks.emit("scaleEnd"));
|
|
41
41
|
});
|
|
42
42
|
this.domEvents.addEventListener(this.helperObject3D, "mousedown", this.dragStart), document.addEventListener("mousemove", this.dragging), document.addEventListener("mouseup", this.dragEnd);
|
|
@@ -50,10 +50,10 @@ class H extends b {
|
|
|
50
50
|
t.offHoverListener && t.offHoverListener(), t.offHoverListener = this.hoverListener(this.helperObject3D.scaleMeshes);
|
|
51
51
|
}
|
|
52
52
|
setScale(t) {
|
|
53
|
-
var
|
|
54
|
-
let e = 1,
|
|
55
|
-
typeof t == "number" ? (e = t,
|
|
56
|
-
const i = new
|
|
53
|
+
var s, n, c;
|
|
54
|
+
let e = 1, a = 1, o = 1;
|
|
55
|
+
typeof t == "number" ? (e = t, a = t, o = t) : typeof t == "object" && (e = (s = t.x) != null ? s : 1, a = (n = t.y) != null ? n : 1, o = (c = t.z) != null ? c : 1);
|
|
56
|
+
const i = new g.Vector3(e, a, o);
|
|
57
57
|
this.hooks.emit("wantToScale", i) || (this.originObject3D.scale.copy(i), this.internalHooks.emit("setObjectScale", i), this.hooks.emit("scale", i), this.render());
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -6,30 +6,30 @@ export declare class WorkUtil extends BaseUtil {
|
|
|
6
6
|
private _workCode;
|
|
7
7
|
get fromType(): WorkFromType;
|
|
8
8
|
/**
|
|
9
|
-
* @description
|
|
9
|
+
* @description 设置插件当前的 workCode
|
|
10
10
|
*/
|
|
11
11
|
set workCode(workCode: string);
|
|
12
12
|
/**
|
|
13
|
-
* @description
|
|
13
|
+
* @description 获取插件当前的 workCode
|
|
14
14
|
*/
|
|
15
15
|
get workCode(): string;
|
|
16
16
|
/**
|
|
17
|
-
* @description
|
|
17
|
+
* @description 获取当前的 work
|
|
18
18
|
*/
|
|
19
19
|
get work(): import("@realsee/five").Work;
|
|
20
20
|
get observers(): import("@realsee/five").WorkObserver[];
|
|
21
21
|
get transform(): THREE.Matrix4;
|
|
22
22
|
constructor(five: Five);
|
|
23
23
|
/**
|
|
24
|
-
* @description
|
|
24
|
+
* @description 获取全景点坐标
|
|
25
25
|
*/
|
|
26
26
|
getObserverPosition(observerIndex: number): THREE.Vector3 | undefined;
|
|
27
27
|
/**
|
|
28
|
-
* @description
|
|
28
|
+
* @description 获取全景点位和模型的地面坐标
|
|
29
29
|
*/
|
|
30
30
|
getObserverStandingPosition(observerIndex: number): THREE.Vector3 | undefined;
|
|
31
31
|
/**
|
|
32
|
-
* @description
|
|
32
|
+
* @description 获取observer
|
|
33
33
|
*/
|
|
34
34
|
getObserver(observerIndex: number): import("@realsee/five").WorkObserver;
|
|
35
35
|
}
|
|
@@ -19,27 +19,28 @@ class v extends m {
|
|
|
19
19
|
return n.set(r, o), o;
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
|
-
* @description
|
|
22
|
+
* @description 设置插件当前的 workCode
|
|
23
23
|
*/
|
|
24
24
|
set workCode(r) {
|
|
25
25
|
this._workCode = r;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
* @description
|
|
28
|
+
* @description 获取插件当前的 workCode
|
|
29
29
|
*/
|
|
30
30
|
get workCode() {
|
|
31
31
|
var r;
|
|
32
32
|
return (r = this._workCode) != null ? r : this.five.state.workCode;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
|
-
* @description
|
|
35
|
+
* @description 获取当前的 work
|
|
36
36
|
*/
|
|
37
37
|
get work() {
|
|
38
38
|
var r, o;
|
|
39
39
|
return (o = (r = this.five.works) == null ? void 0 : r.find((t) => t.workCode === this.workCode)) != null ? o : this.five.work;
|
|
40
40
|
}
|
|
41
41
|
get observers() {
|
|
42
|
-
|
|
42
|
+
var r;
|
|
43
|
+
return (r = this.work) == null ? void 0 : r.observers;
|
|
43
44
|
}
|
|
44
45
|
get transform() {
|
|
45
46
|
var o, t, i, w;
|
|
@@ -47,7 +48,7 @@ class v extends m {
|
|
|
47
48
|
return r ? r.clone() : new d.Matrix4();
|
|
48
49
|
}
|
|
49
50
|
/**
|
|
50
|
-
* @description
|
|
51
|
+
* @description 获取全景点坐标
|
|
51
52
|
*/
|
|
52
53
|
getObserverPosition(r) {
|
|
53
54
|
var t;
|
|
@@ -56,7 +57,7 @@ class v extends m {
|
|
|
56
57
|
return a(o, this.transform);
|
|
57
58
|
}
|
|
58
59
|
/**
|
|
59
|
-
* @description
|
|
60
|
+
* @description 获取全景点位和模型的地面坐标
|
|
60
61
|
*/
|
|
61
62
|
getObserverStandingPosition(r) {
|
|
62
63
|
var t;
|
|
@@ -65,7 +66,7 @@ class v extends m {
|
|
|
65
66
|
return a(o, this.transform);
|
|
66
67
|
}
|
|
67
68
|
/**
|
|
68
|
-
* @description
|
|
69
|
+
* @description 获取observer
|
|
69
70
|
*/
|
|
70
71
|
getObserver(r) {
|
|
71
72
|
var o;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.45.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,22 +1,22 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var t = (a, i, e) => (
|
|
4
|
-
import * as
|
|
5
|
-
import { Magnifier as
|
|
6
|
-
import { PointHelper as
|
|
7
|
-
import { Subscribe as
|
|
8
|
-
import { PointHelper2 as
|
|
1
|
+
var f = Object.defineProperty;
|
|
2
|
+
var m = (a, i, e) => i in a ? f(a, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[i] = e;
|
|
3
|
+
var t = (a, i, e) => (m(a, typeof i != "symbol" ? i + "" : i, e), e);
|
|
4
|
+
import * as p from "three";
|
|
5
|
+
import { Magnifier as u } from "../../Magnifier.js";
|
|
6
|
+
import { PointHelper as b } from "./PointHelper.js";
|
|
7
|
+
import { Subscribe as g } from "../../../Subscribe.js";
|
|
8
|
+
import { PointHelper2 as o } from "./PointHelper2.js";
|
|
9
9
|
import "../../THREESphere.js";
|
|
10
10
|
import "animejs";
|
|
11
|
-
class
|
|
11
|
+
class P {
|
|
12
12
|
constructor(i, e) {
|
|
13
13
|
t(this, "five");
|
|
14
|
-
t(this, "hooks", new
|
|
14
|
+
t(this, "hooks", new g());
|
|
15
15
|
t(this, "position");
|
|
16
16
|
t(this, "magnifier", null);
|
|
17
17
|
t(this, "pointHelper", null);
|
|
18
18
|
t(this, "state", { enabled: !1, visible: !0 });
|
|
19
|
-
t(this, "group", new
|
|
19
|
+
t(this, "group", new p.Group());
|
|
20
20
|
t(this, "show", () => {
|
|
21
21
|
var i, e;
|
|
22
22
|
this.state.visible || (this.state.visible = !0, (i = this.pointHelper) == null || i.show(), (e = this.magnifier) == null || e.enable(), this.five.needsRender = !0);
|
|
@@ -38,10 +38,10 @@ class M {
|
|
|
38
38
|
});
|
|
39
39
|
t(this, "abortUpdateMagnifier", () => {
|
|
40
40
|
});
|
|
41
|
-
var s, n, h, l;
|
|
42
|
-
this.five = i, this.magnifier = (e == null ? void 0 : e.magnifier) !== void 0 ? e.magnifier : new
|
|
41
|
+
var s, n, h, l, d;
|
|
42
|
+
this.five = i, this.magnifier = (e == null ? void 0 : e.magnifier) !== void 0 ? e.magnifier : new u(i, (s = e == null ? void 0 : e.magnifierParams) != null ? s : { dragEnabled: !0 });
|
|
43
43
|
let r;
|
|
44
|
-
(e == null ? void 0 : e.pointHelper) === "default" || (e == null ? void 0 : e.pointHelper) === void 0 ? r = new
|
|
44
|
+
(e == null ? void 0 : e.pointHelper) === "default" || (e == null ? void 0 : e.pointHelper) === void 0 ? r = new b(i) : (e == null ? void 0 : e.pointHelper) === "highlight" ? r = new o(i) : r = e.pointHelper, this.pointHelper = r, this.group.name = "five-point-selector", this.five.scene.add(this.group), (d = this.magnifier) == null || d.appendTo((l = (h = e.container) != null ? h : (n = i.getElement()) == null ? void 0 : n.parentElement) != null ? l : document.body);
|
|
45
45
|
}
|
|
46
46
|
enable() {
|
|
47
47
|
var i;
|
|
@@ -56,5 +56,5 @@ class M {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
export {
|
|
59
|
-
|
|
59
|
+
P as PointSelectorHelper
|
|
60
60
|
};
|
package/package.json
CHANGED
|
File without changes
|