@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,4 +1,4 @@
1
- import * as m from "three";
1
+ import * as p from "three";
2
2
  import { Subscribe as yo, Five as To } from "@realsee/five";
3
3
  import { CSS3DRenderPlugin as Mo } from "../CSS3DRenderPlugin/index.js";
4
4
  import Po from "./Components/origins.js";
@@ -43,82 +43,34 @@ import "../Sculpt/Meshes/Line.js";
43
43
  import "../Sculpt/typings/style.js";
44
44
  import "../shared-utils/five/FiveLine.js";
45
45
  import "@realsee/five/line";
46
- import "../vendor/three/examples/jsm/lines/LineGeometry.js";
47
- import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
48
- import "../vendor/three/build/three.module.js";
46
+ import "../shared-utils/isNil.js";
49
47
  import "../shared-utils/three/IObject3D.js";
50
48
  import "../Sculpt/utils/removeAllTag.js";
51
49
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
52
50
  import "../shared-utils/three/applyObjectMatrixWorld.js";
53
51
  import "../shared-utils/util.js";
52
+ import "../shared-utils/three/core/LineGeometry.js";
54
53
  import "../shared-utils/three/core/Sphere.js";
55
54
  import "animejs";
56
- import "../shared-utils/isNil.js";
57
55
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
58
- import "../Sculpt/Meshes/Polygon.js";
59
- import "../shared-utils/three/generatePolygonGeometry.js";
60
- import "../shared-utils/three/earcut3D.js";
61
- import "earcut";
62
- import "../shared-utils/three/getNormal.js";
63
- import "../PanoMeasurePlugin/utils/isIntersecting.js";
64
- import "../Sculpt/utils/three/ColoredMesh.js";
65
- import "../Sculpt/utils/Modules/Global.js";
66
- import "../Sculpt/utils/Modules/Cursor.js";
67
- import "../Object3DHelperPlugin/Controller.js";
68
- import "../base/BasePlugin.js";
69
- import "../shared-utils/url/absoluteUrl.js";
70
- import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
71
- import "../Sculpt/utils/three/rayOnLine.js";
72
- import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
73
- import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
74
- import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
75
- import "../shared-utils/three/boundingBox.js";
76
- import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
77
- import "../shared-utils/Object3DHelper/utils/direction.js";
78
- import "../shared-utils/Object3DHelper/Constants/color.js";
79
- import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
80
- import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
81
- import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
82
- import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
83
- import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
84
- import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
85
- import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
86
- import "../shared-utils/Object3DHelper/Controller/MoveController.js";
87
- import "../shared-utils/Object3DHelper/Base/BaseController.js";
88
- import "../shared-utils/threex/domevents/index.js";
89
- import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
90
- import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
91
- import "../Object3DHelperPlugin/FiveControllerWrapper.js";
92
- import "../shared-utils/Object3DHelper/index.js";
93
- import "../shared-utils/Object3DHelper/Controller/RotateController.js";
94
- import "../shared-utils/math/rad2Deg.js";
95
- import "../shared-utils/math/deg2Rad.js";
96
- import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
97
- import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
98
- import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
99
- import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
100
- import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
101
- import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
102
- import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
103
- import "../shared-utils/five/fiveModelLoad.js";
104
- import "../shared-utils/five/FiveDomEvents.js";
105
- import "../shared-utils/five/calculateThreeMouse.js";
106
- import "../shared-utils/isTouchDevice.js";
107
- import "../shared-utils/three/geometryUtil.js";
108
56
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
57
+ import "../shared-utils/isTouchDevice.js";
109
58
  import "../shared-utils/five/getPosition.js";
110
59
  import "../shared-utils/five/getRaycasterByNdcPosition.js";
111
60
  import "../shared-utils/three/PointSelector/utils/contents.js";
112
61
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
113
62
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
114
63
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
64
+ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
65
+ import "../shared-utils/five/fiveModelLoad.js";
66
+ import "../shared-utils/url/absoluteUrl.js";
115
67
  import "../vendor/svelte/internal/index.js";
116
68
  import "./store.js";
117
69
  import "../vendor/svelte/store/index.js";
118
- const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", Le = (i, r) => {
70
+ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", He = (n, r) => {
119
71
  var k, z, q, B, G, J, K, Q;
120
72
  let j = r == null ? void 0 : r.container, y = 1.4;
121
- const oo = (k = r == null ? void 0 : r.wait) != null ? k : 200, to = (z = r == null ? void 0 : r.maxNumberOnScreen) != null ? z : 3, I = (q = r == null ? void 0 : r.minRad) != null ? q : Math.PI / 4, L = (B = r == null ? void 0 : r.nearTolerance) != null ? B : 100, eo = (G = r == null ? void 0 : r.upsideHeight) != null ? G : 1.6, A = (J = r == null ? void 0 : r.minDistance) != null ? J : 1.2, f = (K = r == null ? void 0 : r.maxDistance) != null ? K : 3.5, C = Mo(i), S = document.createElement("div");
73
+ const oo = (k = r == null ? void 0 : r.wait) != null ? k : 200, eo = (z = r == null ? void 0 : r.maxNumberOnScreen) != null ? z : 3, I = (q = r == null ? void 0 : r.minRad) != null ? q : Math.PI / 4, L = (B = r == null ? void 0 : r.nearTolerance) != null ? B : 100, to = (G = r == null ? void 0 : r.upsideHeight) != null ? G : 1.6, A = (J = r == null ? void 0 : r.minDistance) != null ? J : 1.2, f = (K = r == null ? void 0 : r.maxDistance) != null ? K : 3.5, C = Mo(n), S = document.createElement("div");
122
74
  S.classList.add("PanoSpatialTagPlugin"), Object.assign(S.style, Eo);
123
75
  const V = new yo();
124
76
  let Z = new Image();
@@ -136,203 +88,203 @@ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoS
136
88
  }, Y = new Po({
137
89
  target: S,
138
90
  props: { origins: o.origins }
139
- }), _ = (t, s) => {
91
+ }), _ = (e, s) => {
140
92
  T(), s && M();
141
93
  }, F = () => {
142
94
  o.forbidden && (o.forbidden = !1, M());
143
- }, H = (t, s) => {
95
+ }, H = (e, s) => {
144
96
  if (o.tags.length === 0)
145
97
  return;
146
- const l = s.longitude - i.state.longitude, e = i.camera.clone();
147
- e.position.copy(s.offset), e.rotateOnWorldAxis(new m.Vector3(0, 1, 0), l), e.updateProjectionMatrix(), e.updateMatrixWorld(!0);
148
- const g = new m.Frustum(), P = new m.Matrix4();
149
- P.multiplyMatrices(e.projectionMatrix, e.matrixWorldInverse), g.setFromProjectionMatrix(P), o.tags.forEach((n) => {
150
- const $ = e.position.clone().setY(y).distanceTo(n.position);
151
- if ($ < A || $ > f || !g.containsPoint(n.position))
152
- return n.destroying = !0;
153
- const x = n.position.clone().sub(e.position).setY(0);
154
- if (x.angleTo(n.normal) > Math.PI / 2 - I && x.angleTo(n.normal) < Math.PI / 2 + I)
155
- return n.destroying = !0;
156
- }), o.tags.forEach((n) => {
157
- n.destroying ? n.app.$set({
158
- contentZoom: 0.1 + e.position.distanceTo(n.position) / f,
159
- lineWidthZoom: 0.38 * (0.01 + e.position.distanceTo(n.position) / f),
160
- destroying: n.destroying
161
- }) : n.app.$set({
162
- lineWidthZoom: 0.38 * (0.01 + e.position.distanceTo(n.position) / f),
163
- lineHeightZoom: 0.4 + (e.position.distanceTo(n.position) - A) / f * 0.6,
164
- contentZoom: 0.1 + e.position.distanceTo(n.position) / f
98
+ const a = s.longitude - n.state.longitude, t = n.camera.clone();
99
+ t.position.copy(s.offset), t.rotateOnWorldAxis(new p.Vector3(0, 1, 0), a), t.updateProjectionMatrix(), t.updateMatrixWorld(!0);
100
+ const g = new p.Frustum(), P = new p.Matrix4();
101
+ P.multiplyMatrices(t.projectionMatrix, t.matrixWorldInverse), g.setFromProjectionMatrix(P), o.tags.forEach((i) => {
102
+ const $ = t.position.clone().setY(y).distanceTo(i.position);
103
+ if ($ < A || $ > f || !g.containsPoint(i.position))
104
+ return i.destroying = !0;
105
+ const x = i.position.clone().sub(t.position).setY(0);
106
+ if (x.angleTo(i.normal) > Math.PI / 2 - I && x.angleTo(i.normal) < Math.PI / 2 + I)
107
+ return i.destroying = !0;
108
+ }), o.tags.forEach((i) => {
109
+ i.destroying ? i.app.$set({
110
+ contentZoom: 0.1 + t.position.distanceTo(i.position) / f,
111
+ lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(i.position) / f),
112
+ destroying: i.destroying
113
+ }) : i.app.$set({
114
+ lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(i.position) / f),
115
+ lineHeightZoom: 0.4 + (t.position.distanceTo(i.position) - A) / f * 0.6,
116
+ contentZoom: 0.1 + t.position.distanceTo(i.position) / f
165
117
  });
166
118
  }), setTimeout(() => {
167
- o.tags.forEach((n) => {
168
- n.destroying && (n.app.$destroy(), n = null);
169
- }), o.tags = o.tags.filter((n) => !n.destroying), T();
119
+ o.tags.forEach((i) => {
120
+ i.destroying && (i.app.$destroy(), i = null);
121
+ }), o.tags = o.tags.filter((i) => !i.destroying), T();
170
122
  }, 1900);
171
- }, N = (t) => {
172
- t !== To.Mode.Panorama && !o.forbidden && (Y.$set({ origins: [] }), o.tags.forEach((s) => {
123
+ }, N = (e) => {
124
+ e !== To.Mode.Panorama && !o.forbidden && (Y.$set({ origins: [] }), o.tags.forEach((s) => {
173
125
  s.app.$destroy(), s = null;
174
126
  }), o.origins = [], o.tags = [], o.forbidden = !0);
175
127
  }, T = () => {
176
128
  if (o.forbidden || !o.enabled)
177
129
  return;
178
- const t = i.camera, s = t.getWorldDirection(new m.Vector3());
179
- o.origins = o.tags.map((l) => {
180
- const e = l.position.clone().project(t), g = l.position.clone().sub(t.position).setY(0).angleTo(s.setY(0)) < Math.PI / 2;
130
+ const e = n.camera, s = e.getWorldDirection(new p.Vector3());
131
+ o.origins = o.tags.map((a) => {
132
+ const t = a.position.clone().project(e), g = a.position.clone().sub(e.position).setY(0).angleTo(s.setY(0)) < Math.PI / 2;
181
133
  return {
182
- id: l.id,
134
+ id: a.id,
183
135
  front: g,
184
- left: (e.x + 1) / 2 * 100,
185
- top: (-e.y + 1) / 2 * 100,
186
- destroying: l.destroying
136
+ left: (t.x + 1) / 2 * 100,
137
+ top: (-t.y + 1) / 2 * 100,
138
+ destroying: a.destroying
187
139
  };
188
140
  }), Y.$set({ origins: o.origins });
189
141
  }, M = () => {
190
142
  o.forbidden || !o.enabled || (o.timeoutId && clearTimeout(o.timeoutId), o.timeoutId = setTimeout(() => {
191
143
  o.timeoutId = void 0;
192
- const t = io();
193
- t.length && (o.tags = o.tags.concat(t), T());
144
+ const e = no();
145
+ e.length && (o.tags = o.tags.concat(e), T());
194
146
  }, oo));
195
- }, io = () => {
196
- const { clientWidth: t, clientHeight: s } = i.getElement(), l = [], e = i.camera, g = new m.Frustum(), P = new m.Matrix4(), n = e.getWorldDirection(new m.Vector3());
197
- P.multiplyMatrices(e.projectionMatrix, e.matrixWorldInverse), g.setFromProjectionMatrix(P);
198
- const $ = o.tags.filter((p) => g.containsPoint(p.position) && !p.destroying).length, x = o.points.reduce((p, a) => {
199
- if (o.tags.find((d) => a.id === d.id && !d.destroying))
200
- return p;
201
- const u = e.position.clone().setY(y).distanceTo(a.position);
202
- if (u < A || u > f || !g.containsPoint(a.position))
203
- return p;
204
- const E = a.position.clone().sub(e.position).setY(0);
205
- if (E.angleTo(a.normal) > Math.PI / 2 - I && E.angleTo(a.normal) < Math.PI / 2 + I)
206
- return p;
207
- const w = a.position.clone().project(e);
208
- if (!o.tags.every((d) => {
209
- if (d.position.clone().sub(e.position).setY(0).angleTo(n.setY(0)) > Math.PI / 2)
147
+ }, no = () => {
148
+ const { clientWidth: e, clientHeight: s } = n.getElement(), a = [], t = n.camera, g = new p.Frustum(), P = new p.Matrix4(), i = t.getWorldDirection(new p.Vector3());
149
+ P.multiplyMatrices(t.projectionMatrix, t.matrixWorldInverse), g.setFromProjectionMatrix(P);
150
+ const $ = o.tags.filter((d) => g.containsPoint(d.position) && !d.destroying).length, x = o.points.reduce((d, m) => {
151
+ if (o.tags.find((l) => m.id === l.id && !l.destroying))
152
+ return d;
153
+ const u = t.position.clone().setY(y).distanceTo(m.position);
154
+ if (u < A || u > f || !g.containsPoint(m.position))
155
+ return d;
156
+ const E = m.position.clone().sub(t.position).setY(0);
157
+ if (E.angleTo(m.normal) > Math.PI / 2 - I && E.angleTo(m.normal) < Math.PI / 2 + I)
158
+ return d;
159
+ const w = m.position.clone().project(t);
160
+ if (!o.tags.every((l) => {
161
+ if (l.position.clone().sub(t.position).setY(0).angleTo(i.setY(0)) > Math.PI / 2)
210
162
  return !0;
211
- const b = d.position.clone().project(e);
212
- return Math.sqrt(Math.pow((w.x - b.x) / 2 * t, 2) + Math.pow((w.y - b.y) / 2 * s, 2)) > L;
163
+ const b = l.position.clone().project(t);
164
+ return Math.sqrt(Math.pow((w.x - b.x) / 2 * e, 2) + Math.pow((w.y - b.y) / 2 * s, 2)) > L;
213
165
  }))
214
- return p;
166
+ return d;
215
167
  const h = {
216
- id: a.id,
217
- position: a.position,
218
- normal: a.normal,
219
- replacement: a.replacement,
220
- weight: a.weight,
168
+ id: m.id,
169
+ position: m.position,
170
+ normal: m.normal,
171
+ replacement: m.replacement,
172
+ weight: m.weight,
221
173
  distance: u
222
174
  };
223
175
  let c;
224
- for (let d = 0, b = p.length; d < b; d++) {
225
- const O = p[d];
176
+ for (let l = 0, b = d.length; l < b; l++) {
177
+ const O = d[l];
226
178
  if (h.weight > O.weight) {
227
- c = d;
179
+ c = l;
228
180
  break;
229
181
  }
230
182
  if (h.distance < O.distance) {
231
- c = d;
183
+ c = l;
232
184
  break;
233
185
  }
234
186
  }
235
- return c !== void 0 ? p.splice(c, 0, h) : p.push(h), p;
187
+ return c !== void 0 ? d.splice(c, 0, h) : d.push(h), d;
236
188
  }, []);
237
- for (let p = 0, a = x.length; p < a && !($ + l.length >= to); p++) {
238
- const u = x[p];
239
- if (l.find((c) => u.id === c.id))
189
+ for (let d = 0, m = x.length; d < m && !($ + a.length >= eo); d++) {
190
+ const u = x[d];
191
+ if (a.find((c) => u.id === c.id))
240
192
  continue;
241
- const E = u.position.clone().project(e);
242
- if (!o.tags.concat(l).every((c) => {
243
- if (c.position.clone().sub(e.position).setY(0).angleTo(n.setY(0)) > Math.PI / 2)
193
+ const E = u.position.clone().project(t);
194
+ if (!o.tags.concat(a).every((c) => {
195
+ if (c.position.clone().sub(t.position).setY(0).angleTo(i.setY(0)) > Math.PI / 2)
244
196
  return !0;
245
- const d = c.position.clone().project(e);
246
- return Math.sqrt(Math.pow((E.x - d.x) / 2 * t, 2) + Math.pow((E.y - d.y) / 2 * s, 2)) > L;
197
+ const l = c.position.clone().project(t);
198
+ return Math.sqrt(Math.pow((E.x - l.x) / 2 * e, 2) + Math.pow((E.y - l.y) / 2 * s, 2)) > L;
247
199
  }))
248
200
  continue;
249
- const w = new m.Raycaster(
250
- e.position.clone().setY(y),
251
- u.position.clone().sub(e.position.clone().setY(y)).normalize(),
201
+ const w = new p.Raycaster(
202
+ t.position.clone().setY(y),
203
+ u.position.clone().sub(t.position.clone().setY(y)).normalize(),
252
204
  0,
253
205
  u.distance + v
254
- ), [h] = o.intersectObjects ? w.intersectObjects(o.intersectObjects, !0) : i.model.loaded ? i.model.intersectRaycaster(w) : w.intersectObjects(i.model.children, !0);
206
+ ), [h] = o.intersectObjects ? w.intersectObjects(o.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(w) : w.intersectObjects(n.model.children, !0);
255
207
  if (h && u.distance - h.distance < v) {
256
- const { position: c, normal: d, id: b, replacement: O } = u, fo = new m.Plane().setFromNormalAndCoplanarPoint(d, c), X = c.clone().sub(e.position).cross(new m.Vector3(0, 1, 0)).setLength(D), uo = [
208
+ const { position: c, normal: l, id: b, replacement: O } = u, fo = new p.Plane().setFromNormalAndCoplanarPoint(l, c), X = c.clone().sub(t.position).cross(new p.Vector3(0, 1, 0)).setLength(D), uo = [
257
209
  c.clone(),
258
210
  c.clone().add(X),
259
- c.clone().add(new m.Vector3(0, D, 0)).add(X),
260
- c.clone().add(new m.Vector3(0, D, 0))
261
- ].map((wo) => fo.projectPoint(wo, new m.Vector3())), { container: go, dispose: ho } = C.create3DDomContainer(uo) || {}, bo = new xo({
211
+ c.clone().add(new p.Vector3(0, D, 0)).add(X),
212
+ c.clone().add(new p.Vector3(0, D, 0))
213
+ ].map((wo) => fo.projectPoint(wo, new p.Vector3())), { container: go, dispose: ho } = C.create3DDomContainer(uo) || {}, bo = new xo({
262
214
  target: go,
263
215
  props: {
264
216
  id: b,
265
217
  content: o.render(o.template, O),
266
- lineWidthZoom: 0.38 * (0.01 + e.position.distanceTo(c) / f),
267
- lineHeightZoom: 0.4 + (e.position.distanceTo(c) - A) / f * 0.6,
268
- contentZoom: 0.1 + e.position.distanceTo(c) / f,
269
- upsideDown: c.y > eo,
218
+ lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(c) / f),
219
+ lineHeightZoom: 0.4 + (t.position.distanceTo(c) - A) / f * 0.6,
220
+ contentZoom: 0.1 + t.position.distanceTo(c) / f,
221
+ upsideDown: c.y > to,
270
222
  folded: o.folded,
271
223
  events: o.events,
272
224
  hooks: V,
273
225
  dispose: ho
274
226
  }
275
227
  });
276
- l.push({
228
+ a.push({
277
229
  position: c,
278
- normal: d,
230
+ normal: l,
279
231
  id: b,
280
232
  app: bo
281
233
  });
282
234
  }
283
235
  }
284
- return l;
285
- }, no = (t) => {
286
- o.points = t.points.map((s) => {
287
- var l, e;
236
+ return a;
237
+ }, io = (e) => {
238
+ o.points = e.points.map((s) => {
239
+ var a, t;
288
240
  return {
289
241
  id: s.id,
290
- position: new m.Vector3().fromArray(s.position),
291
- normal: new m.Vector3().fromArray(s.normal),
292
- replacement: (l = s.replacement) != null ? l : {},
293
- weight: (e = s.weight) != null ? e : -1
242
+ position: new p.Vector3().fromArray(s.position),
243
+ normal: new p.Vector3().fromArray(s.normal),
244
+ replacement: (a = s.replacement) != null ? a : {},
245
+ weight: (t = s.weight) != null ? t : -1
294
246
  };
295
- }), t.render && (o.render = t.render), t.template && (o.template = t.template), t.events && (o.events = t.events), t.enabled === !1 && (o.enabled = t.enabled), t.folded === !0 && (o.folded = t.folded);
296
- }, ro = (t) => {
297
- o.intersectObjects = t, M();
247
+ }), e.render && (o.render = e.render), e.template && (o.template = e.template), e.events && (o.events = e.events), e.enabled === !1 && (o.enabled = e.enabled), e.folded === !0 && (o.folded = e.folded);
248
+ }, ro = (e) => {
249
+ o.intersectObjects = e, M();
298
250
  }, so = () => {
299
251
  o.enabled = !0, M();
300
252
  }, co = () => {
301
- o.enabled = !1, Y.$set({ origins: [] }), o.tags.forEach((t) => {
302
- t.app.$destroy(), t = null;
253
+ o.enabled = !1, Y.$set({ origins: [] }), o.tags.forEach((e) => {
254
+ e.app.$destroy(), e = null;
303
255
  }), o.origins = [], o.tags = [];
304
- }, po = () => {
305
- o.folded = !1, o.tags.forEach((t) => {
306
- t.app.$set({ folded: o.folded });
256
+ }, lo = () => {
257
+ o.folded = !1, o.tags.forEach((e) => {
258
+ e.app.$set({ folded: o.folded });
307
259
  });
308
- }, mo = () => {
309
- o.folded = !0, o.tags.forEach((t) => {
310
- t.app.$set({ folded: o.folded });
260
+ }, po = () => {
261
+ o.folded = !0, o.tags.forEach((e) => {
262
+ e.app.$set({ folded: o.folded });
311
263
  });
312
- }, lo = (t) => {
264
+ }, ao = (e) => {
313
265
  o.tags.forEach((s) => {
314
- s.id === t && s.app.$set({ folded: !1 });
266
+ s.id === e && s.app.$set({ folded: !1 });
315
267
  });
316
- }, ao = (t) => {
268
+ }, mo = (e) => {
317
269
  o.tags.forEach((s) => {
318
- s.id === t && s.app.$set({ folded: !0 });
270
+ s.id === e && s.app.$set({ folded: !0 });
319
271
  });
320
272
  }, U = () => {
321
- i.once("renderFrame", T);
273
+ n.once("renderFrame", T);
322
274
  }, R = () => {
323
- j || (j = i.getElement().parentElement), j && j.appendChild(S), o.forbidden = !1, y = i.model.bounding.getCenter(new m.Vector3()).y, M(), i.on("panoWillArrive", H), i.on("panoArrived", F), i.on("modeChange", N), i.on("cameraUpdate", _);
275
+ j || (j = n.getElement().parentElement), j && j.appendChild(S), o.forbidden = !1, y = n.model.bounding.getCenter(new p.Vector3()).y, M(), n.on("panoWillArrive", H), n.on("panoArrived", F), n.on("modeChange", N), n.on("cameraUpdate", _);
324
276
  }, W = () => {
325
- Z = null, C.disposeAll(), Y.$destroy(), o.tags.forEach((t) => {
326
- t.app.$destroy(), t = null;
327
- }), o.origins = [], o.tags = [], i.off("modelLoaded", R), i.off("renderFrame", T), i.off("panoWillArrive", H), i.off("panoArrived", F), i.off("modeChange", N), i.off("cameraUpdate", _), i.off("dispose", W), window.removeEventListener("resize", U, !1);
277
+ Z = null, C.disposeAll(), Y.$destroy(), o.tags.forEach((e) => {
278
+ e.app.$destroy(), e = null;
279
+ }), o.origins = [], o.tags = [], n.off("modelLoaded", R), n.off("renderFrame", T), n.off("panoWillArrive", H), n.off("panoArrived", F), n.off("modeChange", N), n.off("cameraUpdate", _), n.off("dispose", W), window.removeEventListener("resize", U, !1);
328
280
  };
329
- return window.addEventListener("resize", U, !1), (Q = i == null ? void 0 : i.model) != null && Q.loaded ? R() : i.once("modelLoaded", R), i.on("dispose", W), {
330
- load: no,
281
+ return window.addEventListener("resize", U, !1), (Q = n == null ? void 0 : n.model) != null && Q.loaded ? R() : n.once("modelLoaded", R), n.on("dispose", W), {
282
+ load: io,
331
283
  setIntersectObjects: ro,
332
- unfoldAll: po,
333
- foldAll: mo,
334
- unfold: lo,
335
- fold: ao,
284
+ unfoldAll: lo,
285
+ foldAll: po,
286
+ unfold: ao,
287
+ fold: mo,
336
288
  enable: so,
337
289
  disable: co,
338
290
  hooks: V,
@@ -340,6 +292,6 @@ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoS
340
292
  };
341
293
  };
342
294
  export {
343
- Le as PanoSpatialTagPlugin,
344
- Le as default
295
+ He as PanoSpatialTagPlugin,
296
+ He as default
345
297
  };
@@ -40,75 +40,27 @@ import "../Sculpt/Meshes/Line.js";
40
40
  import "../Sculpt/typings/style.js";
41
41
  import "../shared-utils/five/FiveLine.js";
42
42
  import "@realsee/five/line";
43
- import "../vendor/three/examples/jsm/lines/LineGeometry.js";
44
- import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
45
- import "../vendor/three/build/three.module.js";
43
+ import "../shared-utils/isNil.js";
46
44
  import "../shared-utils/three/IObject3D.js";
47
45
  import "../Sculpt/utils/removeAllTag.js";
48
46
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
49
47
  import "../shared-utils/three/applyObjectMatrixWorld.js";
50
48
  import "../shared-utils/util.js";
49
+ import "../shared-utils/three/core/LineGeometry.js";
51
50
  import "../shared-utils/three/core/Sphere.js";
52
51
  import "animejs";
53
- import "../shared-utils/isNil.js";
54
52
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
55
- import "../Sculpt/Meshes/Polygon.js";
56
- import "../shared-utils/three/generatePolygonGeometry.js";
57
- import "../shared-utils/three/earcut3D.js";
58
- import "earcut";
59
- import "../shared-utils/three/getNormal.js";
60
- import "../PanoMeasurePlugin/utils/isIntersecting.js";
61
- import "../Sculpt/utils/three/ColoredMesh.js";
62
- import "../Sculpt/utils/Modules/Global.js";
63
- import "../Sculpt/utils/Modules/Cursor.js";
64
- import "../Object3DHelperPlugin/Controller.js";
65
- import "../base/BasePlugin.js";
66
- import "../shared-utils/url/absoluteUrl.js";
67
- import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
68
- import "../Sculpt/utils/three/rayOnLine.js";
69
- import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
70
- import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
71
- import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
72
- import "../shared-utils/three/boundingBox.js";
73
- import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
74
- import "../shared-utils/Object3DHelper/utils/direction.js";
75
- import "../shared-utils/Object3DHelper/Constants/color.js";
76
- import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
77
- import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
78
- import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
79
- import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
80
- import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
81
- import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
82
- import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
83
- import "../shared-utils/Object3DHelper/Controller/MoveController.js";
84
- import "../shared-utils/Object3DHelper/Base/BaseController.js";
85
- import "../shared-utils/threex/domevents/index.js";
86
- import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
87
- import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
88
- import "../Object3DHelperPlugin/FiveControllerWrapper.js";
89
- import "../shared-utils/Object3DHelper/index.js";
90
- import "../shared-utils/Object3DHelper/Controller/RotateController.js";
91
- import "../shared-utils/math/rad2Deg.js";
92
- import "../shared-utils/math/deg2Rad.js";
93
- import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
94
- import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
95
- import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
96
- import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
97
- import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
98
- import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
99
- import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
100
- import "../shared-utils/five/fiveModelLoad.js";
101
- import "../shared-utils/five/FiveDomEvents.js";
102
- import "../shared-utils/five/calculateThreeMouse.js";
103
- import "../shared-utils/isTouchDevice.js";
104
- import "../shared-utils/three/geometryUtil.js";
105
53
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
54
+ import "../shared-utils/isTouchDevice.js";
106
55
  import "../shared-utils/five/getPosition.js";
107
56
  import "../shared-utils/five/getRaycasterByNdcPosition.js";
108
57
  import "../shared-utils/three/PointSelector/utils/contents.js";
109
58
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
110
59
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
111
60
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
61
+ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
62
+ import "../shared-utils/five/fiveModelLoad.js";
63
+ import "../shared-utils/url/absoluteUrl.js";
112
64
  import "./Components/origins.js";
113
65
  import "../vendor/svelte/internal/index.js";
114
66
  import "./store.js";