@realsee/dnalogel 3.23.0 → 3.23.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (381) hide show
  1. package/dist/ModelMakerPlugin/Controller.d.ts +3 -0
  2. package/dist/ModelMakerPlugin/item/baseItem.d.ts +1 -1
  3. package/dist/index.cjs.js +53 -53
  4. package/dist/index.js +3132 -3129
  5. package/dist/index.umd.js +47 -47
  6. package/dist/shared-utils/tag.d.ts +2 -0
  7. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  8. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  9. package/docs/classes/CSS3DRender.html +3 -3
  10. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  11. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  12. package/docs/classes/ModelMakerPluginType.ModelMakerController.html +15 -15
  13. package/docs/classes/ModelRoomLabelController.html +3 -3
  14. package/docs/classes/MoveController.html +3 -3
  15. package/docs/classes/Object3DHelperController.html +3 -3
  16. package/docs/classes/PaintBrush.html +3 -3
  17. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  18. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  19. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  20. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  21. package/docs/classes/PanoTagPluginController.html +27 -27
  22. package/docs/classes/Sculpt.html +3 -3
  23. package/docs/classes/Util.BetterTween.html +3 -3
  24. package/docs/classes/Util.Interval.html +3 -3
  25. package/docs/classes/Util.LineSegments.html +3 -3
  26. package/docs/classes/Util.Magnifier.html +3 -3
  27. package/docs/classes/Util.Object3D.html +3 -3
  28. package/docs/classes/Util.PointDomHelper.html +3 -3
  29. package/docs/classes/Util.PointHelper.html +3 -3
  30. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  31. package/docs/classes/Util.Rectangle.html +3 -3
  32. package/docs/classes/WalkController.html +3 -3
  33. package/docs/enums/CameraMovementEffect.html +3 -3
  34. package/docs/enums/ContentType.html +3 -3
  35. package/docs/enums/DIRECTION.html +3 -3
  36. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  37. package/docs/enums/DimensionType.html +3 -3
  38. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  39. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  40. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  41. package/docs/enums/PointType.html +3 -3
  42. package/docs/enums/Rotation.html +3 -3
  43. package/docs/functions/AreaMakerPlugin.html +3 -3
  44. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  45. package/docs/functions/CameraMovementPlugin.html +3 -3
  46. package/docs/functions/CruisePlugin.html +3 -3
  47. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  48. package/docs/functions/GuideLinePlugin.html +3 -3
  49. package/docs/functions/ItemLabelPlugin.html +3 -3
  50. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  51. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  52. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  53. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  54. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  55. package/docs/functions/ModelMakerPlugin.html +3 -3
  56. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  57. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  58. package/docs/functions/ModelViewPlugin.html +3 -3
  59. package/docs/functions/MovePlugin.html +3 -3
  60. package/docs/functions/Object3DHelperPlugin.html +3 -3
  61. package/docs/functions/PanoCompassPlugin.html +3 -3
  62. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  63. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  64. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  65. package/docs/functions/PanoMeasurePlugin.html +3 -3
  66. package/docs/functions/PanoRulerPlugin.html +3 -3
  67. package/docs/functions/PanoRulerProPlugin.html +3 -3
  68. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  69. package/docs/functions/PanoTagPlugin.html +3 -3
  70. package/docs/functions/PanoVideoPlugin.html +3 -3
  71. package/docs/functions/PipelinePlugin.html +3 -3
  72. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  73. package/docs/functions/Util.absoluteUrl.html +3 -3
  74. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  75. package/docs/functions/Util.equal.html +3 -3
  76. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  77. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  78. package/docs/functions/Util.getFrameTime.html +3 -3
  79. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  80. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  81. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  82. package/docs/functions/Util.isModelLike.html +3 -3
  83. package/docs/functions/Util.isNil.html +3 -3
  84. package/docs/functions/Util.isPanoramaLike.html +3 -3
  85. package/docs/functions/Util.nextFrame.html +3 -3
  86. package/docs/functions/Util.notNil.html +3 -3
  87. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  88. package/docs/functions/Util.tweenProgress.html +3 -3
  89. package/docs/functions/Util.uuid.html +3 -3
  90. package/docs/functions/pluginFlag.html +3 -3
  91. package/docs/index.html +4 -4
  92. package/docs/interfaces/AddTagConfig.html +3 -3
  93. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  94. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  95. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  96. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  97. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  98. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  99. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  100. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  101. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  102. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  103. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  104. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  105. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  106. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  107. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  108. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  109. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  110. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  111. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  112. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  113. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  114. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  115. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  116. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  117. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  118. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  119. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  120. package/docs/interfaces/EventMap.html +3 -3
  121. package/docs/interfaces/FloorplanBounding.html +3 -3
  122. package/docs/interfaces/FloorplanData.html +3 -3
  123. package/docs/interfaces/FloorplanEntrance.html +3 -3
  124. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  125. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  126. package/docs/interfaces/FloorplanFloorData.html +3 -3
  127. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  128. package/docs/interfaces/FloorplanObserver.html +3 -3
  129. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  130. package/docs/interfaces/FloorplanPosition.html +3 -3
  131. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  132. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  133. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  134. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  135. package/docs/interfaces/FloorplanServerData.html +3 -3
  136. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  137. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  138. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  139. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  140. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  141. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  142. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  143. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  144. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  145. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  146. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  147. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  148. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  149. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  150. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  151. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  152. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  153. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  154. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  155. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  156. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  162. package/docs/interfaces/HelperOffset.html +3 -3
  163. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  164. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  165. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  166. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  167. package/docs/interfaces/MinMax.html +3 -3
  168. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  169. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  170. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  171. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  172. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  173. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  174. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  175. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  176. package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
  177. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  178. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  179. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  180. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  181. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  182. package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
  183. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  184. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  185. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  186. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  187. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  188. package/docs/interfaces/Object3DHelperState.html +3 -3
  189. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  190. package/docs/interfaces/PaintBrushAction.html +3 -3
  191. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  192. package/docs/interfaces/PaintBrushState.html +3 -3
  193. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  194. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  195. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  196. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  197. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  198. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  199. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  200. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  201. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  202. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  203. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  204. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  205. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  206. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  207. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  208. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  209. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  210. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  211. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  212. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  213. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  214. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  215. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  216. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  217. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  218. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  219. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  220. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  221. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  222. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  223. package/docs/interfaces/Point.html +3 -3
  224. package/docs/interfaces/Room.html +3 -3
  225. package/docs/interfaces/RoomInfo.html +3 -3
  226. package/docs/interfaces/RoomLabel.html +3 -3
  227. package/docs/interfaces/RoomRules.html +3 -3
  228. package/docs/interfaces/Rooms.html +3 -3
  229. package/docs/interfaces/Scissor.html +3 -3
  230. package/docs/interfaces/State.html +3 -3
  231. package/docs/interfaces/TagCacheInterface.html +3 -3
  232. package/docs/interfaces/TagConfig.html +3 -3
  233. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  234. package/docs/interfaces/TagIconUrl.html +3 -3
  235. package/docs/interfaces/TagObjectGroup.html +3 -3
  236. package/docs/interfaces/TagStyle.html +3 -3
  237. package/docs/interfaces/Tags.html +3 -3
  238. package/docs/interfaces/TemporaryState.html +3 -3
  239. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  240. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  241. package/docs/interfaces/Util.PointIntersection.html +3 -3
  242. package/docs/modules/AreaMakerPluginType.html +3 -3
  243. package/docs/modules/CruisePluginTypes.html +3 -3
  244. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  245. package/docs/modules/GuideLineItem.html +3 -3
  246. package/docs/modules/GuideLineModeItem.html +3 -3
  247. package/docs/modules/GuideLinePluginType.html +3 -3
  248. package/docs/modules/ModelMakerPluginType.html +3 -3
  249. package/docs/modules/PanoVideoPluginType.html +3 -3
  250. package/docs/modules/Util.html +3 -3
  251. package/docs/modules.html +4 -4
  252. package/docs/types/AddObject3DHelperConfig.html +3 -3
  253. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  254. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  255. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  256. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  257. package/docs/types/ArrayPosition.html +3 -3
  258. package/docs/types/AudioAppearance.html +3 -3
  259. package/docs/types/AudioTagTypeConfigKey.html +3 -3
  260. package/docs/types/CSS3DRenderExportType.html +3 -3
  261. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  262. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  263. package/docs/types/ClassFunctionParameters.html +3 -3
  264. package/docs/types/Color.html +3 -3
  265. package/docs/types/ContentTypeConfigKey.html +3 -3
  266. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  267. package/docs/types/ContentTypeMap.html +3 -3
  268. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  269. package/docs/types/Create3DElementReturnType.html +3 -3
  270. package/docs/types/CruisePluginExportType.html +3 -3
  271. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  272. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  273. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  274. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  275. package/docs/types/DeprecatedTagProperty.html +3 -3
  276. package/docs/types/Direction-1.html +3 -3
  277. package/docs/types/Direction4.html +3 -3
  278. package/docs/types/ElementRenderer.html +3 -3
  279. package/docs/types/FloorplanRuleLabels.html +3 -3
  280. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  281. package/docs/types/GuideLinePluginExportType.html +3 -3
  282. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  283. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  284. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  285. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  286. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  287. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  288. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  289. package/docs/types/HelperEventMap.html +3 -3
  290. package/docs/types/InternalHelperEventMap.html +3 -3
  291. package/docs/types/LoadTagConfig.html +3 -3
  292. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  293. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  294. package/docs/types/MediaData.html +3 -3
  295. package/docs/types/MediaStore.html +3 -3
  296. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  297. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  298. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  299. package/docs/types/ModelId.html +3 -3
  300. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  301. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  302. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  303. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  304. package/docs/types/MoveArgs.html +3 -3
  305. package/docs/types/MoveOpts.html +3 -3
  306. package/docs/types/Object3DHelperEventMap.html +3 -3
  307. package/docs/types/ObjectFit.html +3 -3
  308. package/docs/types/PaintBrushEventMap.html +3 -3
  309. package/docs/types/PanoCompassPluginData.html +3 -3
  310. package/docs/types/PanoCompassPluginExportType.html +3 -3
  311. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  312. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  313. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  314. package/docs/types/PanoIndex.html +3 -3
  315. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  316. package/docs/types/PanoMeasureReturnType.html +3 -3
  317. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  318. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  319. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  320. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  321. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  322. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  323. package/docs/types/PipelinePluginParameterType.html +3 -3
  324. package/docs/types/PipelinePluginReturnType.html +3 -3
  325. package/docs/types/PlaneTag.html +3 -3
  326. package/docs/types/Point2DTag.html +3 -3
  327. package/docs/types/Point3DTag.html +3 -3
  328. package/docs/types/PointTag.html +3 -3
  329. package/docs/types/PointTagInstance.html +3 -3
  330. package/docs/types/Position.html +3 -3
  331. package/docs/types/PositionFrom.html +3 -3
  332. package/docs/types/RotateArgs.html +3 -3
  333. package/docs/types/RotateOpts.html +3 -3
  334. package/docs/types/RuleLabelsKey.html +3 -3
  335. package/docs/types/RuleLabelsValue.html +3 -3
  336. package/docs/types/ScaleCallback.html +3 -3
  337. package/docs/types/ScalePosition.html +3 -3
  338. package/docs/types/StickType.html +3 -3
  339. package/docs/types/Tag.html +3 -3
  340. package/docs/types/Tag2D.html +3 -3
  341. package/docs/types/Tag3D.html +3 -3
  342. package/docs/types/TagConfigByKey.html +3 -3
  343. package/docs/types/TagContentType.html +3 -3
  344. package/docs/types/TagContentTypeMapping.html +3 -3
  345. package/docs/types/TagDimensionType.html +3 -3
  346. package/docs/types/TagElement.html +3 -3
  347. package/docs/types/TagEvents.html +3 -3
  348. package/docs/types/TagGLTFObject.html +3 -3
  349. package/docs/types/TagHooks.html +3 -3
  350. package/docs/types/TagId.html +3 -3
  351. package/docs/types/TagInstance.html +3 -3
  352. package/docs/types/TagPointType.html +3 -3
  353. package/docs/types/TagRendererMap.html +3 -3
  354. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  355. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  356. package/docs/types/WorkCode.html +3 -3
  357. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  358. package/docs/variables/PLUGIN.html +3 -3
  359. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  360. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  361. package/docs/variables/defaultGlobalConfig.html +3 -3
  362. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  363. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  364. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  365. package/libs/ModelMakerPlugin/Controller.d.ts +3 -0
  366. package/libs/ModelMakerPlugin/Controller.js +66 -72
  367. package/libs/ModelMakerPlugin/index.js +2 -2
  368. package/libs/ModelMakerPlugin/item/baseItem.d.ts +1 -1
  369. package/libs/ModelMakerPlugin/item/baseItem.js +74 -29
  370. package/libs/ModelMakerPlugin/item/boxItem.js +48 -3
  371. package/libs/ModelMakerPlugin/item/polygonItem.js +56 -10
  372. package/libs/ModelMakerPlugin/item/prismItem.js +57 -11
  373. package/libs/ModelMakerPlugin/utils/Text.js +23 -23
  374. package/libs/PanoTagPlugin/controller/TagRender.js +8 -8
  375. package/libs/PanoTagPlugin/controller/index.js +8 -10
  376. package/libs/base/BasePlugin.js +1 -1
  377. package/libs/shared-utils/five/FiveDomEvents.js +36 -41
  378. package/libs/shared-utils/logger.js +1 -1
  379. package/libs/shared-utils/tag.d.ts +2 -0
  380. package/libs/shared-utils/tag.js +45 -24
  381. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- var o = Object.defineProperty;
2
- var r = (t, e, i) => e in t ? o(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
3
- var s = (t, e, i) => (r(t, typeof e != "symbol" ? e + "" : e, i), i);
4
- import { ModelMakerBaseItem as h } from "./baseItem.js";
1
+ var m = Object.defineProperty;
2
+ var p = (o, i, t) => i in o ? m(o, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[i] = t;
3
+ var r = (o, i, t) => (p(o, typeof i != "symbol" ? i + "" : i, t), t);
4
+ import { ModelMakerBaseItem as e } from "./baseItem.js";
5
5
  import "three";
6
6
  import "../../shared-utils/three/addIfNotExists.js";
7
7
  import "../../shared-utils/Subscribe.js";
@@ -9,13 +9,59 @@ import "../../shared-utils/tag.js";
9
9
  import "../../shared-utils/positionToVector3.js";
10
10
  import "../../shared-utils/five/vector3ToScreen.js";
11
11
  import "../../shared-utils/Object3DHelper/utils/boundingBox.js";
12
- import "../../shared-utils/five/FiveDomEvents.js";
12
+ import "../Controller.js";
13
+ import "../../base/BasePluginWithData.js";
14
+ import "../../base/BasePlugin.js";
15
+ import "hammerjs";
16
+ import "@realsee/five";
17
+ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
18
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
19
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
20
+ import "three/examples/jsm/renderers/CSS3DRenderer";
21
+ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
22
+ import "../../shared-utils/util.js";
23
+ import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
24
+ import "../../CSS3DRenderPlugin/utils/even.js";
25
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
26
+ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
27
+ import "../../shared-utils/three/centerPoint.js";
13
28
  import "../../shared-utils/three/getObjectVisible.js";
29
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
30
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
31
+ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
32
+ import "../../shared-utils/url/absoluteUrl.js";
33
+ import "./boxItem.js";
34
+ import "./polygonItem.js";
35
+ import "../../Sculpt/Meshes/Prism.js";
36
+ import "../../shared-utils/three/IObject3D.js";
37
+ import "../../shared-utils/isNil.js";
38
+ import "../../Sculpt/Meshes/Polygon.js";
39
+ import "../../shared-utils/three/generatePolygonGeometry.js";
40
+ import "../../shared-utils/three/earcut3D.js";
41
+ import "earcut";
42
+ import "../../shared-utils/three/getNormal.js";
43
+ import "../../Sculpt/utils/color.js";
44
+ import "../../Sculpt/utils/three/ColoredMesh.js";
45
+ import "../../shared-utils/three/geometryUtil.js";
46
+ import "../../Sculpt/Meshes/Line.js";
47
+ import "@realsee/five/line";
48
+ import "../../Sculpt/Meshes/PolygonWithEdge.js";
49
+ import "../../Sculpt/Meshes/Polyline.js";
50
+ import "../../Sculpt/Meshes/LineWithDots.js";
51
+ import "../../Sculpt/Meshes/Point.js";
52
+ import "../../shared-utils/three/closeVectors.js";
53
+ import "../utils/tagRenderer.js";
54
+ import "../utils/Text.js";
55
+ import "../../vendor/svelte/internal/index.js";
56
+ import "../../components/AreaLabel/LabelItem.js";
57
+ import "../../components/AreaLabel/Assets/roomLabelBg.js";
58
+ import "./prismItem.js";
59
+ import "../../shared-utils/five/FiveDomEvents.js";
14
60
  import "../../shared-utils/five/calculateThreeMouse.js";
15
- class T extends h {
16
- constructor(...i) {
17
- super(...i);
18
- s(this, "hideTag", () => {
61
+ class di extends e {
62
+ constructor(...t) {
63
+ super(...t);
64
+ r(this, "hideTag", () => {
19
65
  this.tag.hide();
20
66
  });
21
67
  this.enable(), this.tag.hide();
@@ -34,5 +80,5 @@ class T extends h {
34
80
  }
35
81
  }
36
82
  export {
37
- T as ModelMakerPolygonItem
83
+ di as ModelMakerPolygonItem
38
84
  };
@@ -1,13 +1,13 @@
1
1
  var c = Object.defineProperty, l = Object.defineProperties;
2
2
  var x = Object.getOwnPropertyDescriptors;
3
- var m = Object.getOwnPropertySymbols;
3
+ var p = Object.getOwnPropertySymbols;
4
4
  var d = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
5
- var p = (t, o, r) => o in t ? c(t, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[o] = r, i = (t, o) => {
5
+ var i = (t, o, r) => o in t ? c(t, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[o] = r, e = (t, o) => {
6
6
  for (var r in o || (o = {}))
7
- d.call(o, r) && p(t, r, o[r]);
8
- if (m)
9
- for (var r of m(o))
10
- b.call(o, r) && p(t, r, o[r]);
7
+ d.call(o, r) && i(t, r, o[r]);
8
+ if (p)
9
+ for (var r of p(o))
10
+ b.call(o, r) && i(t, r, o[r]);
11
11
  return t;
12
12
  }, s = (t, o) => l(t, x(o));
13
13
  import { boundingBox as M, boxVertex as n } from "../../shared-utils/Object3DHelper/utils/boundingBox.js";
@@ -18,15 +18,61 @@ import "../../shared-utils/Subscribe.js";
18
18
  import "../../shared-utils/tag.js";
19
19
  import "../../shared-utils/positionToVector3.js";
20
20
  import "../../shared-utils/five/vector3ToScreen.js";
21
- import "../../shared-utils/five/FiveDomEvents.js";
21
+ import "../Controller.js";
22
+ import "../../base/BasePluginWithData.js";
23
+ import "../../base/BasePlugin.js";
24
+ import "hammerjs";
25
+ import "@realsee/five";
26
+ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
27
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
28
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
29
+ import "three/examples/jsm/renderers/CSS3DRenderer";
30
+ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
31
+ import "../../shared-utils/util.js";
32
+ import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
33
+ import "../../CSS3DRenderPlugin/utils/even.js";
34
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
35
+ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
36
+ import "../../shared-utils/three/centerPoint.js";
22
37
  import "../../shared-utils/three/getObjectVisible.js";
38
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
39
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
40
+ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
41
+ import "../../shared-utils/url/absoluteUrl.js";
42
+ import "./boxItem.js";
43
+ import "./polygonItem.js";
44
+ import "../../Sculpt/Meshes/Prism.js";
45
+ import "../../shared-utils/three/IObject3D.js";
46
+ import "../../shared-utils/isNil.js";
47
+ import "../../Sculpt/Meshes/Polygon.js";
48
+ import "../../shared-utils/three/generatePolygonGeometry.js";
49
+ import "../../shared-utils/three/earcut3D.js";
50
+ import "earcut";
51
+ import "../../shared-utils/three/getNormal.js";
52
+ import "../../Sculpt/utils/color.js";
53
+ import "../../Sculpt/utils/three/ColoredMesh.js";
54
+ import "../../shared-utils/three/geometryUtil.js";
55
+ import "../../Sculpt/Meshes/Line.js";
56
+ import "@realsee/five/line";
57
+ import "../../Sculpt/Meshes/PolygonWithEdge.js";
58
+ import "../../Sculpt/Meshes/Polyline.js";
59
+ import "../../Sculpt/Meshes/LineWithDots.js";
60
+ import "../../Sculpt/Meshes/Point.js";
61
+ import "../../shared-utils/three/closeVectors.js";
62
+ import "../utils/tagRenderer.js";
63
+ import "../utils/Text.js";
64
+ import "../../vendor/svelte/internal/index.js";
65
+ import "../../components/AreaLabel/LabelItem.js";
66
+ import "../../components/AreaLabel/Assets/roomLabelBg.js";
67
+ import "./prismItem.js";
68
+ import "../../shared-utils/five/FiveDomEvents.js";
23
69
  import "../../shared-utils/five/calculateThreeMouse.js";
24
- class R extends f {
70
+ class Io extends f {
25
71
  constructor(...o) {
26
- const r = o[0], e = M(r.model), a = new u.Vector3().lerpVectors(n(e, 0), n(e, 5), 0.5);
27
- super(s(i({}, r), { position: a })), this.enable();
72
+ const r = o[0], m = M(r.model), a = new u.Vector3().lerpVectors(n(m, 0), n(m, 5), 0.5);
73
+ super(s(e({}, r), { position: a })), this.enable();
28
74
  }
29
75
  }
30
76
  export {
31
- R as ModelMakerPrismItem
77
+ Io as ModelMakerPrismItem
32
78
  };
@@ -1,45 +1,45 @@
1
- import { SvelteComponent as s, init as r, safe_not_equal as l, append_styles as c, element as d, text as f, attr as m, insert as p, append as u, set_data as v, noop as o, detach as x } from "../../vendor/svelte/internal/index.js";
2
- function g(n) {
3
- c(n, "svelte-7zg6cv", ".withAnimation{transition:opacity 0.2s linear}.model-maker-tag.svelte-7zg6cv{color:#fff;font-size:0.875rem;font-weight:bold;text-shadow:0.125rem 0 0.5rem rgba(0, 0, 0, 0.15)}");
1
+ import { SvelteComponent as s, init as r, safe_not_equal as l, append_styles as f, element as m, text as d, attr as c, insert as p, append as x, set_data as u, noop as i, detach as w } from "../../vendor/svelte/internal/index.js";
2
+ function h(a) {
3
+ f(a, "svelte-129wfaa", ".withAnimation{transition:opacity 0.2s linear}.model-maker-tag.svelte-129wfaa{position:absolute;width:-moz-max-content;width:max-content;left:50%;top:50%;transform:translate(-50%, -50%);color:#fff;font-size:0.875rem;font-weight:bold;text-shadow:0.125rem 0 0.5rem rgba(0, 0, 0, 0.15)}");
4
4
  }
5
- function _(n) {
6
- let t, i;
5
+ function v(a) {
6
+ let t, o;
7
7
  return {
8
8
  c() {
9
- t = d("div"), i = f(
9
+ t = m("div"), o = d(
10
10
  /*text*/
11
- n[0]
12
- ), m(t, "class", "model-maker-tag svelte-7zg6cv");
11
+ a[0]
12
+ ), c(t, "class", "model-maker-tag svelte-129wfaa");
13
13
  },
14
- m(e, a) {
15
- p(e, t, a), u(t, i);
14
+ m(e, n) {
15
+ p(e, t, n), x(t, o);
16
16
  },
17
- p(e, [a]) {
18
- a & /*text*/
19
- 1 && v(
20
- i,
17
+ p(e, [n]) {
18
+ n & /*text*/
19
+ 1 && u(
20
+ o,
21
21
  /*text*/
22
22
  e[0]
23
23
  );
24
24
  },
25
- i: o,
26
- o,
25
+ i,
26
+ o: i,
27
27
  d(e) {
28
- e && x(t);
28
+ e && w(t);
29
29
  }
30
30
  };
31
31
  }
32
- function h(n, t, i) {
32
+ function _(a, t, o) {
33
33
  let { text: e } = t;
34
- return n.$$set = (a) => {
35
- "text" in a && i(0, e = a.text);
34
+ return a.$$set = (n) => {
35
+ "text" in n && o(0, e = n.text);
36
36
  }, [e];
37
37
  }
38
- class w extends s {
38
+ class b extends s {
39
39
  constructor(t) {
40
- super(), r(this, t, h, _, l, { text: 0 }, g);
40
+ super(), r(this, t, _, v, l, { text: 0 }, h);
41
41
  }
42
42
  }
43
43
  export {
44
- w as default
44
+ b as default
45
45
  };
@@ -233,10 +233,10 @@ class Ti extends I {
233
233
  this.contentTypeMap.set(t, e);
234
234
  }
235
235
  clearTags() {
236
- this.tags.forEach((t) => {
236
+ this.tags.length && (this.tags.forEach((t) => {
237
237
  var e, o;
238
238
  (o = (e = t.mediaPlane) == null ? void 0 : e.parent) == null || o.remove(t.mediaPlane);
239
- }), this.tags = [], this.enabledModelTagSet.clear(), this.clearCache(), this.disposeAllCSS3DContainer(), this.updateRenderAllTags();
239
+ }), this.tags = [], this.disposeAllCSS3DContainer(), this.updateRenderAllTags()), this.enabledModelTagSet.clear(), this.clearCache();
240
240
  }
241
241
  /**
242
242
  * @description: 更新所有标签
@@ -476,16 +476,16 @@ class Ti extends I {
476
476
  }
477
477
  }
478
478
  updateDomView(t = {}) {
479
- var o, i;
479
+ var o, i, r;
480
480
  const e = this.filterPointTag;
481
481
  if (this.TagContainerSvelte)
482
482
  this.TagContainerSvelte.$set({ tags: e, state: this.state, temporaryState: this.temporaryState });
483
483
  else {
484
- const r = (o = this.five.getElement()) == null ? void 0 : o.parentElement;
485
- if (!r)
484
+ const a = (o = this.five.getElement()) == null ? void 0 : o.parentElement;
485
+ if (!a)
486
486
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
487
- this.TagContainerSvelte = new O({
488
- target: r,
487
+ console.trace({ withAnimation: (i = t == null ? void 0 : t.withAnimation) != null ? i : this.store.visibleWithAnimation }), this.TagContainerSvelte = new O({
488
+ target: a,
489
489
  props: {
490
490
  hooks: this.hooks,
491
491
  tags: e,
@@ -494,7 +494,7 @@ class Ti extends I {
494
494
  mediaStore: this.mediaStore,
495
495
  rendererMap: this.rendererMap,
496
496
  contentTypeMap: this.contentTypeMap,
497
- withAnimation: (i = t == null ? void 0 : t.withAnimation) != null ? i : this.store.visibleWithAnimation
497
+ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : this.store.visibleWithAnimation
498
498
  }
499
499
  });
500
500
  }
@@ -9,7 +9,7 @@ var u = (d, a, e) => a in d ? E(d, a, { enumerable: !0, configurable: !0, writab
9
9
  for (var e of A(a))
10
10
  F.call(a, e) && u(d, e, a[e]);
11
11
  return d;
12
- }, b = (d, a) => I(d, R(a));
12
+ }, v = (d, a) => I(d, R(a));
13
13
  var l = (d, a, e) => (u(d, typeof a != "symbol" ? a + "" : a, e), e);
14
14
  var c = (d, a, e) => new Promise((t, i) => {
15
15
  var s = (r) => {
@@ -27,7 +27,7 @@ var c = (d, a, e) => new Promise((t, i) => {
27
27
  }, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(s, o);
28
28
  n((e = e.apply(d, a)).next());
29
29
  });
30
- import * as v from "three";
30
+ import * as b from "three";
31
31
  import { Subscribe as M } from "@realsee/five";
32
32
  import { objectAssignDeepExports as f } from "../../vendor/object-assign-deep/objectAssignDeep.js";
33
33
  import { addDebugPoints as O } from "../utils/addDebugPoints.js";
@@ -223,7 +223,6 @@ class Mi extends z {
223
223
  * @description: 走点/切换模型后显示
224
224
  */
225
225
  // private temporaryShow({ withAnimation }: { withAnimation?: boolean } = { withAnimation: false }) {
226
- // this.store.visibleWithAnimation = withAnimation
227
226
  // this.temporaryState.visible = true
228
227
  // this.updateTagContainerVisible()
229
228
  // }
@@ -231,7 +230,6 @@ class Mi extends z {
231
230
  * @description: 走点/切换模型时临时隐藏
232
231
  */
233
232
  // private temporaryHide({ withAnimation }: { withAnimation?: boolean } = { withAnimation: false }) {
234
- // this.store.visibleWithAnimation = withAnimation
235
233
  // this.temporaryState.visible = false
236
234
  // this.updateTagContainerVisible()
237
235
  // }
@@ -250,13 +248,13 @@ class Mi extends z {
250
248
  });
251
249
  l(this, "handleFivePanoArrived", () => c(this, null, function* () {
252
250
  this.setVisible(), this.updatePointTagPosition(), yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
253
- e.temporaryState = b(g({}, e.temporaryState), { visible: !0 });
251
+ e.temporaryState = v(g({}, e.temporaryState), { visible: !0 });
254
252
  }), this.tags.filter(_).filter((e) => {
255
253
  var t;
256
254
  return (t = this.getTagConfig(e).modelConfig) == null ? void 0 : t.autoLookAtEnabled;
257
255
  }).forEach((e) => {
258
256
  var h;
259
- const t = new v.Mesh(new v.BoxGeometry(), new v.MeshBasicMaterial()), i = (h = e.model) == null ? void 0 : h.object;
257
+ const t = new b.Mesh(new b.BoxGeometry(), new b.MeshBasicMaterial()), i = (h = e.model) == null ? void 0 : h.object;
260
258
  if (!i)
261
259
  return;
262
260
  t.position.copy(i.position), t.quaternion.copy(i.quaternion);
@@ -291,9 +289,9 @@ class Mi extends z {
291
289
  this.clearTags(), console.debug(w, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = f({}, this.config, {
292
290
  globalConfig: (s = e.globalConfig) != null ? s : {},
293
291
  contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
294
- });
292
+ }), this.store.visibleWithAnimation = !0;
295
293
  const i = yield this.addTag(e.tagList, t);
296
- if (this.debug)
294
+ if (this.store.visibleWithAnimation = void 0, this.debug)
297
295
  try {
298
296
  O(this.five, this.tags);
299
297
  } catch (n) {
@@ -312,7 +310,7 @@ class Mi extends z {
312
310
  const n = JSON.parse(JSON.stringify(o.data)), r = o.config ? JSON.parse(JSON.stringify(o.config)) : {};
313
311
  o.initialConfig = r;
314
312
  const h = this.calculateTagConfig(o), p = this.getTagConfig(o);
315
- return o.config = p, b(g({}, o), {
313
+ return o.config = p, v(g({}, o), {
316
314
  enabled: (T = o.enabled) != null ? T : !0,
317
315
  id: (y = o.id) != null ? y : x(),
318
316
  data: (C = p.initialData) != null && C.important ? f(o.data, n, p.initialData) : f(o.data, p.initialData, n),
@@ -465,7 +463,7 @@ class Mi extends z {
465
463
  */
466
464
  setVisibleAndUnfolded() {
467
465
  return c(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
468
- return this.setVisible(), e ? new Promise((t) => {
466
+ return this.store.visibleWithAnimation = e, this.setVisible(), e ? new Promise((t) => {
469
467
  setTimeout(() => {
470
468
  this.setUnfoldedByPanoIndex(), t();
471
469
  }, 10);
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.23.0");
17
+ i(this, "VERSION", "3.23.2");
18
18
  i(this, "five");
19
19
  /**
20
20
  * @description: 插件事件钩子
@@ -1,16 +1,16 @@
1
1
  var L = Object.defineProperty;
2
2
  var b = Object.getOwnPropertySymbols;
3
- var D = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
3
+ var D = Object.prototype.hasOwnProperty, w = Object.prototype.propertyIsEnumerable;
4
4
  var p = (h, e, t) => e in h ? L(h, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[e] = t, y = (h, e) => {
5
5
  for (var t in e || (e = {}))
6
6
  D.call(e, t) && p(h, t, e[t]);
7
7
  if (b)
8
8
  for (var t of b(e))
9
- H.call(e, t) && p(h, t, e[t]);
9
+ w.call(e, t) && p(h, t, e[t]);
10
10
  return h;
11
11
  };
12
12
  var d = (h, e, t) => (p(h, typeof e != "symbol" ? e + "" : e, t), t);
13
- import * as w from "three";
13
+ import * as H from "three";
14
14
  import { getObjectVisible as M } from "../three/getObjectVisible.js";
15
15
  import { calculateThreeMouse as $ } from "./calculateThreeMouse.js";
16
16
  class I {
@@ -69,27 +69,22 @@ class I {
69
69
  });
70
70
  // eslint-disable-next-line complexity
71
71
  d(this, "onDomEvent", (e, t, n, i = this.boundObject[e]) => {
72
- var f, c, r;
73
- if (!t || !i || (i == null ? void 0 : i.length) === 0)
72
+ var f, m, s;
73
+ if (!t || !i || (i == null ? void 0 : i.length) === 0 || !this.five.model.loaded)
74
74
  return;
75
75
  const o = (f = t.raycaster) != null ? f : this.getRaycaster(t);
76
76
  o.params.Points.threshold = 0.02;
77
- const s = o.intersectObjects(i, !0);
78
- if (s.length === 0)
77
+ const r = o.intersectObjects(i, !0), l = this.five.model.intersectRaycaster(o), u = 0.01;
78
+ if (l.length > 0 && r.length > 0 && l[0].distance + u < r[0].distance)
79
79
  return;
80
- const l = this.five.model.intersectRaycaster(o), u = 0.01;
81
- if (l.length > 0 && s.length > 0 && l[0].distance + u < s[0].distance)
82
- return;
83
- const a = (c = s[0]) == null ? void 0 : c.object;
84
- if (a) {
85
- if (e === "wantDblclick")
86
- return !1;
87
- if ((!a || !this.objectIsBound(a)) && (e === "hover" || e === "unHover"))
88
- for (const v of (r = this.boundObject.hover) != null ? r : [])
89
- v._hovered && this.notify({ eventName: "unHover", object: v });
90
- if (a && this.notify({ eventName: e, object: a, originEvent: n, raycaster: o, intersects: s }))
91
- return !1;
92
- }
80
+ const a = (m = r == null ? void 0 : r[0]) == null ? void 0 : m.object;
81
+ if (e === "wantDblclick")
82
+ return !1;
83
+ if ((!a || !this.objectIsBound(a)) && e === "hover")
84
+ for (const v of (s = this.boundObject.hover) != null ? s : [])
85
+ v._hovered && this.notify({ eventName: "unHover", object: v });
86
+ if (a && a && this.notify({ eventName: e, object: a, originEvent: n, raycaster: o, intersects: r }))
87
+ return !1;
93
88
  });
94
89
  d(this, "objectIsBound", (e) => {
95
90
  let t = e._domEvent, n = e.parent;
@@ -98,43 +93,43 @@ class I {
98
93
  return !!t;
99
94
  });
100
95
  d(this, "notify", (e) => {
101
- var c;
102
- const { eventName: t, object: n, originEvent: i, raycaster: o, intersects: s } = e;
96
+ var m;
97
+ const { eventName: t, object: n, originEvent: i, raycaster: o, intersects: r } = e;
103
98
  let l = !1, u = [];
104
99
  const a = [];
105
100
  let f = n;
106
101
  for (a.push(f); f.parent; )
107
102
  f = f.parent, a.push(f);
108
- for (const r of a) {
103
+ for (const s of a) {
109
104
  if (l)
110
105
  break;
111
- r.draggable && (t === "dragstart" && (r._dragging = !0, this.dragging = !0), t === "dragend" && (r._dragging = !1, this.dragging = !1));
112
- const v = r._domEvent;
106
+ s.draggable && (t === "dragstart" && (s._dragging = !0, this.dragging = !0), t === "dragend" && (s._dragging = !1, this.dragging = !1));
107
+ const v = s._domEvent;
113
108
  if (!v)
114
109
  continue;
115
110
  const _ = v[`${t}Handler`];
116
111
  if (_)
117
112
  for (const [O, E] of _) {
118
- if (E != null && E.noEmitWhenHide && !M(r))
113
+ if (E != null && E.noEmitWhenHide && !M(s))
119
114
  continue;
120
115
  if (t === "hover") {
121
- if (r._hovered)
116
+ if (s._hovered)
122
117
  continue;
123
- r._hovered = !0;
124
- for (const m of (c = this.boundObject.hover) != null ? c : [])
125
- m !== r && m._hovered && this.notify({ eventName: "unHover", object: m });
118
+ s._hovered = !0;
119
+ for (const c of (m = this.boundObject.hover) != null ? m : [])
120
+ c !== s && c._hovered && this.notify({ eventName: "unHover", object: c });
126
121
  }
127
122
  if (t === "unHover") {
128
- if (!r._hovered)
123
+ if (!s._hovered)
129
124
  continue;
130
- r._hovered = !1;
125
+ s._hovered = !1;
131
126
  }
132
127
  const g = O({
133
128
  type: t,
134
- target: r,
129
+ target: s,
135
130
  origDomEvent: i,
136
131
  raycaster: o,
137
- intersects: s,
132
+ intersects: r,
138
133
  stopPropagation: () => {
139
134
  l = !0;
140
135
  }
@@ -143,7 +138,7 @@ class I {
143
138
  }
144
139
  }
145
140
  if (t === "click" || t === "wantDblclick")
146
- return u.some((r) => r === !0);
141
+ return u.some((s) => s === !0);
147
142
  });
148
143
  this.five = e, e.on("wantsGesture", this.handleWantsGesture), document.addEventListener("mousedown", this.handleMousedown), document.addEventListener("dblclick", this.handleMouseEvent), document.addEventListener("mouseup", this.handleMouseup), document.addEventListener("mousemove", this.handleMousemove);
149
144
  }
@@ -156,9 +151,9 @@ class I {
156
151
  * @todo: added 和 removed 还是不太智能
157
152
  */
158
153
  addAutoBindEventListener(e, t, n, i) {
159
- const o = () => this.addEventListener(e, t, n, i), s = () => this.removeEventListener(e, t, n, i);
160
- return e.addEventListener("added", o), e.addEventListener("removed", s), e.addEventListener("dispose", s), () => {
161
- e.removeEventListener("added", o), e.removeEventListener("removed", s), e.removeEventListener("dispose", s);
154
+ const o = () => this.addEventListener(e, t, n, i), r = () => this.removeEventListener(e, t, n, i);
155
+ return e.addEventListener("added", o), e.addEventListener("removed", r), e.addEventListener("dispose", r), () => {
156
+ e.removeEventListener("added", o), e.removeEventListener("removed", r), e.removeEventListener("dispose", r);
162
157
  };
163
158
  }
164
159
  /**
@@ -172,13 +167,13 @@ class I {
172
167
  e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), e._domEvent[`${t}Handler`].push([n, y({ noEmitWhenHide: !1 }, i)]), this.boundObject[t].push(e);
173
168
  }
174
169
  removeEventListener(e, t, n, ...i) {
175
- var s, l;
170
+ var r, l;
176
171
  if (!e._domEvent || !e._domEvent[`${t}Handler`])
177
172
  return;
178
173
  n === void 0 && delete e._domEvent[`${t}Handler`];
179
174
  const o = e._domEvent[`${t}Handler`].findIndex((u) => u[0] === n);
180
175
  if (o !== -1 && (e._domEvent[`${t}Handler`].splice(o, 1), e._domEvent[`${t}Handler`].length === 0 && delete e._domEvent[`${t}Handler`], e._domEvent && Object.keys(e._domEvent).length === 0 && delete e._domEvent, !e._domEvent)) {
181
- const u = (s = this.boundObject[t]) == null ? void 0 : s.findIndex((a) => a === e);
176
+ const u = (r = this.boundObject[t]) == null ? void 0 : r.findIndex((a) => a === e);
182
177
  u !== -1 && ((l = this.boundObject[t]) == null || l.splice(u, 1));
183
178
  }
184
179
  }
@@ -190,7 +185,7 @@ class I {
190
185
  const t = this.five.getElement();
191
186
  if (!t)
192
187
  return;
193
- const n = $(e, t), i = new w.Raycaster();
188
+ const n = $(e, t), i = new H.Raycaster();
194
189
  return i.setFromCamera(n, this.five.camera), i;
195
190
  }
196
191
  }
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.23.0",
3
+ "%c %c@realsee/dnalogel %cv3.23.2",
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",
@@ -7,6 +7,7 @@ export declare class LightTag {
7
7
  private five;
8
8
  private position;
9
9
  private wrapper;
10
+ private disposer;
10
11
  constructor(five: Five, position: AnyPosition);
11
12
  show(): void;
12
13
  hide(params?: {
@@ -15,5 +16,6 @@ export declare class LightTag {
15
16
  enable(): void;
16
17
  disable(): void;
17
18
  private onCameraUpdate;
19
+ private onFiveEveryReady;
18
20
  }
19
21
  export declare function tag(five: Five, position: AnyPosition): LightTag;