@realsee/dnalogel 3.64.10-alpha.0 → 3.64.10-alpha.2

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 (461) hide show
  1. package/dist/PanoDoorLabelPlugin/Controller.d.ts +0 -1
  2. package/dist/Sculpt/Meshes/Polygon.d.ts +3 -1
  3. package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +2 -1
  4. package/dist/index.cjs.js +59 -59
  5. package/dist/index.js +3724 -3806
  6. package/dist/index.umd.js +47 -47
  7. package/dist/shared-utils/three/CSS3DRenderer/index.d.ts +4 -3
  8. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  9. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  10. package/docs/classes/CSS3DRender.html +2 -2
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  13. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  14. package/docs/classes/ModelRoomLabelController.html +2 -2
  15. package/docs/classes/MoveController.html +2 -2
  16. package/docs/classes/Object3DHelperController.html +2 -2
  17. package/docs/classes/PaintBrush.html +2 -2
  18. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  19. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  20. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  21. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  22. package/docs/classes/PanoTagPluginController.html +2 -2
  23. package/docs/classes/Sculpt.html +2 -2
  24. package/docs/classes/Util.BetterTween.html +2 -2
  25. package/docs/classes/Util.FiveDomEvents.html +2 -2
  26. package/docs/classes/Util.FivePuppet.html +2 -2
  27. package/docs/classes/Util.Interval.html +2 -2
  28. package/docs/classes/Util.LightTag.html +2 -2
  29. package/docs/classes/Util.LineSegments.html +2 -2
  30. package/docs/classes/Util.Magnifier.html +2 -2
  31. package/docs/classes/Util.Object3D.html +2 -2
  32. package/docs/classes/Util.PointHelper.html +2 -2
  33. package/docs/classes/Util.PointSelector.html +2 -2
  34. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  35. package/docs/classes/Util.Rectangle.html +2 -2
  36. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  37. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  38. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  39. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  40. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  41. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  42. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  43. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  44. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  45. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  46. package/docs/classes/Util.sculpt.PolygonMesh.html +3 -3
  47. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  48. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  49. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  50. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  51. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  52. package/docs/classes/WalkController.html +2 -2
  53. package/docs/enums/CameraMovementEffect.html +2 -2
  54. package/docs/enums/ContentType.html +2 -2
  55. package/docs/enums/DIRECTION.html +2 -2
  56. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  57. package/docs/enums/DimensionType.html +2 -2
  58. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  59. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  60. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  61. package/docs/enums/PointType.html +2 -2
  62. package/docs/enums/Rotation.html +2 -2
  63. package/docs/functions/AreaMakerPlugin.html +1 -1
  64. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  65. package/docs/functions/CameraMovementPlugin.html +2 -2
  66. package/docs/functions/CruisePlugin.html +1 -1
  67. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  68. package/docs/functions/GuideLinePlugin.html +1 -1
  69. package/docs/functions/ItemLabelPlugin.html +1 -1
  70. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  71. package/docs/functions/MeasurePlugin.html +1 -1
  72. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  73. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  74. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  75. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  76. package/docs/functions/ModelMakerPlugin.html +1 -1
  77. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  78. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  79. package/docs/functions/ModelViewPlugin.html +2 -2
  80. package/docs/functions/MovePlugin.html +1 -1
  81. package/docs/functions/Object3DHelperPlugin.html +1 -1
  82. package/docs/functions/PanoCompassPlugin.html +1 -1
  83. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  84. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  85. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  86. package/docs/functions/PanoMeasurePlugin.html +1 -1
  87. package/docs/functions/PanoRulerPlugin.html +2 -2
  88. package/docs/functions/PanoRulerProPlugin.html +2 -2
  89. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  90. package/docs/functions/PanoTagPlugin.html +1 -1
  91. package/docs/functions/PanoVideoPlugin.html +2 -2
  92. package/docs/functions/PipelinePlugin.html +1 -1
  93. package/docs/functions/SculptPlugin.html +2 -2
  94. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  95. package/docs/functions/Util.absoluteUrl.html +2 -2
  96. package/docs/functions/Util.awaitNextFrame.html +1 -1
  97. package/docs/functions/Util.blink.html +2 -2
  98. package/docs/functions/Util.bounding.html +1 -1
  99. package/docs/functions/Util.boundingBox.html +1 -1
  100. package/docs/functions/Util.boundingSphere.html +1 -1
  101. package/docs/functions/Util.boxVertex.html +2 -2
  102. package/docs/functions/Util.boxVertexes.html +1 -1
  103. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  104. package/docs/functions/Util.convexHull.html +2 -2
  105. package/docs/functions/Util.equal.html +2 -2
  106. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  107. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  108. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  109. package/docs/functions/Util.getFrameTime.html +2 -2
  110. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  111. package/docs/functions/Util.inside.html +1 -1
  112. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  113. package/docs/functions/Util.isModelLike.html +1 -1
  114. package/docs/functions/Util.isNil.html +2 -2
  115. package/docs/functions/Util.isPanoramaLike.html +1 -1
  116. package/docs/functions/Util.lookObject.html +2 -2
  117. package/docs/functions/Util.lookPoint.html +2 -2
  118. package/docs/functions/Util.nextFrame.html +1 -1
  119. package/docs/functions/Util.notNil.html +2 -2
  120. package/docs/functions/Util.reblink.html +2 -2
  121. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  122. package/docs/functions/Util.sculpt.createBox.html +1 -1
  123. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  124. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  125. package/docs/functions/Util.sculpt.createLine.html +2 -2
  126. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  127. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  128. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  129. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  130. package/docs/functions/Util.tag.html +1 -1
  131. package/docs/functions/Util.tweenProgress.html +1 -1
  132. package/docs/functions/Util.uuid.html +2 -2
  133. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  134. package/docs/functions/Util.worldBounding.html +1 -1
  135. package/docs/functions/Util.worldBoundingBox.html +1 -1
  136. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  137. package/docs/functions/createPolyline.html +2 -2
  138. package/docs/functions/pluginFlag.html +1 -1
  139. package/docs/hierarchy.html +1 -1
  140. package/docs/index.html +2 -2
  141. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  142. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  143. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  144. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  145. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  146. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  147. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  148. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  149. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  150. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  151. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  152. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  153. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  154. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  155. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  156. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  157. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  158. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  159. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  160. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  161. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  162. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  163. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  164. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  165. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  166. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  167. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  168. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  169. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  170. package/docs/interfaces/FloorplanBounding.html +2 -2
  171. package/docs/interfaces/FloorplanData.html +2 -2
  172. package/docs/interfaces/FloorplanEntrance.html +2 -2
  173. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  174. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  175. package/docs/interfaces/FloorplanFloorData.html +2 -2
  176. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  177. package/docs/interfaces/FloorplanObserver.html +2 -2
  178. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  179. package/docs/interfaces/FloorplanPosition.html +2 -2
  180. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  181. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  182. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  183. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  184. package/docs/interfaces/FloorplanServerData.html +2 -2
  185. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  186. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  187. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  188. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  189. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  190. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  191. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  192. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  193. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  194. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  195. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  196. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  197. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  198. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
  199. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  200. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  201. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  202. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  203. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  204. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  205. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  207. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  208. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  209. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  210. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  211. package/docs/interfaces/HelperOffset.html +2 -2
  212. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  213. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  214. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  215. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  216. package/docs/interfaces/MinMax.html +2 -2
  217. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  218. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  219. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  220. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  221. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  222. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  223. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  224. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  225. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  226. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  227. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  228. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  229. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  230. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  231. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  232. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  233. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  234. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  235. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  236. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  237. package/docs/interfaces/Object3DHelperState.html +2 -2
  238. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  239. package/docs/interfaces/PaintBrushAction.html +2 -2
  240. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  241. package/docs/interfaces/PaintBrushState.html +2 -2
  242. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  243. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  244. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  245. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  246. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  247. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  248. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  249. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  250. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  251. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  252. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  253. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  254. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  255. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  256. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  257. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  258. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  259. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  260. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  261. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  262. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  263. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  264. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  265. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  266. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  267. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  268. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  269. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  270. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  271. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  272. package/docs/interfaces/PluginEventMap.html +2 -2
  273. package/docs/interfaces/Point.html +2 -2
  274. package/docs/interfaces/Room.html +2 -2
  275. package/docs/interfaces/RoomInfo.html +2 -2
  276. package/docs/interfaces/RoomLabel.html +2 -2
  277. package/docs/interfaces/RoomRules.html +1 -1
  278. package/docs/interfaces/Rooms.html +1 -1
  279. package/docs/interfaces/Scissor.html +2 -2
  280. package/docs/interfaces/State.html +2 -2
  281. package/docs/interfaces/TagCacheInterface.html +2 -2
  282. package/docs/interfaces/TagConfig.html +2 -2
  283. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  284. package/docs/interfaces/TagIconUrl.html +2 -2
  285. package/docs/interfaces/TagObjectGroup.html +2 -2
  286. package/docs/interfaces/TagStyle.html +2 -2
  287. package/docs/interfaces/Tags.html +2 -2
  288. package/docs/interfaces/TemporaryState.html +2 -2
  289. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  290. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  291. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  292. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  293. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  294. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  295. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  296. package/docs/interfaces/Util.PointIntersection.html +2 -2
  297. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  298. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  299. package/docs/modules/AreaMakerPluginType.html +2 -2
  300. package/docs/modules/CruisePluginTypes.html +2 -2
  301. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  302. package/docs/modules/GuideLineItem.html +2 -2
  303. package/docs/modules/GuideLineModeItem.html +2 -2
  304. package/docs/modules/GuideLinePluginType.html +2 -2
  305. package/docs/modules/ModelMakerPluginType.html +2 -2
  306. package/docs/modules/PanoVideoPluginType.html +2 -2
  307. package/docs/modules/SculptData.html +2 -2
  308. package/docs/modules/SculptType.html +2 -2
  309. package/docs/modules/Util.html +2 -2
  310. package/docs/modules/Util.sculpt.html +2 -2
  311. package/docs/modules.html +2 -2
  312. package/docs/types/AddObject3DHelperConfig.html +2 -2
  313. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  314. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  315. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  316. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  317. package/docs/types/ArrayPosition.html +1 -1
  318. package/docs/types/AudioAppearance.html +1 -1
  319. package/docs/types/CSS3DRenderExportType.html +1 -1
  320. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  321. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  322. package/docs/types/ClassFunctionParameters.html +1 -1
  323. package/docs/types/Color.html +1 -1
  324. package/docs/types/ContentTypeConfigKey.html +1 -1
  325. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  326. package/docs/types/ContentTypeMap.html +1 -1
  327. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  328. package/docs/types/Create3DElementReturnType.html +1 -1
  329. package/docs/types/CruisePluginExportType.html +1 -1
  330. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  331. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  332. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  333. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  334. package/docs/types/DeprecatedTagProperty.html +2 -2
  335. package/docs/types/Direction-1.html +1 -1
  336. package/docs/types/Direction4.html +1 -1
  337. package/docs/types/ElementRenderer.html +2 -2
  338. package/docs/types/FloorplanRuleLabels.html +2 -2
  339. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  340. package/docs/types/GuideLinePluginExportType.html +1 -1
  341. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  342. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  343. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  344. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  345. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  346. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  347. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  348. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  349. package/docs/types/HelperEventMap.html +1 -1
  350. package/docs/types/InternalHelperEventMap.html +1 -1
  351. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  352. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  353. package/docs/types/MeasurePluginConfig.html +1 -1
  354. package/docs/types/MediaData.html +2 -2
  355. package/docs/types/MediaStore.html +1 -1
  356. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  357. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  358. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  359. package/docs/types/ModelId.html +1 -1
  360. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  361. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  362. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  363. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  364. package/docs/types/MoveArgs.html +2 -2
  365. package/docs/types/MoveOpts.html +2 -2
  366. package/docs/types/Object3DHelperEventMap.html +1 -1
  367. package/docs/types/ObjectFit.html +1 -1
  368. package/docs/types/PaintBrushEventMap.html +1 -1
  369. package/docs/types/PanoCompassPluginData.html +1 -1
  370. package/docs/types/PanoCompassPluginExportType.html +1 -1
  371. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  372. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  373. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  374. package/docs/types/PanoIndex.html +1 -1
  375. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  376. package/docs/types/PanoMeasureReturnType.html +1 -1
  377. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  378. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  379. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  380. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  381. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  382. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  383. package/docs/types/PipelinePluginParameterType.html +1 -1
  384. package/docs/types/PipelinePluginReturnType.html +1 -1
  385. package/docs/types/PlaneTag.html +2 -2
  386. package/docs/types/Point2DTag.html +2 -2
  387. package/docs/types/Point3DTag.html +2 -2
  388. package/docs/types/PointTagInstance.html +1 -1
  389. package/docs/types/Position.html +1 -1
  390. package/docs/types/PositionFrom.html +1 -1
  391. package/docs/types/RotateArgs.html +2 -2
  392. package/docs/types/RotateOpts.html +2 -2
  393. package/docs/types/RuleLabelsKey.html +1 -1
  394. package/docs/types/RuleLabelsValue.html +1 -1
  395. package/docs/types/ScaleCallback.html +1 -1
  396. package/docs/types/ScalePosition.html +2 -2
  397. package/docs/types/SculptData.BoxData.html +1 -1
  398. package/docs/types/SculptData.CircleData.html +1 -1
  399. package/docs/types/SculptData.CylinderData.html +1 -1
  400. package/docs/types/SculptData.PointData.html +1 -1
  401. package/docs/types/SculptData.PolygonData.html +1 -1
  402. package/docs/types/SculptData.PolylineData.html +1 -1
  403. package/docs/types/SculptData.PrismData.html +1 -1
  404. package/docs/types/SculptData.RectangleData.html +1 -1
  405. package/docs/types/SculptType.Theme.html +2 -2
  406. package/docs/types/StickType.html +1 -1
  407. package/docs/types/Tag.html +2 -2
  408. package/docs/types/Tag2D.html +2 -2
  409. package/docs/types/Tag3D.html +2 -2
  410. package/docs/types/TagClickParams.html +1 -1
  411. package/docs/types/TagConfigByKey.html +1 -1
  412. package/docs/types/TagContentType.html +1 -1
  413. package/docs/types/TagContentTypeMapping.html +1 -1
  414. package/docs/types/TagDimensionType.html +1 -1
  415. package/docs/types/TagElement.html +2 -2
  416. package/docs/types/TagEvents.html +1 -1
  417. package/docs/types/TagGLTFObject.html +1 -1
  418. package/docs/types/TagHooks.html +1 -1
  419. package/docs/types/TagId.html +1 -1
  420. package/docs/types/TagInstance.html +1 -1
  421. package/docs/types/TagPointType.html +2 -2
  422. package/docs/types/TagRendererMap.html +1 -1
  423. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  424. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  425. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  426. package/docs/types/Util.AdherePoint.html +2 -2
  427. package/docs/types/Util.PointSelectorConfig.html +1 -1
  428. package/docs/types/WorkCode.html +1 -1
  429. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  430. package/docs/variables/PLUGIN.html +1 -1
  431. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  432. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  433. package/docs/variables/Util.animeMap.html +1 -1
  434. package/docs/variables/defaultGlobalConfig.html +1 -1
  435. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  436. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  437. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  438. package/libs/ModelMakerPlugin/Controller.js +15 -17
  439. package/libs/ModelMakerPlugin/index.js +3 -5
  440. package/libs/PanoDoorLabelPlugin/Controller.d.ts +0 -1
  441. package/libs/PanoDoorLabelPlugin/Controller.js +139 -138
  442. package/libs/Sculpt/Meshes/Polygon.d.ts +3 -1
  443. package/libs/Sculpt/Meshes/Polygon.js +41 -42
  444. package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +2 -1
  445. package/libs/Sculpt/Meshes/PolygonWithEdge.js +18 -18
  446. package/libs/base/BasePlugin.js +1 -1
  447. package/libs/index.js +146 -149
  448. package/libs/shared-utils/logger.js +1 -1
  449. package/libs/shared-utils/three/CSS3DRenderer/index.d.ts +4 -3
  450. package/libs/shared-utils/three/earcut3D.js +1 -1
  451. package/libs/shared-utils/three/generatePolygonGeometry.js +1 -4
  452. package/package.json +1 -1
  453. package/dist/Sculpt/Meshes/Polyhedron.d.ts +0 -26
  454. package/dist/Sculpt/Meshes/PolyhedronWithEdge.d.ts +0 -31
  455. package/dist/shared-utils/three/generatePolyhedronGeometry.d.ts +0 -7
  456. package/libs/Sculpt/Meshes/Polyhedron.d.ts +0 -26
  457. package/libs/Sculpt/Meshes/Polyhedron.js +0 -49
  458. package/libs/Sculpt/Meshes/PolyhedronWithEdge.d.ts +0 -31
  459. package/libs/Sculpt/Meshes/PolyhedronWithEdge.js +0 -66
  460. package/libs/shared-utils/three/generatePolyhedronGeometry.d.ts +0 -7
  461. package/libs/shared-utils/three/generatePolyhedronGeometry.js +0 -17
@@ -1,7 +1,7 @@
1
- var k = Object.defineProperty;
1
+ var W = Object.defineProperty;
2
2
  var T = Object.getOwnPropertySymbols;
3
3
  var P = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
4
- var b = (l, p, e) => p in l ? k(l, p, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[p] = e, E = (l, p) => {
4
+ var b = (l, p, e) => p in l ? W(l, p, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[p] = e, E = (l, p) => {
5
5
  for (var e in p || (p = {}))
6
6
  P.call(p, e) && b(l, e, p[e]);
7
7
  if (T)
@@ -31,7 +31,7 @@ import * as d from "three";
31
31
  import { ModelMakerBoxItem as j } from "./item/boxItem.js";
32
32
  import { PrismMesh as F } from "../Sculpt/Meshes/Prism.js";
33
33
  import { anyPositionToVector3 as L } from "../shared-utils/positionToVector3.js";
34
- import { PolyhedronWithEdgeMesh as A } from "../Sculpt/Meshes/PolyhedronWithEdge.js";
34
+ import { PolygonWithEdgeMesh as A } from "../Sculpt/Meshes/PolygonWithEdge.js";
35
35
  import "../shared-utils/tag.js";
36
36
  import "../vendor/hammerjs/hammer.js";
37
37
  import "../shared-utils/three/PointSelector/index.js";
@@ -39,9 +39,9 @@ import "../shared-utils/three/CSS3DRenderer/index.js";
39
39
  import { waitFiveModelLoaded as H } from "../shared-utils/five/fiveModelLoad.js";
40
40
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
41
41
  import "@realsee/five/line";
42
- import { notNil as y } from "../shared-utils/isNil.js";
42
+ import { notNil as g } from "../shared-utils/isNil.js";
43
43
  import "../shared-utils/three/core/Five_LineMaterial2.js";
44
- import { boxVertex as g } from "../shared-utils/three/boundingBox.js";
44
+ import { boxVertex as y } from "../shared-utils/three/boundingBox.js";
45
45
  import "../vendor/animejs/lib/anime.es.js";
46
46
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
47
47
  import "../shared-utils/five/FivePuppet.js";
@@ -88,11 +88,9 @@ import "../Sculpt/Meshes/Polyline.js";
88
88
  import "../Sculpt/Meshes/LineWithDots.js";
89
89
  import "../Sculpt/Meshes/Point.js";
90
90
  import "../shared-utils/three/closeVectors.js";
91
- import "../Sculpt/Meshes/Polyhedron.js";
92
91
  import "../Sculpt/Meshes/Polygon.js";
93
92
  import "../shared-utils/three/generatePolygonGeometry.js";
94
93
  import "../PanoMeasurePlugin/utils/isIntersecting.js";
95
- import "../shared-utils/three/generatePolyhedronGeometry.js";
96
94
  import "../shared-utils/five/vector3ToScreen.js";
97
95
  import "../shared-utils/three/temp.js";
98
96
  import "../shared-utils/dom/resizeObserver.js";
@@ -124,7 +122,7 @@ import "../components/AreaLabel/Assets/roomLabelBg.js";
124
122
  import "../shared-utils/math/rad2Deg.js";
125
123
  import "../shared-utils/five/FiveDomEvents.js";
126
124
  import "../shared-utils/five/calculateThreeMouse.js";
127
- class jt extends D {
125
+ class St extends D {
128
126
  constructor(e, s) {
129
127
  var a, i;
130
128
  super(e);
@@ -207,7 +205,7 @@ class jt extends D {
207
205
  var n;
208
206
  if (i.type === "triangles") {
209
207
  const o = new A();
210
- y(i.id) && (o.uuid = i.id.toString()), o.setPoints(i.object_data.points), o.setStyle(s(i)), this.fiveDomEvents.addEventListener(o, "hover", () => o.highlight()), this.fiveDomEvents.addEventListener(o, "unHover", () => o.unhighlight());
208
+ g(i.id) && (o.uuid = i.id.toString()), o.setPoints(i.object_data.points, { checkLinesIntersect: !1 }), o.setStyle(s(i)), this.fiveDomEvents.addEventListener(o, "hover", () => o.highlight()), this.fiveDomEvents.addEventListener(o, "unHover", () => o.unhighlight());
211
209
  const t = new B({
212
210
  five: this.five,
213
211
  tagWrapper: this.tagWrapper,
@@ -219,7 +217,7 @@ class jt extends D {
219
217
  this.items.push(t);
220
218
  } else if (i.type === "prism") {
221
219
  const o = new F();
222
- y(i.id) && (o.uuid = i.id.toString()), this.zFightingOffset += Q.Z_FIGHTING_OFFSET;
220
+ g(i.id) && (o.uuid = i.id.toString()), this.zFightingOffset += Q.Z_FIGHTING_OFFSET;
223
221
  const t = i.object_data.points.map((m) => {
224
222
  var v;
225
223
  return [m[0], m[1] + ((v = i.object_data.fixedY) != null ? v : 0), m[2]];
@@ -238,13 +236,13 @@ class jt extends D {
238
236
  this.items.push(u);
239
237
  } else if (i.type === "box") {
240
238
  const o = new F();
241
- y(i.id) && (o.uuid = i.id.toString());
239
+ g(i.id) && (o.uuid = i.id.toString());
242
240
  const { start: t, end: r, rotation: c = [0, 0, 0, 0] } = i.object_data, u = new d.Vector3().fromArray(t), m = new d.Vector3().fromArray(r), v = new d.Euler().fromArray(c), R = new d.Quaternion().setFromEuler(v), M = R.clone().inverse(), _ = new d.Vector3().lerpVectors(u, m, 0.5), C = _.clone().negate(), x = u.clone().add(C).applyQuaternion(M), V = m.clone().add(C).applyQuaternion(M), f = new d.Box3(x.clone().max(V), x.clone().min(V));
243
241
  o.setPoints({
244
- points: [g(f, 2), g(f, 3), g(f, 7), g(f, 6)],
245
- heightPoint: g(f, 1)
242
+ points: [y(f, 2), y(f, 3), y(f, 7), y(f, 6)],
243
+ heightPoint: y(f, 1)
246
244
  }), o.position.copy(_), o.quaternion.copy(R), o.setStyle(s(i));
247
- const W = new j({
245
+ const k = new j({
248
246
  five: this.five,
249
247
  tagWrapper: this.tagWrapper,
250
248
  model: o,
@@ -252,13 +250,13 @@ class jt extends D {
252
250
  type: i.type,
253
251
  rawData: i
254
252
  });
255
- this.items.push(W);
253
+ this.items.push(k);
256
254
  }
257
255
  }), this.state.enabled ? this.handleEnable() : this.handleDisable(), this.state.visible ? this.handleShow() : this.handleHide(), this.updateTagRenderer(), this.hooks.emit("dataLoaded", e), this.five.needsRender = !0;
258
256
  });
259
257
  }
260
258
  setState(e) {
261
- y(e.enabled) && this.state.enabled !== e.enabled && (this.state.enabled = e.enabled, e.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(e.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), y(e.visible) && this.state.visible !== e.visible && (this.state.visible = e.visible, e.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(e.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
259
+ g(e.enabled) && this.state.enabled !== e.enabled && (this.state.enabled = e.enabled, e.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(e.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), g(e.visible) && this.state.visible !== e.visible && (this.state.visible = e.visible, e.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(e.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
262
260
  }
263
261
  getItemById(e) {
264
262
  return this.items.find((s) => s.rawData.id === e);
@@ -298,5 +296,5 @@ class jt extends D {
298
296
  }
299
297
  }
300
298
  export {
301
- jt as Controller
299
+ St as Controller
302
300
  };
@@ -77,16 +77,14 @@ import "../shared-utils/three/earcut3D.js";
77
77
  import "../vendor/earcut/src/earcut.js";
78
78
  import "../shared-utils/three/getNormal.js";
79
79
  import "../shared-utils/three/geometryUtil.js";
80
- import "../Sculpt/Meshes/PolyhedronWithEdge.js";
80
+ import "../Sculpt/Meshes/PolygonWithEdge.js";
81
81
  import "../Sculpt/Meshes/Polyline.js";
82
82
  import "../Sculpt/Meshes/LineWithDots.js";
83
83
  import "../Sculpt/Meshes/Point.js";
84
84
  import "../shared-utils/three/closeVectors.js";
85
- import "../Sculpt/Meshes/Polyhedron.js";
86
85
  import "../Sculpt/Meshes/Polygon.js";
87
86
  import "../shared-utils/three/generatePolygonGeometry.js";
88
87
  import "../PanoMeasurePlugin/utils/isIntersecting.js";
89
- import "../shared-utils/three/generatePolyhedronGeometry.js";
90
88
  import "./utils/tagRenderer.js";
91
89
  import "./utils/Text.js";
92
90
  import "../vendor/svelte/internal/index.js";
@@ -97,7 +95,7 @@ import "./item/prismItem.js";
97
95
  import "./item/polygonItem.js";
98
96
  import "../CruisePlugin/utils/sleep.js";
99
97
  import "../shared-utils/constants.js";
100
- const Wo = (...o) => new r(...o);
98
+ const Uo = (...o) => new r(...o);
101
99
  export {
102
- Wo as ModelMakerPlugin
100
+ Uo as ModelMakerPlugin
103
101
  };
@@ -13,7 +13,6 @@ export declare class PanoDoorLabelPluginController extends BasePlugin.Controller
13
13
  private MinVisibledistance;
14
14
  private MaxVisibledistance;
15
15
  private OffsetHeight;
16
- private rooms;
17
16
  private floorplanServerData;
18
17
  /** 每个点位 visible 标签的缓存 */
19
18
  private visibleLabelMap;
@@ -1,26 +1,26 @@
1
1
  var N = Object.defineProperty, Q = Object.defineProperties;
2
2
  var j = Object.getOwnPropertyDescriptors;
3
- var C = Object.getOwnPropertySymbols;
3
+ var O = Object.getOwnPropertySymbols;
4
4
  var R = Object.prototype.hasOwnProperty, $ = Object.prototype.propertyIsEnumerable;
5
- var H = (l, h, t) => h in l ? N(l, h, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[h] = t, L = (l, h) => {
6
- for (var t in h || (h = {}))
7
- R.call(h, t) && H(l, t, h[t]);
8
- if (C)
9
- for (var t of C(h))
10
- $.call(h, t) && H(l, t, h[t]);
11
- return l;
12
- }, U = (l, h) => Q(l, j(h));
13
- var B = (l, h) => {
5
+ var L = (a, l, t) => l in a ? N(a, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[l] = t, E = (a, l) => {
6
+ for (var t in l || (l = {}))
7
+ R.call(l, t) && L(a, t, l[t]);
8
+ if (O)
9
+ for (var t of O(l))
10
+ $.call(l, t) && L(a, t, l[t]);
11
+ return a;
12
+ }, U = (a, l) => Q(a, j(l));
13
+ var B = (a, l) => {
14
14
  var t = {};
15
- for (var i in l)
16
- R.call(l, i) && h.indexOf(i) < 0 && (t[i] = l[i]);
17
- if (l != null && C)
18
- for (var i of C(l))
19
- h.indexOf(i) < 0 && $.call(l, i) && (t[i] = l[i]);
15
+ for (var i in a)
16
+ R.call(a, i) && l.indexOf(i) < 0 && (t[i] = a[i]);
17
+ if (a != null && O)
18
+ for (var i of O(a))
19
+ l.indexOf(i) < 0 && $.call(a, i) && (t[i] = a[i]);
20
20
  return t;
21
21
  };
22
- var c = (l, h, t) => (H(l, typeof h != "symbol" ? h + "" : h, t), t);
23
- import { Raycaster as q, Vector3 as S, Quaternion as X, Euler as G } from "three";
22
+ var f = (a, l, t) => (L(a, typeof l != "symbol" ? l + "" : l, t), t);
23
+ import { Raycaster as q, Vector3 as A, Quaternion as X, Euler as G } from "three";
24
24
  import { Controller as Y } from "../base/BasePlugin.js";
25
25
  import Z from "./DoorLabelItem.js";
26
26
  import { getCameraToward as J, isTwoRectOverlaped as K, getDistance as tt, getToward as it } from "./utils.js";
@@ -90,76 +90,75 @@ const ot = { userAction: !0 };
90
90
  class ui extends Y {
91
91
  constructor(t) {
92
92
  super(t);
93
- c(this, "state", { enabled: !0, visible: !0 });
94
- c(this, "container");
95
- c(this, "MinVisibledistance", 1.8);
96
- c(this, "MaxVisibledistance", 5);
97
- c(this, "OffsetHeight", -1.3);
93
+ f(this, "state", { enabled: !0, visible: !0 });
94
+ f(this, "container");
95
+ f(this, "MinVisibledistance", 1.8);
96
+ f(this, "MaxVisibledistance", 5);
97
+ f(this, "OffsetHeight", -1.3);
98
98
  // 标签页面高度偏移值
99
- c(this, "rooms");
100
- c(this, "floorplanServerData");
99
+ f(this, "floorplanServerData");
101
100
  /** 每个点位 visible 标签的缓存 */
102
- c(this, "visibleLabelMap", /* @__PURE__ */ new Map());
101
+ f(this, "visibleLabelMap", /* @__PURE__ */ new Map());
103
102
  /** 标签项Prop值 */
104
- c(this, "labelItems", []);
103
+ f(this, "labelItems", []);
105
104
  /** 数据 */
106
- c(this, "doorLabels");
107
- c(this, "roomObservers");
108
- c(this, "loadData", (t, i) => {
105
+ f(this, "doorLabels");
106
+ f(this, "roomObservers");
107
+ f(this, "loadData", (t, i) => {
109
108
  i && (this.MaxVisibledistance = i.MaxVisibledistance, this.MinVisibledistance = i.MinVisibledistance, this.OffsetHeight = i.OffsetHeight), this.labelItems = [], this.doorLabels = [], this.floorplanServerData = t, et(this.five).then(() => {
110
109
  this.initData(), this.fixDoorVisibleAndPosition(), this.applyState();
111
110
  });
112
111
  });
113
- c(this, "dispose", () => {
114
- var t, i, f, e, a, o, s;
115
- (t = this.five) == null || t.off("wantsToMoveToPano", this.hideAllLabels), (i = this.five) == null || i.off("modelLoaded", this.fixDoorVisibleAndPosition), (f = this.five) == null || f.off("panoArrived", this.fixDoorVisibleAndPosition), (e = this.five) == null || e.off("initAnimationEnded", this.fixDoorPosition), (a = this.five) == null || a.off("cameraUpdate", this.fixDoorPosition), (o = this.five) == null || o.off("mouseWheel", this.fixDoorPosition), (s = this.five) == null || s.off("pinchGesture", this.fixDoorPosition), this.applyState({ enabled: !1 });
112
+ f(this, "dispose", () => {
113
+ var t, i, r, o, n, s, e;
114
+ (t = this.five) == null || t.off("wantsToMoveToPano", this.hideAllLabels), (i = this.five) == null || i.off("modelLoaded", this.fixDoorVisibleAndPosition), (r = this.five) == null || r.off("panoArrived", this.fixDoorVisibleAndPosition), (o = this.five) == null || o.off("initAnimationEnded", this.fixDoorPosition), (n = this.five) == null || n.off("cameraUpdate", this.fixDoorPosition), (s = this.five) == null || s.off("mouseWheel", this.fixDoorPosition), (e = this.five) == null || e.off("pinchGesture", this.fixDoorPosition), this.applyState({ enabled: !1 });
116
115
  });
117
- c(this, "initRoomObservers", () => {
118
- var e, a;
119
- const t = this.floorplanServerData.computed_data.floor_datas || [], f = (((a = (e = this.five) == null ? void 0 : e.work) == null ? void 0 : a.observers) || []).map((o) => {
120
- const s = o.panoIndex, d = o.floorIndex, n = t == null ? void 0 : t.find((r) => r.floor_index === d);
121
- if (n) {
122
- const r = n.rooms.find((p) => p.observer_indexs.includes(s));
123
- if (r)
124
- return { panoIndex: s, floorIndex: d, name: r.name };
116
+ f(this, "initRoomObservers", () => {
117
+ var o, n;
118
+ const t = this.floorplanServerData.computed_data.floor_datas || [], r = (((n = (o = this.five) == null ? void 0 : o.work) == null ? void 0 : n.observers) || []).map((s) => {
119
+ const e = s.panoIndex, b = s.floorIndex, c = t == null ? void 0 : t.find((h) => h.floor_index === b);
120
+ if (c) {
121
+ const h = c.rooms.find((m) => m.observer_indexs.includes(e));
122
+ if (h)
123
+ return { panoIndex: e, floorIndex: b, name: h.name };
125
124
  }
126
125
  }).filter(Boolean);
127
- this.roomObservers = f;
126
+ this.roomObservers = r;
128
127
  });
129
- c(this, "hideAllLabels", () => {
128
+ f(this, "hideAllLabels", () => {
130
129
  this.labelItems.forEach((t) => {
131
130
  t.visible = !1, t.inSight = !1;
132
131
  });
133
132
  });
134
- c(this, "fixDoorVisibleAndPosition", () => {
133
+ f(this, "fixDoorVisibleAndPosition", () => {
135
134
  this.initRoomObservers();
136
135
  const { panoIndex: t } = this.five;
137
- if (!this.state.visible || this.five.model.empty || t === null || !this.roomObservers.find((o) => o.panoIndex === t))
136
+ if (!this.state.visible || this.five.model.empty || t === null || !this.roomObservers.find((s) => s.panoIndex === t))
138
137
  return;
139
- const i = this.roomObservers.find((o) => o.panoIndex === t), e = this.five.work.observers.find((o) => o.panoIndex === t).position.clone(), a = (() => {
138
+ const i = this.roomObservers.find((s) => s.panoIndex === t), o = this.five.work.observers.find((s) => s.panoIndex === t).position.clone(), n = (() => {
140
139
  if (this.visibleLabelMap.has(t))
141
140
  return this.visibleLabelMap.get(t);
142
141
  {
143
- const o = [];
144
- return this.doorLabels.forEach((s, d) => {
145
- if (s.roomName === i.name)
142
+ const s = [];
143
+ return this.doorLabels.forEach((e, b) => {
144
+ if (e.roomName === i.name)
146
145
  return;
147
- const n = s.position.clone(), r = n.distanceTo(e);
148
- if (r < this.MinVisibledistance || r > this.MaxVisibledistance)
146
+ const c = e.position.clone(), h = c.distanceTo(o);
147
+ if (h < this.MinVisibledistance || h > this.MaxVisibledistance)
149
148
  return;
150
- const p = new q(), v = n.clone().sub(e).normalize();
151
- p.set(e, v);
152
- const [b] = this.five.model.intersectRaycaster(p);
153
- b && b.distance + 0.1 < r || o.push(d);
154
- }), this.visibleLabelMap.set(t, o), o;
149
+ const m = new q(), d = c.clone().sub(o).normalize();
150
+ m.set(o, d);
151
+ const [v] = this.five.model.intersectRaycaster(m);
152
+ v && v.distance + 0.1 < h || s.push(b);
153
+ }), this.visibleLabelMap.set(t, s), s;
155
154
  }
156
155
  })();
157
- this.labelItems.forEach((o, s) => {
158
- o.visible = a.includes(s);
156
+ this.labelItems.forEach((s, e) => {
157
+ s.visible = n.includes(e);
159
158
  }), this.fixDoorPosition();
160
159
  });
161
- c(this, "fixDoorPosition", () => {
162
- var d, n, r, p, v, b, V, x, P, g, W, z;
160
+ f(this, "fixDoorPosition", () => {
161
+ var b, c, h, m, d, v, x, _, k, H, W, z;
163
162
  if (!this.state.enabled || !this.state.visible)
164
163
  return;
165
164
  const { panoIndex: t, camera: i } = this.five;
@@ -167,86 +166,88 @@ class ui extends Y {
167
166
  return;
168
167
  if (this.five.currentMode !== "Panorama")
169
168
  return this.hideAllLabels();
170
- const f = this.five.getElement(), e = f.clientWidth, a = f.clientHeight, o = i.getWorldDirection(new S()), s = [];
171
- if (this.labelItems.forEach((m, u) => {
172
- var w;
173
- if (m.visible) {
174
- const A = i.position.distanceTo(m.position), y = m.position.clone().add(new S(0, this.OffsetHeight, 0)), M = y.clone().sub(i.position).normalize().angleTo(o), E = y.clone().project(i), D = (E.x + 1) / 2.2 * 100, _ = (-E.y + 1) / 2.2 * 100, F = D >= 0 && D <= 100 && _ >= 0 && _ <= 100 && A > this.MinVisibledistance && A <= this.MaxVisibledistance;
175
- m.left = D, m.top = _, m.inSight = F && M < Math.PI / 2, m.cameraToward = J(this.five), F ? s.push({ disFromCameraToLabel: A, left: D, top: _, index: u }) : m.transform = "translate(-50%, -50%)";
169
+ const r = this.five.getElement(), o = r.clientWidth, n = r.clientHeight, s = i.getWorldDirection(new A()), e = [];
170
+ if (this.labelItems.forEach((p, u) => {
171
+ var I;
172
+ if (p.visible) {
173
+ const g = i.position.distanceTo(p.position), S = p.position.clone().add(new A(0, this.OffsetHeight, 0)), w = S.clone().sub(i.position).normalize().angleTo(s), y = S.clone().project(i), P = (y.x + 1) / 2.2 * 100, T = (-y.y + 1) / 2.2 * 100, F = P >= 0 && P <= 100 && T >= 0 && T <= 100 && g > this.MinVisibledistance && g <= this.MaxVisibledistance;
174
+ p.left = P, p.top = T, p.inSight = F && w < Math.PI / 2, p.cameraToward = J(this.five), F ? e.push({ disFromCameraToLabel: g, left: P, top: T, index: u }) : p.transform = "translate(-50%, -50%)";
176
175
  } else
177
- m.inSight = !1;
178
- const T = m, { svelteApp: I } = T, k = B(T, ["svelteApp"]);
179
- (w = m.svelteApp) == null || w.$set({ props: k });
180
- }), s.length > 1) {
181
- let m = 0;
182
- s.sort((u, I) => I.disFromCameraToLabel - u.disFromCameraToLabel);
183
- for (let u = 1; u < s.length; u++) {
184
- const { index: I, left: k, top: T } = s[u - 1], { index: w, left: A, top: y } = s[u], O = this.container.children[I], M = this.container.children[w];
185
- if (!O || !M)
176
+ p.inSight = !1;
177
+ const M = p, { svelteApp: D } = M, C = B(M, ["svelteApp"]);
178
+ (I = p.svelteApp) == null || I.$set({ props: C });
179
+ }), e.length > 1) {
180
+ let p = 0;
181
+ e.sort((u, D) => D.disFromCameraToLabel - u.disFromCameraToLabel);
182
+ for (let u = 1; u < e.length; u++) {
183
+ const { index: D, left: C, top: M } = e[u - 1], { index: I, left: g, top: S } = e[u], V = this.container.children[D], w = this.container.children[I];
184
+ if (!V || !w)
186
185
  return;
187
- const E = {
188
- left: e * k / 100,
189
- top: a * T / 100,
190
- width: (r = (n = (d = O.children) == null ? void 0 : d[0]) == null ? void 0 : n.clientWidth) != null ? r : 0,
191
- height: (b = (v = (p = O.children) == null ? void 0 : p[0]) == null ? void 0 : v.clientHeight) != null ? b : 0
192
- }, D = {
193
- left: e * A / 100,
194
- top: a * y / 100,
195
- width: (P = (x = (V = M.children) == null ? void 0 : V[0]) == null ? void 0 : x.clientWidth) != null ? P : 0,
196
- height: (z = (W = (g = M.children) == null ? void 0 : g[0]) == null ? void 0 : W.clientHeight) != null ? z : 0
186
+ const y = {
187
+ left: o * C / 100,
188
+ top: n * M / 100,
189
+ width: (h = (c = (b = V.children) == null ? void 0 : b[0]) == null ? void 0 : c.clientWidth) != null ? h : 0,
190
+ height: (v = (d = (m = V.children) == null ? void 0 : m[0]) == null ? void 0 : d.clientHeight) != null ? v : 0
191
+ }, P = {
192
+ left: o * g / 100,
193
+ top: n * S / 100,
194
+ width: (k = (_ = (x = w.children) == null ? void 0 : x[0]) == null ? void 0 : _.clientWidth) != null ? k : 0,
195
+ height: (z = (W = (H = w.children) == null ? void 0 : H[0]) == null ? void 0 : W.clientHeight) != null ? z : 0
197
196
  };
198
- K(E, D) && (m++, this.labelItems[I].transform = `translate(-50%, ${(m - 1) * 100 - 50}%)`, this.labelItems[w].transform = `translate(-50%, ${m * 100 - 50}%)`);
197
+ K(y, P) && (p++, this.labelItems[D].transform = `translate(-50%, ${(p - 1) * 100 - 50}%)`, this.labelItems[I].transform = `translate(-50%, ${p * 100 - 50}%)`);
199
198
  }
200
199
  }
201
200
  });
202
- c(this, "onClick", (t, i) => {
201
+ f(this, "onClick", (t, i) => {
203
202
  if (!this.roomObservers)
204
203
  return;
205
- const { work: f } = this.five;
206
- let e, a, o = 1 / 0;
207
- for (const s of f.observers)
208
- if (this.roomObservers.find((n) => n.panoIndex === s.panoIndex && n.name === t)) {
209
- const n = s.standingPosition, r = i.distanceTo(n);
210
- r < o && (e = s.panoIndex, a = n.clone().sub(i).normalize(), o = r);
204
+ const { work: r } = this.five;
205
+ let o, n, s = 1 / 0;
206
+ for (const e of r.observers)
207
+ if (this.roomObservers.find((c) => c.panoIndex === e.panoIndex && c.name === t)) {
208
+ const c = e.standingPosition, h = i.distanceTo(c);
209
+ h < s && (o = e.panoIndex, n = c.clone().sub(i).normalize(), s = h);
211
210
  }
212
- if (a !== null && e !== null) {
213
- const s = {};
214
- if (o > 0) {
215
- const n = new S(0, 0, -1), r = a.clone(), p = new X();
216
- p.setFromUnitVectors(n, r);
217
- const v = new G();
218
- v.setFromQuaternion(p, "YXZ"), s.longitude = v.y;
211
+ if (n !== null && o !== null) {
212
+ const e = {};
213
+ if (s > 0) {
214
+ const c = new A(0, 0, -1), h = n.clone(), m = new X();
215
+ m.setFromUnitVectors(c, h);
216
+ const d = new G();
217
+ d.setFromQuaternion(m, "YXZ"), e.longitude = d.y;
219
218
  }
220
- this.five.emit("wantsToMoveToPano", e, {}, !0) || this.five.moveToPano(e, { longitude: s.longitude });
219
+ this.five.emit("wantsToMoveToPano", o, {}, !0) || this.five.moveToPano(o, { longitude: e.longitude });
221
220
  }
222
221
  });
223
- c(this, "initData", () => {
224
- var e;
225
- this.doorLabels = [];
226
- const t = this.five.panoIndex, i = this.floorplanServerData.computed_data.observers[t].floor_index, f = i !== void 0 && ((e = this.floorplanServerData.computed_data.floor_datas[i]) == null ? void 0 : e.rooms);
227
- this.rooms = f, this.rooms && this.rooms.length > 0 && this.rooms.forEach((a) => {
228
- var d;
229
- const o = (d = this.floorplanServerData.computed_data.doors) == null ? void 0 : d.filter((n) => !!(n && n.name === a.name)), s = this.five.work.observers.filter((n, r) => !!a.observer_indexs.find((p) => p === r));
230
- o && o.forEach((n) => {
231
- const r = n.position;
232
- let p = 1 / 0, v;
233
- s.forEach((V) => {
234
- const x = V.standingPosition, P = {
235
- x: x.x,
236
- y: x.y,
237
- z: x.z
238
- }, g = tt(r, P);
239
- g < p && (p = g, v = P);
240
- }), v && (r.y = v.y + 0.01);
241
- const b = new S(r.x, r.y, r.z);
242
- b.add(new S(-0.2, 1.8, 0).applyEuler(new G(0, n.rad, 0))), this.doorLabels.push({
243
- roomName: a.name,
244
- name: n.name,
245
- position: b,
246
- toward: it(n.rad)
247
- });
222
+ f(this, "initData", () => {
223
+ var o;
224
+ this.doorLabels = [], this.labelItems.forEach((n) => {
225
+ var s;
226
+ return (s = n.svelteApp) == null ? void 0 : s.$destroy();
227
+ }), this.labelItems = [];
228
+ const t = this.five.panoIndex, i = this.floorplanServerData.computed_data.observers[t].floor_index, r = this.floorplanServerData.computed_data.floor_datas[i];
229
+ (o = this.floorplanServerData.computed_data.doors) == null || o.forEach((n) => {
230
+ const s = this.five.work.observers.filter((m, d) => {
231
+ var v;
232
+ return !!((v = r == null ? void 0 : r.rooms) != null && v.find((x) => x.observer_indexs.includes(d)));
233
+ }), e = n.position;
234
+ let b = 1 / 0, c;
235
+ s.forEach((m) => {
236
+ const d = m.standingPosition, v = {
237
+ x: d.x,
238
+ y: d.y,
239
+ z: d.z
240
+ }, x = tt(e, v);
241
+ x < b && (b = x, c = v);
242
+ }), c && (e.y = c.y + 0.01);
243
+ const h = new A(e.x, e.y, e.z);
244
+ h.add(new A(-0.2, 1.8, 0).applyEuler(new G(0, n.rad, 0))), this.doorLabels.push({
245
+ roomName: n.name,
246
+ name: n.name,
247
+ position: h,
248
+ toward: it(n.rad)
248
249
  });
249
- }), this.labelItems = this.doorLabels.map((a) => U(L({}, a), {
250
+ }), this.labelItems = this.doorLabels.map((n) => U(E({}, n), {
250
251
  left: 0,
251
252
  top: 0,
252
253
  visible: !1,
@@ -260,10 +261,10 @@ class ui extends Y {
260
261
  this.state.enabled && (this.container = t);
261
262
  }
262
263
  setState(t, i) {
263
- const f = this.state;
264
- this.state = L(L({}, f), t);
265
- const e = f.enabled && f.visible, a = this.state.enabled && this.state.visible;
266
- e !== a && this.applyState();
264
+ const r = this.state;
265
+ this.state = E(E({}, r), t);
266
+ const o = r.enabled && r.visible, n = this.state.enabled && this.state.visible;
267
+ o !== n && this.applyState();
267
268
  }
268
269
  show() {
269
270
  this.setState({ visible: !0 });
@@ -279,28 +280,28 @@ class ui extends Y {
279
280
  }
280
281
  stateChangedCallback(t, i) {
281
282
  if (this.hooks.hasListener("stateChange")) {
282
- const f = {
283
+ const r = {
283
284
  state: this.state,
284
285
  prevState: t,
285
286
  userAction: i ? i.userAction : ot.userAction
286
287
  };
287
- this.hooks.emit("stateChange", f);
288
+ this.hooks.emit("stateChange", r);
288
289
  }
289
290
  }
290
291
  applyState(t) {
291
292
  const i = t != null ? t : this.state;
292
- i.enabled !== !1 && i.visible !== !1 ? (this.labelItems.forEach((e) => {
293
- e.svelteApp = new Z({
293
+ i.enabled !== !1 && i.visible !== !1 ? (this.labelItems.forEach((o) => {
294
+ o.svelteApp = new Z({
294
295
  target: this.container,
295
296
  props: {
296
- props: e,
297
+ props: o,
297
298
  onClick: () => {
298
- this.onClick(e.name, e.position);
299
+ this.onClick(o.name, o.position);
299
300
  }
300
301
  }
301
302
  });
302
- }), this.fixDoorPosition()) : this.labelItems.forEach((e) => {
303
- e.svelteApp.$destroy();
303
+ }), this.fixDoorPosition()) : this.labelItems.forEach((o) => {
304
+ o.svelteApp.$destroy();
304
305
  });
305
306
  }
306
307
  initState() {
@@ -37,7 +37,9 @@ export declare class PolygonMesh extends ColoredMesh<THREE.BufferGeometry> {
37
37
  constructor(params?: Partial<PolygonStyle & PolygonData>);
38
38
  updateMatrixWorld(force?: boolean): void;
39
39
  setStyle(params: Partial<ColoredMeshStyle>): void;
40
- setPoints(points: AnyPositions): void;
40
+ setPoints(points: AnyPositions, config?: {
41
+ checkLinesIntersect?: boolean;
42
+ }): void;
41
43
  /**
42
44
  * @description: 获取一个点投影在当前平面上的点
43
45
  */