@realsee/dnalogel 3.0.0-15 → 3.0.0-17

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 (346) hide show
  1. package/dist/index.cjs.js +4 -4
  2. package/dist/index.js +30 -31
  3. package/dist/index.umd.js +4 -4
  4. package/dist/shared-utils/five/FiveDomEvents.d.ts +1 -0
  5. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
  6. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
  7. package/docs/classes/CSS3DRender.html +30 -30
  8. package/docs/classes/CruisePluginController.html +25 -25
  9. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  10. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  11. package/docs/classes/Magnifier.html +19 -19
  12. package/docs/classes/ModelRoomLabelController.html +10 -10
  13. package/docs/classes/Object3DHelperController.html +24 -24
  14. package/docs/classes/PaintBrush.html +14 -14
  15. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  16. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  17. package/docs/classes/PanoMeasurePluginPoint.html +10 -10
  18. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  19. package/docs/classes/PanoTagPluginController.html +44 -44
  20. package/docs/classes/Util.BetterTween.html +8 -8
  21. package/docs/classes/Util.Interval.html +11 -11
  22. package/docs/classes/Util.LineSegments.html +7 -7
  23. package/docs/classes/Util.Magnifier.html +19 -19
  24. package/docs/classes/Util.Object3D.html +7 -7
  25. package/docs/classes/Util.PointDomHelper.html +10 -10
  26. package/docs/classes/Util.PointHelper.html +10 -10
  27. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  28. package/docs/classes/Util.Rectangle.html +12 -12
  29. package/docs/enums/CameraMovementEffect.html +6 -6
  30. package/docs/enums/ContentType.html +19 -19
  31. package/docs/enums/DIRECTION.html +8 -8
  32. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  33. package/docs/enums/DimensionType.html +6 -6
  34. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  35. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  36. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  37. package/docs/enums/PointType.html +6 -6
  38. package/docs/enums/Rotation.html +7 -7
  39. package/docs/functions/AreaMakerPlugin.html +4 -4
  40. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  41. package/docs/functions/CameraMovementPlugin.html +3 -3
  42. package/docs/functions/CruisePlugin.html +3 -3
  43. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  44. package/docs/functions/GuideLinePlugin.html +4 -4
  45. package/docs/functions/ItemLabelPlugin.html +3 -3
  46. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  47. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  48. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  49. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  50. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  51. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  52. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  53. package/docs/functions/ModelViewPlugin.html +3 -3
  54. package/docs/functions/Object3DHelperPlugin.html +3 -3
  55. package/docs/functions/PanoCompassPlugin.html +3 -3
  56. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  57. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  58. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  59. package/docs/functions/PanoMeasurePlugin.html +3 -3
  60. package/docs/functions/PanoRulerPlugin.html +3 -3
  61. package/docs/functions/PanoRulerProPlugin.html +3 -3
  62. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  63. package/docs/functions/PanoTagPlugin.html +3 -3
  64. package/docs/functions/PanoVideoPlugin.html +3 -3
  65. package/docs/functions/PipelinePlugin.html +3 -3
  66. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  67. package/docs/functions/Util.absoluteUrl.html +4 -4
  68. package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
  69. package/docs/functions/Util.equal.html +4 -4
  70. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  71. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  72. package/docs/functions/Util.getFrameTime.html +4 -4
  73. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  74. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  75. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  76. package/docs/functions/Util.isModelLike.html +4 -4
  77. package/docs/functions/Util.isNil.html +4 -4
  78. package/docs/functions/Util.isPanoramaLike.html +4 -4
  79. package/docs/functions/Util.nextFrame.html +4 -4
  80. package/docs/functions/Util.notNil.html +4 -4
  81. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  82. package/docs/functions/Util.tweenProgress.html +4 -4
  83. package/docs/functions/Util.uuid.html +4 -4
  84. package/docs/functions/pluginFlag.html +4 -4
  85. package/docs/index.html +4 -4
  86. package/docs/interfaces/AddTagConfig.html +5 -5
  87. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
  88. package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
  89. package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
  90. package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
  91. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
  92. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
  93. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
  94. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
  95. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
  96. package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
  97. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  98. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  99. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  100. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  101. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  102. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  103. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  104. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  105. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  106. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  107. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
  108. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  109. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
  110. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
  111. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
  112. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
  113. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
  114. package/docs/interfaces/EventMap.html +14 -14
  115. package/docs/interfaces/FloorplanBounding.html +7 -7
  116. package/docs/interfaces/FloorplanData.html +9 -9
  117. package/docs/interfaces/FloorplanEntrance.html +10 -10
  118. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  119. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  120. package/docs/interfaces/FloorplanFloorData.html +8 -8
  121. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  122. package/docs/interfaces/FloorplanObserver.html +8 -8
  123. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  124. package/docs/interfaces/FloorplanPosition.html +6 -6
  125. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  126. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  127. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  128. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  129. package/docs/interfaces/FloorplanServerData.html +6 -6
  130. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  131. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  132. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  133. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  134. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  135. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  136. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  137. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  138. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  139. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  140. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  141. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  142. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  143. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  144. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  145. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  146. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  147. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  148. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  149. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  150. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  151. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
  152. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  153. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  154. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  155. package/docs/interfaces/HelperOffset.html +7 -7
  156. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  157. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  158. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  159. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  160. package/docs/interfaces/MinMax.html +6 -6
  161. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  162. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  163. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  164. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  165. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  166. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  167. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  168. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  169. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  170. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  171. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  172. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  173. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  174. package/docs/interfaces/Object3DHelperState.html +7 -7
  175. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  176. package/docs/interfaces/PaintBrushAction.html +11 -11
  177. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  178. package/docs/interfaces/PaintBrushState.html +9 -9
  179. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  180. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  181. package/docs/interfaces/PanoMeasureParameterType.html +15 -15
  182. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  183. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  184. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  185. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  186. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  187. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  188. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  189. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  190. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  191. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  192. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  193. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  194. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  195. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  196. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  197. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  198. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  199. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  200. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  201. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  202. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  203. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  204. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  205. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  206. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  207. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  208. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  209. package/docs/interfaces/Point.html +7 -7
  210. package/docs/interfaces/Room.html +8 -8
  211. package/docs/interfaces/RoomInfo.html +6 -6
  212. package/docs/interfaces/RoomLabel.html +13 -13
  213. package/docs/interfaces/RoomRules.html +4 -4
  214. package/docs/interfaces/Rooms.html +4 -4
  215. package/docs/interfaces/Scissor.html +8 -8
  216. package/docs/interfaces/State.html +7 -7
  217. package/docs/interfaces/TagCacheInterface.html +11 -11
  218. package/docs/interfaces/TagConfig.html +13 -13
  219. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  220. package/docs/interfaces/TagIconUrl.html +11 -11
  221. package/docs/interfaces/TagObjectGroup.html +5 -5
  222. package/docs/interfaces/TagStyle.html +5 -5
  223. package/docs/interfaces/Tags.html +8 -8
  224. package/docs/interfaces/TemporaryState.html +5 -5
  225. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  226. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  227. package/docs/interfaces/Util.PointIntersection.html +7 -7
  228. package/docs/modules/AreaMakerPluginType.html +4 -4
  229. package/docs/modules/CruisePluginTypes.html +4 -4
  230. package/docs/modules/CurrentPanoImagePluginType.html +4 -4
  231. package/docs/modules/GuideLineItem.html +4 -4
  232. package/docs/modules/GuideLineModeItem.html +4 -4
  233. package/docs/modules/GuideLinePluginType.html +4 -4
  234. package/docs/modules/PanoVideoPluginType.html +4 -4
  235. package/docs/modules/Util.html +4 -4
  236. package/docs/modules.html +4 -4
  237. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
  238. package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
  239. package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
  240. package/docs/types/ArrayPosition.html +4 -4
  241. package/docs/types/AudioAppearance.html +4 -4
  242. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  243. package/docs/types/CSS3DRenderExportType.html +4 -4
  244. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  245. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  246. package/docs/types/ClassFunctionParameters.html +4 -4
  247. package/docs/types/Color.html +4 -4
  248. package/docs/types/ContentTypeConfigKey.html +4 -4
  249. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  250. package/docs/types/ContentTypeMap.html +4 -4
  251. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  252. package/docs/types/Create3DElementReturnType.html +4 -4
  253. package/docs/types/CruisePluginExportType.html +4 -4
  254. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  255. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  256. package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
  257. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  258. package/docs/types/DeprecatedTagProperty.html +4 -4
  259. package/docs/types/Direction-1.html +4 -4
  260. package/docs/types/Direction4.html +4 -4
  261. package/docs/types/ElementRenderer.html +4 -4
  262. package/docs/types/FloorplanRuleLabels.html +4 -4
  263. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  264. package/docs/types/GuideLinePluginExportType.html +4 -4
  265. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  266. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  267. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  268. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  269. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  270. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  271. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  272. package/docs/types/HelperEventMap.html +4 -4
  273. package/docs/types/LoadTagConfig.html +4 -4
  274. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  275. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  276. package/docs/types/MediaData.html +4 -4
  277. package/docs/types/MediaStore.html +4 -4
  278. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  279. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  280. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  281. package/docs/types/ModelId.html +4 -4
  282. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  283. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  284. package/docs/types/MoveArgs.html +4 -4
  285. package/docs/types/MoveOpts.html +4 -4
  286. package/docs/types/Object3DHelperEventMap.html +4 -4
  287. package/docs/types/ObjectFit.html +4 -4
  288. package/docs/types/PaintBrushEventMap.html +4 -4
  289. package/docs/types/PanoCompassPluginData.html +4 -4
  290. package/docs/types/PanoCompassPluginExportType.html +4 -4
  291. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  292. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  293. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  294. package/docs/types/PanoIndex.html +4 -4
  295. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  296. package/docs/types/PanoMeasureReturnType.html +4 -4
  297. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  298. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  299. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  300. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  301. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  302. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  303. package/docs/types/PipelinePluginParameterType.html +4 -4
  304. package/docs/types/PipelinePluginReturnType.html +4 -4
  305. package/docs/types/PlaneTag.html +4 -4
  306. package/docs/types/Point2DTag.html +4 -4
  307. package/docs/types/Point3DTag.html +4 -4
  308. package/docs/types/PointTag.html +4 -4
  309. package/docs/types/PointTagInstance.html +4 -4
  310. package/docs/types/Position.html +4 -4
  311. package/docs/types/RotateArgs.html +4 -4
  312. package/docs/types/RotateOpts.html +4 -4
  313. package/docs/types/RuleLabelsKey.html +4 -4
  314. package/docs/types/RuleLabelsValue.html +4 -4
  315. package/docs/types/StickType.html +4 -4
  316. package/docs/types/Tag.html +4 -4
  317. package/docs/types/Tag2D.html +4 -4
  318. package/docs/types/Tag3D.html +4 -4
  319. package/docs/types/TagConfigByKey.html +4 -4
  320. package/docs/types/TagContentType.html +4 -4
  321. package/docs/types/TagDimensionType.html +4 -4
  322. package/docs/types/TagElement.html +4 -4
  323. package/docs/types/TagEvents.html +4 -4
  324. package/docs/types/TagGLTFObject.html +4 -4
  325. package/docs/types/TagHooks.html +4 -4
  326. package/docs/types/TagId.html +4 -4
  327. package/docs/types/TagInstance.html +4 -4
  328. package/docs/types/TagPointType.html +4 -4
  329. package/docs/types/TagRendererMap.html +4 -4
  330. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  331. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  332. package/docs/types/WorkCode.html +4 -4
  333. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  334. package/docs/variables/PLUGIN.html +4 -4
  335. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  336. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  337. package/docs/variables/defaultGlobalConfig.html +4 -4
  338. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  339. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  340. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  341. package/libs/PanoTagPlugin/Components/TagItem.js +56 -56
  342. package/libs/base/BasePlugin.js +1 -1
  343. package/libs/shared-utils/five/FiveDomEvents.d.ts +1 -0
  344. package/libs/shared-utils/five/FiveDomEvents.js +71 -72
  345. package/libs/shared-utils/logger.js +1 -1
  346. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as O, init as Q, safe_not_equal as U, append_styles as W, element as C, space as X, attr as c, null_to_empty as V, set_style as v, toggle_class as b, insert as M, append as j, transition_out as y, check_outros as B, transition_in as w, detach as z, getContext as Y, group_outros as E, noop as S, create_component as H, mount_component as J, destroy_component as K } from "../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as O, init as Q, safe_not_equal as U, append_styles as W, element as P, space as X, attr as c, null_to_empty as R, set_style as v, toggle_class as b, insert as C, append as V, transition_out as y, check_outros as B, transition_in as w, detach as M, getContext as Y, group_outros as E, noop as S, create_component as H, mount_component as J, destroy_component as K } from "../../vendor/svelte/internal/index.js";
2
2
  import Z from "./Tag/index.js";
3
3
  import "three";
4
4
  import { noTypecheck as F } from "../utils/noTypecheck.js";
@@ -92,22 +92,22 @@ import "./Common/Icon/Icon.js";
92
92
  import "../utils/getImageInfo.js";
93
93
  import "./Tag/CustomTag.js";
94
94
  function $(i) {
95
- W(i, "svelte-smiesp", ".tag.svelte-smiesp{position:absolute;left:0;top:0;width:100%;height:100%}.tag.withAnimation.svelte-smiesp{transition:opacity 0.2s linear}.tag.hide.svelte-smiesp{opacity:0;pointer-events:none}.tag.hide.svelte-smiesp *{pointer-events:none !important}.tag.unClickable.svelte-smiesp{pointer-events:none !important}.tag.unClickable.svelte-smiesp *{pointer-events:none !important}.tag.disable.svelte-smiesp{display:none}.wrapper.svelte-smiesp{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
95
+ W(i, "svelte-ua9upj", ".tag.withAnimation.svelte-ua9upj{transition:opacity 0.2s linear}.tag.hide.svelte-ua9upj{opacity:0;pointer-events:none}.tag.hide.svelte-ua9upj *{pointer-events:none !important}.tag.unClickable.svelte-ua9upj{pointer-events:none !important}.tag.unClickable.svelte-ua9upj *{pointer-events:none !important}.tag.disable.svelte-ua9upj{display:none}.wrapper.svelte-ua9upj{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
96
96
  }
97
97
  function tt(i) {
98
98
  let e;
99
99
  return {
100
100
  c() {
101
- e = C("div"), c(e, "data-info", "tag point is disable");
101
+ e = P("div"), c(e, "data-info", "tag point is disable");
102
102
  },
103
103
  m(t, o) {
104
- M(t, e, o);
104
+ C(t, e, o);
105
105
  },
106
106
  p: S,
107
107
  i: S,
108
108
  o: S,
109
109
  d(t) {
110
- t && z(e);
110
+ t && M(e);
111
111
  }
112
112
  };
113
113
  }
@@ -124,10 +124,10 @@ function et(i) {
124
124
  J(e, o, n), t = !0;
125
125
  },
126
126
  p(o, n) {
127
- const s = {};
127
+ const l = {};
128
128
  n & /*tag*/
129
- 2 && (s.tag = /*tag*/
130
- o[1]), e.$set(s);
129
+ 2 && (l.tag = /*tag*/
130
+ o[1]), e.$set(l);
131
131
  },
132
132
  i(o) {
133
133
  t || (w(e.$$.fragment, o), t = !0);
@@ -144,16 +144,16 @@ function it(i) {
144
144
  let e;
145
145
  return {
146
146
  c() {
147
- e = C("div"), c(e, "data-info", "tag content is disable");
147
+ e = P("div"), c(e, "data-info", "tag content is disable");
148
148
  },
149
149
  m(t, o) {
150
- M(t, e, o);
150
+ C(t, e, o);
151
151
  },
152
152
  p: S,
153
153
  i: S,
154
154
  o: S,
155
155
  d(t) {
156
- t && z(e);
156
+ t && M(e);
157
157
  }
158
158
  };
159
159
  }
@@ -198,22 +198,22 @@ function ot(i) {
198
198
  J(e, o, n), t = !0;
199
199
  },
200
200
  p(o, n) {
201
- const s = {};
201
+ const l = {};
202
202
  n & /*mediaStore*/
203
- 4 && (s.mediaStore = /*mediaStore*/
203
+ 4 && (l.mediaStore = /*mediaStore*/
204
204
  o[2]), n & /*withAnimation*/
205
- 1 && (s.withAnimation = /*withAnimation*/
205
+ 1 && (l.withAnimation = /*withAnimation*/
206
206
  o[0]), n & /*tag*/
207
- 2 && (s.tag = F(
207
+ 2 && (l.tag = F(
208
208
  /*tag*/
209
209
  o[1]
210
210
  )), n & /*state*/
211
- 16 && (s.state = /*state*/
211
+ 16 && (l.state = /*state*/
212
212
  o[4]), n & /*temporaryState*/
213
- 32 && (s.temporaryState = /*temporaryState*/
213
+ 32 && (l.temporaryState = /*temporaryState*/
214
214
  o[5]), n & /*renderMap*/
215
- 8 && (s.renderMap = /*renderMap*/
216
- o[3]), e.$set(s);
215
+ 8 && (l.renderMap = /*renderMap*/
216
+ o[3]), e.$set(l);
217
217
  },
218
218
  i(o) {
219
219
  t || (w(e.$$.fragment, o), t = !0);
@@ -227,7 +227,7 @@ function ot(i) {
227
227
  };
228
228
  }
229
229
  function rt(i) {
230
- let e, t, o, n, s, f, u, g, k, l;
230
+ let e, t, o, n, l, f, u, g, k, s;
231
231
  const T = [et, tt], d = [];
232
232
  function a(r, p) {
233
233
  return (
@@ -236,21 +236,21 @@ function rt(i) {
236
236
  );
237
237
  }
238
238
  o = a(i), n = d[o] = T[o](i);
239
- const A = [ot, it], _ = [];
240
- function P(r, p) {
239
+ const j = [ot, it], _ = [];
240
+ function A(r, p) {
241
241
  return (
242
242
  /*haveContent*/
243
243
  r[13] ? 0 : 1
244
244
  );
245
245
  }
246
- return f = P(i), u = _[f] = A[f](i), {
246
+ return f = A(i), u = _[f] = j[f](i), {
247
247
  c() {
248
- e = C("div"), t = C("div"), n.c(), s = X(), u.c(), c(t, "class", g = V(G(
248
+ e = P("div"), t = P("div"), n.c(), l = X(), u.c(), c(t, "class", g = R(G(
249
249
  "wrapper",
250
250
  /*tag*/
251
251
  i[1].className ? `${/*tag*/
252
252
  i[1].className}__wrapper` : void 0
253
- )) + " svelte-smiesp"), c(
253
+ )) + " svelte-ua9upj"), c(
254
254
  t,
255
255
  "data-tag-unfolded",
256
256
  /*unfolded*/
@@ -271,7 +271,7 @@ function rt(i) {
271
271
  "top",
272
272
  /*top*/
273
273
  i[8]
274
- ), c(e, "class", "tag svelte-smiesp"), c(
274
+ ), c(e, "class", "tag svelte-ua9upj"), c(
275
275
  e,
276
276
  "data-tag-id",
277
277
  /*id*/
@@ -304,35 +304,35 @@ function rt(i) {
304
304
  );
305
305
  },
306
306
  m(r, p) {
307
- M(r, e, p), j(e, t), d[o].m(t, null), j(t, s), _[f].m(t, null), l = !0;
307
+ C(r, e, p), V(e, t), d[o].m(t, null), V(t, l), _[f].m(t, null), s = !0;
308
308
  },
309
309
  p(r, [p]) {
310
310
  let m = o;
311
311
  o = a(r), o === m ? d[o].p(r, p) : (E(), y(d[m], 1, 1, () => {
312
312
  d[m] = null;
313
- }), B(), n = d[o], n ? n.p(r, p) : (n = d[o] = T[o](r), n.c()), w(n, 1), n.m(t, s));
313
+ }), B(), n = d[o], n ? n.p(r, p) : (n = d[o] = T[o](r), n.c()), w(n, 1), n.m(t, l));
314
314
  let h = f;
315
- f = P(r), f === h ? _[f].p(r, p) : (E(), y(_[h], 1, 1, () => {
315
+ f = A(r), f === h ? _[f].p(r, p) : (E(), y(_[h], 1, 1, () => {
316
316
  _[h] = null;
317
- }), B(), u = _[f], u ? u.p(r, p) : (u = _[f] = A[f](r), u.c()), w(u, 1), u.m(t, null)), (!l || p & /*tag*/
318
- 2 && g !== (g = V(G(
317
+ }), B(), u = _[f], u ? u.p(r, p) : (u = _[f] = j[f](r), u.c()), w(u, 1), u.m(t, null)), (!s || p & /*tag*/
318
+ 2 && g !== (g = R(G(
319
319
  "wrapper",
320
320
  /*tag*/
321
321
  r[1].className ? `${/*tag*/
322
322
  r[1].className}__wrapper` : void 0
323
- )) + " svelte-smiesp")) && c(t, "class", g), (!l || p & /*unfolded*/
323
+ )) + " svelte-ua9upj")) && c(t, "class", g), (!s || p & /*unfolded*/
324
324
  64) && c(
325
325
  t,
326
326
  "data-tag-unfolded",
327
327
  /*unfolded*/
328
328
  r[6]
329
- ), (!l || p & /*id*/
329
+ ), (!s || p & /*id*/
330
330
  4096) && c(
331
331
  t,
332
332
  "data-tag-id",
333
333
  /*id*/
334
334
  r[12]
335
- ), (!l || p & /*tag*/
335
+ ), (!s || p & /*tag*/
336
336
  2 && k !== (k = /*tag*/
337
337
  r[1].contentType)) && c(t, "data-content-type", k), p & /*left*/
338
338
  512 && v(
@@ -346,31 +346,31 @@ function rt(i) {
346
346
  "top",
347
347
  /*top*/
348
348
  r[8]
349
- ), (!l || p & /*id*/
349
+ ), (!s || p & /*id*/
350
350
  4096) && c(
351
351
  e,
352
352
  "data-tag-id",
353
353
  /*id*/
354
354
  r[12]
355
- ), (!l || p & /*tag*/
355
+ ), (!s || p & /*tag*/
356
356
  2) && b(
357
357
  e,
358
358
  "unClickable",
359
359
  /*tag*/
360
360
  r[1].config.clickable === !1
361
- ), (!l || p & /*disable*/
361
+ ), (!s || p & /*disable*/
362
362
  2048) && b(
363
363
  e,
364
364
  "disable",
365
365
  /*disable*/
366
366
  r[11]
367
- ), (!l || p & /*hide*/
367
+ ), (!s || p & /*hide*/
368
368
  1024) && b(
369
369
  e,
370
370
  "hide",
371
371
  /*hide*/
372
372
  r[10]
373
- ), (!l || p & /*withAnimation*/
373
+ ), (!s || p & /*withAnimation*/
374
374
  1) && b(
375
375
  e,
376
376
  "withAnimation",
@@ -385,50 +385,50 @@ function rt(i) {
385
385
  );
386
386
  },
387
387
  i(r) {
388
- l || (w(n), w(u), l = !0);
388
+ s || (w(n), w(u), s = !0);
389
389
  },
390
390
  o(r) {
391
- y(n), y(u), l = !1;
391
+ y(n), y(u), s = !1;
392
392
  },
393
393
  d(r) {
394
- r && z(e), d[o].d(), _[f].d();
394
+ r && M(e), d[o].d(), _[f].d();
395
395
  }
396
396
  };
397
397
  }
398
398
  function nt(i, e, t) {
399
- let o, n, s, f, u, g, k, l, T, { withAnimation: d = !1 } = e, { tag: a } = e, { mediaStore: A } = e, { renderMap: _ = /* @__PURE__ */ new Map() } = e, { state: P } = e, { temporaryState: r } = e;
399
+ let o, n, l, f, u, g, k, s, T, { withAnimation: d = !1 } = e, { tag: a } = e, { mediaStore: j } = e, { renderMap: _ = /* @__PURE__ */ new Map() } = e, { state: A } = e, { temporaryState: r } = e;
400
400
  const p = Y("hooks");
401
401
  return i.$$set = (m) => {
402
- "withAnimation" in m && t(0, d = m.withAnimation), "tag" in m && t(1, a = m.tag), "mediaStore" in m && t(2, A = m.mediaStore), "renderMap" in m && t(3, _ = m.renderMap), "state" in m && t(4, P = m.state), "temporaryState" in m && t(5, r = m.temporaryState);
402
+ "withAnimation" in m && t(0, d = m.withAnimation), "tag" in m && t(1, a = m.tag), "mediaStore" in m && t(2, j = m.mediaStore), "renderMap" in m && t(3, _ = m.renderMap), "state" in m && t(4, A = m.state), "temporaryState" in m && t(5, r = m.temporaryState);
403
403
  }, i.$$.update = () => {
404
- var m, h, N, I, L, q;
404
+ var m, h, z, N, I, L;
405
405
  i.$$.dirty & /*tag*/
406
406
  2 && t(14, o = (() => {
407
- var D, R;
408
- return !(((R = (D = a.style) == null ? void 0 : D.point) == null ? void 0 : R.enabled) === !1 || a.contentType === "Sticker" || a.contentType === "Link" || a.contentType === "VRLink" || a.contentType === "PanoLink" || a.contentType === "Audio" && a.data.appearance === "plane");
407
+ var q, D;
408
+ return !(((D = (q = a.style) == null ? void 0 : q.point) == null ? void 0 : D.enabled) === !1 || a.contentType === "Sticker" || a.contentType === "Link" || a.contentType === "VRLink" || a.contentType === "PanoLink" || a.contentType === "Audio" && a.data.appearance === "plane");
409
409
  })()), i.$$.dirty & /*tag*/
410
410
  2 && t(13, n = (() => a.stickType === "2DPoint")()), i.$$.dirty & /*tag*/
411
- 2 && t(12, s = a.id), i.$$.dirty & /*tag*/
411
+ 2 && t(12, l = a.id), i.$$.dirty & /*tag*/
412
412
  2 && t(11, f = a.enabled === !1 || !a.state), i.$$.dirty & /*tag*/
413
413
  2 && t(10, u = !((m = a.state) != null && m.visible) || ((h = a.temporaryState) == null ? void 0 : h.visible) === !1 || !a.screenPosition), i.$$.dirty & /*tag*/
414
- 2 && t(6, g = (N = a.state) == null ? void 0 : N.unfolded), i.$$.dirty & /*tag*/
415
- 2 && t(9, k = ((I = a.screenPosition) == null ? void 0 : I.leftPercent) + "%"), i.$$.dirty & /*tag*/
416
- 2 && t(8, l = ((L = a.screenPosition) == null ? void 0 : L.topPercent) + "%"), i.$$.dirty & /*tag, unfolded*/
417
- 66 && t(7, T = ((q = a.zIndex) != null ? q : 0) + (g ? 1e6 : 0));
414
+ 2 && t(6, g = (z = a.state) == null ? void 0 : z.unfolded), i.$$.dirty & /*tag*/
415
+ 2 && t(9, k = ((N = a.screenPosition) == null ? void 0 : N.leftPercent) + "%"), i.$$.dirty & /*tag*/
416
+ 2 && t(8, s = ((I = a.screenPosition) == null ? void 0 : I.topPercent) + "%"), i.$$.dirty & /*tag, unfolded*/
417
+ 66 && t(7, T = ((L = a.zIndex) != null ? L : 0) + (g ? 1e6 : 0));
418
418
  }, [
419
419
  d,
420
420
  a,
421
- A,
421
+ j,
422
422
  _,
423
- P,
423
+ A,
424
424
  r,
425
425
  g,
426
426
  T,
427
- l,
427
+ s,
428
428
  k,
429
429
  u,
430
430
  f,
431
- s,
431
+ l,
432
432
  n,
433
433
  o,
434
434
  p
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.0.0-15");
17
+ i(this, "VERSION", "3.0.0-17");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
@@ -64,6 +64,7 @@ export declare class FiveDomEvents {
64
64
  addEventListener<T extends EventName>(object: Object3DWithEvent, event: T, callback: EventMap[T], config?: EventHandlerConfig): void;
65
65
  removeEventListener(object: Object3DWithEvent, event: EventName, callback: (e: CallbackEvent) => any, ...args: any[]): void;
66
66
  dispose(): void;
67
+ private getRaycaster;
67
68
  private handleWantsGesture;
68
69
  private onDomEvent;
69
70
  private objectIsBound;
@@ -1,16 +1,16 @@
1
- var H = Object.defineProperty;
1
+ var g = Object.defineProperty;
2
2
  var _ = Object.getOwnPropertySymbols;
3
- var L = Object.prototype.hasOwnProperty, g = Object.prototype.propertyIsEnumerable;
4
- var m = (f, e, t) => e in f ? H(f, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : f[e] = t, b = (f, e) => {
3
+ var y = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
4
+ var E = (u, e, t) => e in u ? g(u, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : u[e] = t, b = (u, e) => {
5
5
  for (var t in e || (e = {}))
6
- L.call(e, t) && m(f, t, e[t]);
6
+ y.call(e, t) && E(u, t, e[t]);
7
7
  if (_)
8
8
  for (var t of _(e))
9
- g.call(e, t) && m(f, t, e[t]);
10
- return f;
9
+ H.call(e, t) && E(u, t, e[t]);
10
+ return u;
11
11
  };
12
- var v = (f, e, t) => (m(f, typeof e != "symbol" ? e + "" : e, t), t);
13
- import * as y from "three";
12
+ var v = (u, e, t) => (E(u, typeof e != "symbol" ? e + "" : e, t), t);
13
+ import * as L from "three";
14
14
  import { getObjectVisible as $ } from "../three/getObjectVisible.js";
15
15
  import { calculateThreeMouse as x } from "./calculateThreeMouse.js";
16
16
  class D {
@@ -21,41 +21,33 @@ class D {
21
21
  if (t.length !== 1)
22
22
  return;
23
23
  const n = t[0];
24
- if (!n)
25
- return;
26
- let o = n.raycaster;
27
- if (!o) {
28
- const i = this.five.getElement();
29
- if (!i)
30
- return;
31
- const s = x(n, i), r = new y.Raycaster();
32
- r.setFromCamera(s, this.five.camera), o = r;
24
+ if (n) {
25
+ if (e === "mouseMove")
26
+ return this.onDomEvent("hover", n);
27
+ if (e === "tap")
28
+ return this.onDomEvent("click", n);
33
29
  }
34
- if (e === "mouseMove")
35
- return this.onDomEvent("hover", n.raycaster);
36
- if (e === "tap")
37
- return this.onDomEvent("click", n.raycaster);
38
30
  });
39
31
  v(this, "onDomEvent", (e, t) => {
40
- var s;
32
+ var f, i;
41
33
  const n = this.boundObject[e];
42
34
  if (!n || (n == null ? void 0 : n.length) === 0 || !t)
43
35
  return;
44
- const o = (() => {
45
- var a;
46
- const r = t.intersectObjects(n, !0);
47
- if (r.length === 0)
36
+ const s = (f = t.raycaster) != null ? f : this.getRaycaster(t), r = (() => {
37
+ var h;
38
+ const d = s.intersectObjects(n, !0);
39
+ if (d.length === 0)
48
40
  return;
49
- const d = this.five.model.intersectRaycaster(t);
50
- if (!(d.length > 0 && r.length > 0 && d[0].distance < r[0].distance))
51
- return (a = r[0]) == null ? void 0 : a.object;
41
+ const o = this.five.model.intersectRaycaster(s);
42
+ if (!(o.length > 0 && d.length > 0 && o[0].distance < d[0].distance))
43
+ return (h = d[0]) == null ? void 0 : h.object;
52
44
  })();
53
- if (!o || !this.objectIsBound(o)) {
54
- for (const r of (s = this.boundObject.hover) != null ? s : [])
55
- r._hovered && this.notify("unHover", r);
45
+ if (!r || !this.objectIsBound(r)) {
46
+ for (const d of (i = this.boundObject.hover) != null ? i : [])
47
+ d._hovered && this.notify("unHover", d);
56
48
  return;
57
49
  }
58
- if (this.notify(e, o))
50
+ if (this.notify(e, r))
59
51
  return !1;
60
52
  });
61
53
  v(this, "objectIsBound", (e) => {
@@ -65,50 +57,50 @@ class D {
65
57
  return !!t;
66
58
  });
67
59
  // eslint-disable-next-line max-params
68
- v(this, "notify", (e, t, n, o) => {
69
- var a;
70
- let i = !1, s = [];
71
- const r = [];
72
- let d = t;
73
- for (r.push(d); d.parent; )
74
- d = d.parent, r.push(d);
75
- for (const u of r) {
76
- if (i)
60
+ v(this, "notify", (e, t, n, s) => {
61
+ var d;
62
+ let r = !1, a = [];
63
+ const f = [];
64
+ let i = t;
65
+ for (f.push(i); i.parent; )
66
+ i = i.parent, f.push(i);
67
+ for (const o of f) {
68
+ if (r)
77
69
  break;
78
- const E = u._domEvent;
79
- if (!E)
70
+ const h = o._domEvent;
71
+ if (!h)
80
72
  continue;
81
- const p = E[`${e}Handler`];
73
+ const p = h[`${e}Handler`];
82
74
  if (p)
83
- for (const [O, c] of p) {
84
- if (c != null && c.checkVisible && !$(u))
75
+ for (const [O, l] of p) {
76
+ if (l != null && l.checkVisible && !$(o))
85
77
  continue;
86
78
  if (e === "hover") {
87
- if (u._hovered)
79
+ if (o._hovered)
88
80
  continue;
89
- u._hovered = !0;
90
- for (const h of (a = this.boundObject.hover) != null ? a : [])
91
- h !== u && h._hovered && this.notify("unHover", h);
81
+ o._hovered = !0;
82
+ for (const c of (d = this.boundObject.hover) != null ? d : [])
83
+ c !== o && c._hovered && this.notify("unHover", c);
92
84
  }
93
85
  if (e === "unHover") {
94
- if (!u._hovered)
86
+ if (!o._hovered)
95
87
  continue;
96
- u._hovered = !1;
88
+ o._hovered = !1;
97
89
  }
98
- const l = O({
90
+ const m = O({
99
91
  type: e,
100
- target: u,
92
+ target: o,
101
93
  origDomEvent: n,
102
- intersect: o,
94
+ intersect: s,
103
95
  stopPropagation: () => {
104
- i = !0;
96
+ r = !0;
105
97
  }
106
98
  });
107
- s.push(l != null ? l : !0);
99
+ a.push(m != null ? m : !0);
108
100
  }
109
101
  }
110
102
  if (e === "click")
111
- return s.some((u) => u === !0);
103
+ return a.some((o) => o === !0);
112
104
  });
113
105
  this.five = e, e.on("wantsGesture", this.handleWantsGesture);
114
106
  }
@@ -117,10 +109,10 @@ class D {
117
109
  * @note: 注意:目前需要触发物体的 added 事件和 removed 事件才会生效
118
110
  * @todo: added 和 removed 还是不太智能
119
111
  */
120
- addAutoBindEventListener(e, t, n, o) {
121
- const i = () => this.addEventListener(e, t, n, o), s = () => this.removeEventListener(e, t, n, o);
122
- return e.addEventListener("added", i), e.addEventListener("removed", s), e.addEventListener("dispose", s), () => {
123
- e.removeEventListener("added", i), e.removeEventListener("removed", s), e.removeEventListener("dispose", s);
112
+ addAutoBindEventListener(e, t, n, s) {
113
+ const r = () => this.addEventListener(e, t, n, s), a = () => this.removeEventListener(e, t, n, s);
114
+ return e.addEventListener("added", r), e.addEventListener("removed", a), e.addEventListener("dispose", a), () => {
115
+ e.removeEventListener("added", r), e.removeEventListener("removed", a), e.removeEventListener("dispose", a);
124
116
  };
125
117
  }
126
118
  /**
@@ -130,24 +122,31 @@ class D {
130
122
  * @param params.callback: 返回 false 可以不阻止 five 的 tap 事件; default: true
131
123
  * @return {void}
132
124
  */
133
- addEventListener(e, t, n, o) {
134
- var i;
135
- e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), e._domEvent[`${t}Handler`].push([n, b({ checkVisible: !0 }, o)]), (i = this.boundObject[t]) == null || i.push(e);
125
+ addEventListener(e, t, n, s) {
126
+ var r;
127
+ e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), e._domEvent[`${t}Handler`].push([n, b({ checkVisible: !0 }, s)]), (r = this.boundObject[t]) == null || r.push(e);
136
128
  }
137
- removeEventListener(e, t, n, ...o) {
138
- var s, r;
129
+ removeEventListener(e, t, n, ...s) {
130
+ var a, f;
139
131
  if (!e._domEvent || !e._domEvent[`${t}Handler`])
140
132
  return;
141
- const i = e._domEvent[`${t}Handler`].findIndex((d) => d[0] === n);
142
- if (i !== -1 && (e._domEvent[`${t}Handler`].splice(i, 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)) {
143
- const d = (s = this.boundObject[t]) == null ? void 0 : s.findIndex((a) => a === e);
144
- d !== -1 && ((r = this.boundObject[t]) == null || r.splice(d, 1));
133
+ const r = e._domEvent[`${t}Handler`].findIndex((i) => i[0] === n);
134
+ if (r !== -1 && (e._domEvent[`${t}Handler`].splice(r, 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)) {
135
+ const i = (a = this.boundObject[t]) == null ? void 0 : a.findIndex((d) => d === e);
136
+ i !== -1 && ((f = this.boundObject[t]) == null || f.splice(i, 1));
145
137
  }
146
138
  }
147
139
  dispose() {
148
140
  var e;
149
141
  (e = this.five) == null || e.off("wantsGesture", this.handleWantsGesture), this.boundObject = {};
150
142
  }
143
+ getRaycaster(e) {
144
+ const t = this.five.getElement();
145
+ if (!t)
146
+ return;
147
+ const n = x(e, t), s = new L.Raycaster();
148
+ return s.setFromCamera(n, this.five.camera), s;
149
+ }
151
150
  }
152
151
  export {
153
152
  D as FiveDomEvents
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.0.0-15",
3
+ "%c %c@realsee/dnalogel %cv3.0.0-17",
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",
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "3.0.0-15",
10
+ "version": "3.0.0-17",
11
11
  "license": "SEE LICENSE IN TERMS.txt",
12
12
  "scripts": {
13
13
  "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",