@realsee/dnalogel 3.34.5 → 3.35.0-dev.0

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