@realsee/dnalogel 3.51.0 → 3.52.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.
Files changed (278) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/Object3DHelperPlugin/Controller.d.ts +9 -9
  3. package/dist/Object3DHelperPlugin/FiveControllerWrapper.d.ts +4 -2
  4. package/dist/PanoMeasurePlugin/Model/area.d.ts +1 -1
  5. package/dist/PanoMeasurePlugin/Model/polygon.d.ts +1 -1
  6. package/dist/PanoMeasurePlugin/typings/data.d.ts +1 -2
  7. package/dist/Sculpt/Editors/BoxMeshEditor.d.ts +5 -0
  8. package/dist/Sculpt/Editors/CircleMeshEditor.d.ts +5 -0
  9. package/dist/Sculpt/Editors/CylinderMeshEditor.d.ts +5 -0
  10. package/dist/Sculpt/Editors/PrismMeshEditor.d.ts +5 -0
  11. package/dist/Sculpt/Editors/RectangleMeshEditor.d.ts +5 -0
  12. package/dist/Sculpt/Meshes/Box.d.ts +6 -24
  13. package/dist/Sculpt/Meshes/Circle.d.ts +0 -4
  14. package/dist/Sculpt/Meshes/Cylinder.d.ts +0 -1
  15. package/dist/Sculpt/Meshes/Line.d.ts +9 -22
  16. package/dist/Sculpt/Meshes/Polygon.d.ts +1 -5
  17. package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
  18. package/dist/Sculpt/Meshes/Prism.d.ts +29 -10
  19. package/dist/Sculpt/Meshes/Rectangle.d.ts +1 -1
  20. package/dist/Sculpt/Objects/Base/index.d.ts +2 -1
  21. package/dist/Sculpt/Objects/Box/index.d.ts +7 -2
  22. package/dist/Sculpt/Objects/Circle/index.d.ts +3 -0
  23. package/dist/Sculpt/Objects/Cylinder/index.d.ts +3 -0
  24. package/dist/Sculpt/Objects/Line/index.d.ts +3 -0
  25. package/dist/Sculpt/Objects/Point/index.d.ts +3 -0
  26. package/dist/Sculpt/Objects/Polygon/index.d.ts +3 -0
  27. package/dist/Sculpt/Objects/Polyline/index.d.ts +3 -0
  28. package/dist/Sculpt/Objects/Prism/index.d.ts +3 -0
  29. package/dist/Sculpt/Objects/Rectangle/index.d.ts +12 -0
  30. package/dist/Sculpt/index.d.ts +11 -10
  31. package/dist/Sculpt/typings/style.d.ts +6 -0
  32. package/dist/Sculpt/utils/export.d.ts +24 -18
  33. package/dist/Sculpt/utils/sortPositionsByCameraPosition.d.ts +5 -0
  34. package/dist/Sculpt/utils/three/ColoredMesh.d.ts +4 -0
  35. package/dist/index.cjs.js +88 -3009
  36. package/dist/index.d.ts +79 -1
  37. package/dist/index.js +35153 -54255
  38. package/dist/index.umd.js +81 -3002
  39. package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +1 -0
  40. package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +7 -3
  41. package/dist/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +0 -1
  42. package/dist/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +3 -1
  43. package/dist/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +2 -0
  44. package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -1
  45. package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
  46. package/dist/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +4 -2
  47. package/dist/shared-utils/Object3DHelper/typings/index.d.ts +1 -1
  48. package/dist/shared-utils/Object3DHelper/utils/calculateScaleByCamera.d.ts +4 -1
  49. package/dist/shared-utils/five/FiveLine.d.ts +18 -14
  50. package/dist/shared-utils/index.d.ts +0 -1
  51. package/dist/shared-utils/math/planimetry.d.ts +1 -1
  52. package/dist/shared-utils/tag.d.ts +5 -7
  53. package/dist/shared-utils/three/boundingBox.d.ts +14 -20
  54. package/dist/shared-utils/three/core/LineGeometry.d.ts +13 -0
  55. package/dist/shared-utils/three/core/PrismGeometry.d.ts +14 -0
  56. package/dist/shared-utils/three/geometryUtil.d.ts +8 -0
  57. package/dist/shared-utils/three/getNormal.d.ts +5 -2
  58. package/libs/AreaMakerPlugin/Controller.js +47 -100
  59. package/libs/AreaMakerPlugin/index.js +12 -65
  60. package/libs/AreaMakerPlugin/utils/Item.js +102 -157
  61. package/libs/CSS3DRenderPlugin/Controller.js +45 -93
  62. package/libs/CSS3DRenderPlugin/index.js +15 -63
  63. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +51 -106
  64. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +79 -131
  65. package/libs/CruisePlugin/BaseController.js +90 -143
  66. package/libs/CruisePlugin/Move.js +39 -83
  67. package/libs/CruisePlugin/Work.js +52 -96
  68. package/libs/CruisePlugin/index.js +23 -67
  69. package/libs/CurrentPanoImagePlugin/Controller.js +88 -141
  70. package/libs/CurrentPanoImagePlugin/index.js +11 -64
  71. package/libs/GuideLinePlugin/Controller.js +13 -57
  72. package/libs/GuideLinePlugin/GuideLineItem.js +20 -64
  73. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -8
  74. package/libs/GuideLinePlugin/GuideLineModeItem.js +15 -59
  75. package/libs/GuideLinePlugin/index.js +23 -67
  76. package/libs/ModelMakerPlugin/Controller.js +125 -165
  77. package/libs/ModelMakerPlugin/index.js +23 -63
  78. package/libs/ModelMakerPlugin/item/baseItem.js +2 -3
  79. package/libs/ModelMakerPlugin/item/boxItem.js +2 -3
  80. package/libs/ModelMakerPlugin/item/polygonItem.js +6 -7
  81. package/libs/ModelMakerPlugin/item/prismItem.js +2 -3
  82. package/libs/ModelMakerPlugin/utils/getFiveDomEvent.js +2 -3
  83. package/libs/ModelTVVideoPlugin/Plugin.js +49 -97
  84. package/libs/ModelTVVideoPlugin/index.js +8 -56
  85. package/libs/Object3DHelperPlugin/Controller.d.ts +9 -9
  86. package/libs/Object3DHelperPlugin/Controller.js +105 -92
  87. package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +4 -2
  88. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +35 -30
  89. package/libs/Object3DHelperPlugin/index.js +15 -30
  90. package/libs/PanoCompassPlugin/Controller.js +46 -93
  91. package/libs/PanoCompassPlugin/index.js +17 -64
  92. package/libs/PanoCursorRaycasterPlugin/index.js +4 -3
  93. package/libs/PanoDoorLabelPlugin/BaseController.js +27 -80
  94. package/libs/PanoDoorLabelPlugin/Controller.js +80 -133
  95. package/libs/PanoDoorLabelPlugin/index.js +11 -64
  96. package/libs/PanoMeasurePlugin/Components/Controller0.js +79 -128
  97. package/libs/PanoMeasurePlugin/Components/Controller1.js +92 -141
  98. package/libs/PanoMeasurePlugin/Controller/BaseController.js +3 -2
  99. package/libs/PanoMeasurePlugin/Controller/EditController.js +73 -122
  100. package/libs/PanoMeasurePlugin/Controller/MixedController.js +3 -2
  101. package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -2
  102. package/libs/PanoMeasurePlugin/Controller/WatchController.js +72 -121
  103. package/libs/PanoMeasurePlugin/Controller/index.js +89 -135
  104. package/libs/PanoMeasurePlugin/Model/area.d.ts +1 -1
  105. package/libs/PanoMeasurePlugin/Model/area.js +25 -74
  106. package/libs/PanoMeasurePlugin/Model/index.js +3 -2
  107. package/libs/PanoMeasurePlugin/Model/line.js +1 -0
  108. package/libs/PanoMeasurePlugin/Model/polygon.d.ts +1 -1
  109. package/libs/PanoMeasurePlugin/Model/polygon.js +7 -7
  110. package/libs/PanoMeasurePlugin/Model/polyline.js +3 -2
  111. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -56
  112. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +17 -66
  113. package/libs/PanoMeasurePlugin/index.js +18 -64
  114. package/libs/PanoMeasurePlugin/typings/data.d.ts +1 -2
  115. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +5 -59
  116. package/libs/PanoMeasurePlugin/utils/line.js +3 -2
  117. package/libs/PanoRulerProPlugin/Controller.js +34 -89
  118. package/libs/PanoRulerProPlugin/RulerItems.js +92 -147
  119. package/libs/PanoRulerProPlugin/index.js +10 -65
  120. package/libs/PanoSpatialTagPlugin/Plugin.js +130 -178
  121. package/libs/PanoSpatialTagPlugin/index.js +6 -54
  122. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +61 -116
  123. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +138 -193
  124. package/libs/PanoTagPlugin/Components/Tag/index.js +140 -194
  125. package/libs/PanoTagPlugin/Components/TagContainer.js +58 -112
  126. package/libs/PanoTagPlugin/Components/TagItem.js +137 -191
  127. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +109 -164
  128. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +22 -76
  129. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +33 -87
  130. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +39 -94
  131. package/libs/PanoTagPlugin/controller/TagRender.js +18 -62
  132. package/libs/PanoTagPlugin/controller/TagUtil.js +80 -124
  133. package/libs/PanoTagPlugin/controller/index.js +37 -81
  134. package/libs/PanoTagPlugin/index.js +28 -72
  135. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +14 -14
  136. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +22 -77
  137. package/libs/PanoVideoPlugin/Controller.js +43 -96
  138. package/libs/PanoVideoPlugin/VideoMeshController.js +64 -119
  139. package/libs/PanoVideoPlugin/index.js +14 -67
  140. package/libs/PipelinePlugin/Controller.js +123 -176
  141. package/libs/PipelinePlugin/index.js +11 -64
  142. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +15 -70
  143. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -58
  144. package/libs/PipelinePlugin/utils/Objects/Pipe.js +42 -97
  145. package/libs/Sculpt/Editors/BoxMeshEditor.d.ts +5 -0
  146. package/libs/Sculpt/Editors/BoxMeshEditor.js +98 -0
  147. package/libs/Sculpt/Editors/CircleMeshEditor.d.ts +5 -0
  148. package/libs/Sculpt/Editors/CircleMeshEditor.js +9 -0
  149. package/libs/Sculpt/Editors/CylinderMeshEditor.d.ts +5 -0
  150. package/libs/Sculpt/Editors/CylinderMeshEditor.js +41 -0
  151. package/libs/Sculpt/Editors/PrismMeshEditor.d.ts +5 -0
  152. package/libs/Sculpt/Editors/PrismMeshEditor.js +43 -0
  153. package/libs/Sculpt/Editors/RectangleMeshEditor.d.ts +5 -0
  154. package/libs/Sculpt/Editors/RectangleMeshEditor.js +70 -0
  155. package/libs/Sculpt/Meshes/Box.d.ts +6 -24
  156. package/libs/Sculpt/Meshes/Box.js +22 -93
  157. package/libs/Sculpt/Meshes/Circle.d.ts +0 -4
  158. package/libs/Sculpt/Meshes/Circle.js +18 -27
  159. package/libs/Sculpt/Meshes/Cylinder.d.ts +0 -1
  160. package/libs/Sculpt/Meshes/Cylinder.js +17 -24
  161. package/libs/Sculpt/Meshes/Line.d.ts +9 -22
  162. package/libs/Sculpt/Meshes/Line.js +85 -104
  163. package/libs/Sculpt/Meshes/LineWithDots.js +10 -14
  164. package/libs/Sculpt/Meshes/Point.js +29 -34
  165. package/libs/Sculpt/Meshes/Polygon.d.ts +1 -5
  166. package/libs/Sculpt/Meshes/Polygon.js +40 -53
  167. package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
  168. package/libs/Sculpt/Meshes/Prism.d.ts +29 -10
  169. package/libs/Sculpt/Meshes/Prism.js +108 -84
  170. package/libs/Sculpt/Meshes/Rectangle.d.ts +1 -1
  171. package/libs/Sculpt/Meshes/Rectangle.js +7 -10
  172. package/libs/Sculpt/Meshes/RectangleWithEdge.js +17 -20
  173. package/libs/Sculpt/Objects/Base/index.d.ts +2 -1
  174. package/libs/Sculpt/Objects/Base/index.js +16 -17
  175. package/libs/Sculpt/Objects/Box/index.d.ts +7 -2
  176. package/libs/Sculpt/Objects/Box/index.js +72 -60
  177. package/libs/Sculpt/Objects/Circle/index.d.ts +3 -0
  178. package/libs/Sculpt/Objects/Circle/index.js +34 -30
  179. package/libs/Sculpt/Objects/Cylinder/index.d.ts +3 -0
  180. package/libs/Sculpt/Objects/Cylinder/index.js +46 -42
  181. package/libs/Sculpt/Objects/Line/Editor.js +8 -10
  182. package/libs/Sculpt/Objects/Line/index.d.ts +3 -0
  183. package/libs/Sculpt/Objects/Line/index.js +45 -41
  184. package/libs/Sculpt/Objects/Point/index.d.ts +3 -0
  185. package/libs/Sculpt/Objects/Point/index.js +33 -29
  186. package/libs/Sculpt/Objects/Polygon/index.d.ts +3 -0
  187. package/libs/Sculpt/Objects/Polygon/index.js +67 -63
  188. package/libs/Sculpt/Objects/Polyline/index.d.ts +3 -0
  189. package/libs/Sculpt/Objects/Polyline/index.js +46 -42
  190. package/libs/Sculpt/Objects/Prism/index.d.ts +3 -0
  191. package/libs/Sculpt/Objects/Prism/index.js +58 -53
  192. package/libs/Sculpt/Objects/Rectangle/index.d.ts +12 -0
  193. package/libs/Sculpt/Objects/Rectangle/index.js +142 -81
  194. package/libs/Sculpt/index.d.ts +11 -10
  195. package/libs/Sculpt/index.js +105 -107
  196. package/libs/Sculpt/typings/style.d.ts +6 -0
  197. package/libs/Sculpt/utils/export.d.ts +24 -18
  198. package/libs/Sculpt/utils/export.js +52 -19
  199. package/libs/Sculpt/utils/sortPositionsByCameraPosition.d.ts +5 -0
  200. package/libs/Sculpt/utils/sortPositionsByCameraPosition.js +9 -0
  201. package/libs/Sculpt/utils/three/ColoredMesh.d.ts +4 -0
  202. package/libs/Sculpt/utils/three/ColoredMesh.js +40 -37
  203. package/libs/base/BasePlugin.js +10 -15
  204. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +96 -147
  205. package/libs/floorplan/MapviewFloorplanPlugin/index.js +12 -63
  206. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +53 -105
  207. package/libs/floorplan/ModelFloorplanPlugin/index.js +11 -63
  208. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +65 -118
  209. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +11 -64
  210. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +54 -106
  211. package/libs/floorplan/TopviewFloorplanPlugin/index.js +11 -63
  212. package/libs/floorplan/index.js +0 -5
  213. package/libs/index.d.ts +79 -1
  214. package/libs/index.js +229 -215
  215. package/libs/shared-utils/Object3DHelper/Base/BaseController.d.ts +1 -0
  216. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +112 -122
  217. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +7 -3
  218. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +60 -39
  219. package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +47 -47
  220. package/libs/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +0 -1
  221. package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +28 -28
  222. package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +3 -1
  223. package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js +25 -18
  224. package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +2 -0
  225. package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +18 -14
  226. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -1
  227. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +1 -0
  228. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
  229. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +2 -1
  230. package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +4 -2
  231. package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.js +40 -28
  232. package/libs/shared-utils/Object3DHelper/typings/index.d.ts +1 -1
  233. package/libs/shared-utils/Object3DHelper/utils/calculateScaleByCamera.d.ts +4 -1
  234. package/libs/shared-utils/Object3DHelper/utils/calculateScaleByCamera.js +4 -4
  235. package/libs/shared-utils/five/FiveDomEvents.js +88 -88
  236. package/libs/shared-utils/five/FiveLine.d.ts +18 -14
  237. package/libs/shared-utils/five/FiveLine.js +31 -13
  238. package/libs/shared-utils/five/index.js +2 -7
  239. package/libs/shared-utils/five/lookObject.js +27 -32
  240. package/libs/shared-utils/index.d.ts +0 -1
  241. package/libs/shared-utils/index.js +31 -33
  242. package/libs/shared-utils/logger.js +1 -1
  243. package/libs/shared-utils/math/planimetry.d.ts +1 -1
  244. package/libs/shared-utils/tag.d.ts +5 -7
  245. package/libs/shared-utils/tag.js +1 -1
  246. package/libs/shared-utils/three/boundingBox.d.ts +14 -20
  247. package/libs/shared-utils/three/core/LineGeometry.d.ts +13 -0
  248. package/libs/shared-utils/three/core/LineGeometry.js +26 -0
  249. package/libs/shared-utils/three/core/PrismGeometry.d.ts +14 -0
  250. package/libs/shared-utils/three/core/PrismGeometry.js +42 -0
  251. package/libs/shared-utils/three/earcut3D.js +5 -5
  252. package/libs/shared-utils/three/geometryUtil.d.ts +8 -0
  253. package/libs/shared-utils/three/geometryUtil.js +3 -1
  254. package/libs/shared-utils/three/getNormal.d.ts +5 -2
  255. package/libs/shared-utils/three/getNormal.js +6 -5
  256. package/libs/shared-utils/three/index.js +0 -5
  257. package/package.json +1 -1
  258. package/dist/Sculpt/Objects/Box/Editor.d.ts +0 -5
  259. package/dist/Sculpt/Objects/Circle/Editor.d.ts +0 -5
  260. package/dist/Sculpt/Objects/Cylinder/Editor.d.ts +0 -5
  261. package/dist/Sculpt/Objects/Prism/Editor.d.ts +0 -5
  262. package/dist/Sculpt/Objects/Rectangle/Editor.d.ts +0 -5
  263. package/dist/Sculpt/utils/getBetterNormal.d.ts +0 -2
  264. package/libs/Sculpt/Objects/Box/Editor.d.ts +0 -5
  265. package/libs/Sculpt/Objects/Box/Editor.js +0 -44
  266. package/libs/Sculpt/Objects/Circle/Editor.d.ts +0 -5
  267. package/libs/Sculpt/Objects/Circle/Editor.js +0 -9
  268. package/libs/Sculpt/Objects/Cylinder/Editor.d.ts +0 -5
  269. package/libs/Sculpt/Objects/Cylinder/Editor.js +0 -41
  270. package/libs/Sculpt/Objects/Prism/Editor.d.ts +0 -5
  271. package/libs/Sculpt/Objects/Prism/Editor.js +0 -44
  272. package/libs/Sculpt/Objects/Rectangle/Editor.d.ts +0 -5
  273. package/libs/Sculpt/Objects/Rectangle/Editor.js +0 -9
  274. package/libs/Sculpt/utils/getBetterNormal.d.ts +0 -2
  275. package/libs/Sculpt/utils/getBetterNormal.js +0 -8
  276. package/libs/vendor/three/build/three.module.js +0 -19336
  277. package/libs/vendor/three/examples/jsm/lines/LineGeometry.js +0 -28
  278. package/libs/vendor/three/examples/jsm/lines/LineSegmentsGeometry.js +0 -69
@@ -1,30 +1,30 @@
1
1
  var S = Object.defineProperty;
2
2
  var P = Object.getOwnPropertySymbols;
3
3
  var H = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable;
4
- var M = (l, n, t) => n in l ? S(l, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[n] = t, w = (l, n) => {
5
- for (var t in n || (n = {}))
6
- H.call(n, t) && M(l, t, n[t]);
4
+ var M = (h, n, e) => n in h ? S(h, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[n] = e, w = (h, n) => {
5
+ for (var e in n || (n = {}))
6
+ H.call(n, e) && M(h, e, n[e]);
7
7
  if (P)
8
- for (var t of P(n))
9
- B.call(n, t) && M(l, t, n[t]);
10
- return l;
8
+ for (var e of P(n))
9
+ B.call(n, e) && M(h, e, n[e]);
10
+ return h;
11
11
  };
12
- var p = (l, n, t) => (M(l, typeof n != "symbol" ? n + "" : n, t), t);
13
- var _ = (l, n, t) => new Promise((i, r) => {
14
- var m = (e) => {
12
+ var a = (h, n, e) => (M(h, typeof n != "symbol" ? n + "" : n, e), e);
13
+ var _ = (h, n, e) => new Promise((i, s) => {
14
+ var d = (t) => {
15
15
  try {
16
- o(t.next(e));
17
- } catch (h) {
18
- r(h);
16
+ o(e.next(t));
17
+ } catch (l) {
18
+ s(l);
19
19
  }
20
- }, a = (e) => {
20
+ }, p = (t) => {
21
21
  try {
22
- o(t.throw(e));
23
- } catch (h) {
24
- r(h);
22
+ o(e.throw(t));
23
+ } catch (l) {
24
+ s(l);
25
25
  }
26
- }, o = (e) => e.done ? i(e.value) : Promise.resolve(e.value).then(m, a);
27
- o((t = t.apply(l, n)).next());
26
+ }, o = (t) => t.done ? i(t.value) : Promise.resolve(t.value).then(d, p);
27
+ o((e = e.apply(h, n)).next());
28
28
  });
29
29
  import { Controller as z } from "../base/BasePluginWithData.js";
30
30
  import * as c from "three";
@@ -37,16 +37,11 @@ import "hammerjs";
37
37
  import "../shared-utils/three/PointSelector/index.js";
38
38
  import "three/examples/jsm/renderers/CSS3DRenderer";
39
39
  import "@realsee/five/line";
40
- import "../vendor/three/examples/jsm/lines/LineGeometry.js";
41
- import { boxVertex as v } from "../shared-utils/three/boundingBox.js";
42
- import "animejs";
43
40
  import { notNil as I } from "../shared-utils/isNil.js";
41
+ import { boxVertex as g } from "../shared-utils/three/boundingBox.js";
42
+ import "animejs";
44
43
  import { waitFiveModelLoaded as G } from "../shared-utils/five/fiveModelLoad.js";
45
44
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
46
- import "../Sculpt/Meshes/Polygon.js";
47
- import "../Sculpt/utils/Modules/Global.js";
48
- import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
49
- import "../Sculpt/utils/three/rayOnLine.js";
50
45
  import { tagRendererMap as N } from "./utils/tagRenderer.js";
51
46
  import { ModelMakerPrismItem as D } from "./item/prismItem.js";
52
47
  import { ModelMakerPolygonItem as U } from "./item/polygonItem.js";
@@ -63,19 +58,29 @@ import "../shared-utils/five/transformPosition.js";
63
58
  import "../shared-utils/five/getFiveModel.js";
64
59
  import "../shared-utils/url/absoluteUrl.js";
65
60
  import "../shared-utils/three/IObject3D.js";
66
- import "../Sculpt/Meshes/Line.js";
61
+ import "../shared-utils/three/core/Raycaster.js";
62
+ import "../Sculpt/utils/three/ColoredMesh.js";
67
63
  import "../Sculpt/typings/style.js";
68
- import "../shared-utils/five/FiveLine.js";
64
+ import "../shared-utils/three/core/PrismGeometry.js";
65
+ import "../shared-utils/three/geometryUtil.js";
69
66
  import "../shared-utils/three/centerPoint.js";
67
+ import "../Sculpt/Meshes/Line.js";
68
+ import "../shared-utils/five/FiveLine.js";
70
69
  import "../Sculpt/utils/removeAllTag.js";
71
70
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
72
71
  import "../shared-utils/three/applyObjectMatrixWorld.js";
73
72
  import "../shared-utils/util.js";
74
- import "../shared-utils/three/core/Raycaster.js";
73
+ import "../shared-utils/three/core/LineGeometry.js";
75
74
  import "../Sculpt/Meshes/Polyline.js";
76
75
  import "../Sculpt/Meshes/LineWithDots.js";
77
76
  import "../Sculpt/Meshes/Point.js";
78
77
  import "../shared-utils/three/closeVectors.js";
78
+ import "../Sculpt/Meshes/Polygon.js";
79
+ import "../shared-utils/three/generatePolygonGeometry.js";
80
+ import "../shared-utils/three/earcut3D.js";
81
+ import "earcut";
82
+ import "../shared-utils/three/getNormal.js";
83
+ import "../PanoMeasurePlugin/utils/isIntersecting.js";
79
84
  import "../shared-utils/five/vector3ToScreen.js";
80
85
  import "../shared-utils/three/temp.js";
81
86
  import "../shared-utils/dom/resizeObserver.js";
@@ -99,209 +104,164 @@ import "../shared-utils/isTouchDevice.js";
99
104
  import "../shared-utils/five/getPosition.js";
100
105
  import "../shared-utils/five/getRaycasterByNdcPosition.js";
101
106
  import "../shared-utils/three/PointSelector/utils/contents.js";
102
- import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
103
- import "../vendor/three/build/three.module.js";
104
- import "../shared-utils/three/generatePolygonGeometry.js";
105
- import "../shared-utils/three/earcut3D.js";
106
- import "earcut";
107
- import "../shared-utils/three/getNormal.js";
108
- import "../PanoMeasurePlugin/utils/isIntersecting.js";
109
- import "../Sculpt/utils/three/ColoredMesh.js";
110
- import "../shared-utils/three/geometryUtil.js";
111
- import "../Sculpt/utils/Modules/Cursor.js";
112
- import "../Object3DHelperPlugin/Controller.js";
113
- import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
114
- import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
115
- import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
116
- import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
117
- import "../shared-utils/Object3DHelper/utils/direction.js";
118
- import "../shared-utils/Object3DHelper/Constants/color.js";
119
- import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
120
- import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
121
- import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
122
- import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
123
- import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
124
- import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
125
- import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
126
- import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
127
- import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
128
- import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
129
- import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
130
- import "../shared-utils/Object3DHelper/Controller/MoveController.js";
131
- import "../shared-utils/Object3DHelper/Base/BaseController.js";
132
- import "../shared-utils/threex/domevents/index.js";
133
- import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
134
- import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
135
- import "../Object3DHelperPlugin/FiveControllerWrapper.js";
136
- import "../shared-utils/Object3DHelper/index.js";
137
- import "../shared-utils/Object3DHelper/Controller/RotateController.js";
138
- import "../shared-utils/math/rad2Deg.js";
139
- import "../shared-utils/math/deg2Rad.js";
140
- import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
141
- import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
142
- import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
143
- import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
144
- import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
145
- import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
146
- import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
147
- import "../shared-utils/five/FiveDomEvents.js";
148
- import "../shared-utils/five/calculateThreeMouse.js";
149
107
  import "./utils/Text.js";
150
108
  import "../vendor/svelte/internal/index.js";
151
109
  import "../components/AreaLabel/LabelItem.js";
152
110
  import "../components/AreaLabel/Assets/roomLabelBg.js";
153
111
  import "./item/baseItem.js";
154
112
  import "../shared-utils/three/addIfNotExists.js";
155
- class fi extends z {
156
- constructor(t, i) {
157
- var r, m;
158
- super(t);
159
- p(this, "state");
160
- p(this, "items", []);
161
- p(this, "group", new c.Group());
162
- p(this, "data");
163
- p(this, "tagRendererMap", {});
164
- p(this, "fiveDomEvents");
165
- p(this, "zFightingOffset", 0);
166
- p(this, "tagWrapper");
167
- p(this, "occlusionVisibility");
168
- p(this, "occlusionMode");
169
- p(this, "fiveEveryReadyListenerDisposer");
170
- p(this, "onFiveModeChange", (t) => {
113
+ import "../shared-utils/five/FiveDomEvents.js";
114
+ import "../shared-utils/five/calculateThreeMouse.js";
115
+ class kt extends z {
116
+ constructor(e, i) {
117
+ var s, d;
118
+ super(e);
119
+ a(this, "state");
120
+ a(this, "items", []);
121
+ a(this, "group", new c.Group());
122
+ a(this, "data");
123
+ a(this, "tagRendererMap", {});
124
+ a(this, "fiveDomEvents");
125
+ a(this, "zFightingOffset", 0);
126
+ a(this, "tagWrapper");
127
+ a(this, "occlusionVisibility");
128
+ a(this, "occlusionMode");
129
+ a(this, "fiveEveryReadyListenerDisposer");
130
+ a(this, "onFiveModeChange", (e) => {
171
131
  const i = this.occlusionVisibility;
172
- Array.isArray(i) && this.items.forEach((r) => {
173
- r.model.setStyle instanceof Function && r.model.setStyle({ occlusionVisibility: i.includes(t) });
132
+ Array.isArray(i) && this.items.forEach((s) => {
133
+ s.model.setStyle instanceof Function && s.model.setStyle({ occlusionVisibility: i.includes(e) });
174
134
  });
175
135
  });
176
- p(this, "handleEnable", () => {
177
- var t, i;
178
- this.five.scene.add(this.group), (i = (t = this.five.getElement()) == null ? void 0 : t.parentElement) == null || i.appendChild(this.tagWrapper), this.five.needsRender = !0, this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveEveryReady(), this.five.on("modeChange", this.onFiveModeChange), this.fiveEveryReadyListenerDisposer = $(this.five, this.onFiveEveryReady);
136
+ a(this, "handleEnable", () => {
137
+ var e, i;
138
+ this.five.scene.add(this.group), (i = (e = this.five.getElement()) == null ? void 0 : e.parentElement) == null || i.appendChild(this.tagWrapper), this.five.needsRender = !0, this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveEveryReady(), this.five.on("modeChange", this.onFiveModeChange), this.fiveEveryReadyListenerDisposer = $(this.five, this.onFiveEveryReady);
179
139
  });
180
- p(this, "handleDisable", () => {
140
+ a(this, "handleDisable", () => {
181
141
  this.five.scene.remove(this.group), this.tagWrapper.remove(), this.five.needsRender = !0, this.five.off("modeChange", this.onFiveModeChange), this.fiveEveryReadyListenerDisposer();
182
142
  });
183
- p(this, "onFiveEveryReady", () => _(this, null, function* () {
143
+ a(this, "onFiveEveryReady", () => _(this, null, function* () {
184
144
  if (this.five.state.mode === "Panorama")
185
145
  return;
186
- const t = this.items.filter((e) => e instanceof D).map((e) => e.tag), i = t.filter((e) => e.position && e.visible && e.enabled);
146
+ const e = this.items.filter((t) => t instanceof D).map((t) => t.tag), i = e.filter((t) => t.position && t.visible && t.enabled);
187
147
  yield K(0);
188
- const r = this.five.camera.position.clone(), m = i.sort((e, h) => r.distanceTo(e.position) - r.distanceTo(h.position)), a = [], o = (e, h) => !(e.right < h.left || e.left > h.right || e.bottom < h.top || e.top > h.bottom);
189
- t.forEach((e) => {
190
- e.visibles[2] = void 0;
191
- }), m.forEach((e) => {
192
- if (e.visibles[1] === !1)
148
+ const s = this.five.camera.position.clone(), d = i.sort((t, l) => s.distanceTo(t.position) - s.distanceTo(l.position)), p = [], o = (t, l) => !(t.right < l.left || t.left > l.right || t.bottom < l.top || t.top > l.bottom);
149
+ e.forEach((t) => {
150
+ t.visibles[2] = void 0;
151
+ }), d.forEach((t) => {
152
+ if (t.visibles[1] === !1)
193
153
  return;
194
- const h = e.container.getElementsByClassName("room-label-item__text")[0];
195
- if (!h)
154
+ const l = t.container.getElementsByClassName("room-label-item__text")[0];
155
+ if (!l)
196
156
  return;
197
- const u = h.getBoundingClientRect();
198
- a.every((d) => !o(d.boundingClientRect, u)) ? (a.push({ tag: e, boundingClientRect: u }), e.visibles[2] = !0) : e.visibles[2] = !1, e.needsRender = !0;
157
+ const u = l.getBoundingClientRect();
158
+ p.every((m) => !o(m.boundingClientRect, u)) ? (p.push({ tag: t, boundingClientRect: u }), t.visibles[2] = !0) : t.visibles[2] = !1, t.needsRender = !0;
199
159
  });
200
160
  }));
201
- p(this, "updateTagRenderer", () => {
202
- this.items.forEach((t) => {
203
- var r;
204
- const i = (r = this.tagRendererMap[t.type]) != null ? r : N[t.type];
205
- i && t.__renderer !== i && (t.__renderer = i, typeof t.__disposeRenderer == "function" && t.__disposeRenderer(), t.tag.container.innerHTML = "", t.__disposeRenderer = i(t.tag.container, t));
161
+ a(this, "updateTagRenderer", () => {
162
+ this.items.forEach((e) => {
163
+ var s;
164
+ const i = (s = this.tagRendererMap[e.type]) != null ? s : N[e.type];
165
+ i && e.__renderer !== i && (e.__renderer = i, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = i(e.tag.container, e));
206
166
  });
207
167
  });
208
- this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.occlusionVisibility = (r = i == null ? void 0 : i.occlusionVisibility) != null ? r : !1, this.occlusionMode = (m = i == null ? void 0 : i.occlusionMode) != null ? m : "translucence", this.fiveDomEvents = Y(t), this.tagWrapper = (() => {
168
+ this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.occlusionVisibility = (s = i == null ? void 0 : i.occlusionVisibility) != null ? s : !1, this.occlusionMode = (d = i == null ? void 0 : i.occlusionMode) != null ? d : "translucence", this.fiveDomEvents = Y(e), this.tagWrapper = (() => {
209
169
  var o;
210
- const a = document.createElement("div");
211
- return a.style.position = "absolute", a.style.top = "0", a.style.left = "0", a.style.width = "100%", a.style.height = "100%", a.style.pointerEvents = "none", a.style.zIndex = `${(o = i == null ? void 0 : i.tagContainerZIndex) != null ? o : ""}`, a;
212
- })(), t.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
170
+ const p = document.createElement("div");
171
+ return p.style.position = "absolute", p.style.top = "0", p.style.left = "0", p.style.width = "100%", p.style.height = "100%", p.style.pointerEvents = "none", p.style.zIndex = `${(o = i == null ? void 0 : i.tagContainerZIndex) != null ? o : ""}`, p;
172
+ })(), e.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
213
173
  }
214
- load(t) {
174
+ load(e) {
215
175
  return _(this, null, function* () {
216
- var a;
217
- if (this.clear(), this.data = t, yield G(this.five), this.data !== t)
176
+ var p;
177
+ if (this.clear(), this.data = e, yield G(this.five), this.data !== e)
218
178
  return;
219
179
  this.clear();
220
- const i = typeof this.occlusionVisibility == "boolean" ? this.occlusionVisibility : !1, r = this.occlusionMode, m = 1.6;
221
- (a = t == null ? void 0 : t.list) == null || a.forEach((o) => {
222
- var e, h, u;
180
+ const i = typeof this.occlusionVisibility == "boolean" ? this.occlusionVisibility : !1, s = this.occlusionMode, d = 1.6;
181
+ (p = e == null ? void 0 : e.list) == null || p.forEach((o) => {
182
+ var t, l, u;
223
183
  if (o.type === "triangles") {
224
- const s = new q();
225
- s.setPoints(o.object_data.points), s.setStyle({
184
+ const r = new q();
185
+ r.setPoints(o.object_data.points), r.setStyle({
226
186
  color: o.object_data.color,
227
- opacity: ((e = o.object_data.opacity) != null ? e : 0.4) / 2,
187
+ opacity: ((t = o.object_data.opacity) != null ? t : 0.4) / 2,
228
188
  lineColor: o.object_data.color,
229
- lineWidth: m,
189
+ lineWidth: d,
230
190
  occlusionVisibility: i,
231
- occlusionMode: r
232
- }), this.fiveDomEvents.addEventListener(s, "hover", () => s.highlight()), this.fiveDomEvents.addEventListener(s, "unHover", () => s.unhighlight());
233
- const d = new U({
191
+ occlusionMode: s
192
+ }), this.fiveDomEvents.addEventListener(r, "hover", () => r.highlight()), this.fiveDomEvents.addEventListener(r, "unHover", () => r.unhighlight());
193
+ const m = new U({
234
194
  five: this.five,
235
195
  tagWrapper: this.tagWrapper,
236
- model: s,
196
+ model: r,
237
197
  group: this.group,
238
198
  type: o.type,
239
199
  rawData: o
240
200
  });
241
- this.items.push(d);
201
+ this.items.push(m);
242
202
  } else if (o.type === "prism") {
243
- const s = new T();
203
+ const r = new T();
244
204
  this.zFightingOffset += 1e-4;
245
- const d = o.object_data.points.map((f) => {
246
- var g;
247
- return [f[0], f[1] + ((g = o.object_data.fixedY) != null ? g : 0), f[2]];
205
+ const m = o.object_data.points.map((f) => {
206
+ var v;
207
+ return [f[0], f[1] + ((v = o.object_data.fixedY) != null ? v : 0), f[2]];
248
208
  });
249
- d.push(d[0]);
250
- const E = o.object_data.height + ((h = o.object_data.fixedHeight) != null ? h : 0) + this.zFightingOffset, R = Q(d[0]).add(new c.Vector3().setY(E));
251
- s.setPoints({ points: d, heightPoint: R }), s.setStyle({
209
+ m.push(m[0]);
210
+ const E = o.object_data.height + ((l = o.object_data.fixedHeight) != null ? l : 0) + this.zFightingOffset, R = Q(m[0]).add(new c.Vector3().setY(E));
211
+ r.setPoints({ points: m, heightPoint: R }), r.setStyle({
252
212
  color: o.object_data.color,
253
213
  opacity: ((u = o.object_data.opacity) != null ? u : 0.4) / 2,
254
214
  lineColor: o.object_data.color,
255
- lineWidth: m,
215
+ lineWidth: d,
256
216
  occlusionVisibility: i,
257
- occlusionMode: r
217
+ occlusionMode: s
258
218
  });
259
- const y = new D({
219
+ const b = new D({
260
220
  five: this.five,
261
221
  tagWrapper: this.tagWrapper,
262
- model: s,
222
+ model: r,
263
223
  group: this.group,
264
224
  type: o.type,
265
225
  rawData: o
266
226
  });
267
- this.items.push(y);
227
+ this.items.push(b);
268
228
  } else if (o.type === "box") {
269
- const s = new T(), { start: d, end: E, rotation: R = [0, 0, 0, 0], opacity: y, color: f } = o.object_data, g = new c.Vector3().fromArray(d), C = new c.Vector3().fromArray(E), L = new c.Euler().fromArray(R), x = new c.Quaternion().setFromEuler(L), V = x.clone().inverse(), W = new c.Vector3().lerpVectors(g, C, 0.5), j = W.clone().negate(), k = g.clone().add(j).applyQuaternion(V), F = C.clone().add(j).applyQuaternion(V), b = new c.Box3(k.clone().max(F), k.clone().min(F));
270
- s.setPoints({
271
- points: [v(b, 2), v(b, 3), v(b, 7), v(b, 6), v(b, 2)],
272
- heightPoint: v(b, 0)
273
- }), s.position.copy(W), s.quaternion.copy(x), s.setStyle({
229
+ const r = new T(), { start: m, end: E, rotation: R = [0, 0, 0, 0], opacity: b, color: f } = o.object_data, v = new c.Vector3().fromArray(m), C = new c.Vector3().fromArray(E), L = new c.Euler().fromArray(R), x = new c.Quaternion().setFromEuler(L), V = x.clone().inverse(), W = new c.Vector3().lerpVectors(v, C, 0.5), k = W.clone().negate(), j = v.clone().add(k).applyQuaternion(V), F = C.clone().add(k).applyQuaternion(V), y = new c.Box3(j.clone().max(F), j.clone().min(F));
230
+ r.setPoints({
231
+ points: [g(y, 2), g(y, 3), g(y, 7), g(y, 6)],
232
+ heightPoint: g(y, 1)
233
+ }), r.position.copy(W), r.quaternion.copy(x), r.setStyle({
274
234
  color: f,
275
- opacity: (y != null ? y : 0.4) / 2,
235
+ opacity: (b != null ? b : 0.4) / 2,
276
236
  lineColor: f,
277
- lineWidth: m,
237
+ lineWidth: d,
278
238
  occlusionVisibility: i,
279
- occlusionMode: r
239
+ occlusionMode: s
280
240
  });
281
241
  const A = new O({
282
242
  five: this.five,
283
243
  tagWrapper: this.tagWrapper,
284
- model: s,
244
+ model: r,
285
245
  group: this.group,
286
246
  type: o.type,
287
247
  rawData: o
288
248
  });
289
249
  this.items.push(A);
290
250
  }
291
- }), this.five.needsRender = !0, this.state.enabled ? this.handleEnable() : this.handleDisable(), this.state.visible ? this.handleShow() : this.handleHide(), this.updateTagRenderer(), this.hooks.emit("dataLoaded", t);
251
+ }), this.five.needsRender = !0, this.state.enabled ? this.handleEnable() : this.handleDisable(), this.state.visible ? this.handleShow() : this.handleHide(), this.updateTagRenderer(), this.hooks.emit("dataLoaded", e);
292
252
  });
293
253
  }
294
- setState(t) {
295
- I(t.enabled) && this.state.enabled !== t.enabled && (this.state.enabled = t.enabled, t.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(t.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), I(t.visible) && this.state.visible !== t.visible && (this.state.visible = t.visible, t.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(t.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
254
+ setState(e) {
255
+ I(e.enabled) && this.state.enabled !== e.enabled && (this.state.enabled = e.enabled, e.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(e.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), I(e.visible) && this.state.visible !== e.visible && (this.state.visible = e.visible, e.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(e.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
296
256
  }
297
- getItemById(t) {
298
- return this.items.find((i) => i.rawData.id === t);
257
+ getItemById(e) {
258
+ return this.items.find((i) => i.rawData.id === e);
299
259
  }
300
- registerTagRenderer(t) {
301
- this.tagRendererMap = w(w({}, this.tagRendererMap), t), this.updateTagRenderer();
260
+ registerTagRenderer(e) {
261
+ this.tagRendererMap = w(w({}, this.tagRendererMap), e), this.updateTagRenderer();
302
262
  }
303
- hasCustomTagRenderer(t) {
304
- return !!this.tagRendererMap[t];
263
+ hasCustomTagRenderer(e) {
264
+ return !!this.tagRendererMap[e];
305
265
  }
306
266
  enable() {
307
267
  this.setState({ enabled: !0 });
@@ -325,12 +285,12 @@ class fi extends z {
325
285
  this.group.matrix.copy(this.workUtil.transform.clone()), this.group.matrix.decompose(this.group.position, this.group.quaternion, this.group.scale), this.group.updateMatrixWorld();
326
286
  }
327
287
  handleShow() {
328
- this.group.visible = !0, this.tagWrapper.style.visibility = "visible", this.five.needsRender = !0;
288
+ this.group.visible = !0, this.tagWrapper.style.display = "block", this.five.needsRender = !0;
329
289
  }
330
290
  handleHide() {
331
- this.group.visible = !1, this.tagWrapper.style.visibility = "hidden", this.five.needsRender = !0;
291
+ this.group.visible = !1, this.tagWrapper.style.display = "none", this.five.needsRender = !0;
332
292
  }
333
293
  }
334
294
  export {
335
- fi as Controller
295
+ kt as Controller
336
296
  };
@@ -29,95 +29,55 @@ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
29
29
  import "../shared-utils/three/centerPoint.js";
30
30
  import "../shared-utils/three/getObjectVisible.js";
31
31
  import "@realsee/five/line";
32
- import "../vendor/three/examples/jsm/lines/LineGeometry.js";
33
- import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
34
- import "../vendor/three/build/three.module.js";
32
+ import "../shared-utils/isNil.js";
35
33
  import "../shared-utils/three/core/Sphere.js";
36
34
  import "animejs";
37
- import "../shared-utils/isNil.js";
38
35
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
39
- import "../Sculpt/Meshes/Polygon.js";
40
- import "../shared-utils/three/generatePolygonGeometry.js";
41
- import "../shared-utils/three/earcut3D.js";
42
- import "earcut";
43
- import "../shared-utils/three/getNormal.js";
44
- import "../PanoMeasurePlugin/utils/isIntersecting.js";
45
- import "../Sculpt/typings/style.js";
46
- import "../Sculpt/utils/three/ColoredMesh.js";
47
- import "../shared-utils/three/IObject3D.js";
48
- import "../Sculpt/utils/Modules/Global.js";
49
- import "../Sculpt/utils/Modules/Cursor.js";
50
- import "../Object3DHelperPlugin/Controller.js";
51
- import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
52
- import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
53
- import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
54
- import "../shared-utils/three/boundingBox.js";
55
- import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
56
- import "../shared-utils/Object3DHelper/utils/direction.js";
57
- import "../shared-utils/Object3DHelper/Constants/color.js";
58
- import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
59
- import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
36
+ import "../shared-utils/three/PointSelector/utils/html.js";
37
+ import "../shared-utils/five/initialCSS3DRender.js";
60
38
  import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
61
39
  import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
62
40
  import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
63
- import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
64
- import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
65
- import "../shared-utils/util.js";
66
- import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
67
- import "../shared-utils/three/PointSelector/utils/html.js";
68
- import "../shared-utils/five/initialCSS3DRender.js";
69
41
  import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
70
42
  import "../Sculpt/Meshes/Line.js";
43
+ import "../Sculpt/typings/style.js";
71
44
  import "../shared-utils/five/FiveLine.js";
45
+ import "../shared-utils/three/IObject3D.js";
72
46
  import "../Sculpt/utils/removeAllTag.js";
73
47
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
74
48
  import "../shared-utils/three/applyObjectMatrixWorld.js";
75
- import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
76
- import "../Sculpt/utils/three/rayOnLine.js";
49
+ import "../shared-utils/util.js";
50
+ import "../shared-utils/three/core/LineGeometry.js";
77
51
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
78
- import "../shared-utils/url/absoluteUrl.js";
79
- import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
80
- import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
81
- import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
82
- import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
83
- import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
84
- import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
85
- import "../shared-utils/Object3DHelper/Controller/MoveController.js";
86
- import "../shared-utils/Object3DHelper/Base/BaseController.js";
87
- import "../shared-utils/threex/domevents/index.js";
88
- import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
89
- import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
90
- import "../Object3DHelperPlugin/FiveControllerWrapper.js";
91
- import "../shared-utils/Object3DHelper/index.js";
92
- import "../shared-utils/Object3DHelper/Controller/RotateController.js";
93
- import "../shared-utils/math/rad2Deg.js";
94
- import "../shared-utils/math/deg2Rad.js";
95
- import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
96
- import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
97
- import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
98
- import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
99
- import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
100
- import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
101
- import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
102
- import "../shared-utils/five/fiveModelLoad.js";
103
- import "../shared-utils/five/FiveDomEvents.js";
104
- import "../shared-utils/five/calculateThreeMouse.js";
105
52
  import "../shared-utils/isTouchDevice.js";
106
- import "../shared-utils/three/geometryUtil.js";
107
53
  import "../shared-utils/five/getPosition.js";
108
54
  import "../shared-utils/five/getRaycasterByNdcPosition.js";
109
55
  import "../shared-utils/three/PointSelector/utils/contents.js";
56
+ import "../shared-utils/url/absoluteUrl.js";
110
57
  import "./item/boxItem.js";
111
58
  import "./item/polygonItem.js";
112
59
  import "./item/baseItem.js";
113
60
  import "../shared-utils/three/addIfNotExists.js";
61
+ import "../shared-utils/three/boundingBox.js";
114
62
  import "./utils/getFiveDomEvent.js";
63
+ import "../shared-utils/five/FiveDomEvents.js";
64
+ import "../shared-utils/five/calculateThreeMouse.js";
115
65
  import "../Sculpt/Meshes/Prism.js";
66
+ import "../Sculpt/utils/three/ColoredMesh.js";
67
+ import "../shared-utils/three/core/PrismGeometry.js";
68
+ import "../shared-utils/three/geometryUtil.js";
116
69
  import "../Sculpt/Meshes/PolygonWithEdge.js";
117
70
  import "../Sculpt/Meshes/Polyline.js";
118
71
  import "../Sculpt/Meshes/LineWithDots.js";
119
72
  import "../Sculpt/Meshes/Point.js";
120
73
  import "../shared-utils/three/closeVectors.js";
74
+ import "../Sculpt/Meshes/Polygon.js";
75
+ import "../shared-utils/three/generatePolygonGeometry.js";
76
+ import "../shared-utils/three/earcut3D.js";
77
+ import "earcut";
78
+ import "../shared-utils/three/getNormal.js";
79
+ import "../PanoMeasurePlugin/utils/isIntersecting.js";
80
+ import "../shared-utils/five/fiveModelLoad.js";
121
81
  import "./utils/tagRenderer.js";
122
82
  import "./utils/Text.js";
123
83
  import "../vendor/svelte/internal/index.js";
@@ -125,7 +85,7 @@ import "../components/AreaLabel/LabelItem.js";
125
85
  import "../components/AreaLabel/Assets/roomLabelBg.js";
126
86
  import "./item/prismItem.js";
127
87
  import "../CruisePlugin/utils/sleep.js";
128
- const br = (...o) => new r(...o);
88
+ const Io = (...o) => new r(...o);
129
89
  export {
130
- br as ModelMakerPlugin
90
+ Io as ModelMakerPlugin
131
91
  };
@@ -23,8 +23,7 @@ import "../../shared-utils/three/core/Sphere.js";
23
23
  import "../../shared-utils/five/FiveDomEvents.js";
24
24
  import "../../shared-utils/three/getObjectVisible.js";
25
25
  import "../../shared-utils/five/calculateThreeMouse.js";
26
- import "../../shared-utils/isTouchDevice.js";
27
- class S extends p {
26
+ class O extends p {
28
27
  constructor(t) {
29
28
  var s, r;
30
29
  super();
@@ -67,5 +66,5 @@ class S extends p {
67
66
  }
68
67
  }
69
68
  export {
70
- S as ModelMakerBaseItem
69
+ O as ModelMakerBaseItem
71
70
  };
@@ -22,12 +22,11 @@ import "../utils/getFiveDomEvent.js";
22
22
  import "../../shared-utils/five/FiveDomEvents.js";
23
23
  import "../../shared-utils/three/getObjectVisible.js";
24
24
  import "../../shared-utils/five/calculateThreeMouse.js";
25
- import "../../shared-utils/isTouchDevice.js";
26
- class w extends r {
25
+ class v extends r {
27
26
  constructor(...o) {
28
27
  super(...o);
29
28
  }
30
29
  }
31
30
  export {
32
- w as ModelMakerBoxItem
31
+ v as ModelMakerBoxItem
33
32
  };
@@ -1,6 +1,6 @@
1
1
  var r = Object.defineProperty;
2
- var s = (e, i, t) => i in e ? r(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t;
3
- var o = (e, i, t) => (s(e, typeof i != "symbol" ? i + "" : i, t), t);
2
+ var s = (t, i, e) => i in t ? r(t, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[i] = e;
3
+ var o = (t, i, e) => (s(t, typeof i != "symbol" ? i + "" : i, e), e);
4
4
  import { ModelMakerBaseItem as p } from "./baseItem.js";
5
5
  import "three";
6
6
  import "../../shared-utils/three/addIfNotExists.js";
@@ -24,10 +24,9 @@ import "../utils/getFiveDomEvent.js";
24
24
  import "../../shared-utils/five/FiveDomEvents.js";
25
25
  import "../../shared-utils/three/getObjectVisible.js";
26
26
  import "../../shared-utils/five/calculateThreeMouse.js";
27
- import "../../shared-utils/isTouchDevice.js";
28
- class z extends p {
29
- constructor(...t) {
30
- super(...t);
27
+ class j extends p {
28
+ constructor(...e) {
29
+ super(...e);
31
30
  o(this, "hideTag", () => {
32
31
  this.tag.hide();
33
32
  });
@@ -47,5 +46,5 @@ class z extends p {
47
46
  }
48
47
  }
49
48
  export {
50
- z as ModelMakerPolygonItem
49
+ j as ModelMakerPolygonItem
51
50
  };
@@ -33,13 +33,12 @@ import "../utils/getFiveDomEvent.js";
33
33
  import "../../shared-utils/five/FiveDomEvents.js";
34
34
  import "../../shared-utils/three/getObjectVisible.js";
35
35
  import "../../shared-utils/five/calculateThreeMouse.js";
36
- import "../../shared-utils/isTouchDevice.js";
37
- class L extends f {
36
+ class K extends f {
38
37
  constructor(...o) {
39
38
  const r = o[0], m = M(r.model), a = new u.Vector3().lerpVectors(n(m, 0), n(m, 5), 0.5);
40
39
  super(s(e({}, r), { position: a })), this.enable();
41
40
  }
42
41
  }
43
42
  export {
44
- L as ModelMakerPrismItem
43
+ K as ModelMakerPrismItem
45
44
  };