@realsee/dnalogel 3.77.6 → 3.77.7

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.
Files changed (113) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/Sculpt/Meshes/Line.d.ts +4 -0
  3. package/dist/index.cjs.js +71 -71
  4. package/dist/index.js +3344 -3325
  5. package/dist/index.umd.js +64 -64
  6. package/dist/shared-utils/five/getFiveFromParentChain.d.ts +7 -0
  7. package/libs/AreaMakerPlugin/Controller.js +3 -2
  8. package/libs/AreaMakerPlugin/index.js +3 -2
  9. package/libs/AreaMakerPlugin/utils/Item.js +3 -2
  10. package/libs/CSS3DRenderPlugin/Controller.js +3 -2
  11. package/libs/CSS3DRenderPlugin/index.js +6 -5
  12. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +39 -38
  13. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +10 -9
  14. package/libs/CruisePlugin/BaseController.js +5 -4
  15. package/libs/CruisePlugin/Move.js +3 -2
  16. package/libs/CruisePlugin/Work.js +3 -2
  17. package/libs/CruisePlugin/index.js +7 -6
  18. package/libs/CurrentPanoImagePlugin/Controller.js +15 -14
  19. package/libs/CurrentPanoImagePlugin/index.js +4 -3
  20. package/libs/GuideLinePlugin/Controller.js +5 -4
  21. package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
  22. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
  23. package/libs/GuideLinePlugin/index.js +7 -6
  24. package/libs/MeasurePlugin/Controller.js +11 -10
  25. package/libs/MeasurePlugin/index.js +5 -4
  26. package/libs/MeasurePlugin/utils/MeasureMesh.js +3 -2
  27. package/libs/ModelChassisCompassPlugin/Plugin.js +4 -3
  28. package/libs/ModelChassisCompassPlugin/index.js +1 -0
  29. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -5
  30. package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
  31. package/libs/ModelMakerPlugin/Controller.js +3 -2
  32. package/libs/ModelMakerPlugin/index.js +3 -2
  33. package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
  34. package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
  35. package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
  36. package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
  37. package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
  38. package/libs/ModelTVVideoPlugin/index.js +3 -2
  39. package/libs/ModelViewPlugin/Plugin.js +20 -19
  40. package/libs/ModelViewPlugin/index.js +1 -0
  41. package/libs/Object3DHelperPlugin/Controller.js +3 -2
  42. package/libs/Object3DHelperPlugin/index.js +6 -5
  43. package/libs/PanoCompassPlugin/Controller.js +3 -2
  44. package/libs/PanoCompassPlugin/index.js +4 -3
  45. package/libs/PanoDoorLabelPlugin/Controller.js +24 -23
  46. package/libs/PanoDoorLabelPlugin/index.js +4 -3
  47. package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
  48. package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
  49. package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
  50. package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
  51. package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
  52. package/libs/PanoMeasurePlugin/Model/area.js +3 -2
  53. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
  54. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -15
  55. package/libs/PanoMeasurePlugin/index.js +14 -13
  56. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
  57. package/libs/PanoRulerProPlugin/Controller.js +3 -2
  58. package/libs/PanoRulerProPlugin/RulerItems.js +42 -41
  59. package/libs/PanoRulerProPlugin/index.js +4 -3
  60. package/libs/PanoSpatialTagPlugin/Plugin.js +34 -33
  61. package/libs/PanoSpatialTagPlugin/index.js +1 -0
  62. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -2
  63. package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -2
  64. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -2
  65. package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -2
  66. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
  67. package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
  68. package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
  69. package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
  70. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -2
  71. package/libs/PanoTagPlugin/controller/Tag/BoxTag.js +3 -2
  72. package/libs/PanoTagPlugin/controller/Tag/MaskTag.js +1 -0
  73. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
  74. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
  75. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
  76. package/libs/PanoTagPlugin/controller/Tag/PolygonTag.js +3 -2
  77. package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
  78. package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
  79. package/libs/PanoTagPlugin/controller/index.js +30 -29
  80. package/libs/PanoTagPlugin/index.js +12 -11
  81. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
  82. package/libs/PanoTagPlugin/utils/tag/format.js +3 -2
  83. package/libs/PanoVideoPlugin/Controller.js +9 -8
  84. package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
  85. package/libs/PanoVideoPlugin/index.js +6 -5
  86. package/libs/PipelinePlugin/Controller.js +3 -2
  87. package/libs/PipelinePlugin/index.js +4 -3
  88. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
  89. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
  90. package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -0
  91. package/libs/Sculpt/Meshes/Line.d.ts +4 -0
  92. package/libs/Sculpt/Meshes/Line.js +85 -76
  93. package/libs/Sculpt/Meshes/Point.js +28 -28
  94. package/libs/Sculpt/Meshes/Polygon.js +43 -43
  95. package/libs/Sculpt/index.js +1 -1
  96. package/libs/Sculpt/utils/Modules/Cursor.js +7 -7
  97. package/libs/base/BasePlugin.js +1 -1
  98. package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -2
  99. package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -3
  100. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
  101. package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
  102. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
  103. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
  104. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
  105. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
  106. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
  107. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
  108. package/libs/index.js +159 -158
  109. package/libs/shared-utils/five/getFiveFromParentChain.d.ts +7 -0
  110. package/libs/shared-utils/five/getFiveFromParentChain.js +15 -0
  111. package/libs/shared-utils/logger.js +1 -1
  112. package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +1 -0
  113. package/package.json +1 -1
@@ -102,6 +102,7 @@ import "../../shared-utils/three/IObject3D.js";
102
102
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
103
103
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
104
104
  import "../../shared-utils/util.js";
105
+ import "../../shared-utils/five/getFiveFromParentChain.js";
105
106
  import "../../shared-utils/three/core/LineGeometry.js";
106
107
  import "../../shared-utils/three/core/LineMaterial.js";
107
108
  import "../../shared-utils/three/core/Line2.js";
@@ -123,7 +124,7 @@ import "../../shared-utils/url/absoluteUrl.js";
123
124
  import "../../shared-utils/isTruelyObject.js";
124
125
  import "../../base/BasePlugin.js";
125
126
  import "../Assets/floorplanExtraObject.js";
126
- class Si extends k {
127
+ class Fi extends k {
127
128
  constructor(t, i) {
128
129
  var o, s;
129
130
  super(t);
@@ -345,5 +346,5 @@ class Si extends k {
345
346
  }
346
347
  }
347
348
  export {
348
- Si as Controller
349
+ Fi as Controller
349
350
  };
@@ -71,6 +71,7 @@ import "../../Sculpt/typings/style.js";
71
71
  import "../../shared-utils/three/IObject3D.js";
72
72
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
73
73
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
74
+ import "../../shared-utils/five/getFiveFromParentChain.js";
74
75
  import "../../shared-utils/three/core/LineGeometry.js";
75
76
  import "../../shared-utils/three/core/LineMaterial.js";
76
77
  import "../../shared-utils/three/core/Line2.js";
@@ -95,8 +96,8 @@ import "../../base/BasePluginWithData.js";
95
96
  import "../../base/BasePlugin.js";
96
97
  import "../utils/formatData.js";
97
98
  import "../Assets/floorplanExtraObject.js";
98
- const Vo = (o, r) => new t(o, r);
99
+ const Wo = (o, r) => new t(o, r);
99
100
  export {
100
- Vo as FloorplanGuidePlugin,
101
- Vo as default
101
+ Wo as FloorplanGuidePlugin,
102
+ Wo as default
102
103
  };
@@ -129,6 +129,7 @@ import "../../shared-utils/three/IObject3D.js";
129
129
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
130
130
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
131
131
  import "../../shared-utils/util.js";
132
+ import "../../shared-utils/five/getFiveFromParentChain.js";
132
133
  import "../../shared-utils/three/core/LineGeometry.js";
133
134
  import "../../shared-utils/three/core/LineMaterial.js";
134
135
  import "../../shared-utils/three/core/Line2.js";
@@ -156,7 +157,7 @@ function Q(l) {
156
157
  const { latitude: h, longitude: t } = l, e = Math.abs(h - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
157
158
  return e && i;
158
159
  }
159
- class pi extends j {
160
+ class ci extends j {
160
161
  constructor(t, e) {
161
162
  var a, m;
162
163
  super(t);
@@ -555,5 +556,5 @@ class pi extends j {
555
556
  }
556
557
  }
557
558
  export {
558
- pi as Controller
559
+ ci as Controller
559
560
  };
@@ -94,6 +94,7 @@ import "../../Sculpt/typings/style.js";
94
94
  import "../../shared-utils/three/IObject3D.js";
95
95
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
96
96
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
97
+ import "../../shared-utils/five/getFiveFromParentChain.js";
97
98
  import "../../shared-utils/three/core/LineGeometry.js";
98
99
  import "../../shared-utils/three/core/LineMaterial.js";
99
100
  import "../../shared-utils/three/core/Line2.js";
@@ -119,8 +120,8 @@ import "../../shared-utils/translateMode/getDistanceFromModel.js";
119
120
  import "../../shared-utils/changeModelCanvasOpacity.js";
120
121
  import "../../shared-utils/url/replace-static-prefix.js";
121
122
  import "../../shared-utils/url/absoluteUrl.js";
122
- const vr = (o, r) => new t(o, r);
123
+ const xr = (o, r) => new t(o, r);
123
124
  export {
124
- vr as MapviewFloorplanPlugin,
125
- vr as default
125
+ xr as MapviewFloorplanPlugin,
126
+ xr as default
126
127
  };
@@ -128,6 +128,7 @@ import "../../shared-utils/three/IObject3D.js";
128
128
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
129
129
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
130
130
  import "../../shared-utils/util.js";
131
+ import "../../shared-utils/five/getFiveFromParentChain.js";
131
132
  import "../../shared-utils/three/core/LineGeometry.js";
132
133
  import "../../shared-utils/three/core/LineMaterial.js";
133
134
  import "../../shared-utils/three/core/Line2.js";
@@ -154,7 +155,7 @@ function B(l) {
154
155
  const { latitude: a, longitude: t } = l, e = Math.abs(a - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
155
156
  return e && i;
156
157
  }
157
- class ii extends k {
158
+ class oi extends k {
158
159
  constructor(t, e) {
159
160
  var n, m, c;
160
161
  super(t);
@@ -516,5 +517,5 @@ class ii extends k {
516
517
  }
517
518
  }
518
519
  export {
519
- ii as Controller
520
+ oi as Controller
520
521
  };
@@ -94,6 +94,7 @@ import "../../Sculpt/typings/style.js";
94
94
  import "../../shared-utils/three/IObject3D.js";
95
95
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
96
96
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
97
+ import "../../shared-utils/five/getFiveFromParentChain.js";
97
98
  import "../../shared-utils/three/core/LineGeometry.js";
98
99
  import "../../shared-utils/three/core/LineMaterial.js";
99
100
  import "../../shared-utils/three/core/Line2.js";
@@ -118,8 +119,8 @@ import "../../shared-utils/translateMode/getDistanceFromModel.js";
118
119
  import "../../shared-utils/changeModelCanvasOpacity.js";
119
120
  import "../../shared-utils/url/replace-static-prefix.js";
120
121
  import "../../shared-utils/url/absoluteUrl.js";
121
- const wr = (o, r) => new t(o, r);
122
+ const xr = (o, r) => new t(o, r);
122
123
  export {
123
- wr as ModelFloorplanPlugin,
124
- wr as default
124
+ xr as ModelFloorplanPlugin,
125
+ xr as default
125
126
  };
@@ -98,6 +98,7 @@ import "../../shared-utils/three/IObject3D.js";
98
98
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
99
99
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
100
100
  import "../../shared-utils/util.js";
101
+ import "../../shared-utils/five/getFiveFromParentChain.js";
101
102
  import "../../shared-utils/three/core/LineGeometry.js";
102
103
  import "../../shared-utils/three/core/LineMaterial.js";
103
104
  import "../../shared-utils/three/core/Line2.js";
@@ -116,7 +117,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
116
117
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
117
118
  import "@realsee/five";
118
119
  import "../../shared-utils/url/absoluteUrl.js";
119
- class di extends O {
120
+ class li extends O {
120
121
  constructor(t, i) {
121
122
  super(t);
122
123
  // =============== public properties =================
@@ -259,5 +260,5 @@ class di extends O {
259
260
  }
260
261
  }
261
262
  export {
262
- di as Controller
263
+ li as Controller
263
264
  };
@@ -68,6 +68,7 @@ import "../../Sculpt/typings/style.js";
68
68
  import "../../shared-utils/three/IObject3D.js";
69
69
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
70
70
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
71
+ import "../../shared-utils/five/getFiveFromParentChain.js";
71
72
  import "../../shared-utils/three/core/LineGeometry.js";
72
73
  import "../../shared-utils/three/core/LineMaterial.js";
73
74
  import "../../shared-utils/three/core/Line2.js";
@@ -88,8 +89,8 @@ import "../utils/formatData.js";
88
89
  import "../Assets/floorplanExtraObject.js";
89
90
  import "../../shared-utils/url/replace-static-prefix.js";
90
91
  import "../../shared-utils/url/absoluteUrl.js";
91
- const Mo = (o, r) => new t(o, r);
92
+ const No = (o, r) => new t(o, r);
92
93
  export {
93
- Mo as PanoFloorplanRadarPlugin,
94
- Mo as default
94
+ No as PanoFloorplanRadarPlugin,
95
+ No as default
95
96
  };
@@ -125,6 +125,7 @@ import "../../shared-utils/three/IObject3D.js";
125
125
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
126
126
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
127
127
  import "../../shared-utils/util.js";
128
+ import "../../shared-utils/five/getFiveFromParentChain.js";
128
129
  import "../../shared-utils/three/core/LineGeometry.js";
129
130
  import "../../shared-utils/three/core/LineMaterial.js";
130
131
  import "../../shared-utils/three/core/Line2.js";
@@ -143,7 +144,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
143
144
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
144
145
  import "@realsee/five";
145
146
  import "../../shared-utils/url/absoluteUrl.js";
146
- class qi extends M {
147
+ class Ji extends M {
147
148
  constructor(t, i) {
148
149
  var h, l;
149
150
  super(t);
@@ -417,5 +418,5 @@ class qi extends M {
417
418
  }
418
419
  }
419
420
  export {
420
- qi as Controller
421
+ Ji as Controller
421
422
  };
@@ -92,6 +92,7 @@ import "../../Sculpt/typings/style.js";
92
92
  import "../../shared-utils/three/IObject3D.js";
93
93
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
94
94
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
95
+ import "../../shared-utils/five/getFiveFromParentChain.js";
95
96
  import "../../shared-utils/three/core/LineGeometry.js";
96
97
  import "../../shared-utils/three/core/LineMaterial.js";
97
98
  import "../../shared-utils/three/core/Line2.js";
@@ -115,8 +116,8 @@ import "../../shared-utils/getPxmm.js";
115
116
  import "../../shared-utils/changeModelCanvasOpacity.js";
116
117
  import "../../shared-utils/url/replace-static-prefix.js";
117
118
  import "../../shared-utils/url/absoluteUrl.js";
118
- const wr = (o, r) => new t(o, r);
119
+ const cr = (o, r) => new t(o, r);
119
120
  export {
120
- wr as TopviewFloorplanPlugin,
121
- wr as default
121
+ cr as TopviewFloorplanPlugin,
122
+ cr as default
122
123
  };
package/libs/index.js CHANGED
@@ -1,78 +1,78 @@
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 Bn } from "./components/PaintBrush/index.js";
4
- import { PaintBrushTypeEnum as Nn } from "./components/PaintBrush/typings.js";
5
- import { ModelViewPlugin as wn } from "./ModelViewPlugin/Plugin.js";
6
- import { CSS3DRenderPlugin as jn } from "./CSS3DRenderPlugin/index.js";
7
- import { PanoCursorRaycasterPlugin as Wn } from "./PanoCursorRaycasterPlugin/index.js";
8
- import { ModelRoomLabelPlugin as zn, modelRoomLabelPluginServerParams as Jn } from "./ModelRoomLabelPlugin/index.js";
9
- import { FLOOR_PLAN_ATTACHED_TO as Qn } from "./floorplan/constant.js";
10
- import { ModelFloorplanPlugin as Zn } from "./floorplan/ModelFloorplanPlugin/index.js";
11
- import { MapviewFloorplanPlugin as ra } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
- import { TopviewFloorplanPlugin as ia } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
- import { PanoFloorplanRadarPlugin as pa } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
- import { FloorplanGuidePlugin as la } from "./floorplan/FloorplanGuidePlugin/index.js";
15
- import { FLOOR_TYPE_MAP as aa, ROOM_FETILE_TYPE_MAP as Pa, ROOM_TYPE_MAP as fa } from "./floorplan/typings/floorplanServerData.js";
16
- import { ModelChassisCompassPlugin as xa } from "./ModelChassisCompassPlugin/Plugin.js";
17
- import { ModelEntryDoorGuidePlugin as sa } from "./ModelEntryDoorGuidePlugin/Plugin.js";
18
- import { CameraMovementPlugin as Ma } from "./CameraMovementPlugin/CameraMovementPlugin.js";
19
- import { CameraMovementEffect as Ca, Rotation as La } from "./CameraMovementPlugin/typing.js";
20
- import { PanoRulerPlugin as ya } from "./PanoRulerPlugin/Plugin.js";
21
- import { PanoRulerProPlugin as _a } from "./PanoRulerProPlugin/index.js";
22
- import { PanoCompassPlugin as Ia } from "./PanoCompassPlugin/index.js";
23
- import { PanoMeasurePlugin as Da } from "./PanoMeasurePlugin/index.js";
24
- import { MeasurePlugin as va } from "./MeasurePlugin/index.js";
25
- import { PanoSpatialTagPlugin as Fa } from "./PanoSpatialTagPlugin/Plugin.js";
26
- import { modelItemLabelPluginServerParams as ba } from "./ModelItemLabelPlugin/index.js";
27
- import { ModelTVVideoPlugin as Va } from "./ModelTVVideoPlugin/Plugin.js";
28
- import { DIRECTION as Ba } from "./ModelTVVideoPlugin/typings.js";
29
- import { itemLabelPluginServerParams as Na } from "./ItemLabelPlugin/index.js";
30
- import { PanoDoorLabelPlugin as wa } from "./PanoDoorLabelPlugin/index.js";
31
- import { GuideLinePlugin as ja } from "./GuideLinePlugin/index.js";
32
- import { CruisePlugin as Wa, MovePlugin as qa } from "./CruisePlugin/index.js";
33
- import { PanoTagPlugin as Ja } from "./PanoTagPlugin/index.js";
34
- import { Object3DHelperPlugin as Qa } from "./Object3DHelperPlugin/index.js";
35
- import { PanoVideoPlugin as Za } from "./PanoVideoPlugin/index.js";
36
- import { PipelinePlugin as rP } from "./PipelinePlugin/index.js";
37
- import { AreaMakerPlugin as iP } from "./AreaMakerPlugin/index.js";
38
- import { CurrentPanoImagePlugin as pP } from "./CurrentPanoImagePlugin/index.js";
39
- import { Sculpt as lP, SculptPlugin as nP, SculptPluginForFive as aP } from "./Sculpt/index.js";
40
- import { ModelMakerPlugin as fP } from "./ModelMakerPlugin/index.js";
41
- import { DigitalPerformancePlugin as xP } from "./DigitalPerformancePlugin/index.js";
42
- import { exports as sP } from "./shared-utils/exports.js";
43
- import { CSS3DRender as MP } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
44
- import { Model as CP } from "./PanoMeasurePlugin/Model/index.js";
45
- import { default as cP } from "./PanoMeasurePlugin/Model/point.js";
46
- import { default as RP } from "./PanoMeasurePlugin/Model/line.js";
47
- import { Polyline as EP } from "./PanoMeasurePlugin/Model/polyline.js";
48
- import { Magnifier as SP } from "./shared-utils/three/Magnifier.js";
49
- import { validatePolygon as OP } from "./MeasurePlugin/utils/validatePolygon.js";
50
- import { DISPLAY_STRATEGY_TYPE as AP } from "./ModelItemLabelPlugin/typings.js";
51
- import { ModelItemLabelPlugin as GP } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
52
- import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as YP } from "./ItemLabelPlugin/typings.js";
53
- import { Plugin as hP } from "./ItemLabelPlugin/Plugin.js";
54
- import { GuideLineItem$1 as HP } from "./GuideLinePlugin/GuideLineItem/index.js";
55
- import { GuideLineModeItem$1 as kP } from "./GuideLinePlugin/GuideLineModeItem/index.js";
56
- import { default as UP, default as jP } from "./CruisePlugin/Work.js";
57
- import { default as WP } from "./CruisePlugin/Move.js";
58
- import { typing as zP } from "./CruisePlugin/typing/index.js";
59
- import { default as KP, pluginFlag as QP } from "./PanoTagPlugin/controller/index.js";
60
- import { defaultGlobalConfig as ZP } from "./PanoTagPlugin/typings/tag/TagConfig.js";
61
- import { ContentType as rf, DimensionType as tf, PointType as mf } from "./PanoTagPlugin/Archive/deprecated.js";
62
- import { Object3DHelperController as ef, PLUGIN as lf } from "./Object3DHelperPlugin/Controller.js";
63
- import { typings as af } from "./PanoVideoPlugin/typings/index.js";
64
- import { createPoint as ff } from "./Sculpt/Objects/Point/index.js";
65
- import { createLine as xf } from "./Sculpt/Objects/Line/index.js";
66
- import { createPolyline as sf } from "./Sculpt/Objects/Polyline/index.js";
67
- import { createPolygon as Mf } from "./Sculpt/Objects/Polygon/index.js";
68
- import { createPrism as Cf } from "./Sculpt/Objects/Prism/index.js";
69
- import { createRectangle as cf } from "./Sculpt/Objects/Rectangle/index.js";
70
- import { createCircle as Rf } from "./Sculpt/Objects/Circle/index.js";
71
- import { createCylinder as Ef } from "./Sculpt/Objects/Cylinder/index.js";
72
- import { createBox as Sf } from "./Sculpt/Objects/Box/index.js";
73
- import { DigitalHuman as Of } from "./DigitalPerformancePlugin/core/DigitalHuman.js";
74
- import { DigitalPlayground as Af } from "./DigitalPerformancePlugin/core/DigitalPlayground.js";
75
- import { DigitalStateMachine as Gf } from "./DigitalPerformancePlugin/core/DigitalStateMachine.js";
3
+ import { PaintBrush as Hn } from "./components/PaintBrush/index.js";
4
+ import { PaintBrushTypeEnum as kn } from "./components/PaintBrush/typings.js";
5
+ import { ModelViewPlugin as Un } from "./ModelViewPlugin/Plugin.js";
6
+ import { CSS3DRenderPlugin as $n } from "./CSS3DRenderPlugin/index.js";
7
+ import { PanoCursorRaycasterPlugin as qn } from "./PanoCursorRaycasterPlugin/index.js";
8
+ import { ModelRoomLabelPlugin as Jn, modelRoomLabelPluginServerParams as Kn } from "./ModelRoomLabelPlugin/index.js";
9
+ import { FLOOR_PLAN_ATTACHED_TO as Xn } from "./floorplan/constant.js";
10
+ import { ModelFloorplanPlugin as oa } from "./floorplan/ModelFloorplanPlugin/index.js";
11
+ import { MapviewFloorplanPlugin as ta } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
+ import { TopviewFloorplanPlugin as ma } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
+ import { PanoFloorplanRadarPlugin as ea } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
+ import { FloorplanGuidePlugin as na } from "./floorplan/FloorplanGuidePlugin/index.js";
15
+ import { FLOOR_TYPE_MAP as Pa, ROOM_FETILE_TYPE_MAP as fa, ROOM_TYPE_MAP as ua } from "./floorplan/typings/floorplanServerData.js";
16
+ import { ModelChassisCompassPlugin as ga } from "./ModelChassisCompassPlugin/Plugin.js";
17
+ import { ModelEntryDoorGuidePlugin as da } from "./ModelEntryDoorGuidePlugin/Plugin.js";
18
+ import { CameraMovementPlugin as Ta } from "./CameraMovementPlugin/CameraMovementPlugin.js";
19
+ import { CameraMovementEffect as La, Rotation as ca } from "./CameraMovementPlugin/typing.js";
20
+ import { PanoRulerPlugin as Ra } from "./PanoRulerPlugin/Plugin.js";
21
+ import { PanoRulerProPlugin as Ea } from "./PanoRulerProPlugin/index.js";
22
+ import { PanoCompassPlugin as Sa } from "./PanoCompassPlugin/index.js";
23
+ import { PanoMeasurePlugin as Oa } from "./PanoMeasurePlugin/index.js";
24
+ import { MeasurePlugin as Aa } from "./MeasurePlugin/index.js";
25
+ import { PanoSpatialTagPlugin as Ga } from "./PanoSpatialTagPlugin/Plugin.js";
26
+ import { modelItemLabelPluginServerParams as Ya } from "./ModelItemLabelPlugin/index.js";
27
+ import { ModelTVVideoPlugin as ha } from "./ModelTVVideoPlugin/Plugin.js";
28
+ import { DIRECTION as Ha } from "./ModelTVVideoPlugin/typings.js";
29
+ import { itemLabelPluginServerParams as ka } from "./ItemLabelPlugin/index.js";
30
+ import { PanoDoorLabelPlugin as Ua } from "./PanoDoorLabelPlugin/index.js";
31
+ import { GuideLinePlugin as $a } from "./GuideLinePlugin/index.js";
32
+ import { CruisePlugin as qa, MovePlugin as za } from "./CruisePlugin/index.js";
33
+ import { PanoTagPlugin as Ka } from "./PanoTagPlugin/index.js";
34
+ import { Object3DHelperPlugin as Xa } from "./Object3DHelperPlugin/index.js";
35
+ import { PanoVideoPlugin as oP } from "./PanoVideoPlugin/index.js";
36
+ import { PipelinePlugin as tP } from "./PipelinePlugin/index.js";
37
+ import { AreaMakerPlugin as mP } from "./AreaMakerPlugin/index.js";
38
+ import { CurrentPanoImagePlugin as eP } from "./CurrentPanoImagePlugin/index.js";
39
+ import { Sculpt as nP, SculptPlugin as aP, SculptPluginForFive as PP } from "./Sculpt/index.js";
40
+ import { ModelMakerPlugin as uP } from "./ModelMakerPlugin/index.js";
41
+ import { DigitalPerformancePlugin as gP } from "./DigitalPerformancePlugin/index.js";
42
+ import { exports as dP } from "./shared-utils/exports.js";
43
+ import { CSS3DRender as TP } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
44
+ import { Model as LP } from "./PanoMeasurePlugin/Model/index.js";
45
+ import { default as yP } from "./PanoMeasurePlugin/Model/point.js";
46
+ import { default as _P } from "./PanoMeasurePlugin/Model/line.js";
47
+ import { Polyline as IP } from "./PanoMeasurePlugin/Model/polyline.js";
48
+ import { Magnifier as DP } from "./shared-utils/three/Magnifier.js";
49
+ import { validatePolygon as vP } from "./MeasurePlugin/utils/validatePolygon.js";
50
+ import { DISPLAY_STRATEGY_TYPE as FP } from "./ModelItemLabelPlugin/typings.js";
51
+ import { ModelItemLabelPlugin as bP } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
52
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as VP } from "./ItemLabelPlugin/typings.js";
53
+ import { Plugin as BP } from "./ItemLabelPlugin/Plugin.js";
54
+ import { GuideLineItem$1 as NP } from "./GuideLinePlugin/GuideLineItem/index.js";
55
+ import { GuideLineModeItem$1 as wP } from "./GuideLinePlugin/GuideLineModeItem/index.js";
56
+ import { default as jP, default as $P } from "./CruisePlugin/Work.js";
57
+ import { default as qP } from "./CruisePlugin/Move.js";
58
+ import { typing as JP } from "./CruisePlugin/typing/index.js";
59
+ import { default as QP, pluginFlag as XP } from "./PanoTagPlugin/controller/index.js";
60
+ import { defaultGlobalConfig as of } from "./PanoTagPlugin/typings/tag/TagConfig.js";
61
+ import { ContentType as tf, DimensionType as mf, PointType as pf } from "./PanoTagPlugin/Archive/deprecated.js";
62
+ import { Object3DHelperController as lf, PLUGIN as nf } from "./Object3DHelperPlugin/Controller.js";
63
+ import { typings as Pf } from "./PanoVideoPlugin/typings/index.js";
64
+ import { createPoint as uf } from "./Sculpt/Objects/Point/index.js";
65
+ import { createLine as gf } from "./Sculpt/Objects/Line/index.js";
66
+ import { createPolyline as df } from "./Sculpt/Objects/Polyline/index.js";
67
+ import { createPolygon as Tf } from "./Sculpt/Objects/Polygon/index.js";
68
+ import { createPrism as Lf } from "./Sculpt/Objects/Prism/index.js";
69
+ import { createRectangle as yf } from "./Sculpt/Objects/Rectangle/index.js";
70
+ import { createCircle as _f } from "./Sculpt/Objects/Circle/index.js";
71
+ import { createCylinder as If } from "./Sculpt/Objects/Cylinder/index.js";
72
+ import { createBox as Df } from "./Sculpt/Objects/Box/index.js";
73
+ import { DigitalHuman as vf } from "./DigitalPerformancePlugin/core/DigitalHuman.js";
74
+ import { DigitalPlayground as Ff } from "./DigitalPerformancePlugin/core/DigitalPlayground.js";
75
+ import { DigitalStateMachine as bf } from "./DigitalPerformancePlugin/core/DigitalStateMachine.js";
76
76
  import "./components/PaintBrush/Controller.js";
77
77
  import "./components/PaintBrush/utils.js";
78
78
  import "./components/PaintBrush/tween.js";
@@ -128,6 +128,7 @@ import "./Sculpt/typings/style.js";
128
128
  import "./shared-utils/three/IObject3D.js";
129
129
  import "./Sculpt/utils/Meshes/getLengthHTML.js";
130
130
  import "./shared-utils/three/applyObjectMatrixWorld.js";
131
+ import "./shared-utils/five/getFiveFromParentChain.js";
131
132
  import "./shared-utils/three/core/LineGeometry.js";
132
133
  import "./shared-utils/three/core/LineMaterial.js";
133
134
  import "./shared-utils/three/core/Line2.js";
@@ -592,89 +593,89 @@ import "./shared-utils/five/lookObject.js";
592
593
  r();
593
594
  o();
594
595
  export {
595
- iP as AreaMakerPlugin,
596
- MP as CSS3DRender,
597
- jn as CSS3DRenderPlugin,
598
- Ca as CameraMovementEffect,
599
- Ma as CameraMovementPlugin,
600
- rf as ContentType,
601
- Wa as CruisePlugin,
602
- UP as CruisePluginController,
603
- zP as CruisePluginTypes,
604
- pP as CurrentPanoImagePlugin,
605
- Ba as DIRECTION,
606
- AP as DISPLAY_STRATEGY_TYPE,
607
- Of as DigitalHuman,
608
- xP as DigitalPerformancePlugin,
609
- Af as DigitalPlayground,
610
- Gf as DigitalStateMachine,
611
- tf as DimensionType,
612
- Qn as FLOOR_PLAN_ATTACHED_TO,
613
- aa as FLOOR_TYPE_MAP,
614
- la as FloorplanGuidePlugin,
615
- HP as GuideLineItem,
616
- kP as GuideLineModeItem,
617
- ja as GuideLinePlugin,
618
- YP as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
619
- hP as ItemLabelPlugin,
620
- SP as Magnifier,
621
- ra as MapviewFloorplanPlugin,
622
- va as MeasurePlugin,
623
- xa as ModelChassisCompassPlugin,
624
- sa as ModelEntryDoorGuidePlugin,
625
- Zn as ModelFloorplanPlugin,
626
- GP as ModelItemLabelPlugin,
627
- fP as ModelMakerPlugin,
628
- zn as ModelRoomLabelPlugin,
629
- Va as ModelTVVideoPlugin,
630
- wn as ModelViewPlugin,
631
- WP as MoveController,
632
- qa as MovePlugin,
633
- ef as Object3DHelperController,
634
- Qa as Object3DHelperPlugin,
635
- lf as PLUGIN,
636
- Bn as PaintBrush,
637
- Nn as PaintBrushTypeEnum,
638
- Ia as PanoCompassPlugin,
639
- Wn as PanoCursorRaycasterPlugin,
640
- wa as PanoDoorLabelPlugin,
641
- pa as PanoFloorplanRadarPlugin,
642
- Da as PanoMeasurePlugin,
643
- RP as PanoMeasurePluginLine,
644
- CP as PanoMeasurePluginModel,
645
- cP as PanoMeasurePluginPoint,
646
- EP as PanoMeasurePluginPolyline,
647
- ya as PanoRulerPlugin,
648
- _a as PanoRulerProPlugin,
649
- Fa as PanoSpatialTagPlugin,
650
- Ja as PanoTagPlugin,
651
- KP as PanoTagPluginController,
652
- Za as PanoVideoPlugin,
653
- af as PanoVideoPluginType,
654
- rP as PipelinePlugin,
655
- mf as PointType,
656
- Pa as ROOM_FETILE_TYPE_MAP,
657
- fa as ROOM_TYPE_MAP,
658
- La as Rotation,
659
- lP as Sculpt,
660
- nP as SculptPlugin,
661
- aP as SculptPluginForFive,
662
- ia as TopviewFloorplanPlugin,
663
- sP as Util,
664
- jP as WalkController,
665
- Sf as createBox,
666
- Rf as createCircle,
667
- Ef as createCylinder,
668
- xf as createLine,
669
- ff as createPoint,
670
- Mf as createPolygon,
671
- sf as createPolyline,
672
- Cf as createPrism,
673
- cf as createRectangle,
674
- ZP as defaultGlobalConfig,
675
- Na as itemLabelPluginServerParams,
676
- ba as modelItemLabelPluginServerParams,
677
- Jn as modelRoomLabelPluginServerParams,
678
- QP as pluginFlag,
679
- OP as validatePolygon
596
+ mP as AreaMakerPlugin,
597
+ TP as CSS3DRender,
598
+ $n as CSS3DRenderPlugin,
599
+ La as CameraMovementEffect,
600
+ Ta as CameraMovementPlugin,
601
+ tf as ContentType,
602
+ qa as CruisePlugin,
603
+ jP as CruisePluginController,
604
+ JP as CruisePluginTypes,
605
+ eP as CurrentPanoImagePlugin,
606
+ Ha as DIRECTION,
607
+ FP as DISPLAY_STRATEGY_TYPE,
608
+ vf as DigitalHuman,
609
+ gP as DigitalPerformancePlugin,
610
+ Ff as DigitalPlayground,
611
+ bf as DigitalStateMachine,
612
+ mf as DimensionType,
613
+ Xn as FLOOR_PLAN_ATTACHED_TO,
614
+ Pa as FLOOR_TYPE_MAP,
615
+ na as FloorplanGuidePlugin,
616
+ NP as GuideLineItem,
617
+ wP as GuideLineModeItem,
618
+ $a as GuideLinePlugin,
619
+ VP as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
620
+ BP as ItemLabelPlugin,
621
+ DP as Magnifier,
622
+ ta as MapviewFloorplanPlugin,
623
+ Aa as MeasurePlugin,
624
+ ga as ModelChassisCompassPlugin,
625
+ da as ModelEntryDoorGuidePlugin,
626
+ oa as ModelFloorplanPlugin,
627
+ bP as ModelItemLabelPlugin,
628
+ uP as ModelMakerPlugin,
629
+ Jn as ModelRoomLabelPlugin,
630
+ ha as ModelTVVideoPlugin,
631
+ Un as ModelViewPlugin,
632
+ qP as MoveController,
633
+ za as MovePlugin,
634
+ lf as Object3DHelperController,
635
+ Xa as Object3DHelperPlugin,
636
+ nf as PLUGIN,
637
+ Hn as PaintBrush,
638
+ kn as PaintBrushTypeEnum,
639
+ Sa as PanoCompassPlugin,
640
+ qn as PanoCursorRaycasterPlugin,
641
+ Ua as PanoDoorLabelPlugin,
642
+ ea as PanoFloorplanRadarPlugin,
643
+ Oa as PanoMeasurePlugin,
644
+ _P as PanoMeasurePluginLine,
645
+ LP as PanoMeasurePluginModel,
646
+ yP as PanoMeasurePluginPoint,
647
+ IP as PanoMeasurePluginPolyline,
648
+ Ra as PanoRulerPlugin,
649
+ Ea as PanoRulerProPlugin,
650
+ Ga as PanoSpatialTagPlugin,
651
+ Ka as PanoTagPlugin,
652
+ QP as PanoTagPluginController,
653
+ oP as PanoVideoPlugin,
654
+ Pf as PanoVideoPluginType,
655
+ tP as PipelinePlugin,
656
+ pf as PointType,
657
+ fa as ROOM_FETILE_TYPE_MAP,
658
+ ua as ROOM_TYPE_MAP,
659
+ ca as Rotation,
660
+ nP as Sculpt,
661
+ aP as SculptPlugin,
662
+ PP as SculptPluginForFive,
663
+ ma as TopviewFloorplanPlugin,
664
+ dP as Util,
665
+ $P as WalkController,
666
+ Df as createBox,
667
+ _f as createCircle,
668
+ If as createCylinder,
669
+ gf as createLine,
670
+ uf as createPoint,
671
+ Tf as createPolygon,
672
+ df as createPolyline,
673
+ Lf as createPrism,
674
+ yf as createRectangle,
675
+ of as defaultGlobalConfig,
676
+ ka as itemLabelPluginServerParams,
677
+ Ya as modelItemLabelPluginServerParams,
678
+ Kn as modelRoomLabelPluginServerParams,
679
+ XP as pluginFlag,
680
+ vP as validatePolygon
680
681
  };
@@ -0,0 +1,7 @@
1
+ import type { Five } from '@realsee/five';
2
+ import type { Object3D } from 'three';
3
+ /**
4
+ * 从 Object3D 的父级链向上遍历,查找 __five__ 或 __sculpt__.five
5
+ * 用于在场景树中正确获取渲染该对象的 Five 实例
6
+ */
7
+ export declare function getFiveFromParentChain(object: Object3D): Five | undefined;
@@ -0,0 +1,15 @@
1
+ function n(i) {
2
+ let e = i;
3
+ for (; e; ) {
4
+ const t = e.__five__;
5
+ if (t)
6
+ return t;
7
+ const r = e.__sculpt__;
8
+ if (r != null && r.five)
9
+ return r.five;
10
+ e = e.parent;
11
+ }
12
+ }
13
+ export {
14
+ n as getFiveFromParentChain
15
+ };
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.77.6",
3
+ "%c %c@realsee/dnalogel %cv3.77.7",
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.77.6",
3
+ "version": "3.77.7",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",