@realsee/dnalogel 3.50.14 → 3.50.15-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.
Files changed (110) hide show
  1. package/README.md +116 -0
  2. package/dist/Sculpt/Objects/Base/index.d.ts +1 -1
  3. package/dist/Sculpt/index.d.ts +4 -4
  4. package/dist/index.cjs.js +262 -262
  5. package/dist/index.js +4235 -4231
  6. package/dist/index.umd.js +263 -263
  7. package/dist/shared-utils/five/index.d.ts +2 -0
  8. package/dist/shared-utils/tag.d.ts +1 -1
  9. package/dist/shared-utils/three/index.d.ts +1 -0
  10. package/libs/AreaMakerPlugin/Controller.js +104 -74
  11. package/libs/AreaMakerPlugin/index.js +33 -3
  12. package/libs/AreaMakerPlugin/utils/Item.js +66 -36
  13. package/libs/CSS3DRenderPlugin/Controller.js +39 -19
  14. package/libs/CSS3DRenderPlugin/index.js +34 -14
  15. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +60 -35
  16. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +98 -78
  17. package/libs/CruisePlugin/BaseController.js +59 -29
  18. package/libs/CruisePlugin/Move.js +33 -14
  19. package/libs/CruisePlugin/Work.js +66 -47
  20. package/libs/CruisePlugin/index.js +38 -19
  21. package/libs/CurrentPanoImagePlugin/Controller.js +68 -38
  22. package/libs/CurrentPanoImagePlugin/index.js +34 -4
  23. package/libs/GuideLinePlugin/Controller.js +69 -50
  24. package/libs/GuideLinePlugin/GuideLineItem.js +34 -15
  25. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
  26. package/libs/GuideLinePlugin/GuideLineModeItem.js +34 -15
  27. package/libs/GuideLinePlugin/index.js +38 -19
  28. package/libs/ModelMakerPlugin/Controller.js +60 -42
  29. package/libs/ModelMakerPlugin/index.js +34 -16
  30. package/libs/ModelTVVideoPlugin/Plugin.js +48 -28
  31. package/libs/ModelTVVideoPlugin/index.js +24 -4
  32. package/libs/Object3DHelperPlugin/Controller.js +49 -30
  33. package/libs/Object3DHelperPlugin/index.js +36 -17
  34. package/libs/PanoCompassPlugin/Controller.js +33 -13
  35. package/libs/PanoCompassPlugin/index.js +34 -14
  36. package/libs/PanoDoorLabelPlugin/BaseController.js +55 -25
  37. package/libs/PanoDoorLabelPlugin/Controller.js +99 -69
  38. package/libs/PanoDoorLabelPlugin/index.js +34 -4
  39. package/libs/PanoMeasurePlugin/Components/Controller0.js +8 -8
  40. package/libs/PanoMeasurePlugin/Components/Controller1.js +8 -8
  41. package/libs/PanoMeasurePlugin/Controller/WatchController.js +75 -49
  42. package/libs/PanoMeasurePlugin/Controller/index.js +16 -16
  43. package/libs/PanoMeasurePlugin/Model/area.js +41 -15
  44. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +29 -0
  45. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +8 -8
  46. package/libs/PanoMeasurePlugin/index.js +3 -3
  47. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +43 -15
  48. package/libs/PanoRulerProPlugin/Controller.js +60 -30
  49. package/libs/PanoRulerProPlugin/RulerItems.js +85 -55
  50. package/libs/PanoRulerProPlugin/index.js +33 -3
  51. package/libs/PanoSpatialTagPlugin/Plugin.js +54 -34
  52. package/libs/PanoSpatialTagPlugin/index.js +22 -2
  53. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +79 -49
  54. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +235 -206
  55. package/libs/PanoTagPlugin/Components/Tag/index.js +152 -125
  56. package/libs/PanoTagPlugin/Components/TagContainer.js +97 -70
  57. package/libs/PanoTagPlugin/Components/TagItem.js +31 -4
  58. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +29 -2
  59. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +55 -28
  60. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +53 -26
  61. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +54 -27
  62. package/libs/PanoTagPlugin/controller/TagRender.js +48 -29
  63. package/libs/PanoTagPlugin/controller/TagUtil.js +33 -14
  64. package/libs/PanoTagPlugin/controller/index.js +49 -30
  65. package/libs/PanoTagPlugin/index.js +41 -22
  66. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +59 -29
  67. package/libs/PanoVideoPlugin/Controller.js +91 -61
  68. package/libs/PanoVideoPlugin/VideoMeshController.js +56 -26
  69. package/libs/PanoVideoPlugin/index.js +36 -6
  70. package/libs/PipelinePlugin/Controller.js +80 -51
  71. package/libs/PipelinePlugin/index.js +34 -5
  72. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +44 -14
  73. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +43 -13
  74. package/libs/PipelinePlugin/utils/Objects/Pipe.js +61 -31
  75. package/libs/Sculpt/Meshes/Box.js +3 -2
  76. package/libs/Sculpt/Meshes/Cylinder.js +3 -2
  77. package/libs/Sculpt/Meshes/Line.js +9 -8
  78. package/libs/Sculpt/Meshes/LineWithDots.js +8 -7
  79. package/libs/Sculpt/Meshes/Point.js +3 -2
  80. package/libs/Sculpt/Meshes/Polygon.js +3 -2
  81. package/libs/Sculpt/Meshes/Prism.js +9 -8
  82. package/libs/Sculpt/Meshes/Rectangle.js +3 -2
  83. package/libs/Sculpt/Objects/Base/index.d.ts +1 -1
  84. package/libs/Sculpt/Objects/Line/Editor.js +7 -6
  85. package/libs/Sculpt/index.d.ts +4 -4
  86. package/libs/Sculpt/index.js +3 -2
  87. package/libs/Sculpt/utils/three/ColoredMesh.js +6 -5
  88. package/libs/base/BasePlugin.js +4 -3
  89. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +89 -60
  90. package/libs/floorplan/MapviewFloorplanPlugin/index.js +34 -5
  91. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +79 -50
  92. package/libs/floorplan/ModelFloorplanPlugin/index.js +34 -5
  93. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +68 -38
  94. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +34 -4
  95. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +104 -75
  96. package/libs/floorplan/TopviewFloorplanPlugin/index.js +34 -5
  97. package/libs/floorplan/index.js +1 -0
  98. package/libs/index.js +28 -28
  99. package/libs/shared-utils/five/fiveModelLoad.js +1 -0
  100. package/libs/shared-utils/five/index.d.ts +2 -0
  101. package/libs/shared-utils/five/index.js +3 -2
  102. package/libs/shared-utils/five/lookObject.js +3 -2
  103. package/libs/shared-utils/index.js +42 -35
  104. package/libs/shared-utils/logger.js +1 -1
  105. package/libs/shared-utils/tag.d.ts +1 -1
  106. package/libs/shared-utils/tag.js +41 -41
  107. package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -2
  108. package/libs/shared-utils/three/index.d.ts +1 -0
  109. package/libs/shared-utils/three/index.js +1 -0
  110. package/package.json +1 -1
@@ -1,30 +1,30 @@
1
1
  var x = Object.defineProperty;
2
2
  var P = Object.getOwnPropertySymbols;
3
3
  var I = Object.prototype.hasOwnProperty, W = Object.prototype.propertyIsEnumerable;
4
- var S = (l, o, e) => o in l ? x(l, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[o] = e, n = (l, o) => {
4
+ var S = (p, o, e) => o in p ? x(p, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[o] = e, n = (p, o) => {
5
5
  for (var e in o || (o = {}))
6
- I.call(o, e) && S(l, e, o[e]);
6
+ I.call(o, e) && S(p, e, o[e]);
7
7
  if (P)
8
8
  for (var e of P(o))
9
- W.call(o, e) && S(l, e, o[e]);
10
- return l;
9
+ W.call(o, e) && S(p, e, o[e]);
10
+ return p;
11
11
  };
12
- var f = (l, o, e) => (S(l, typeof o != "symbol" ? o + "" : o, e), e);
13
- var g = (l, o, e) => new Promise((t, r) => {
12
+ var f = (p, o, e) => (S(p, typeof o != "symbol" ? o + "" : o, e), e);
13
+ var g = (p, o, e) => new Promise((t, r) => {
14
14
  var s = (h) => {
15
15
  try {
16
16
  b(e.next(h));
17
- } catch (p) {
18
- r(p);
17
+ } catch (l) {
18
+ r(l);
19
19
  }
20
20
  }, d = (h) => {
21
21
  try {
22
22
  b(e.throw(h));
23
- } catch (p) {
24
- r(p);
23
+ } catch (l) {
24
+ r(l);
25
25
  }
26
26
  }, b = (h) => h.done ? t(h.value) : Promise.resolve(h.value).then(s, d);
27
- b((e = e.apply(l, o)).next());
27
+ b((e = e.apply(p, o)).next());
28
28
  });
29
29
  import { Controller as L } from "../base/BasePlugin.js";
30
30
  import "three";
@@ -56,17 +56,46 @@ import "../shared-utils/five/transformPosition.js";
56
56
  import "../shared-utils/three/temp.js";
57
57
  import "../shared-utils/dom/resizeObserver.js";
58
58
  import "hammerjs";
59
+ import "../shared-utils/three/PointSelector/index.js";
60
+ import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
61
+ import "../shared-utils/three/Magnifier.js";
62
+ import "../shared-utils/three/PointSelector/utils/PointHelper.js";
63
+ import "../shared-utils/three/Assets/index.js";
64
+ import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
59
65
  import "three/examples/jsm/renderers/CSS3DRenderer";
66
+ import "../CSS3DRenderPlugin/utils/even.js";
67
+ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
68
+ import "../shared-utils/three/centerPoint.js";
69
+ import "../shared-utils/three/getObjectVisible.js";
60
70
  import "@realsee/five/line";
61
71
  import "../vendor/three/examples/jsm/lines/LineGeometry.js";
62
72
  import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
63
73
  import "../vendor/three/build/three.module.js";
64
74
  import "animejs";
65
- import "../shared-utils/url/absoluteUrl.js";
75
+ import "../shared-utils/isNil.js";
66
76
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
77
+ import "../shared-utils/three/PointSelector/utils/html.js";
78
+ import "../shared-utils/five/initialCSS3DRender.js";
79
+ import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
80
+ import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
81
+ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
82
+ import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
83
+ import "../Sculpt/Meshes/Line.js";
84
+ import "../Sculpt/typings/style.js";
85
+ import "../shared-utils/five/FiveLine.js";
86
+ import "../shared-utils/three/IObject3D.js";
87
+ import "../Sculpt/utils/removeAllTag.js";
88
+ import "../Sculpt/utils/Meshes/getLengthHTML.js";
89
+ import "../shared-utils/three/applyObjectMatrixWorld.js";
90
+ import "../shared-utils/util.js";
91
+ import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
92
+ import "../shared-utils/isTouchDevice.js";
93
+ import "../shared-utils/five/getPosition.js";
94
+ import "../shared-utils/five/getRaycasterByNdcPosition.js";
95
+ import "../shared-utils/three/PointSelector/utils/contents.js";
96
+ import "../shared-utils/url/absoluteUrl.js";
67
97
  import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
68
98
  import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
69
- import "../shared-utils/three/IObject3D.js";
70
99
  import "../shared-utils/three/boundingBox.js";
71
100
  import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
72
101
  import "../shared-utils/Object3DHelper/utils/direction.js";
@@ -77,8 +106,6 @@ import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
77
106
  import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
78
107
  import "../shared-utils/Object3DHelper/Base/BaseController.js";
79
108
  import "../shared-utils/threex/domevents/index.js";
80
- import "../shared-utils/isNil.js";
81
- import "../shared-utils/util.js";
82
109
  import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
83
110
  import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
84
111
  import "../Sculpt/utils/three/rayOnLine.js";
@@ -86,14 +113,6 @@ import "../shared-utils/math/rad2Deg.js";
86
113
  import "../shared-utils/math/deg2Rad.js";
87
114
  import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
88
115
  import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
89
- import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
90
- import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
91
- import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
92
- import "../CSS3DRenderPlugin/utils/even.js";
93
- import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
94
- import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
95
- import "../shared-utils/three/centerPoint.js";
96
- import "../shared-utils/three/getObjectVisible.js";
97
116
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
98
117
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
99
118
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
@@ -104,7 +123,7 @@ const w = "Object3DHelperPlugin", D = w, X = () => {
104
123
  }, Z = () => {
105
124
  console.error(`${D} is disabled`);
106
125
  };
107
- class Hr extends L {
126
+ class _r extends L {
108
127
  constructor(e) {
109
128
  super(e);
110
129
  f(this, "name", w);
@@ -180,22 +199,22 @@ class Hr extends L {
180
199
  console.warn(`Object3DHelperPlugin: object3D ${e.name} is already has helper`);
181
200
  return;
182
201
  }
183
- const r = new N(), s = [], d = (M = this.five.getElement()) == null ? void 0 : M.parentElement, b = this.five.camera, p = n(n({}, {
202
+ const r = new N(), s = [], d = (M = this.five.getElement()) == null ? void 0 : M.parentElement, b = this.five.camera, l = n(n({}, {
184
203
  moveHelper: !0,
185
204
  rotateHelper: !0,
186
205
  scaleHelper: !0,
187
206
  boundingBoxHelper: !1,
188
207
  positionFrom: "objectPosition"
189
- }), t), { moveHelper: y, rotateHelper: B, scaleHelper: j, boundingBoxHelper: k } = p, u = new R(), v = new R(), C = (i) => {
208
+ }), t), { moveHelper: y, rotateHelper: B, scaleHelper: j, boundingBoxHelper: k } = l, u = new R(), v = new R(), C = (i) => {
190
209
  if (i)
191
210
  return typeof i == "boolean" ? i : i.enable;
192
211
  };
193
212
  if (C(y)) {
194
- const i = n(n({}, this.getConfig(p.moveHelper)), p), m = new _(e, n({}, i)), a = new H(this.five, U, e, m, i, u, v);
213
+ const i = n(n({}, this.getConfig(l.moveHelper)), l), m = new _(e, n({}, i)), a = new H(this.five, U, e, m, i, u, v);
195
214
  r.addControllers({ moveController: a.helperController }), s.push(() => a.dispose());
196
215
  }
197
216
  if (C(B)) {
198
- const i = n(n({}, this.getConfig(p.rotateHelper)), p), m = new $(e, n({ container: d }, i)), a = new H(this.five, V, e, m, i, u, v);
217
+ const i = n(n({}, this.getConfig(l.rotateHelper)), l), m = new $(e, n({ container: d }, i)), a = new H(this.five, V, e, m, i, u, v);
199
218
  r.addControllers({ rotateController: a.helperController }), s.push(() => a.dispose());
200
219
  }
201
220
  if (C(k)) {
@@ -232,7 +251,7 @@ class Hr extends L {
232
251
  }
233
252
  });
234
253
  } else {
235
- const i = n(n({}, this.getConfig(p.scaleHelper)), p), m = new K(e, i), a = new H(this.five, Q, e, m, i, u, v);
254
+ const i = n(n({}, this.getConfig(l.scaleHelper)), l), m = new K(e, i), a = new H(this.five, Q, e, m, i, u, v);
236
255
  r.addControllers({ scaleController: a.helperController }), s.push(() => a.dispose());
237
256
  }
238
257
  return this.objectHelperMap.set(e, { helper: r, disposers: s }), r.controllers;
@@ -276,6 +295,6 @@ class Hr extends L {
276
295
  }
277
296
  }
278
297
  export {
279
- Hr as Object3DHelperController,
298
+ _r as Object3DHelperController,
280
299
  D as PLUGIN
281
300
  };
@@ -1,5 +1,5 @@
1
1
  import { Object3DHelperController as o } from "./Controller.js";
2
- import { PLUGIN as wr } from "./Controller.js";
2
+ import { PLUGIN as Mr } from "./Controller.js";
3
3
  import "../base/BasePlugin.js";
4
4
  import "../shared-utils/Subscribe.js";
5
5
  import "../shared-utils/tag.js";
@@ -14,37 +14,56 @@ import "../shared-utils/five/transformPosition.js";
14
14
  import "../shared-utils/three/temp.js";
15
15
  import "../shared-utils/dom/resizeObserver.js";
16
16
  import "hammerjs";
17
+ import "../shared-utils/three/PointSelector/index.js";
18
+ import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
19
+ import "../shared-utils/three/Magnifier.js";
20
+ import "../shared-utils/three/PointSelector/utils/PointHelper.js";
21
+ import "../shared-utils/three/Assets/index.js";
22
+ import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
17
23
  import "three/examples/jsm/renderers/CSS3DRenderer";
24
+ import "../CSS3DRenderPlugin/utils/even.js";
25
+ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
26
+ import "../shared-utils/three/centerPoint.js";
27
+ import "../shared-utils/three/getObjectVisible.js";
18
28
  import "@realsee/five/line";
19
29
  import "../vendor/three/examples/jsm/lines/LineGeometry.js";
20
30
  import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
21
31
  import "../vendor/three/build/three.module.js";
22
32
  import "../shared-utils/three/core/Sphere.js";
23
33
  import "animejs";
24
- import "../shared-utils/url/absoluteUrl.js";
34
+ import "../shared-utils/isNil.js";
25
35
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
36
+ import "../shared-utils/three/PointSelector/utils/html.js";
37
+ import "../shared-utils/five/initialCSS3DRender.js";
38
+ import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
39
+ import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
40
+ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
41
+ import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
42
+ import "../Sculpt/Meshes/Line.js";
43
+ import "../Sculpt/typings/style.js";
44
+ import "../shared-utils/five/FiveLine.js";
45
+ import "../shared-utils/three/IObject3D.js";
46
+ import "../Sculpt/utils/removeAllTag.js";
47
+ import "../Sculpt/utils/Meshes/getLengthHTML.js";
48
+ import "../shared-utils/three/applyObjectMatrixWorld.js";
49
+ import "../shared-utils/util.js";
50
+ import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
51
+ import "../shared-utils/isTouchDevice.js";
52
+ import "../shared-utils/five/getPosition.js";
53
+ import "../shared-utils/five/getRaycasterByNdcPosition.js";
54
+ import "../shared-utils/three/PointSelector/utils/contents.js";
55
+ import "../shared-utils/url/absoluteUrl.js";
26
56
  import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
27
57
  import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
28
58
  import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
29
- import "../shared-utils/three/IObject3D.js";
30
59
  import "../shared-utils/three/boundingBox.js";
31
60
  import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
32
61
  import "../shared-utils/Object3DHelper/utils/direction.js";
33
62
  import "../shared-utils/Object3DHelper/Constants/color.js";
34
63
  import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
35
64
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
36
- import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
37
- import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
38
- import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
39
- import "../CSS3DRenderPlugin/utils/even.js";
40
- import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
41
- import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
42
- import "../shared-utils/three/centerPoint.js";
43
- import "../shared-utils/three/getObjectVisible.js";
44
- import "../shared-utils/isNil.js";
45
65
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
46
66
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
47
- import "../shared-utils/util.js";
48
67
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
49
68
  import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
50
69
  import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
@@ -71,10 +90,10 @@ import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
71
90
  import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
72
91
  import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
73
92
  import "../shared-utils/five/fiveModelLoad.js";
74
- const Pr = (r) => new o(r);
93
+ const Fr = (r) => new o(r);
75
94
  export {
76
95
  o as Object3DHelperController,
77
- Pr as Object3DHelperPlugin,
78
- wr as PLUGIN,
79
- Pr as default
96
+ Fr as Object3DHelperPlugin,
97
+ Mr as PLUGIN,
98
+ Fr as default
80
99
  };
@@ -46,36 +46,56 @@ import "../shared-utils/five/transformPosition.js";
46
46
  import "../shared-utils/three/temp.js";
47
47
  import "../shared-utils/dom/resizeObserver.js";
48
48
  import "hammerjs";
49
+ import "../shared-utils/three/PointSelector/index.js";
50
+ import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
51
+ import "../shared-utils/three/Magnifier.js";
52
+ import "../shared-utils/three/PointSelector/utils/PointHelper.js";
53
+ import "../shared-utils/three/Assets/index.js";
54
+ import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
49
55
  import "three/examples/jsm/renderers/CSS3DRenderer";
56
+ import "../CSS3DRenderPlugin/utils/even.js";
57
+ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
58
+ import "../shared-utils/three/centerPoint.js";
59
+ import "../shared-utils/three/getObjectVisible.js";
50
60
  import "@realsee/five/line";
51
61
  import "../vendor/three/examples/jsm/lines/LineGeometry.js";
52
62
  import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
53
63
  import "../vendor/three/build/three.module.js";
54
64
  import "../shared-utils/three/core/Sphere.js";
55
65
  import "animejs";
56
- import "../shared-utils/url/absoluteUrl.js";
66
+ import "../shared-utils/isNil.js";
57
67
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
58
- import "./Assets/roomInfoIcon.js";
59
- import "../CSS3DRenderPlugin/Controller.js";
60
- import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
68
+ import "../shared-utils/three/PointSelector/utils/html.js";
69
+ import "../shared-utils/five/initialCSS3DRender.js";
61
70
  import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
62
71
  import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
63
72
  import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
64
- import "../CSS3DRenderPlugin/utils/even.js";
65
- import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
66
- import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
67
- import "../shared-utils/three/centerPoint.js";
68
- import "../shared-utils/three/getObjectVisible.js";
69
- import "../shared-utils/isNil.js";
73
+ import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
74
+ import "../Sculpt/Meshes/Line.js";
75
+ import "../Sculpt/typings/style.js";
76
+ import "../shared-utils/five/FiveLine.js";
77
+ import "../shared-utils/three/IObject3D.js";
78
+ import "../Sculpt/utils/removeAllTag.js";
79
+ import "../Sculpt/utils/Meshes/getLengthHTML.js";
80
+ import "../shared-utils/three/applyObjectMatrixWorld.js";
81
+ import "../shared-utils/util.js";
82
+ import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
83
+ import "../shared-utils/isTouchDevice.js";
84
+ import "../shared-utils/five/getPosition.js";
85
+ import "../shared-utils/five/getRaycasterByNdcPosition.js";
86
+ import "../shared-utils/three/PointSelector/utils/contents.js";
87
+ import "../shared-utils/url/absoluteUrl.js";
88
+ import "./Assets/roomInfoIcon.js";
89
+ import "../CSS3DRenderPlugin/Controller.js";
90
+ import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
70
91
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
71
92
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
72
- import "../shared-utils/util.js";
73
93
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
74
94
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
75
95
  import "../shared-utils/five/fiveModelLoad.js";
76
96
  import "../shared-utils/animationFrame/index.js";
77
97
  const g = { userAction: !0 };
78
- class Ce extends A {
98
+ class Je extends A {
79
99
  constructor(e, t) {
80
100
  super(e, t);
81
101
  /**
@@ -330,5 +350,5 @@ class Ce extends A {
330
350
  }
331
351
  }
332
352
  export {
333
- Ce as PanoCompassController
353
+ Je as PanoCompassController
334
354
  };
@@ -15,40 +15,60 @@ import "../shared-utils/five/transformPosition.js";
15
15
  import "../shared-utils/three/temp.js";
16
16
  import "../shared-utils/dom/resizeObserver.js";
17
17
  import "hammerjs";
18
+ import "../shared-utils/three/PointSelector/index.js";
19
+ import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
20
+ import "../shared-utils/three/Magnifier.js";
21
+ import "../shared-utils/three/PointSelector/utils/PointHelper.js";
22
+ import "../shared-utils/three/Assets/index.js";
23
+ import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
18
24
  import "three/examples/jsm/renderers/CSS3DRenderer";
25
+ import "../CSS3DRenderPlugin/utils/even.js";
26
+ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
27
+ import "../shared-utils/three/centerPoint.js";
28
+ import "../shared-utils/three/getObjectVisible.js";
19
29
  import "@realsee/five/line";
20
30
  import "../vendor/three/examples/jsm/lines/LineGeometry.js";
21
31
  import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
22
32
  import "../vendor/three/build/three.module.js";
23
33
  import "../shared-utils/three/core/Sphere.js";
24
34
  import "animejs";
25
- import "../shared-utils/url/absoluteUrl.js";
35
+ import "../shared-utils/isNil.js";
26
36
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
37
+ import "../shared-utils/three/PointSelector/utils/html.js";
38
+ import "../shared-utils/five/initialCSS3DRender.js";
39
+ import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
40
+ import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
41
+ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
42
+ import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
43
+ import "../Sculpt/Meshes/Line.js";
44
+ import "../Sculpt/typings/style.js";
45
+ import "../shared-utils/five/FiveLine.js";
46
+ import "../shared-utils/three/IObject3D.js";
47
+ import "../Sculpt/utils/removeAllTag.js";
48
+ import "../Sculpt/utils/Meshes/getLengthHTML.js";
49
+ import "../shared-utils/three/applyObjectMatrixWorld.js";
50
+ import "../shared-utils/util.js";
51
+ import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
52
+ import "../shared-utils/isTouchDevice.js";
53
+ import "../shared-utils/five/getPosition.js";
54
+ import "../shared-utils/five/getRaycasterByNdcPosition.js";
55
+ import "../shared-utils/three/PointSelector/utils/contents.js";
56
+ import "../shared-utils/url/absoluteUrl.js";
27
57
  import "./getRoomInfoInstance.js";
28
58
  import "./Assets/roomInfoIcon.js";
29
59
  import "../shared-utils/three/loadTexture.js";
30
60
  import "../CSS3DRenderPlugin/index.js";
31
61
  import "../CSS3DRenderPlugin/Controller.js";
32
62
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
33
- import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
34
- import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
35
- import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
36
- import "../CSS3DRenderPlugin/utils/even.js";
37
- import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
38
- import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
39
- import "../shared-utils/three/centerPoint.js";
40
- import "../shared-utils/three/getObjectVisible.js";
41
- import "../shared-utils/isNil.js";
42
63
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
43
64
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
44
- import "../shared-utils/util.js";
45
65
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
46
66
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
47
67
  import "../shared-utils/five/fiveModelLoad.js";
48
68
  import "../shared-utils/animationFrame/BetterTween.js";
49
69
  import "../shared-utils/animationFrame/index.js";
50
- const _ = (o, r) => new t(o, r);
70
+ const xo = (o, r) => new t(o, r);
51
71
  export {
52
- _ as PanoCompassPlugin,
53
- _ as default
72
+ xo as PanoCompassPlugin,
73
+ xo as default
54
74
  };
@@ -1,16 +1,16 @@
1
- var l = Object.defineProperty, m = Object.defineProperties;
1
+ var h = Object.defineProperty, l = Object.defineProperties;
2
2
  var d = Object.getOwnPropertyDescriptors;
3
- var p = Object.getOwnPropertySymbols;
3
+ var a = Object.getOwnPropertySymbols;
4
4
  var u = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
5
- var a = (i, e, t) => e in i ? l(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, s = (i, e) => {
6
- for (var t in e || (e = {}))
7
- u.call(e, t) && a(i, t, e[t]);
8
- if (p)
9
- for (var t of p(e))
10
- b.call(e, t) && a(i, t, e[t]);
11
- return i;
12
- }, r = (i, e) => m(i, d(e));
13
- var o = (i, e, t) => (a(i, typeof e != "symbol" ? e + "" : e, t), t);
5
+ var p = (e, i, t) => i in e ? h(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, r = (e, i) => {
6
+ for (var t in i || (i = {}))
7
+ u.call(i, t) && p(e, t, i[t]);
8
+ if (a)
9
+ for (var t of a(i))
10
+ b.call(i, t) && p(e, t, i[t]);
11
+ return e;
12
+ }, o = (e, i) => l(e, d(i));
13
+ var s = (e, i, t) => (p(e, typeof i != "symbol" ? i + "" : i, t), t);
14
14
  import { Five as v } from "@realsee/five";
15
15
  import { Controller as c } from "../base/BasePlugin.js";
16
16
  import "../shared-utils/Subscribe.js";
@@ -26,21 +26,51 @@ import "../shared-utils/five/transformPosition.js";
26
26
  import "../shared-utils/three/temp.js";
27
27
  import "../shared-utils/dom/resizeObserver.js";
28
28
  import "hammerjs";
29
+ import "../shared-utils/three/PointSelector/index.js";
30
+ import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
31
+ import "../shared-utils/three/Magnifier.js";
32
+ import "../shared-utils/three/PointSelector/utils/PointHelper.js";
33
+ import "../shared-utils/three/Assets/index.js";
34
+ import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
29
35
  import "three/examples/jsm/renderers/CSS3DRenderer";
36
+ import "../CSS3DRenderPlugin/utils/even.js";
37
+ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
38
+ import "../shared-utils/three/centerPoint.js";
39
+ import "../shared-utils/three/getObjectVisible.js";
30
40
  import "@realsee/five/line";
31
41
  import "../vendor/three/examples/jsm/lines/LineGeometry.js";
32
42
  import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
33
43
  import "../vendor/three/build/three.module.js";
34
44
  import "../shared-utils/three/core/Sphere.js";
35
45
  import "animejs";
36
- import "../shared-utils/url/absoluteUrl.js";
46
+ import "../shared-utils/isNil.js";
37
47
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
38
- class L extends c {
48
+ import "../shared-utils/three/PointSelector/utils/html.js";
49
+ import "../shared-utils/five/initialCSS3DRender.js";
50
+ import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
51
+ import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
52
+ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
53
+ import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
54
+ import "../Sculpt/Meshes/Line.js";
55
+ import "../Sculpt/typings/style.js";
56
+ import "../shared-utils/five/FiveLine.js";
57
+ import "../shared-utils/three/IObject3D.js";
58
+ import "../Sculpt/utils/removeAllTag.js";
59
+ import "../Sculpt/utils/Meshes/getLengthHTML.js";
60
+ import "../shared-utils/three/applyObjectMatrixWorld.js";
61
+ import "../shared-utils/util.js";
62
+ import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
63
+ import "../shared-utils/isTouchDevice.js";
64
+ import "../shared-utils/five/getPosition.js";
65
+ import "../shared-utils/five/getRaycasterByNdcPosition.js";
66
+ import "../shared-utils/three/PointSelector/utils/contents.js";
67
+ import "../shared-utils/url/absoluteUrl.js";
68
+ class St extends c {
39
69
  constructor(t) {
40
70
  super(t);
41
- o(this, "state");
42
- o(this, "container");
43
- o(this, "enabled");
71
+ s(this, "state");
72
+ s(this, "container");
73
+ s(this, "enabled");
44
74
  this.five = t, this.five.once("dispose", this.dispose), this.enabled = !0, this.state = this.initState();
45
75
  }
46
76
  /**
@@ -48,14 +78,14 @@ class L extends c {
48
78
  * @param options
49
79
  */
50
80
  enable(t) {
51
- this.enabled = !0, this.updateState(r(s({}, t), { userAction: !0 }));
81
+ this.enabled = !0, this.updateState(o(r({}, t), { userAction: !0 }));
52
82
  }
53
83
  /**
54
84
  * 禁用组件
55
85
  * @param options
56
86
  */
57
87
  disable(t) {
58
- this.enabled = !1, this.updateState(r(s({}, t), { userAction: !0 }));
88
+ this.enabled = !1, this.updateState(o(r({}, t), { userAction: !0 }));
59
89
  }
60
90
  /**
61
91
  * 显示 UI
@@ -64,7 +94,7 @@ class L extends c {
64
94
  */
65
95
  show(t) {
66
96
  if (this.state.enabled)
67
- return this.setState(r(s({}, this.state), { visible: !0 }), t), Promise.resolve();
97
+ return this.setState(o(r({}, this.state), { visible: !0 }), t), Promise.resolve();
68
98
  }
69
99
  /**
70
100
  * 隐藏 UI
@@ -73,7 +103,7 @@ class L extends c {
73
103
  */
74
104
  hide(t) {
75
105
  if (this.state.enabled)
76
- return this.setState(r(s({}, this.state), { visible: !1 }), t), Promise.resolve();
106
+ return this.setState(o(r({}, this.state), { visible: !1 }), t), Promise.resolve();
77
107
  }
78
108
  /**
79
109
  * 销毁对象
@@ -87,11 +117,11 @@ class L extends c {
87
117
  * @param options @BaseOptions 可选配置
88
118
  * @returns
89
119
  */
90
- setState(t, n) {
120
+ setState(t, m) {
91
121
  if (!this.enabled)
92
122
  return;
93
- const h = s({}, this.state);
94
- this.state = s(s(s({}, this.state), t), n), this.stateChangedCallback(h, n);
123
+ const n = r({}, this.state);
124
+ this.state = r(r(r({}, this.state), t), m), this.stateChangedCallback(n, m);
95
125
  }
96
126
  get visible() {
97
127
  return this.five.state.mode === v.Mode.Panorama;
@@ -100,9 +130,9 @@ class L extends c {
100
130
  this.enabled && (this.container = t, this.render());
101
131
  }
102
132
  updateState(t) {
103
- this.setState(r(s({}, this.state), { enabled: this.enabled, visible: this.visible }), t);
133
+ this.setState(o(r({}, this.state), { enabled: this.enabled, visible: this.visible }), t);
104
134
  }
105
135
  }
106
136
  export {
107
- L as BasePanoPluginController
137
+ St as BasePanoPluginController
108
138
  };