@realsee/dnalogel 3.34.4 → 3.34.6

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 (393) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/ModelMakerPlugin/Controller.d.ts +1 -1
  3. package/dist/ModelMakerPlugin/item/baseItem.d.ts +1 -1
  4. package/dist/PanoVideoPlugin/Controller.d.ts +2 -1
  5. package/dist/index.cjs.js +4 -4
  6. package/dist/index.js +88 -92
  7. package/dist/index.umd.js +4 -4
  8. package/dist/shared-utils/tag.d.ts +4 -4
  9. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  10. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  11. package/docs/classes/CSS3DRender.html +3 -3
  12. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  13. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  14. package/docs/classes/ModelMakerPluginInstance.html +13 -13
  15. package/docs/classes/ModelRoomLabelController.html +3 -3
  16. package/docs/classes/MoveController.html +3 -3
  17. package/docs/classes/Object3DHelperController.html +3 -3
  18. package/docs/classes/PaintBrush.html +3 -3
  19. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  20. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  21. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  22. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  23. package/docs/classes/PanoTagPluginController.html +3 -3
  24. package/docs/classes/Sculpt.html +3 -3
  25. package/docs/classes/Util.BetterTween.html +3 -3
  26. package/docs/classes/Util.Interval.html +3 -3
  27. package/docs/classes/Util.LineSegments.html +3 -3
  28. package/docs/classes/Util.Magnifier.html +3 -3
  29. package/docs/classes/Util.Object3D.html +3 -3
  30. package/docs/classes/Util.PointDomHelper.html +3 -3
  31. package/docs/classes/Util.PointHelper.html +3 -3
  32. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  33. package/docs/classes/Util.Rectangle.html +3 -3
  34. package/docs/classes/WalkController.html +3 -3
  35. package/docs/enums/CameraMovementEffect.html +3 -3
  36. package/docs/enums/ContentType.html +3 -3
  37. package/docs/enums/DIRECTION.html +3 -3
  38. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  39. package/docs/enums/DimensionType.html +3 -3
  40. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  41. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  42. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  43. package/docs/enums/PointType.html +3 -3
  44. package/docs/enums/Rotation.html +3 -3
  45. package/docs/functions/AreaMakerPlugin.html +3 -3
  46. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  47. package/docs/functions/CameraMovementPlugin.html +3 -3
  48. package/docs/functions/CruisePlugin.html +3 -3
  49. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  50. package/docs/functions/GuideLinePlugin.html +3 -3
  51. package/docs/functions/ItemLabelPlugin.html +3 -3
  52. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  53. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  54. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  55. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  56. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  57. package/docs/functions/ModelMakerPlugin.html +3 -3
  58. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  59. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  60. package/docs/functions/ModelViewPlugin.html +3 -3
  61. package/docs/functions/MovePlugin.html +3 -3
  62. package/docs/functions/Object3DHelperPlugin.html +3 -3
  63. package/docs/functions/PanoCompassPlugin.html +3 -3
  64. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  65. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  66. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  67. package/docs/functions/PanoMeasurePlugin.html +3 -3
  68. package/docs/functions/PanoRulerPlugin.html +3 -3
  69. package/docs/functions/PanoRulerProPlugin.html +3 -3
  70. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  71. package/docs/functions/PanoTagPlugin.html +3 -3
  72. package/docs/functions/PanoVideoPlugin.html +3 -3
  73. package/docs/functions/PipelinePlugin.html +3 -3
  74. package/docs/functions/SculptPlugin.html +3 -3
  75. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  76. package/docs/functions/Util.absoluteUrl.html +3 -3
  77. package/docs/functions/Util.blink.html +3 -3
  78. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  79. package/docs/functions/Util.equal.html +3 -3
  80. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  81. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  82. package/docs/functions/Util.getFrameTime.html +3 -3
  83. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  84. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  85. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  86. package/docs/functions/Util.isModelLike.html +3 -3
  87. package/docs/functions/Util.isNil.html +3 -3
  88. package/docs/functions/Util.isPanoramaLike.html +3 -3
  89. package/docs/functions/Util.nextFrame.html +3 -3
  90. package/docs/functions/Util.notNil.html +3 -3
  91. package/docs/functions/Util.reblink.html +3 -3
  92. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  93. package/docs/functions/Util.tweenProgress.html +3 -3
  94. package/docs/functions/Util.uuid.html +3 -3
  95. package/docs/functions/pluginFlag.html +3 -3
  96. package/docs/index.html +4 -4
  97. package/docs/interfaces/AddTagConfig.html +3 -3
  98. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  99. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  100. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  101. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  102. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  103. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  104. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  105. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  106. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  107. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  108. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  109. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  110. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  111. package/docs/interfaces/ContentTypeMapInterface.html +3 -3
  112. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  113. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  114. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  115. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  116. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  117. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  118. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  119. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  120. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  121. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  122. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  123. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  124. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  125. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  126. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  127. package/docs/interfaces/EventMap.html +3 -3
  128. package/docs/interfaces/FloorplanBounding.html +3 -3
  129. package/docs/interfaces/FloorplanData.html +3 -3
  130. package/docs/interfaces/FloorplanEntrance.html +3 -3
  131. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  132. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  133. package/docs/interfaces/FloorplanFloorData.html +3 -3
  134. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  135. package/docs/interfaces/FloorplanObserver.html +3 -3
  136. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  137. package/docs/interfaces/FloorplanPosition.html +3 -3
  138. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  139. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  140. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  141. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  142. package/docs/interfaces/FloorplanServerData.html +3 -3
  143. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  144. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  145. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  146. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  147. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  148. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  149. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  150. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  151. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  152. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  153. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  154. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  155. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  156. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  162. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  163. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  164. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  165. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  166. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  167. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  168. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  169. package/docs/interfaces/HelperOffset.html +3 -3
  170. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  171. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  172. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  173. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  174. package/docs/interfaces/MinMax.html +3 -3
  175. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  176. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  177. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  178. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  179. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  180. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  181. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  182. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  183. package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
  184. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  185. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  186. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  187. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  188. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  189. package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
  190. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  191. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  192. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  193. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  194. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  195. package/docs/interfaces/Object3DHelperState.html +3 -3
  196. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  197. package/docs/interfaces/PaintBrushAction.html +3 -3
  198. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  199. package/docs/interfaces/PaintBrushState.html +3 -3
  200. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  201. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  202. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  203. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  204. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  205. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  206. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  207. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  208. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  209. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  210. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  211. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  212. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  213. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  214. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  215. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  216. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  217. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  218. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  219. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  220. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  221. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  222. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  223. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  224. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  225. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  226. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  227. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  228. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  229. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  230. package/docs/interfaces/Point.html +3 -3
  231. package/docs/interfaces/Room.html +3 -3
  232. package/docs/interfaces/RoomInfo.html +3 -3
  233. package/docs/interfaces/RoomLabel.html +3 -3
  234. package/docs/interfaces/RoomRules.html +3 -3
  235. package/docs/interfaces/Rooms.html +3 -3
  236. package/docs/interfaces/Scissor.html +3 -3
  237. package/docs/interfaces/State.html +3 -3
  238. package/docs/interfaces/TagCacheInterface.html +3 -3
  239. package/docs/interfaces/TagConfig.html +3 -3
  240. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  241. package/docs/interfaces/TagIconUrl.html +3 -3
  242. package/docs/interfaces/TagObjectGroup.html +3 -3
  243. package/docs/interfaces/TagStyle.html +3 -3
  244. package/docs/interfaces/Tags.html +3 -3
  245. package/docs/interfaces/TemporaryState.html +3 -3
  246. package/docs/interfaces/Util.BlinkAnimeOptions.html +3 -3
  247. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  248. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  249. package/docs/interfaces/Util.PointIntersection.html +3 -3
  250. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  251. package/docs/modules/AreaMakerPluginType.html +3 -3
  252. package/docs/modules/CruisePluginTypes.html +3 -3
  253. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  254. package/docs/modules/GuideLineItem.html +3 -3
  255. package/docs/modules/GuideLineModeItem.html +3 -3
  256. package/docs/modules/GuideLinePluginType.html +3 -3
  257. package/docs/modules/ModelMakerPluginType.html +3 -3
  258. package/docs/modules/PanoVideoPluginType.html +3 -3
  259. package/docs/modules/SculptData.html +3 -3
  260. package/docs/modules/Util.html +3 -3
  261. package/docs/modules.html +4 -4
  262. package/docs/types/AddObject3DHelperConfig.html +3 -3
  263. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  264. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  265. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  266. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  267. package/docs/types/ArrayPosition.html +3 -3
  268. package/docs/types/AudioAppearance.html +3 -3
  269. package/docs/types/CSS3DRenderExportType.html +3 -3
  270. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  271. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  272. package/docs/types/ClassFunctionParameters.html +3 -3
  273. package/docs/types/Color.html +3 -3
  274. package/docs/types/ContentTypeConfigKey.html +3 -3
  275. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  276. package/docs/types/ContentTypeMap.html +3 -3
  277. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  278. package/docs/types/Create3DElementReturnType.html +3 -3
  279. package/docs/types/CruisePluginExportType.html +3 -3
  280. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  281. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  282. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  283. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  284. package/docs/types/DeprecatedTagProperty.html +3 -3
  285. package/docs/types/Direction-1.html +3 -3
  286. package/docs/types/Direction4.html +3 -3
  287. package/docs/types/ElementRenderer.html +3 -3
  288. package/docs/types/FloorplanRuleLabels.html +3 -3
  289. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  290. package/docs/types/GuideLinePluginExportType.html +3 -3
  291. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  292. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  293. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  294. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  295. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  296. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  297. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  298. package/docs/types/HelperEventMap.html +3 -3
  299. package/docs/types/InternalHelperEventMap.html +3 -3
  300. package/docs/types/LoadTagConfig.html +3 -3
  301. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  302. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  303. package/docs/types/MediaData.html +3 -3
  304. package/docs/types/MediaStore.html +3 -3
  305. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  306. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  307. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  308. package/docs/types/ModelId.html +3 -3
  309. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  310. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  311. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  312. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  313. package/docs/types/MoveArgs.html +3 -3
  314. package/docs/types/MoveOpts.html +3 -3
  315. package/docs/types/Object3DHelperEventMap.html +3 -3
  316. package/docs/types/ObjectFit.html +3 -3
  317. package/docs/types/PaintBrushEventMap.html +3 -3
  318. package/docs/types/PanoCompassPluginData.html +3 -3
  319. package/docs/types/PanoCompassPluginExportType.html +3 -3
  320. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  321. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  322. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  323. package/docs/types/PanoIndex.html +3 -3
  324. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  325. package/docs/types/PanoMeasureReturnType.html +3 -3
  326. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  327. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  328. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  329. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  330. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  331. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  332. package/docs/types/PipelinePluginParameterType.html +3 -3
  333. package/docs/types/PipelinePluginReturnType.html +3 -3
  334. package/docs/types/PlaneTag.html +3 -3
  335. package/docs/types/Point2DTag.html +3 -3
  336. package/docs/types/Point3DTag.html +3 -3
  337. package/docs/types/PointTag.html +3 -3
  338. package/docs/types/PointTagInstance.html +3 -3
  339. package/docs/types/Position.html +3 -3
  340. package/docs/types/PositionFrom.html +3 -3
  341. package/docs/types/RotateArgs.html +3 -3
  342. package/docs/types/RotateOpts.html +3 -3
  343. package/docs/types/RuleLabelsKey.html +3 -3
  344. package/docs/types/RuleLabelsValue.html +3 -3
  345. package/docs/types/ScaleCallback.html +3 -3
  346. package/docs/types/ScalePosition.html +3 -3
  347. package/docs/types/SculptData.BoxData.html +3 -3
  348. package/docs/types/SculptData.CircleData.html +3 -3
  349. package/docs/types/SculptData.CylinderData.html +3 -3
  350. package/docs/types/SculptData.PointData.html +3 -3
  351. package/docs/types/SculptData.PolygonData.html +3 -3
  352. package/docs/types/SculptData.PolylineData.html +3 -3
  353. package/docs/types/SculptData.PrismData.html +3 -3
  354. package/docs/types/SculptData.RectangleData.html +3 -3
  355. package/docs/types/StickType.html +3 -3
  356. package/docs/types/Tag.html +3 -3
  357. package/docs/types/Tag2D.html +3 -3
  358. package/docs/types/Tag3D.html +3 -3
  359. package/docs/types/TagConfigByKey.html +3 -3
  360. package/docs/types/TagContentType.html +3 -3
  361. package/docs/types/TagContentTypeMapping.html +3 -3
  362. package/docs/types/TagDimensionType.html +3 -3
  363. package/docs/types/TagElement.html +3 -3
  364. package/docs/types/TagEvents.html +3 -3
  365. package/docs/types/TagGLTFObject.html +3 -3
  366. package/docs/types/TagHooks.html +3 -3
  367. package/docs/types/TagId.html +3 -3
  368. package/docs/types/TagInstance.html +3 -3
  369. package/docs/types/TagPointType.html +3 -3
  370. package/docs/types/TagRendererMap.html +3 -3
  371. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  372. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  373. package/docs/types/WorkCode.html +3 -3
  374. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  375. package/docs/variables/PLUGIN.html +3 -3
  376. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  377. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  378. package/docs/variables/defaultGlobalConfig.html +3 -3
  379. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  380. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  381. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  382. package/libs/ModelMakerPlugin/Controller.d.ts +1 -1
  383. package/libs/ModelMakerPlugin/Controller.js +86 -83
  384. package/libs/ModelMakerPlugin/item/baseItem.d.ts +1 -1
  385. package/libs/ModelMakerPlugin/item/baseItem.js +23 -26
  386. package/libs/PanoRulerPlugin/Plugin.js +15 -15
  387. package/libs/PanoVideoPlugin/Controller.d.ts +2 -1
  388. package/libs/PanoVideoPlugin/Controller.js +1 -1
  389. package/libs/base/BasePlugin.js +1 -1
  390. package/libs/shared-utils/logger.js +1 -1
  391. package/libs/shared-utils/tag.d.ts +4 -4
  392. package/libs/shared-utils/tag.js +26 -30
  393. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.34.4</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.34.6</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,7 +6,7 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.34.4</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.34.6</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-content">
@@ -38,7 +38,7 @@
38
38
  <div class="tsd-theme-toggle">
39
39
  <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
40
40
  <div class="site-menu">
41
- <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.34.4</span></a>
41
+ <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视空间交互插件合集 -<wbr/> v3.34.6</span></a>
42
42
  <ul class="tsd-small-nested-navigation">
43
43
  <li><a href="../modules.html#CruisePluginController"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g></svg><span>Cruise<wbr/>Plugin<wbr/>Controller</span></a></li>
44
44
  <li><a href="../modules.html#Magnifier"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8388608"></use></svg><span>Magnifier</span></a></li>
@@ -10,7 +10,7 @@ export declare class Controller extends BasePlugin.Controller<PluginType.State,
10
10
  private tagRendererMap;
11
11
  private fiveDomEvents;
12
12
  private zFightingOffset;
13
- private tagContainerZIndex?;
13
+ private tagWrapper;
14
14
  constructor(five: Five, config?: {
15
15
  tagContainerZIndex?: number;
16
16
  });
@@ -1,40 +1,40 @@
1
- var I = Object.defineProperty;
2
- var P = (a, n, e) => n in a ? I(a, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[n] = e;
3
- var r = (a, n, e) => (P(a, typeof n != "symbol" ? n + "" : n, e), e);
4
- var j = (a, n, e) => new Promise((i, h) => {
5
- var t = (s) => {
1
+ var P = Object.defineProperty;
2
+ var W = (p, n, e) => n in p ? P(p, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[n] = e;
3
+ var s = (p, n, e) => (W(p, typeof n != "symbol" ? n + "" : n, e), e);
4
+ var R = (p, n, e) => new Promise((o, t) => {
5
+ var l = (r) => {
6
6
  try {
7
- o(e.next(s));
7
+ a(e.next(r));
8
8
  } catch (d) {
9
- h(d);
9
+ t(d);
10
10
  }
11
- }, f = (s) => {
11
+ }, i = (r) => {
12
12
  try {
13
- o(e.throw(s));
13
+ a(e.throw(r));
14
14
  } catch (d) {
15
- h(d);
15
+ t(d);
16
16
  }
17
- }, o = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(t, f);
18
- o((e = e.apply(a, n)).next());
17
+ }, a = (r) => r.done ? o(r.value) : Promise.resolve(r.value).then(l, i);
18
+ a((e = e.apply(p, n)).next());
19
19
  });
20
- import { Controller as D } from "../base/BasePluginWithData.js";
21
- import * as l from "three";
22
- import { ModelMakerBoxItem as A } from "./item/boxItem.js";
23
- import { PrismMesh as R } from "../Sculpt/Meshes/Prism.js";
24
- import { anyPositionToVector3 as T } from "../shared-utils/positionToVector3.js";
25
- import { PolygonWithEdgeMesh as H } from "../Sculpt/Meshes/PolygonWithEdge.js";
20
+ import { Controller as C } from "../base/BasePluginWithData.js";
21
+ import * as h from "three";
22
+ import { ModelMakerBoxItem as D } from "./item/boxItem.js";
23
+ import { PrismMesh as x } from "../Sculpt/Meshes/Prism.js";
24
+ import { anyPositionToVector3 as I } from "../shared-utils/positionToVector3.js";
25
+ import { PolygonWithEdgeMesh as A } from "../Sculpt/Meshes/PolygonWithEdge.js";
26
26
  import "hammerjs";
27
27
  import "@realsee/five";
28
28
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
29
29
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
30
30
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
31
31
  import "animejs";
32
- import { notNil as V } from "../shared-utils/isNil.js";
33
- import { tagRendererMap as F } from "./utils/tagRenderer.js";
34
- import { ModelMakerPrismItem as L } from "./item/prismItem.js";
35
- import { ModelMakerPolygonItem as O } from "./item/polygonItem.js";
36
- import { boxVertex as b } from "../shared-utils/Object3DHelper/utils/boundingBox.js";
37
- import { getFiveDomEvent as Z } from "./utils/getFiveDomEvent.js";
32
+ import { notNil as j } from "../shared-utils/isNil.js";
33
+ import { tagRendererMap as T } from "./utils/tagRenderer.js";
34
+ import { ModelMakerPrismItem as H } from "./item/prismItem.js";
35
+ import { ModelMakerPolygonItem as F } from "./item/polygonItem.js";
36
+ import { boxVertex as f } from "../shared-utils/Object3DHelper/utils/boundingBox.js";
37
+ import { getFiveDomEvent as z } from "./utils/getFiveDomEvent.js";
38
38
  import "../base/BasePlugin.js";
39
39
  import "../shared-utils/Subscribe.js";
40
40
  import "../shared-utils/url/absoluteUrl.js";
@@ -75,102 +75,105 @@ import "../shared-utils/tag.js";
75
75
  import "../shared-utils/five/vector3ToScreen.js";
76
76
  import "../shared-utils/five/FiveDomEvents.js";
77
77
  import "../shared-utils/five/calculateThreeMouse.js";
78
- class Se extends D {
79
- constructor(e, i) {
78
+ class Ge extends C {
79
+ constructor(e, o) {
80
80
  super(e);
81
- r(this, "state");
82
- r(this, "items", []);
83
- r(this, "data");
84
- r(this, "group", new l.Group());
85
- r(this, "tagRendererMap", {});
86
- r(this, "fiveDomEvents");
87
- r(this, "zFightingOffset", 0);
88
- r(this, "tagContainerZIndex");
89
- r(this, "handleEnable", () => {
90
- this.items.forEach((e) => e.enable());
81
+ s(this, "state");
82
+ s(this, "items", []);
83
+ s(this, "data");
84
+ s(this, "group", new h.Group());
85
+ s(this, "tagRendererMap", {});
86
+ s(this, "fiveDomEvents");
87
+ s(this, "zFightingOffset", 0);
88
+ s(this, "tagWrapper");
89
+ s(this, "handleEnable", () => {
90
+ var e, o;
91
+ this.five.scene.add(this.group), (o = (e = this.five.getElement()) == null ? void 0 : e.parentElement) == null || o.appendChild(this.tagWrapper), this.five.needsRender = !0;
91
92
  });
92
- r(this, "handleDisable", () => {
93
- this.items.forEach((e) => e.disable());
93
+ s(this, "handleDisable", () => {
94
+ this.five.scene.remove(this.group), this.tagWrapper.remove(), this.five.needsRender = !0;
94
95
  });
95
- r(this, "updateTagRenderer", () => {
96
+ s(this, "updateTagRenderer", () => {
96
97
  this.items.forEach((e) => {
97
- var h;
98
- const i = (h = this.tagRendererMap[e.type]) != null ? h : F[e.type];
99
- i && e.__renderer !== i && (e.__renderer = i, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = i(e.tag.container, e));
98
+ var t;
99
+ const o = (t = this.tagRendererMap[e.type]) != null ? t : T[e.type];
100
+ o && e.__renderer !== o && (e.__renderer = o, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = o(e.tag.container, e));
100
101
  });
101
102
  });
102
- this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.fiveDomEvents = Z(e), this.tagContainerZIndex = i == null ? void 0 : i.tagContainerZIndex, e.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
103
+ this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.fiveDomEvents = z(e), this.tagWrapper = (() => {
104
+ var l;
105
+ const t = document.createElement("div");
106
+ return t.style.position = "absolute", t.style.top = "0", t.style.left = "0", t.style.width = "100%", t.style.height = "100%", t.style.pointerEvents = "none", t.style.zIndex = `${(l = o == null ? void 0 : o.tagContainerZIndex) != null ? l : ""}`, t;
107
+ })(), e.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
103
108
  }
104
109
  load(e) {
105
- return j(this, null, function* () {
106
- var h;
107
- this.clear(), this.data = e;
108
- const i = this.tagContainerZIndex;
109
- (h = e == null ? void 0 : e.list) == null || h.forEach((t) => {
110
- var f;
110
+ return R(this, null, function* () {
111
+ var o;
112
+ this.clear(), this.data = e, (o = e == null ? void 0 : e.list) == null || o.forEach((t) => {
113
+ var l;
111
114
  if (t.type === "triangles") {
112
- const o = new H();
113
- o.setPoints(t.object_data.points), o.setStyle({
115
+ const i = new A();
116
+ i.setPoints(t.object_data.points), i.setStyle({
114
117
  color: t.object_data.color,
115
118
  opacity: t.object_data.opacity,
116
119
  lineColor: t.object_data.color,
117
120
  occlusionVisibility: !1
118
- }), this.fiveDomEvents.addEventListener(o, "hover", () => o.highlight()), this.fiveDomEvents.addEventListener(o, "unHover", () => o.unhighlight());
119
- const s = new O({
121
+ }), this.fiveDomEvents.addEventListener(i, "hover", () => i.highlight()), this.fiveDomEvents.addEventListener(i, "unHover", () => i.unhighlight());
122
+ const a = new F({
120
123
  five: this.five,
121
- model: o,
124
+ tagWrapper: this.tagWrapper,
125
+ model: i,
122
126
  group: this.group,
123
127
  type: t.type,
124
- rawData: t,
125
- tagContainerZIndex: i
128
+ rawData: t
126
129
  });
127
- this.items.push(s);
130
+ this.items.push(a);
128
131
  } else if (t.type === "prism") {
129
- const o = new R();
132
+ const i = new x();
130
133
  this.zFightingOffset += 1e-4;
131
- const s = t.object_data.points.map((p) => {
132
- var m;
133
- return [p[0], p[1] + ((m = t.object_data.fixedY) != null ? m : 0), p[2]];
134
- }), d = t.object_data.height + ((f = t.object_data.fixedHeight) != null ? f : 0) + this.zFightingOffset, u = T(s[0]).add(new l.Vector3().setY(d));
135
- o.setPoints({ points: s, heightPoint: u }), o.setStyle({
134
+ const a = t.object_data.points.map((m) => {
135
+ var c;
136
+ return [m[0], m[1] + ((c = t.object_data.fixedY) != null ? c : 0), m[2]];
137
+ }), r = t.object_data.height + ((l = t.object_data.fixedHeight) != null ? l : 0) + this.zFightingOffset, d = I(a[0]).add(new h.Vector3().setY(r));
138
+ i.setPoints({ points: a, heightPoint: d }), i.setStyle({
136
139
  color: t.object_data.color,
137
140
  opacity: t.object_data.opacity,
138
141
  lineColor: t.object_data.color,
139
142
  occlusionVisibility: !1
140
143
  });
141
- const g = new L({
144
+ const u = new H({
142
145
  five: this.five,
143
- model: o,
146
+ tagWrapper: this.tagWrapper,
147
+ model: i,
144
148
  group: this.group,
145
149
  type: t.type,
146
- rawData: t,
147
- tagContainerZIndex: i
150
+ rawData: t
148
151
  });
149
- this.items.push(g);
152
+ this.items.push(u);
150
153
  } else if (t.type === "box") {
151
- const o = new R(), { start: s, end: d, rotation: u = [0, 0, 0, 0], opacity: g, color: p } = t.object_data, m = new l.Vector3().fromArray(s), y = new l.Vector3().fromArray(d), k = new l.Euler().fromArray(u), _ = new l.Quaternion().setFromEuler(k), v = _.clone().inverse(), w = new l.Vector3().lerpVectors(m, y, 0.5), E = w.clone().negate(), x = m.clone().add(E).applyQuaternion(v), M = y.clone().add(E).applyQuaternion(v), c = new l.Box3(x.clone().max(M), x.clone().min(M));
152
- o.setPoints({
153
- points: [b(c, 2), b(c, 3), b(c, 7), b(c, 6)],
154
- heightPoint: b(c, 0)
155
- }), o.position.copy(w), o.quaternion.copy(_), o.setStyle({ color: p, opacity: g, lineColor: p, occlusionVisibility: !1 });
156
- const C = new A({
154
+ const i = new x(), { start: a, end: r, rotation: d = [0, 0, 0, 0], opacity: u, color: m } = t.object_data, c = new h.Vector3().fromArray(a), g = new h.Vector3().fromArray(r), V = new h.Euler().fromArray(d), y = new h.Quaternion().setFromEuler(V), v = y.clone().inverse(), _ = new h.Vector3().lerpVectors(c, g, 0.5), w = _.clone().negate(), E = c.clone().add(w).applyQuaternion(v), M = g.clone().add(w).applyQuaternion(v), b = new h.Box3(E.clone().max(M), E.clone().min(M));
155
+ i.setPoints({
156
+ points: [f(b, 2), f(b, 3), f(b, 7), f(b, 6)],
157
+ heightPoint: f(b, 0)
158
+ }), i.position.copy(_), i.quaternion.copy(y), i.setStyle({ color: m, opacity: u, lineColor: m, occlusionVisibility: !1 });
159
+ const k = new D({
157
160
  five: this.five,
158
- model: o,
161
+ tagWrapper: this.tagWrapper,
162
+ model: i,
159
163
  group: this.group,
160
164
  type: t.type,
161
- rawData: t,
162
- tagContainerZIndex: i
165
+ rawData: t
163
166
  });
164
- this.items.push(C);
167
+ this.items.push(k);
165
168
  }
166
169
  }), this.five.needsRender = !0, this.state.enabled ? this.handleEnable() : this.handleDisable(), this.state.visible ? this.handleShow() : this.handleHide(), this.updateTagRenderer(), this.hooks.emit("dataLoaded", e);
167
170
  });
168
171
  }
169
172
  setState(e) {
170
- V(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: "我不知道捏" })), V(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: "我不知道捏" }));
173
+ j(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: "我不知道捏" })), j(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: "我不知道捏" }));
171
174
  }
172
175
  getItemById(e) {
173
- return this.items.find((i) => i.rawData.id === e);
176
+ return this.items.find((o) => o.rawData.id === e);
174
177
  }
175
178
  registerTagRenderer(e) {
176
179
  this.tagRendererMap = e, this.updateTagRenderer();
@@ -194,12 +197,12 @@ class Se extends D {
194
197
  this.hooks.emit("dispose"), this.handleDisable();
195
198
  }
196
199
  handleShow() {
197
- this.items.forEach((e) => e.show());
200
+ this.group.visible = !0, this.tagWrapper.style.visibility = "visible", this.five.needsRender = !0;
198
201
  }
199
202
  handleHide() {
200
- this.items.forEach((e) => e.hide());
203
+ this.group.visible = !1, this.tagWrapper.style.visibility = "hidden", this.five.needsRender = !0;
201
204
  }
202
205
  }
203
206
  export {
204
- Se as Controller
207
+ Ge as Controller
205
208
  };
@@ -22,7 +22,6 @@ export declare class ModelMakerBaseItem extends Subscribe<Event> {
22
22
  };
23
23
  protected five: Five;
24
24
  protected group: THREE.Object3D;
25
- protected enabled: boolean;
26
25
  protected fiveDomEvents: FiveDomEvents;
27
26
  constructor(params: {
28
27
  five: Five;
@@ -30,6 +29,7 @@ export declare class ModelMakerBaseItem extends Subscribe<Event> {
30
29
  group: THREE.Object3D;
31
30
  type: string;
32
31
  rawData?: any;
32
+ tagWrapper?: HTMLElement;
33
33
  visibleMode?: Mode[];
34
34
  position?: THREE.Vector3;
35
35
  tagContainerZIndex?: number;
@@ -1,32 +1,31 @@
1
- var l = Object.defineProperty;
2
- var m = (s, i, e) => i in s ? l(s, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[i] = e;
3
- var t = (s, i, e) => (m(s, typeof i != "symbol" ? i + "" : i, e), e);
4
- import * as a from "three";
1
+ var d = Object.defineProperty;
2
+ var m = (s, t, e) => t in s ? d(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
3
+ var i = (s, t, e) => (m(s, typeof t != "symbol" ? t + "" : t, e), e);
4
+ import * as l from "three";
5
5
  import { addIfNotExists as v } from "../../shared-utils/three/addIfNotExists.js";
6
- import { Subscribe as f } from "../../shared-utils/Subscribe.js";
7
- import { tag as b } from "../../shared-utils/tag.js";
8
- import { boundingBox as c } from "../../shared-utils/Object3DHelper/utils/boundingBox.js";
9
- import { getFiveDomEvent as u } from "../utils/getFiveDomEvent.js";
6
+ import { Subscribe as a } from "../../shared-utils/Subscribe.js";
7
+ import { tag as c } from "../../shared-utils/tag.js";
8
+ import { boundingBox as p } from "../../shared-utils/Object3DHelper/utils/boundingBox.js";
9
+ import { getFiveDomEvent as f } from "../utils/getFiveDomEvent.js";
10
10
  import "../../shared-utils/positionToVector3.js";
11
11
  import "../../shared-utils/five/vector3ToScreen.js";
12
12
  import "../../shared-utils/five/FiveDomEvents.js";
13
13
  import "../../shared-utils/three/getObjectVisible.js";
14
14
  import "../../shared-utils/five/calculateThreeMouse.js";
15
- class B extends f {
15
+ class B extends a {
16
16
  constructor(e) {
17
- var o, r, n, h;
17
+ var o, r, h;
18
18
  super();
19
- t(this, "type");
20
- t(this, "tag");
21
- t(this, "rawData");
22
- t(this, "model");
23
- t(this, "five");
24
- t(this, "group");
25
- t(this, "enabled", !1);
26
- t(this, "fiveDomEvents");
27
- this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = u(this.five);
28
- const d = (n = (r = (o = e.position) != null ? o : this.model.worldCenter) != null ? r : this.model.center) != null ? n : c(this.model).getCenter(new a.Vector3());
29
- this.tag = b(this.five, d, { wrapperStyle: { zIndex: `${(h = e.tagContainerZIndex) != null ? h : ""}` } });
19
+ i(this, "type");
20
+ i(this, "tag");
21
+ i(this, "rawData");
22
+ i(this, "model");
23
+ i(this, "five");
24
+ i(this, "group");
25
+ i(this, "fiveDomEvents");
26
+ this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = f(this.five);
27
+ const n = (h = (r = (o = e.position) != null ? o : this.model.worldCenter) != null ? r : this.model.center) != null ? h : p(this.model).getCenter(new l.Vector3());
28
+ this.tag = c(this.five, n, { wrapper: e.tagWrapper });
30
29
  }
31
30
  get container() {
32
31
  return this.tag.container;
@@ -34,7 +33,7 @@ class B extends f {
34
33
  get state() {
35
34
  return {
36
35
  visible: this.model.visible,
37
- enabled: this.enabled
36
+ enabled: this.group.children.includes(this.model)
38
37
  };
39
38
  }
40
39
  show() {
@@ -44,14 +43,12 @@ class B extends f {
44
43
  this.tag.hide(), this.model.visible = !1, this.five.needsRender = !0, this.emit("hide");
45
44
  }
46
45
  enable() {
47
- if (this.enabled)
48
- return;
49
- this.enabled = !0, v(this.group, this.model), this.five.needsRender = !0, this.tag.enable();
46
+ v(this.group, this.model), this.five.needsRender = !0, this.tag.enable();
50
47
  const e = this.onClick.bind(this);
51
48
  this.fiveDomEvents.addEventListener(this.model, "click", e), this.emit("enable");
52
49
  }
53
50
  disable() {
54
- this.enabled && (this.enabled = !1, this.group.remove(this.model), this.five.needsRender = !0, this.tag.disable(), this.fiveDomEvents.removeEventListener(this.model, "click"), this.emit("disable"));
51
+ this.group.remove(this.model), this.five.needsRender = !0, this.tag.disable(), this.fiveDomEvents.removeEventListener(this.model, "click"), this.emit("disable");
55
52
  }
56
53
  onClick() {
57
54
  return this.emit("click", this);
@@ -70,10 +70,7 @@ const ue = (t, n) => Math.sqrt(Math.pow(t.z - n.z, 2) + Math.pow(t.x - n.x, 2)),
70
70
  `, o = document.createElement("div");
71
71
  return o.setAttribute("class", "PanoRulerPlugin-rule"), o.setAttribute("data-name", r), o.setAttribute("style", "display: none"), o.innerHTML = c, o;
72
72
  }, h = document.createElement("div");
73
- h.setAttribute(
74
- "style",
75
- "position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;"
76
- );
73
+ h.setAttribute("style", "position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;");
77
74
  const S = document.createElement("div");
78
75
  S.innerHTML = ce, h.appendChild(S);
79
76
  const l = {}, u = (r, a) => {
@@ -129,9 +126,7 @@ const ue = (t, n) => Math.sqrt(Math.pow(t.z - n.z, 2) + Math.pow(t.x - n.x, 2)),
129
126
  const o = r || n.roomInfo, i = a || n.roomRules;
130
127
  if (!o || !i)
131
128
  throw new Error("标尺数据依赖不齐全!");
132
- return e.loaded = !1, e.options = B(B({}, e.options), c || {}), t.model.loaded ? u(o, i) : yield new Promise(
133
- (y) => t.once("modelLoaded", () => y(u(o, i)))
134
- );
129
+ return e.loaded = !1, e.options = B(B({}, e.options), c || {}), t.model.loaded ? u(o, i) : yield new Promise((y) => t.once("modelLoaded", () => y(u(o, i))));
135
130
  });
136
131
  n.roomInfo && n.roomRules && x(n.roomInfo, n.roomRules);
137
132
  const v = (r, a, c, o) => {
@@ -218,24 +213,29 @@ const ue = (t, n) => Math.sqrt(Math.pow(t.z - n.z, 2) + Math.pow(t.x - n.x, 2)),
218
213
  continue;
219
214
  }
220
215
  const K = w.distanceTo(_);
221
- if (_.clone().sub(_.clone().sub(w).divide(new L(2, 2, 2))).distanceTo(y) / K > 8) {
216
+ if (_.clone().sub(
217
+ _.clone().sub(w).divide(new L(2, 2, 2))
218
+ ).distanceTo(y) / K > 8) {
222
219
  g.style.display = "none";
223
220
  continue;
224
221
  }
225
222
  const O = w.clone().project(c), R = (O.x + 1) / 2 * m, F = (-O.y + 1) / 2 * d, V = _.clone().project(c), N = (V.x + 1) / 2 * m, D = (-V.y + 1) / 2 * d, E = Math.sqrt(Math.pow(N - R, 2) + Math.pow(D - F, 2));
226
223
  let H = E, z = 50;
227
- const M = v({ x: ~~R, y: ~~F }, {
228
- x: ~~N,
229
- y: ~~D
230
- }, m, d);
224
+ const M = v(
225
+ { x: ~~R, y: ~~F },
226
+ {
227
+ x: ~~N,
228
+ y: ~~D
229
+ },
230
+ m,
231
+ d
232
+ );
231
233
  if (M && M.length === 1 && (f === w ? (H = Math.sqrt(Math.pow(M[0].x - R, 2) + Math.pow(M[0].y - F, 2)), z = H / E * 50) : f === _ && (H = Math.sqrt(Math.pow(M[0].x - N, 2) + Math.pow(M[0].y - D, 2)), z = 100 - H / E * 50)), M && M.length === 2) {
232
234
  const G = {
233
235
  x: (M[0].x + M[1].x) / 2,
234
236
  y: (M[0].y + M[1].y) / 2
235
237
  };
236
- z = Math.sqrt(
237
- Math.pow(G.x - R, 2) + Math.pow(G.y - F, 2)
238
- ) / E * 100;
238
+ z = Math.sqrt(Math.pow(G.x - R, 2) + Math.pow(G.y - F, 2)) / E * 100;
239
239
  }
240
240
  const te = (Math.PI / 2 - Math.atan2(N - R, F - D)) / Math.PI * 180, W = T.querySelector(".PanoRulerPlugin-rule-label"), U = W.children[0].clientWidth;
241
241
  U >= E || U / 2 >= z / 100 * E || U / 2 >= (1 - z / 100) * E ? T.style.display = "none" : (T.style.display = "block", T.style.width = E + "px", T.style.left = R + "px", T.style.top = F + "px", T.style.transform = `rotate(${-te}deg)`, W.style.left = `${z}%`);
@@ -1,5 +1,6 @@
1
1
  import type { Five } from '@realsee/five';
2
2
  import type { LoadParams, PluginEventMap, PluginState, PluginData, VideoItem } from './typings';
3
+ import { VideoMeshController } from './VideoMeshController';
3
4
  import * as BasePlugin from '../base/BasePlugin';
4
5
  export declare class PanoVideoPluginController extends BasePlugin.Controller<PluginState, PluginEventMap> {
5
6
  /** 插件 State */
@@ -8,8 +9,8 @@ export declare class PanoVideoPluginController extends BasePlugin.Controller<Plu
8
9
  };
9
10
  /** 插件是否已被销毁 */
10
11
  get disposed(): boolean;
12
+ controllerMap: Map<string, VideoMeshController>;
11
13
  private enabled;
12
- private controllerMap;
13
14
  private _disposed;
14
15
  constructor(five: Five);
15
16
  /** 加载点位视频数据,加载数据并不代表会加载点位视频。 */
@@ -41,8 +41,8 @@ import "../shared-utils/url/absoluteUrl.js";
41
41
  class T extends _ {
42
42
  constructor(r) {
43
43
  super(r);
44
- s(this, "enabled", !0);
45
44
  s(this, "controllerMap", /* @__PURE__ */ new Map());
45
+ s(this, "enabled", !0);
46
46
  s(this, "_disposed", !1);
47
47
  this.five = r;
48
48
  }
@@ -15,7 +15,7 @@ let C = class {
15
15
  /**
16
16
  * @realsee/dnalogel 版本号
17
17
  */
18
- i(this, "VERSION", "3.34.4");
18
+ i(this, "VERSION", "3.34.6");
19
19
  i(this, "five");
20
20
  /**
21
21
  * @description: 插件事件钩子
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.34.4",
3
+ "%c %c@realsee/dnalogel %cv3.34.6",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
@@ -4,13 +4,13 @@ export declare class LightTag {
4
4
  container: HTMLDivElement;
5
5
  visible: boolean;
6
6
  enabled: boolean;
7
+ wrapper: HTMLElement;
7
8
  private five;
8
9
  private position;
9
- private wrapper;
10
10
  private disposer;
11
- private wrapperStyle;
11
+ private config;
12
12
  constructor(five: Five, position: AnyPosition, config?: {
13
- wrapperStyle?: Partial<CSSStyleDeclaration>;
13
+ wrapper?: HTMLElement;
14
14
  });
15
15
  show(): void;
16
16
  hide(params?: {
@@ -22,5 +22,5 @@ export declare class LightTag {
22
22
  private onFiveEveryReady;
23
23
  }
24
24
  export declare function tag(five: Five, position: AnyPosition, config?: {
25
- wrapperStyle?: Partial<CSSStyleDeclaration>;
25
+ wrapper?: HTMLElement;
26
26
  }): LightTag;
@@ -1,27 +1,27 @@
1
1
  var l = Object.defineProperty;
2
- var c = (o, e, t) => e in o ? l(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
- var s = (o, e, t) => (c(o, typeof e != "symbol" ? e + "" : e, t), t);
4
- import { anyPositionToVector3 as p } from "./positionToVector3.js";
2
+ var p = (s, e, t) => e in s ? l(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
3
+ var i = (s, e, t) => (p(s, typeof e != "symbol" ? e + "" : e, t), t);
4
+ import { anyPositionToVector3 as f } from "./positionToVector3.js";
5
5
  import * as d from "three";
6
6
  import { vector3ToScreen as y } from "./five/vector3ToScreen.js";
7
- const h = "LightTagContainer_shgjakdhwakjdhsja";
8
- class f {
7
+ const c = "LightTagContainer_shgjakdhwakjdhsja";
8
+ class v {
9
9
  constructor(e, t, n) {
10
- s(this, "container");
11
- s(this, "visible", !1);
12
- s(this, "enabled", !1);
13
- s(this, "five");
14
- s(this, "position");
15
- s(this, "wrapper");
16
- s(this, "disposer");
17
- s(this, "wrapperStyle", {});
18
- s(this, "onCameraUpdate", () => {
10
+ i(this, "container");
11
+ i(this, "visible", !1);
12
+ i(this, "enabled", !1);
13
+ i(this, "wrapper");
14
+ i(this, "five");
15
+ i(this, "position");
16
+ i(this, "disposer");
17
+ i(this, "config");
18
+ i(this, "onCameraUpdate", () => {
19
19
  if (this.visible === !1)
20
20
  return;
21
21
  const e = y(this.five.camera, this.position);
22
22
  e ? (this.container.style.left = e.leftPercent + "%", this.container.style.top = e.topPercent + "%") : (this.container.style.left = "-100%", this.container.style.top = "-100%");
23
23
  });
24
- s(this, "onFiveEveryReady", () => {
24
+ i(this, "onFiveEveryReady", () => {
25
25
  var e;
26
26
  if (this.visible && this.five.state.mode !== "Panorama") {
27
27
  const t = new d.Raycaster();
@@ -30,11 +30,10 @@ class f {
30
30
  (n == null ? void 0 : n.distance) > this.position.distanceTo(this.five.camera.position) ? (this.container.style.opacity = "1", this.container.style.pointerEvents = "auto") : (this.container.style.opacity = "0", this.container.style.pointerEvents = "none");
31
31
  }
32
32
  });
33
- var i;
34
- this.five = e, this.position = p(t).clone(), this.container = (() => {
35
- const a = document.createElement("div");
36
- return a.style.width = "0", a.style.height = "0", a.style.position = "absolute", a;
37
- })(), this.wrapperStyle = (i = n == null ? void 0 : n.wrapperStyle) != null ? i : {}, this.enable(), this.show();
33
+ this.five = e, this.position = f(t).clone(), this.container = (() => {
34
+ const o = document.createElement("div");
35
+ return o.style.width = "0", o.style.height = "0", o.style.position = "absolute", o;
36
+ })(), this.config = n, this.enable(), this.show();
38
37
  }
39
38
  show() {
40
39
  this.visible = !0, this.container.style.opacity = "1", this.container.style.pointerEvents = "auto", this.container.style.transition = "opacity 0.2s linear", this.onCameraUpdate();
@@ -43,16 +42,13 @@ class f {
43
42
  this.visible = !1, e != null && e.withAnimation ? this.container.style.transition = "opacity 0.2s linear" : this.container.style.transition = "", this.container.style.opacity = "0", this.container.style.pointerEvents = "none";
44
43
  }
45
44
  enable() {
46
- var n;
45
+ var n, o, r, h;
47
46
  if (this.enabled)
48
47
  return;
49
- this.enabled = !0, this.wrapper = (n = document.getElementById(h)) != null ? n : (() => {
50
- var a;
51
- const i = document.createElement("div");
52
- return i.id = h, i.style.position = "absolute", i.style.top = "0", i.style.left = "0", i.style.width = "100%", i.style.height = "100%", i.style.pointerEvents = "none", Object.keys(this.wrapperStyle).forEach((r) => {
53
- i.style[r] = this.wrapperStyle[r];
54
- }), (a = this.five.getElement()) == null || a.parentElement.appendChild(i), i;
55
- })(), this.wrapper.appendChild(this.container);
48
+ this.enabled = !0, this.wrapper || (this.wrapper = (o = (n = this.config.wrapper) != null ? n : document.getElementById(c)) != null ? o : (() => {
49
+ const a = document.createElement("div");
50
+ return a.id = c, a.style.position = "absolute", a.style.top = "0", a.style.left = "0", a.style.width = "100%", a.style.height = "100%", a.style.pointerEvents = "none", a;
51
+ })(), (r = this.five.getElement()) != null && r.parentElement.contains(this.wrapper) || (h = this.five.getElement()) == null || h.parentElement.appendChild(this.wrapper)), this.wrapper.appendChild(this.container);
56
52
  let e = !1;
57
53
  const t = () => {
58
54
  e || (e = !0, this.five.ready().then(() => {
@@ -68,8 +64,8 @@ class f {
68
64
  this.enabled && (this.enabled = !1, this.wrapper.removeChild(this.container), (e = this.disposer) == null || e.call(this));
69
65
  }
70
66
  }
71
- function w(o, e, t) {
72
- return new f(o, e, t);
67
+ function w(s, e, t) {
68
+ return new v(s, e, t);
73
69
  }
74
70
  export {
75
71
  w as tag