@realsee/dnalogel 3.34.3 → 3.34.5

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 (390) 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/index.cjs.js +3 -3
  5. package/dist/index.js +88 -93
  6. package/dist/index.umd.js +3 -3
  7. package/dist/shared-utils/tag.d.ts +4 -4
  8. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  9. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  10. package/docs/classes/CSS3DRender.html +3 -3
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  13. package/docs/classes/ModelMakerPluginInstance.html +13 -13
  14. package/docs/classes/ModelRoomLabelController.html +3 -3
  15. package/docs/classes/MoveController.html +3 -3
  16. package/docs/classes/Object3DHelperController.html +3 -3
  17. package/docs/classes/PaintBrush.html +3 -3
  18. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  19. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  20. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  21. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  22. package/docs/classes/PanoTagPluginController.html +3 -3
  23. package/docs/classes/Sculpt.html +3 -3
  24. package/docs/classes/Util.BetterTween.html +3 -3
  25. package/docs/classes/Util.Interval.html +3 -3
  26. package/docs/classes/Util.LineSegments.html +3 -3
  27. package/docs/classes/Util.Magnifier.html +3 -3
  28. package/docs/classes/Util.Object3D.html +3 -3
  29. package/docs/classes/Util.PointDomHelper.html +3 -3
  30. package/docs/classes/Util.PointHelper.html +3 -3
  31. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  32. package/docs/classes/Util.Rectangle.html +3 -3
  33. package/docs/classes/WalkController.html +3 -3
  34. package/docs/enums/CameraMovementEffect.html +3 -3
  35. package/docs/enums/ContentType.html +3 -3
  36. package/docs/enums/DIRECTION.html +3 -3
  37. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  38. package/docs/enums/DimensionType.html +3 -3
  39. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  40. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  41. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  42. package/docs/enums/PointType.html +3 -3
  43. package/docs/enums/Rotation.html +3 -3
  44. package/docs/functions/AreaMakerPlugin.html +3 -3
  45. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  46. package/docs/functions/CameraMovementPlugin.html +3 -3
  47. package/docs/functions/CruisePlugin.html +3 -3
  48. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  49. package/docs/functions/GuideLinePlugin.html +3 -3
  50. package/docs/functions/ItemLabelPlugin.html +3 -3
  51. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  52. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  53. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  54. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  55. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  56. package/docs/functions/ModelMakerPlugin.html +3 -3
  57. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  58. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  59. package/docs/functions/ModelViewPlugin.html +3 -3
  60. package/docs/functions/MovePlugin.html +3 -3
  61. package/docs/functions/Object3DHelperPlugin.html +3 -3
  62. package/docs/functions/PanoCompassPlugin.html +3 -3
  63. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  64. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  65. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  66. package/docs/functions/PanoMeasurePlugin.html +3 -3
  67. package/docs/functions/PanoRulerPlugin.html +3 -3
  68. package/docs/functions/PanoRulerProPlugin.html +3 -3
  69. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  70. package/docs/functions/PanoTagPlugin.html +3 -3
  71. package/docs/functions/PanoVideoPlugin.html +3 -3
  72. package/docs/functions/PipelinePlugin.html +3 -3
  73. package/docs/functions/SculptPlugin.html +3 -3
  74. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  75. package/docs/functions/Util.absoluteUrl.html +3 -3
  76. package/docs/functions/Util.blink.html +3 -3
  77. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  78. package/docs/functions/Util.equal.html +3 -3
  79. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  80. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  81. package/docs/functions/Util.getFrameTime.html +3 -3
  82. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  83. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  84. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  85. package/docs/functions/Util.isModelLike.html +3 -3
  86. package/docs/functions/Util.isNil.html +3 -3
  87. package/docs/functions/Util.isPanoramaLike.html +3 -3
  88. package/docs/functions/Util.nextFrame.html +3 -3
  89. package/docs/functions/Util.notNil.html +3 -3
  90. package/docs/functions/Util.reblink.html +3 -3
  91. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  92. package/docs/functions/Util.tweenProgress.html +3 -3
  93. package/docs/functions/Util.uuid.html +3 -3
  94. package/docs/functions/pluginFlag.html +3 -3
  95. package/docs/index.html +4 -4
  96. package/docs/interfaces/AddTagConfig.html +3 -3
  97. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  98. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  99. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  100. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  101. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  102. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  103. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  104. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  105. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  106. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  107. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  108. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  109. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  110. package/docs/interfaces/ContentTypeMapInterface.html +3 -3
  111. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  112. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  113. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  114. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  115. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  116. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  117. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  118. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  119. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  120. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  121. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  122. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  123. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  124. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  125. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  126. package/docs/interfaces/EventMap.html +3 -3
  127. package/docs/interfaces/FloorplanBounding.html +3 -3
  128. package/docs/interfaces/FloorplanData.html +3 -3
  129. package/docs/interfaces/FloorplanEntrance.html +3 -3
  130. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  131. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  132. package/docs/interfaces/FloorplanFloorData.html +3 -3
  133. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  134. package/docs/interfaces/FloorplanObserver.html +3 -3
  135. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  136. package/docs/interfaces/FloorplanPosition.html +3 -3
  137. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  138. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  139. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  140. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  141. package/docs/interfaces/FloorplanServerData.html +3 -3
  142. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  143. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  144. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  145. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  146. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  147. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  148. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  149. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  150. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  151. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  152. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  153. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  154. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  155. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  156. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  162. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  163. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  164. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  165. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  166. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  167. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  168. package/docs/interfaces/HelperOffset.html +3 -3
  169. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  170. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  171. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  172. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  173. package/docs/interfaces/MinMax.html +3 -3
  174. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  175. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  176. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  177. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  178. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  179. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  180. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  181. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  182. package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
  183. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  184. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  185. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  186. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  187. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  188. package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
  189. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  190. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  191. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  192. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  193. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  194. package/docs/interfaces/Object3DHelperState.html +3 -3
  195. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  196. package/docs/interfaces/PaintBrushAction.html +3 -3
  197. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  198. package/docs/interfaces/PaintBrushState.html +3 -3
  199. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  200. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  201. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  202. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  203. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  204. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  205. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  206. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  207. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  208. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  209. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  210. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  211. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  212. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  213. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  214. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  215. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  216. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  217. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  218. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  219. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  220. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  221. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  222. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  223. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  224. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  225. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  226. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  227. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  228. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  229. package/docs/interfaces/Point.html +3 -3
  230. package/docs/interfaces/Room.html +3 -3
  231. package/docs/interfaces/RoomInfo.html +3 -3
  232. package/docs/interfaces/RoomLabel.html +3 -3
  233. package/docs/interfaces/RoomRules.html +3 -3
  234. package/docs/interfaces/Rooms.html +3 -3
  235. package/docs/interfaces/Scissor.html +3 -3
  236. package/docs/interfaces/State.html +3 -3
  237. package/docs/interfaces/TagCacheInterface.html +3 -3
  238. package/docs/interfaces/TagConfig.html +3 -3
  239. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  240. package/docs/interfaces/TagIconUrl.html +3 -3
  241. package/docs/interfaces/TagObjectGroup.html +3 -3
  242. package/docs/interfaces/TagStyle.html +3 -3
  243. package/docs/interfaces/Tags.html +3 -3
  244. package/docs/interfaces/TemporaryState.html +3 -3
  245. package/docs/interfaces/Util.BlinkAnimeOptions.html +3 -3
  246. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  247. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  248. package/docs/interfaces/Util.PointIntersection.html +3 -3
  249. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  250. package/docs/modules/AreaMakerPluginType.html +3 -3
  251. package/docs/modules/CruisePluginTypes.html +3 -3
  252. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  253. package/docs/modules/GuideLineItem.html +3 -3
  254. package/docs/modules/GuideLineModeItem.html +3 -3
  255. package/docs/modules/GuideLinePluginType.html +3 -3
  256. package/docs/modules/ModelMakerPluginType.html +3 -3
  257. package/docs/modules/PanoVideoPluginType.html +3 -3
  258. package/docs/modules/SculptData.html +3 -3
  259. package/docs/modules/Util.html +3 -3
  260. package/docs/modules.html +4 -4
  261. package/docs/types/AddObject3DHelperConfig.html +3 -3
  262. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  263. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  264. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  265. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  266. package/docs/types/ArrayPosition.html +3 -3
  267. package/docs/types/AudioAppearance.html +3 -3
  268. package/docs/types/CSS3DRenderExportType.html +3 -3
  269. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  270. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  271. package/docs/types/ClassFunctionParameters.html +3 -3
  272. package/docs/types/Color.html +3 -3
  273. package/docs/types/ContentTypeConfigKey.html +3 -3
  274. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  275. package/docs/types/ContentTypeMap.html +3 -3
  276. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  277. package/docs/types/Create3DElementReturnType.html +3 -3
  278. package/docs/types/CruisePluginExportType.html +3 -3
  279. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  280. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  281. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  282. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  283. package/docs/types/DeprecatedTagProperty.html +3 -3
  284. package/docs/types/Direction-1.html +3 -3
  285. package/docs/types/Direction4.html +3 -3
  286. package/docs/types/ElementRenderer.html +3 -3
  287. package/docs/types/FloorplanRuleLabels.html +3 -3
  288. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  289. package/docs/types/GuideLinePluginExportType.html +3 -3
  290. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  291. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  292. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  293. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  294. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  295. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  296. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  297. package/docs/types/HelperEventMap.html +3 -3
  298. package/docs/types/InternalHelperEventMap.html +3 -3
  299. package/docs/types/LoadTagConfig.html +3 -3
  300. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  301. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  302. package/docs/types/MediaData.html +3 -3
  303. package/docs/types/MediaStore.html +3 -3
  304. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  305. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  306. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  307. package/docs/types/ModelId.html +3 -3
  308. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  309. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  310. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  311. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  312. package/docs/types/MoveArgs.html +3 -3
  313. package/docs/types/MoveOpts.html +3 -3
  314. package/docs/types/Object3DHelperEventMap.html +3 -3
  315. package/docs/types/ObjectFit.html +3 -3
  316. package/docs/types/PaintBrushEventMap.html +3 -3
  317. package/docs/types/PanoCompassPluginData.html +3 -3
  318. package/docs/types/PanoCompassPluginExportType.html +3 -3
  319. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  320. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  321. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  322. package/docs/types/PanoIndex.html +3 -3
  323. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  324. package/docs/types/PanoMeasureReturnType.html +3 -3
  325. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  326. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  327. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  328. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  329. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  330. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  331. package/docs/types/PipelinePluginParameterType.html +3 -3
  332. package/docs/types/PipelinePluginReturnType.html +3 -3
  333. package/docs/types/PlaneTag.html +3 -3
  334. package/docs/types/Point2DTag.html +3 -3
  335. package/docs/types/Point3DTag.html +3 -3
  336. package/docs/types/PointTag.html +3 -3
  337. package/docs/types/PointTagInstance.html +3 -3
  338. package/docs/types/Position.html +3 -3
  339. package/docs/types/PositionFrom.html +3 -3
  340. package/docs/types/RotateArgs.html +3 -3
  341. package/docs/types/RotateOpts.html +3 -3
  342. package/docs/types/RuleLabelsKey.html +3 -3
  343. package/docs/types/RuleLabelsValue.html +3 -3
  344. package/docs/types/ScaleCallback.html +3 -3
  345. package/docs/types/ScalePosition.html +3 -3
  346. package/docs/types/SculptData.BoxData.html +3 -3
  347. package/docs/types/SculptData.CircleData.html +3 -3
  348. package/docs/types/SculptData.CylinderData.html +3 -3
  349. package/docs/types/SculptData.PointData.html +3 -3
  350. package/docs/types/SculptData.PolygonData.html +3 -3
  351. package/docs/types/SculptData.PolylineData.html +3 -3
  352. package/docs/types/SculptData.PrismData.html +3 -3
  353. package/docs/types/SculptData.RectangleData.html +3 -3
  354. package/docs/types/StickType.html +3 -3
  355. package/docs/types/Tag.html +3 -3
  356. package/docs/types/Tag2D.html +3 -3
  357. package/docs/types/Tag3D.html +3 -3
  358. package/docs/types/TagConfigByKey.html +3 -3
  359. package/docs/types/TagContentType.html +3 -3
  360. package/docs/types/TagContentTypeMapping.html +3 -3
  361. package/docs/types/TagDimensionType.html +3 -3
  362. package/docs/types/TagElement.html +3 -3
  363. package/docs/types/TagEvents.html +3 -3
  364. package/docs/types/TagGLTFObject.html +3 -3
  365. package/docs/types/TagHooks.html +3 -3
  366. package/docs/types/TagId.html +3 -3
  367. package/docs/types/TagInstance.html +3 -3
  368. package/docs/types/TagPointType.html +3 -3
  369. package/docs/types/TagRendererMap.html +3 -3
  370. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  371. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  372. package/docs/types/WorkCode.html +3 -3
  373. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  374. package/docs/variables/PLUGIN.html +3 -3
  375. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  376. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  377. package/docs/variables/defaultGlobalConfig.html +3 -3
  378. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  379. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  380. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  381. package/libs/ModelMakerPlugin/Controller.d.ts +1 -1
  382. package/libs/ModelMakerPlugin/Controller.js +88 -86
  383. package/libs/ModelMakerPlugin/item/baseItem.d.ts +1 -1
  384. package/libs/ModelMakerPlugin/item/baseItem.js +23 -26
  385. package/libs/PanoRulerPlugin/Plugin.js +15 -15
  386. package/libs/base/BasePlugin.js +1 -1
  387. package/libs/shared-utils/logger.js +1 -1
  388. package/libs/shared-utils/tag.d.ts +4 -4
  389. package/libs/shared-utils/tag.js +26 -30
  390. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -48,7 +48,7 @@ import Um from "earcut";
48
48
  import { GLTFLoader as Ym } from "@realsee/five/gltf-loader";
49
49
  function Xm() {
50
50
  console.debug(
51
- "%c %c@realsee/dnalogel %cv3.34.3",
51
+ "%c %c@realsee/dnalogel %cv3.34.5",
52
52
  [
53
53
  "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=')",
54
54
  "background-repeat: no-repeat",
@@ -7434,7 +7434,7 @@ let rn = class {
7434
7434
  /**
7435
7435
  * @realsee/dnalogel 版本号
7436
7436
  */
7437
- d(this, "VERSION", "3.34.3");
7437
+ d(this, "VERSION", "3.34.5");
7438
7438
  d(this, "five");
7439
7439
  /**
7440
7440
  * @description: 插件事件钩子
@@ -9908,10 +9908,7 @@ const lb = `<style type="text/css">
9908
9908
  `, y = document.createElement("div");
9909
9909
  return y.setAttribute("class", "PanoRulerPlugin-rule"), y.setAttribute("data-name", p), y.setAttribute("style", "display: none"), y.innerHTML = b, y;
9910
9910
  }, s = document.createElement("div");
9911
- s.setAttribute(
9912
- "style",
9913
- "position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;"
9914
- );
9911
+ s.setAttribute("style", "position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;");
9915
9912
  const o = document.createElement("div");
9916
9913
  o.innerHTML = lb, s.appendChild(o);
9917
9914
  const r = {}, a = (p, m) => {
@@ -9967,9 +9964,7 @@ const lb = `<style type="text/css">
9967
9964
  const y = p || t.roomInfo, P = m || t.roomRules;
9968
9965
  if (!y || !P)
9969
9966
  throw new Error("标尺数据依赖不齐全!");
9970
- return e.loaded = !1, e.options = D(D({}, e.options), b || {}), n.model.loaded ? a(y, P) : yield new Promise(
9971
- (I) => n.once("modelLoaded", () => I(a(y, P)))
9972
- );
9967
+ return e.loaded = !1, e.options = D(D({}, e.options), b || {}), n.model.loaded ? a(y, P) : yield new Promise((I) => n.once("modelLoaded", () => I(a(y, P))));
9973
9968
  });
9974
9969
  t.roomInfo && t.roomRules && l(t.roomInfo, t.roomRules);
9975
9970
  const c = (p, m, b, y) => {
@@ -10056,24 +10051,29 @@ const lb = `<style type="text/css">
10056
10051
  continue;
10057
10052
  }
10058
10053
  const $ = H.distanceTo(F);
10059
- if (F.clone().sub(F.clone().sub(H).divide(new oe(2, 2, 2))).distanceTo(I) / $ > 8) {
10054
+ if (F.clone().sub(
10055
+ F.clone().sub(H).divide(new oe(2, 2, 2))
10056
+ ).distanceTo(I) / $ > 8) {
10060
10057
  Q.style.display = "none";
10061
10058
  continue;
10062
10059
  }
10063
10060
  const Pe = H.clone().project(b), Ce = (Pe.x + 1) / 2 * E, be = (-Pe.y + 1) / 2 * j, Qe = F.clone().project(b), ye = (Qe.x + 1) / 2 * E, Ze = (-Qe.y + 1) / 2 * j, ee = Math.sqrt(Math.pow(ye - Ce, 2) + Math.pow(Ze - be, 2));
10064
10061
  let ve = ee, je = 50;
10065
- const me = c({ x: ~~Ce, y: ~~be }, {
10066
- x: ~~ye,
10067
- y: ~~Ze
10068
- }, E, j);
10062
+ const me = c(
10063
+ { x: ~~Ce, y: ~~be },
10064
+ {
10065
+ x: ~~ye,
10066
+ y: ~~Ze
10067
+ },
10068
+ E,
10069
+ j
10070
+ );
10069
10071
  if (me && me.length === 1 && (V === H ? (ve = Math.sqrt(Math.pow(me[0].x - Ce, 2) + Math.pow(me[0].y - be, 2)), je = ve / ee * 50) : V === F && (ve = Math.sqrt(Math.pow(me[0].x - ye, 2) + Math.pow(me[0].y - Ze, 2)), je = 100 - ve / ee * 50)), me && me.length === 2) {
10070
10072
  const re = {
10071
10073
  x: (me[0].x + me[1].x) / 2,
10072
10074
  y: (me[0].y + me[1].y) / 2
10073
10075
  };
10074
- je = Math.sqrt(
10075
- Math.pow(re.x - Ce, 2) + Math.pow(re.y - be, 2)
10076
- ) / ee * 100;
10076
+ je = Math.sqrt(Math.pow(re.x - Ce, 2) + Math.pow(re.y - be, 2)) / ee * 100;
10077
10077
  }
10078
10078
  const at = (Math.PI / 2 - Math.atan2(ye - Ce, be - Ze)) / Math.PI * 180, xe = U.querySelector(".PanoRulerPlugin-rule-label"), st = xe.children[0].clientWidth;
10079
10079
  st >= ee || st / 2 >= je / 100 * ee || st / 2 >= (1 - je / 100) * ee ? U.style.display = "none" : (U.style.display = "block", U.style.width = ee + "px", U.style.left = Ce + "px", U.style.top = be + "px", U.style.transform = `rotate(${-at}deg)`, xe.style.left = `${je}%`);
@@ -36929,11 +36929,11 @@ class u3 {
36929
36929
  d(this, "container");
36930
36930
  d(this, "visible", !1);
36931
36931
  d(this, "enabled", !1);
36932
+ d(this, "wrapper");
36932
36933
  d(this, "five");
36933
36934
  d(this, "position");
36934
- d(this, "wrapper");
36935
36935
  d(this, "disposer");
36936
- d(this, "wrapperStyle", {});
36936
+ d(this, "config");
36937
36937
  d(this, "onCameraUpdate", () => {
36938
36938
  if (this.visible === !1)
36939
36939
  return;
@@ -36949,11 +36949,10 @@ class u3 {
36949
36949
  (i == null ? void 0 : i.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");
36950
36950
  }
36951
36951
  });
36952
- var s;
36953
36952
  this.five = t, this.position = Be(e).clone(), this.container = (() => {
36954
- const o = document.createElement("div");
36955
- return o.style.width = "0", o.style.height = "0", o.style.position = "absolute", o;
36956
- })(), this.wrapperStyle = (s = i == null ? void 0 : i.wrapperStyle) != null ? s : {}, this.enable(), this.show();
36953
+ const s = document.createElement("div");
36954
+ return s.style.width = "0", s.style.height = "0", s.style.position = "absolute", s;
36955
+ })(), this.config = i, this.enable(), this.show();
36957
36956
  }
36958
36957
  show() {
36959
36958
  this.visible = !0, this.container.style.opacity = "1", this.container.style.pointerEvents = "auto", this.container.style.transition = "opacity 0.2s linear", this.onCameraUpdate();
@@ -36962,16 +36961,13 @@ class u3 {
36962
36961
  this.visible = !1, t != null && t.withAnimation ? this.container.style.transition = "opacity 0.2s linear" : this.container.style.transition = "", this.container.style.opacity = "0", this.container.style.pointerEvents = "none";
36963
36962
  }
36964
36963
  enable() {
36965
- var i;
36964
+ var i, s, o, r;
36966
36965
  if (this.enabled)
36967
36966
  return;
36968
- this.enabled = !0, this.wrapper = (i = document.getElementById(Ju)) != null ? i : (() => {
36969
- var o;
36970
- const s = document.createElement("div");
36971
- return s.id = Ju, s.style.position = "absolute", s.style.top = "0", s.style.left = "0", s.style.width = "100%", s.style.height = "100%", s.style.pointerEvents = "none", Object.keys(this.wrapperStyle).forEach((r) => {
36972
- s.style[r] = this.wrapperStyle[r];
36973
- }), (o = this.five.getElement()) == null || o.parentElement.appendChild(s), s;
36974
- })(), this.wrapper.appendChild(this.container);
36967
+ this.enabled = !0, this.wrapper || (this.wrapper = (s = (i = this.config.wrapper) != null ? i : document.getElementById(Ju)) != null ? s : (() => {
36968
+ const a = document.createElement("div");
36969
+ return a.id = Ju, 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;
36970
+ })(), (o = this.five.getElement()) != null && o.parentElement.contains(this.wrapper) || (r = this.five.getElement()) == null || r.parentElement.appendChild(this.wrapper)), this.wrapper.appendChild(this.container);
36975
36971
  let t = !1;
36976
36972
  const e = () => {
36977
36973
  t || (t = !0, this.five.ready().then(() => {
@@ -36997,7 +36993,7 @@ const wm = (n) => ((!Ro || n !== Ro.five) && (Ro = {
36997
36993
  }), Ro.instance);
36998
36994
  class Cm extends ii {
36999
36995
  constructor(e) {
37000
- var s, o, r, a;
36996
+ var s, o, r;
37001
36997
  super();
37002
36998
  d(this, "type");
37003
36999
  d(this, "tag");
@@ -37005,11 +37001,10 @@ class Cm extends ii {
37005
37001
  d(this, "model");
37006
37002
  d(this, "five");
37007
37003
  d(this, "group");
37008
- d(this, "enabled", !1);
37009
37004
  d(this, "fiveDomEvents");
37010
37005
  this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = wm(this.five);
37011
37006
  const i = (r = (o = (s = e.position) != null ? s : this.model.worldCenter) != null ? o : this.model.center) != null ? r : Js(this.model).getCenter(new w.Vector3());
37012
- this.tag = f3(this.five, i, { wrapperStyle: { zIndex: `${(a = e.tagContainerZIndex) != null ? a : ""}` } });
37007
+ this.tag = f3(this.five, i, { wrapper: e.tagWrapper });
37013
37008
  }
37014
37009
  get container() {
37015
37010
  return this.tag.container;
@@ -37017,7 +37012,7 @@ class Cm extends ii {
37017
37012
  get state() {
37018
37013
  return {
37019
37014
  visible: this.model.visible,
37020
- enabled: this.enabled
37015
+ enabled: this.group.children.includes(this.model)
37021
37016
  };
37022
37017
  }
37023
37018
  show() {
@@ -37027,14 +37022,12 @@ class Cm extends ii {
37027
37022
  this.tag.hide(), this.model.visible = !1, this.five.needsRender = !0, this.emit("hide");
37028
37023
  }
37029
37024
  enable() {
37030
- if (this.enabled)
37031
- return;
37032
- this.enabled = !0, h3(this.group, this.model), this.five.needsRender = !0, this.tag.enable();
37025
+ h3(this.group, this.model), this.five.needsRender = !0, this.tag.enable();
37033
37026
  const e = this.onClick.bind(this);
37034
37027
  this.fiveDomEvents.addEventListener(this.model, "click", e), this.emit("enable");
37035
37028
  }
37036
37029
  disable() {
37037
- 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"));
37030
+ this.group.remove(this.model), this.five.needsRender = !0, this.tag.disable(), this.fiveDomEvents.removeEventListener(this.model, "click"), this.emit("disable");
37038
37031
  }
37039
37032
  onClick() {
37040
37033
  return this.emit("click", this);
@@ -37163,12 +37156,13 @@ class C3 extends vi {
37163
37156
  d(this, "tagRendererMap", {});
37164
37157
  d(this, "fiveDomEvents");
37165
37158
  d(this, "zFightingOffset", 0);
37166
- d(this, "tagContainerZIndex");
37159
+ d(this, "tagWrapper");
37167
37160
  d(this, "handleEnable", () => {
37168
- this.items.forEach((e) => e.enable());
37161
+ var e, i;
37162
+ this.five.scene.add(this.group), (i = (e = this.five.getElement()) == null ? void 0 : e.parentElement) == null || i.appendChild(this.tagWrapper), this.five.needsRender = !0;
37169
37163
  });
37170
37164
  d(this, "handleDisable", () => {
37171
- this.items.forEach((e) => e.disable());
37165
+ this.five.scene.remove(this.group), this.tagWrapper.remove(), this.five.needsRender = !0;
37172
37166
  });
37173
37167
  d(this, "updateTagRenderer", () => {
37174
37168
  this.items.forEach((e) => {
@@ -37177,70 +37171,71 @@ class C3 extends vi {
37177
37171
  i && e.__renderer !== i && (e.__renderer = i, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = i(e.tag.container, e));
37178
37172
  });
37179
37173
  });
37180
- this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.fiveDomEvents = wm(e), this.tagContainerZIndex = i == null ? void 0 : i.tagContainerZIndex, e.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
37174
+ this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.fiveDomEvents = wm(e), this.tagWrapper = (() => {
37175
+ var o;
37176
+ const s = document.createElement("div");
37177
+ return s.style.position = "absolute", s.style.top = "0", s.style.left = "0", s.style.width = "100%", s.style.height = "100%", s.style.pointerEvents = "none", s.style.zIndex = `${(o = i == null ? void 0 : i.tagContainerZIndex) != null ? o : ""}`, s;
37178
+ })(), e.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
37181
37179
  }
37182
37180
  load(e) {
37183
37181
  return G(this, null, function* () {
37184
- var s;
37185
- this.clear(), this.data = e;
37186
- const i = this.tagContainerZIndex;
37187
- (s = e == null ? void 0 : e.list) == null || s.forEach((o) => {
37188
- var r;
37189
- if (o.type === "triangles") {
37190
- const a = new cr();
37191
- a.setPoints(o.object_data.points), a.setStyle({
37192
- color: o.object_data.color,
37193
- opacity: o.object_data.opacity,
37194
- lineColor: o.object_data.color,
37182
+ var i;
37183
+ this.clear(), this.data = e, (i = e == null ? void 0 : e.list) == null || i.forEach((s) => {
37184
+ var o;
37185
+ if (s.type === "triangles") {
37186
+ const r = new cr();
37187
+ r.setPoints(s.object_data.points), r.setStyle({
37188
+ color: s.object_data.color,
37189
+ opacity: s.object_data.opacity,
37190
+ lineColor: s.object_data.color,
37195
37191
  occlusionVisibility: !1
37196
- }), this.fiveDomEvents.addEventListener(a, "hover", () => a.highlight()), this.fiveDomEvents.addEventListener(a, "unHover", () => a.unhighlight());
37197
- const l = new Pm({
37192
+ }), this.fiveDomEvents.addEventListener(r, "hover", () => r.highlight()), this.fiveDomEvents.addEventListener(r, "unHover", () => r.unhighlight());
37193
+ const a = new Pm({
37198
37194
  five: this.five,
37199
- model: a,
37195
+ tagWrapper: this.tagWrapper,
37196
+ model: r,
37200
37197
  group: this.group,
37201
- type: o.type,
37202
- rawData: o,
37203
- tagContainerZIndex: i
37198
+ type: s.type,
37199
+ rawData: s
37204
37200
  });
37205
- this.items.push(l);
37206
- } else if (o.type === "prism") {
37207
- const a = new hr();
37208
- this.zFightingOffset += 1e-4, a.setPoints({
37209
- points: o.object_data.points.map((c) => {
37210
- var h;
37211
- return [c[0], c[1] + ((h = o.object_data.fixedY) != null ? h : 0), c[2]];
37212
- }),
37213
- heightPoint: Be(o.object_data.points[0]).add(new w.Vector3().setY(o.object_data.height + ((r = o.object_data.fixedHeight) != null ? r : 0))).add(new w.Vector3().setY(this.zFightingOffset))
37214
- }), a.setStyle({
37215
- color: o.object_data.color,
37216
- opacity: o.object_data.opacity,
37217
- lineColor: o.object_data.color,
37201
+ this.items.push(a);
37202
+ } else if (s.type === "prism") {
37203
+ const r = new hr();
37204
+ this.zFightingOffset += 1e-4;
37205
+ const a = s.object_data.points.map((u) => {
37206
+ var f;
37207
+ return [u[0], u[1] + ((f = s.object_data.fixedY) != null ? f : 0), u[2]];
37208
+ }), l = s.object_data.height + ((o = s.object_data.fixedHeight) != null ? o : 0) + this.zFightingOffset, c = Be(a[0]).add(new w.Vector3().setY(l));
37209
+ r.setPoints({ points: a, heightPoint: c }), r.setStyle({
37210
+ color: s.object_data.color,
37211
+ opacity: s.object_data.opacity,
37212
+ lineColor: s.object_data.color,
37218
37213
  occlusionVisibility: !1
37219
37214
  });
37220
- const l = new w3({
37215
+ const h = new w3({
37221
37216
  five: this.five,
37222
- model: a,
37217
+ tagWrapper: this.tagWrapper,
37218
+ model: r,
37223
37219
  group: this.group,
37224
- type: o.type,
37225
- rawData: o,
37226
- tagContainerZIndex: i
37220
+ type: s.type,
37221
+ rawData: s
37227
37222
  });
37228
- this.items.push(l);
37229
- } else if (o.type === "box") {
37230
- const a = new hr(), { start: l, end: c, rotation: h = [0, 0, 0, 0], opacity: u, color: f } = o.object_data, g = new w.Vector3().fromArray(l), A = new w.Vector3().fromArray(c), p = new w.Euler().fromArray(h), m = new w.Quaternion().setFromEuler(p), b = m.clone().inverse(), y = new w.Vector3().lerpVectors(g, A, 0.5), P = y.clone().negate(), I = g.clone().add(P).applyQuaternion(b), k = A.clone().add(P).applyQuaternion(b), E = new w.Box3(I.clone().max(k), I.clone().min(k));
37231
- a.setPoints({
37232
- points: [_i(E, 2), _i(E, 3), _i(E, 7), _i(E, 6)],
37233
- heightPoint: _i(E, 0)
37234
- }), a.position.copy(y), a.quaternion.copy(m), a.setStyle({ color: f, opacity: u, lineColor: f, occlusionVisibility: !1 });
37235
- const j = new g3({
37223
+ this.items.push(h);
37224
+ } else if (s.type === "box") {
37225
+ const r = new hr(), { start: a, end: l, rotation: c = [0, 0, 0, 0], opacity: h, color: u } = s.object_data, f = new w.Vector3().fromArray(a), g = new w.Vector3().fromArray(l), A = new w.Euler().fromArray(c), p = new w.Quaternion().setFromEuler(A), m = p.clone().inverse(), b = new w.Vector3().lerpVectors(f, g, 0.5), y = b.clone().negate(), P = f.clone().add(y).applyQuaternion(m), I = g.clone().add(y).applyQuaternion(m), k = new w.Box3(P.clone().max(I), P.clone().min(I));
37226
+ r.setPoints({
37227
+ points: [_i(k, 2), _i(k, 3), _i(k, 7), _i(k, 6)],
37228
+ heightPoint: _i(k, 0)
37229
+ }), r.position.copy(b), r.quaternion.copy(p), r.setStyle({ color: u, opacity: h, lineColor: u, occlusionVisibility: !1 });
37230
+ const E = new g3({
37236
37231
  five: this.five,
37237
- model: a,
37232
+ tagWrapper: this.tagWrapper,
37233
+ model: r,
37238
37234
  group: this.group,
37239
- type: o.type,
37240
- rawData: o,
37241
- tagContainerZIndex: i
37235
+ type: s.type,
37236
+ rawData: s
37242
37237
  });
37243
- this.items.push(j);
37238
+ this.items.push(E);
37244
37239
  }
37245
37240
  }), 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);
37246
37241
  });
@@ -37273,10 +37268,10 @@ class C3 extends vi {
37273
37268
  this.hooks.emit("dispose"), this.handleDisable();
37274
37269
  }
37275
37270
  handleShow() {
37276
- this.items.forEach((e) => e.show());
37271
+ this.group.visible = !0, this.tagWrapper.style.visibility = "visible", this.five.needsRender = !0;
37277
37272
  }
37278
37273
  handleHide() {
37279
- this.items.forEach((e) => e.hide());
37274
+ this.group.visible = !1, this.tagWrapper.style.visibility = "hidden", this.five.needsRender = !0;
37280
37275
  }
37281
37276
  }
37282
37277
  const qx = (...n) => new C3(...n);