@realsee/dnalogel 3.51.0 → 3.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (278) hide show
  1. package/CHANGELOG.md +15 -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 -5
  20. package/dist/Sculpt/Objects/Base/index.d.ts +3 -3
  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 +13 -2
  30. package/dist/Sculpt/index.d.ts +10 -19
  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 +35141 -54254
  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 -5
  171. package/libs/Sculpt/Meshes/Rectangle.js +12 -22
  172. package/libs/Sculpt/Meshes/RectangleWithEdge.js +17 -20
  173. package/libs/Sculpt/Objects/Base/index.d.ts +3 -3
  174. package/libs/Sculpt/Objects/Base/index.js +20 -25
  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 +41 -37
  179. package/libs/Sculpt/Objects/Cylinder/index.d.ts +3 -0
  180. package/libs/Sculpt/Objects/Cylinder/index.js +66 -62
  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 +13 -2
  193. package/libs/Sculpt/Objects/Rectangle/index.js +143 -81
  194. package/libs/Sculpt/index.d.ts +10 -19
  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,7 +1,7 @@
1
1
  import r from "./controller/index.js";
2
- import { pluginFlag as dp } from "./controller/index.js";
3
- import { defaultGlobalConfig as cp } from "./typings/tag/TagConfig.js";
4
- import { ContentType as Dp, DimensionType as Fp, PointType as Gp } from "./Archive/deprecated.js";
2
+ import { pluginFlag as qr } from "./controller/index.js";
3
+ import { defaultGlobalConfig as zr } from "./typings/tag/TagConfig.js";
4
+ import { ContentType as Br, DimensionType as Er, PointType as Hr } from "./Archive/deprecated.js";
5
5
  import "three";
6
6
  import "../vendor/object-assign-deep/objectAssignDeep.js";
7
7
  import "../shared-utils/positionToVector3.js";
@@ -95,80 +95,25 @@ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
95
95
  import "../shared-utils/three/centerPoint.js";
96
96
  import "../shared-utils/three/getObjectVisible.js";
97
97
  import "@realsee/five/line";
98
- import "../vendor/three/examples/jsm/lines/LineGeometry.js";
99
- import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
100
- import "../vendor/three/build/three.module.js";
101
98
  import "../shared-utils/three/core/Sphere.js";
102
99
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
103
- import "../Sculpt/Meshes/Polygon.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/typings/style.js";
110
- import "../Sculpt/utils/three/ColoredMesh.js";
111
- import "../shared-utils/three/IObject3D.js";
112
- import "../Sculpt/utils/Modules/Global.js";
113
- import "../Sculpt/utils/Modules/Cursor.js";
114
- import "../Object3DHelperPlugin/Controller.js";
115
- import "../base/BasePlugin.js";
116
- import "../shared-utils/url/absoluteUrl.js";
117
- import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
118
- import "../Sculpt/utils/three/rayOnLine.js";
119
- import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
120
- import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
121
- import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
122
- import "../shared-utils/three/boundingBox.js";
123
- import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
124
- import "../shared-utils/Object3DHelper/utils/direction.js";
125
- import "../shared-utils/Object3DHelper/Constants/color.js";
126
- import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
127
- import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
100
+ import "../shared-utils/three/PointSelector/utils/html.js";
101
+ import "../shared-utils/five/initialCSS3DRender.js";
128
102
  import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
129
103
  import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
130
104
  import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
131
- import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
132
- import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
133
- import "../shared-utils/util.js";
134
- import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
135
- import "../shared-utils/three/PointSelector/utils/html.js";
136
- import "../shared-utils/five/initialCSS3DRender.js";
137
105
  import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
138
106
  import "../Sculpt/Meshes/Line.js";
107
+ import "../Sculpt/typings/style.js";
139
108
  import "../shared-utils/five/FiveLine.js";
109
+ import "../shared-utils/three/IObject3D.js";
140
110
  import "../Sculpt/utils/removeAllTag.js";
141
111
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
142
112
  import "../shared-utils/three/applyObjectMatrixWorld.js";
113
+ import "../shared-utils/util.js";
114
+ import "../shared-utils/three/core/LineGeometry.js";
143
115
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
144
- import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
145
- import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
146
- import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
147
- import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
148
- import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
149
- import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
150
- import "../shared-utils/Object3DHelper/Controller/MoveController.js";
151
- import "../shared-utils/Object3DHelper/Base/BaseController.js";
152
- import "../shared-utils/threex/domevents/index.js";
153
- import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
154
- import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
155
- import "../Object3DHelperPlugin/FiveControllerWrapper.js";
156
- import "../shared-utils/Object3DHelper/index.js";
157
- import "../shared-utils/Object3DHelper/Controller/RotateController.js";
158
- import "../shared-utils/math/rad2Deg.js";
159
- import "../shared-utils/math/deg2Rad.js";
160
- import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
161
- import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
162
- import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
163
- import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
164
- import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
165
- import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
166
- import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
167
- import "../shared-utils/five/fiveModelLoad.js";
168
- import "../shared-utils/five/FiveDomEvents.js";
169
- import "../shared-utils/five/calculateThreeMouse.js";
170
116
  import "../shared-utils/isTouchDevice.js";
171
- import "../shared-utils/three/geometryUtil.js";
172
117
  import "../shared-utils/five/getPosition.js";
173
118
  import "../shared-utils/five/getRaycasterByNdcPosition.js";
174
119
  import "../shared-utils/three/PointSelector/utils/contents.js";
@@ -198,6 +143,7 @@ import "../shared-utils/three/loadVideoTexture.js";
198
143
  import "../shared-utils/device.js";
199
144
  import "../shared-utils/three/getPositionsByObjectFit.js";
200
145
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
146
+ import "../shared-utils/three/getNormal.js";
201
147
  import "./controller/Tag/BaseTag.js";
202
148
  import "./utils/tag/calculateTagConfig.js";
203
149
  import "../shared-utils/typescript/entries.js";
@@ -220,6 +166,16 @@ import "./utils/normalPositionToPositions.js";
220
166
  import "../vendor/svelte/store/index.js";
221
167
  import "../CSS3DRenderPlugin/index.js";
222
168
  import "../CSS3DRenderPlugin/Controller.js";
169
+ import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
170
+ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
171
+ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
172
+ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
173
+ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
174
+ import "../shared-utils/five/fiveModelLoad.js";
175
+ import "../shared-utils/url/absoluteUrl.js";
176
+ import "../shared-utils/five/FiveDomEvents.js";
177
+ import "../shared-utils/five/calculateThreeMouse.js";
178
+ import "../base/BasePlugin.js";
223
179
  import "../shared-utils/animationFrame/index.js";
224
180
  import "./utils/DebugUtil.js";
225
181
  import "./utils/addDebugPoints.js";
@@ -229,14 +185,14 @@ import "./Components/TagContainer.js";
229
185
  import "./Components/TagItem.js";
230
186
  import "./Components/Common/TagPoint.js";
231
187
  import "../shared-utils/animationFrame/BetterTween.js";
232
- const sp = (o, t) => new r(o, t);
188
+ const hr = (o, t) => new r(o, t);
233
189
  export {
234
- Dp as ContentType,
235
- Fp as DimensionType,
236
- sp as PanoTagPlugin,
190
+ Br as ContentType,
191
+ Er as DimensionType,
192
+ hr as PanoTagPlugin,
237
193
  r as PanoTagPluginController,
238
- Gp as PointType,
239
- sp as default,
240
- cp as defaultGlobalConfig,
241
- dp as pluginFlag
194
+ Hr as PointType,
195
+ hr as default,
196
+ zr as defaultGlobalConfig,
197
+ qr as pluginFlag
242
198
  };
@@ -22,10 +22,10 @@ import { Vector3 as w } from "three";
22
22
  import { centerPoint as b } from "../../../shared-utils/three/centerPoint.js";
23
23
  import { loadPicture as x } from "../../../shared-utils/three/loadTexture.js";
24
24
  import { QuadrangleGeometry as H, QuadrangleMesh as P } from "../../../shared-utils/three/Quadrangle.js";
25
- import { getVideoTexture as V } from "../../../shared-utils/three/loadVideoTexture.js";
26
- import { Image_Play_Icon_With_Text as L, Image_Play_Icon as T } from "../../Assets/Icon.js";
25
+ import { getVideoTexture as S } from "../../../shared-utils/three/loadVideoTexture.js";
26
+ import { Image_Play_Icon_With_Text as V, Image_Play_Icon as T } from "../../Assets/Icon.js";
27
27
  import { getPositionsByObjectFit as g } from "../../../shared-utils/three/getPositionsByObjectFit.js";
28
- import { FragmentTransparencyMaterial as R } from "../../../shared-utils/three/FragmentTransparencyMaterial.js";
28
+ import { FragmentTransparencyMaterial as L } from "../../../shared-utils/three/FragmentTransparencyMaterial.js";
29
29
  import { getNormal as E } from "../../../shared-utils/three/getNormal.js";
30
30
  import "../../../shared-utils/math/pointsIsRectangle.js";
31
31
  import "../../../shared-utils/device.js";
@@ -59,7 +59,7 @@ class $ extends C {
59
59
  const n = (o = t == null ? void 0 : t.resolveZFighting) != null ? o : !0;
60
60
  let a = i;
61
61
  if (n) {
62
- const s = E(i, 5e-4);
62
+ const s = E(i).multiplyScalar(5e-4);
63
63
  a = i.map((u) => u.clone().add(s));
64
64
  }
65
65
  x(e).then(({ texture: s, transparent: u }) => {
@@ -68,8 +68,8 @@ class $ extends C {
68
68
  (p = t == null ? void 0 : t.objectFit) != null ? p : "contain",
69
69
  a,
70
70
  s.image.width / s.image.height
71
- ), l = b(...d), m = d.map((y) => y.clone().sub(l)), f = new H(m);
72
- this.position.copy(l), this.geometry = f, this.material = M;
71
+ ), m = b(...d), l = d.map((y) => y.clone().sub(m)), f = new H(l);
72
+ this.position.copy(m), this.geometry = f, this.material = M;
73
73
  }).catch((s) => {
74
74
  console.error(`Imageplane error ${s == null ? void 0 : s.message}`);
75
75
  });
@@ -103,13 +103,13 @@ class q extends C {
103
103
  r(this, "buttonMesh");
104
104
  r(this, "videoTextureMap");
105
105
  r(this, "ImageTextureMap");
106
- this.cornerPoints = i, this.src = e, this.buttonSrc = (() => o === "withText" ? L : o === "withoutText" ? T : typeof o == "string" ? o : T)(), this.videoCoverSrc = n, this.objectFit = a, this.videoTextureMap = u, this.ImageTextureMap = M, this.domEvents = d, this.position.copy(b(...i)), this.videoCoverSrc && s ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
106
+ this.cornerPoints = i, this.src = e, this.buttonSrc = (() => o === "withText" ? V : o === "withoutText" ? T : typeof o == "string" ? o : T)(), this.videoCoverSrc = n, this.objectFit = a, this.videoTextureMap = u, this.ImageTextureMap = M, this.domEvents = d, this.position.copy(b(...i)), this.videoCoverSrc && s ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
107
107
  s ? this.addButtonMesh() : this.play(!0);
108
108
  }), this.addEventListener("removed", () => {
109
109
  this.remove(...this.children);
110
110
  }), this.addEventListener("dispose", () => {
111
- var l;
112
- (l = this.disposers) == null || l.forEach((m) => m == null ? void 0 : m());
111
+ var m;
112
+ (m = this.disposers) == null || m.forEach((l) => l == null ? void 0 : l());
113
113
  });
114
114
  }
115
115
  play(e = !1) {
@@ -196,10 +196,10 @@ class q extends C {
196
196
  if (this.children.includes(this.buttonMesh))
197
197
  return;
198
198
  const e = yield (() => v(this, null, function* () {
199
- var m, f, p, y;
199
+ var l, f, p, y;
200
200
  if (this.buttonMesh)
201
201
  return this.buttonMesh;
202
- const i = (f = (m = this.videoMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? f : 1 / 0, t = (y = (p = this.coverMesh) == null ? void 0 : p.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? y : 1 / 0, n = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), o = Math.min(i, t, n) / n * 0.3, { texture: s, transparent: u } = yield this.getImageTexture(this.buttonSrc), M = g("contain", this.cornerPoints, s.image.width / s.image.height), d = new P(M, new R(s));
202
+ const i = (f = (l = this.videoMesh) == null ? void 0 : l.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? f : 1 / 0, t = (y = (p = this.coverMesh) == null ? void 0 : p.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? y : 1 / 0, n = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), o = Math.min(i, t, n) / n * 0.3, { texture: s, transparent: u } = yield this.getImageTexture(this.buttonSrc), M = g("contain", this.cornerPoints, s.image.width / s.image.height), d = new P(M, new L(s));
203
203
  d.position.copy(new w(0, 0, 0)), d.name = "buttonMesh", d.scale.set(o, o, o), this.domEvents.addAutoBindEventListener(
204
204
  d,
205
205
  "click",
@@ -208,8 +208,8 @@ class q extends C {
208
208
  },
209
209
  { noEmitWhenHide: !0 }
210
210
  );
211
- const l = E(M, 5e-4);
212
- return d.position.add(l), d;
211
+ const m = E(M).multiplyScalar(5e-4);
212
+ return d.position.add(m), d;
213
213
  }))();
214
214
  return this.children.includes(this.buttonMesh) || (this.add(e), this.buttonMesh = e), e;
215
215
  });
@@ -227,7 +227,7 @@ class q extends C {
227
227
  var t, n;
228
228
  if ((t = this.videoTextureMap) != null && t.has(e))
229
229
  return this.videoTextureMap.get(e);
230
- const i = V(e);
230
+ const i = S(e);
231
231
  return (n = this.videoTextureMap) == null || n.set(e, i), i;
232
232
  }
233
233
  }
@@ -22,14 +22,9 @@ import "hammerjs";
22
22
  import "../../../shared-utils/three/PointSelector/index.js";
23
23
  import "three/examples/jsm/renderers/CSS3DRenderer";
24
24
  import "@realsee/five/line";
25
- import "../../../vendor/three/examples/jsm/lines/LineGeometry.js";
26
25
  import "../../../shared-utils/three/core/Sphere.js";
27
26
  import "animejs";
28
27
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
29
- import "../../../Sculpt/Meshes/Polygon.js";
30
- import "../../../Sculpt/utils/Modules/Global.js";
31
- import "../../../vendor/hotkeys-js/dist/hotkeys.esm.js";
32
- import "../../../Sculpt/utils/three/rayOnLine.js";
33
28
  import "../../../shared-utils/positionToVector3.js";
34
29
  import "../../../shared-utils/five/vector3ToScreen.js";
35
30
  import "../../../shared-utils/five/getFiveModel.js";
@@ -67,63 +62,13 @@ import "../../../Sculpt/utils/removeAllTag.js";
67
62
  import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
68
63
  import "../../../shared-utils/three/applyObjectMatrixWorld.js";
69
64
  import "../../../shared-utils/util.js";
65
+ import "../../../shared-utils/three/core/LineGeometry.js";
70
66
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
71
67
  import "../../../shared-utils/isTouchDevice.js";
72
68
  import "../../../shared-utils/five/getPosition.js";
73
69
  import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
74
70
  import "../../../shared-utils/three/PointSelector/utils/contents.js";
75
- import "../../../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
76
- import "../../../vendor/three/build/three.module.js";
77
- import "../../../shared-utils/three/generatePolygonGeometry.js";
78
- import "../../../shared-utils/three/earcut3D.js";
79
- import "earcut";
80
- import "../../../shared-utils/three/getNormal.js";
81
- import "../../../PanoMeasurePlugin/utils/isIntersecting.js";
82
- import "../../../Sculpt/utils/three/ColoredMesh.js";
83
- import "../../../shared-utils/three/geometryUtil.js";
84
- import "../../../Sculpt/utils/Modules/Cursor.js";
85
- import "../../../Object3DHelperPlugin/Controller.js";
86
- import "../../../base/BasePlugin.js";
87
- import "../../../shared-utils/url/absoluteUrl.js";
88
- import "../../../shared-utils/Object3DHelper/Helper/MoveHelper.js";
89
- import "../../../shared-utils/Object3DHelper/Base/BaseHelper.js";
90
- import "../../../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
91
- import "../../../shared-utils/three/boundingBox.js";
92
- import "../../../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
93
- import "../../../shared-utils/Object3DHelper/utils/direction.js";
94
- import "../../../shared-utils/Object3DHelper/Constants/color.js";
95
- import "../../../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
96
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
97
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
98
- import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
99
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
100
- import "../../../shared-utils/Object3DHelper/Helper/RotateHelper.js";
101
- import "../../../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
102
- import "../../../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
103
- import "../../../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
104
- import "../../../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
105
- import "../../../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
106
- import "../../../shared-utils/Object3DHelper/Controller/MoveController.js";
107
- import "../../../shared-utils/Object3DHelper/Base/BaseController.js";
108
- import "../../../shared-utils/threex/domevents/index.js";
109
- import "../../../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
110
- import "../../../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
111
- import "../../../Object3DHelperPlugin/FiveControllerWrapper.js";
112
- import "../../../shared-utils/Object3DHelper/index.js";
113
- import "../../../shared-utils/Object3DHelper/Controller/RotateController.js";
114
- import "../../../shared-utils/math/rad2Deg.js";
115
- import "../../../shared-utils/math/deg2Rad.js";
116
- import "../../../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
117
- import "../../../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
118
- import "../../../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
119
- import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
120
- import "../../../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
121
- import "../../../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
122
- import "../../../shared-utils/Object3DHelper/Controller/ScaleController.js";
123
- import "../../../shared-utils/five/fiveModelLoad.js";
124
- import "../../../shared-utils/five/FiveDomEvents.js";
125
- import "../../../shared-utils/five/calculateThreeMouse.js";
126
- function it(o, i, t) {
71
+ function oi(o, i, t) {
127
72
  var v, b, j, C, A;
128
73
  const D = (v = t == null ? void 0 : t.useCache) != null ? v : !0;
129
74
  if (!o)
@@ -135,39 +80,39 @@ function it(o, i, t) {
135
80
  return o.config;
136
81
  }
137
82
  const k = {}, d = {}, y = {};
138
- i.contentTypeConfig && Object.entries(i.contentTypeConfig).forEach(([p, m]) => {
83
+ i.contentTypeConfig && Object.entries(i.contentTypeConfig).forEach(([r, n]) => {
139
84
  var O, W;
140
- const r = p, a = r.split("-"), g = p.startsWith("["), c = g ? a[0].slice(1, -1) : void 0, n = g ? a.slice(1) : a, s = c ? ["PanoramaLike", "ModelLike"].includes(c) ? (O = d[c]) != null ? O : d[c] = {} : (W = y[c]) != null ? W : y[c] = {} : k;
141
- if (!s[r]) {
142
- if (n.length === 0 && (s[r] = m), n.length === 1) {
143
- const [e] = n;
144
- (o.contentType === e || e === "Any") && (s[r] = m);
85
+ const e = r, a = e.split("-"), g = r.startsWith("["), c = g ? a[0].slice(1, -1) : void 0, m = g ? a.slice(1) : a, s = c ? ["PanoramaLike", "ModelLike"].includes(c) ? (O = d[c]) != null ? O : d[c] = {} : (W = y[c]) != null ? W : y[c] = {} : k;
86
+ if (!s[e]) {
87
+ if (m.length === 0 && (s[e] = n), m.length === 1) {
88
+ const [p] = m;
89
+ (o.contentType === p || p === "Any") && (s[e] = n);
145
90
  }
146
- if (n.length === 2) {
147
- const [e = "Any", u = "Any"] = n;
148
- e === "Mixin" && o.contentType === u && (s[r] = m), (o.stickType === e || e === "Any") && (o.contentType === u || u === "Any") && (s[r] = m);
91
+ if (m.length === 2) {
92
+ const [p = "Any", u = "Any"] = m;
93
+ p === "Mixin" && o.contentType === u && (s[e] = n), (o.stickType === p || p === "Any") && (o.contentType === u || u === "Any") && (s[e] = n);
149
94
  }
150
- if (n.length === 3) {
151
- const [e = "Any", u, w] = n;
95
+ if (m.length === 3) {
96
+ const [p = "Any", u, w] = m;
152
97
  if (u === "Audio" && o.contentType === "Audio") {
153
98
  const L = o;
154
- (L.stickType === e || e === "Any") && L.data.appearance === w && (s[r] = m);
99
+ (L.stickType === p || p === "Any") && L.data.appearance === w && (s[e] = n);
155
100
  }
156
101
  }
157
102
  }
158
103
  });
159
104
  const h = (A = o.initialConfig) != null ? A : {}, M = l({}, N, i.globalConfig, ...Object.values(k)), G = l({}, M, h), f = {}, q = Object.values(Q.Mode);
160
- I(d).forEach(([p, m]) => {
161
- q.forEach((r) => {
162
- (p === "PanoramaLike" && R(r) || p === "ModelLike" && S(r)) && (f[r] = l({}, M, ...Object.values(m), h, { _isMerged: !0 }));
105
+ I(d).forEach(([r, n]) => {
106
+ q.forEach((e) => {
107
+ (r === "PanoramaLike" && R(e) || r === "ModelLike" && S(e)) && (f[e] = l({}, M, ...Object.values(n), h, { _isMerged: !0 }));
163
108
  });
164
- }), I(y).forEach(([p, m]) => {
165
- const r = f[p];
166
- f[p] = l({}, M, r, ...Object.values(m), h, { _isMerged: !0 });
109
+ }), I(y).forEach(([r, n]) => {
110
+ const e = f[r];
111
+ f[r] = l({}, M, e, ...Object.values(n), h, { _isMerged: !0 });
167
112
  });
168
113
  const T = _(F({}, G), { configWithFiveMode: f });
169
- return P(T), Object.values(f).forEach((p) => P(p)), T._isMerged = !0, T;
114
+ return P(T), Object.values(f).forEach((r) => P(r)), T._isMerged = !0, T;
170
115
  }
171
116
  export {
172
- it as calculateTagConfig
117
+ oi as calculateTagConfig
173
118
  };
@@ -1,17 +1,17 @@
1
1
  var g = Object.defineProperty, f = Object.defineProperties;
2
2
  var b = Object.getOwnPropertyDescriptors;
3
- var d = Object.getOwnPropertySymbols;
3
+ var h = Object.getOwnPropertySymbols;
4
4
  var M = Object.prototype.hasOwnProperty, W = Object.prototype.propertyIsEnumerable;
5
- var s = (e, i, r) => i in e ? g(e, i, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[i] = r, m = (e, i) => {
5
+ var l = (o, i, r) => i in o ? g(o, i, { enumerable: !0, configurable: !0, writable: !0, value: r }) : o[i] = r, a = (o, i) => {
6
6
  for (var r in i || (i = {}))
7
- M.call(i, r) && s(e, r, i[r]);
8
- if (d)
9
- for (var r of d(i))
10
- W.call(i, r) && s(e, r, i[r]);
11
- return e;
12
- }, l = (e, i) => f(e, b(i));
13
- var n = (e, i, r) => (s(e, typeof i != "symbol" ? i + "" : i, r), r);
14
- import { VideoMeshController as h } from "./VideoMeshController.js";
7
+ M.call(i, r) && l(o, r, i[r]);
8
+ if (h)
9
+ for (var r of h(i))
10
+ W.call(i, r) && l(o, r, i[r]);
11
+ return o;
12
+ }, p = (o, i) => f(o, b(i));
13
+ var s = (o, i, r) => (l(o, typeof i != "symbol" ? i + "" : i, r), r);
14
+ import { VideoMeshController as m } from "./VideoMeshController.js";
15
15
  import { Controller as _ } from "../base/BasePlugin.js";
16
16
  import "./utils/shader.js";
17
17
  import "../shared-utils/tag.js";
@@ -42,93 +42,40 @@ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
42
42
  import "../shared-utils/three/centerPoint.js";
43
43
  import "../shared-utils/three/getObjectVisible.js";
44
44
  import "@realsee/five/line";
45
- import "../vendor/three/examples/jsm/lines/LineGeometry.js";
46
- import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
47
- import "../vendor/three/build/three.module.js";
45
+ import "../shared-utils/isNil.js";
48
46
  import "../shared-utils/three/core/Sphere.js";
49
47
  import "animejs";
50
- import "../shared-utils/isNil.js";
51
48
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
52
- import "../Sculpt/Meshes/Polygon.js";
53
- import "../shared-utils/three/generatePolygonGeometry.js";
54
- import "../shared-utils/three/earcut3D.js";
55
- import "earcut";
56
- import "../shared-utils/three/getNormal.js";
57
- import "../PanoMeasurePlugin/utils/isIntersecting.js";
58
- import "../Sculpt/typings/style.js";
59
- import "../Sculpt/utils/three/ColoredMesh.js";
60
- import "../shared-utils/three/IObject3D.js";
61
- import "../Sculpt/utils/Modules/Global.js";
62
- import "../Sculpt/utils/Modules/Cursor.js";
63
- import "../Object3DHelperPlugin/Controller.js";
64
- import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
65
- import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
66
- import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
67
- import "../shared-utils/three/boundingBox.js";
68
- import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
69
- import "../shared-utils/Object3DHelper/utils/direction.js";
70
- import "../shared-utils/Object3DHelper/Constants/color.js";
71
- import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
72
- import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
49
+ import "../shared-utils/three/PointSelector/utils/html.js";
50
+ import "../shared-utils/five/initialCSS3DRender.js";
73
51
  import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
74
52
  import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
75
53
  import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
76
- import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
77
- import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
78
- import "../shared-utils/util.js";
79
- import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
80
- import "../shared-utils/three/PointSelector/utils/html.js";
81
- import "../shared-utils/five/initialCSS3DRender.js";
82
54
  import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
83
55
  import "../Sculpt/Meshes/Line.js";
56
+ import "../Sculpt/typings/style.js";
84
57
  import "../shared-utils/five/FiveLine.js";
58
+ import "../shared-utils/three/IObject3D.js";
85
59
  import "../Sculpt/utils/removeAllTag.js";
86
60
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
87
61
  import "../shared-utils/three/applyObjectMatrixWorld.js";
88
- import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
89
- import "../Sculpt/utils/three/rayOnLine.js";
62
+ import "../shared-utils/util.js";
63
+ import "../shared-utils/three/core/LineGeometry.js";
90
64
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
91
- import "../shared-utils/url/absoluteUrl.js";
92
- import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
93
- import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
94
- import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
95
- import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
96
- import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
97
- import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
98
- import "../shared-utils/Object3DHelper/Controller/MoveController.js";
99
- import "../shared-utils/Object3DHelper/Base/BaseController.js";
100
- import "../shared-utils/threex/domevents/index.js";
101
- import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
102
- import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
103
- import "../Object3DHelperPlugin/FiveControllerWrapper.js";
104
- import "../shared-utils/Object3DHelper/index.js";
105
- import "../shared-utils/Object3DHelper/Controller/RotateController.js";
106
- import "../shared-utils/math/rad2Deg.js";
107
- import "../shared-utils/math/deg2Rad.js";
108
- import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
109
- import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
110
- import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
111
- import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
112
- import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
113
- import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
114
- import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
115
- import "../shared-utils/five/fiveModelLoad.js";
116
- import "../shared-utils/five/FiveDomEvents.js";
117
- import "../shared-utils/five/calculateThreeMouse.js";
118
65
  import "../shared-utils/isTouchDevice.js";
119
- import "../shared-utils/three/geometryUtil.js";
120
66
  import "../shared-utils/five/getPosition.js";
121
67
  import "../shared-utils/five/getRaycasterByNdcPosition.js";
122
68
  import "../shared-utils/three/PointSelector/utils/contents.js";
123
69
  import "../shared-utils/animationFrame/index.js";
124
70
  import "./utils/index.js";
125
- class Et extends _ {
71
+ import "../shared-utils/url/absoluteUrl.js";
72
+ class Cr extends _ {
126
73
  constructor(r) {
127
74
  super(r);
128
- n(this, "controllerMap", /* @__PURE__ */ new Map());
129
- n(this, "data");
130
- n(this, "enabled", !0);
131
- n(this, "_disposed", !1);
75
+ s(this, "controllerMap", /* @__PURE__ */ new Map());
76
+ s(this, "data");
77
+ s(this, "enabled", !0);
78
+ s(this, "_disposed", !1);
132
79
  }
133
80
  /** 插件 State */
134
81
  get state() {
@@ -142,15 +89,15 @@ class Et extends _ {
142
89
  }
143
90
  /** 加载点位视频数据,加载数据并不代表会加载点位视频。 */
144
91
  load(r, t) {
145
- var o;
92
+ var e;
146
93
  if (this.disposed)
147
94
  return this.logWarning("插件已被销毁");
148
- typeof ((o = t == null ? void 0 : t.initialState) == null ? void 0 : o.enabled) != "undefined" && t.initialState.enabled !== this.enabled && (t.initialState.enabled ? this.enable() : this.disable()), r.list.forEach((p) => {
149
- const c = p.pano_index, u = p.render_id;
150
- p.video_list.forEach((a) => {
95
+ typeof ((e = t == null ? void 0 : t.initialState) == null ? void 0 : e.enabled) != "undefined" && t.initialState.enabled !== this.enabled && (t.initialState.enabled ? this.enable() : this.disable()), r.list.forEach((n) => {
96
+ const c = n.pano_index, u = n.render_id;
97
+ n.video_list.forEach((d) => {
151
98
  this.controllerMap.set(
152
- a.render_id,
153
- new h(this.five, l(m({}, a), {
99
+ d.render_id,
100
+ new m(this.five, p(a({}, d), {
154
101
  panoIndex: c,
155
102
  renderID: u,
156
103
  hooks: this.hooks,
@@ -162,24 +109,24 @@ class Et extends _ {
162
109
  }
163
110
  /** 开启插件功能。 */
164
111
  enable(r) {
165
- var o;
112
+ var e;
166
113
  if (this.disposed)
167
114
  return this.logWarning("插件已被销毁");
168
115
  if (this.enabled)
169
116
  return;
170
- this.enabled = !0, Array.from(this.controllerMap.values()).forEach((p) => p.enable());
171
- const t = (o = r == null ? void 0 : r.userAction) != null ? o : !0;
117
+ this.enabled = !0, Array.from(this.controllerMap.values()).forEach((n) => n.enable());
118
+ const t = (e = r == null ? void 0 : r.userAction) != null ? e : !0;
172
119
  this.hooks.emit("enable", { userAction: t });
173
120
  }
174
121
  /** 禁用插件功能。 */
175
122
  disable(r) {
176
- var o;
123
+ var e;
177
124
  if (this.disposed)
178
125
  return this.logWarning("插件已被销毁");
179
126
  if (!this.enabled)
180
127
  return;
181
- this.enabled = !1, Array.from(this.controllerMap.values()).forEach((p) => p.disable());
182
- const t = (o = r == null ? void 0 : r.userAction) != null ? o : !0;
128
+ this.enabled = !1, Array.from(this.controllerMap.values()).forEach((n) => n.disable());
129
+ const t = (e = r == null ? void 0 : r.userAction) != null ? e : !0;
183
130
  this.hooks.emit("disable", { userAction: t });
184
131
  }
185
132
  /** 看向某个视频。
@@ -222,15 +169,15 @@ class Et extends _ {
222
169
  add(r, t) {
223
170
  if (this.disposed)
224
171
  return this.logWarning("插件已被销毁");
225
- t.forEach((o) => {
226
- if (this.controllerMap.get(o.render_id))
227
- return this.logWarning(`ID 为 ${o.render_id} 的点位视频已存在`);
228
- const p = o.render_id;
172
+ t.forEach((e) => {
173
+ if (this.controllerMap.get(e.render_id))
174
+ return this.logWarning(`ID 为 ${e.render_id} 的点位视频已存在`);
175
+ const n = e.render_id;
229
176
  this.controllerMap.set(
230
- o.render_id,
231
- new h(this.five, l(m({}, o), {
177
+ e.render_id,
178
+ new m(this.five, p(a({}, e), {
232
179
  panoIndex: r,
233
- renderID: p,
180
+ renderID: n,
234
181
  hooks: this.hooks,
235
182
  initialState: { enabled: this.enabled }
236
183
  }))
@@ -265,5 +212,5 @@ class Et extends _ {
265
212
  }
266
213
  }
267
214
  export {
268
- Et as PanoVideoPluginController
215
+ Cr as PanoVideoPluginController
269
216
  };