@realsee/dnalogel 3.0.0-13 → 3.0.0-15

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 (370) hide show
  1. package/dist/index.cjs.js +39 -39
  2. package/dist/index.js +1036 -1038
  3. package/dist/index.umd.js +31 -31
  4. package/dist/shared-utils/five/FiveDomEvents.d.ts +1 -1
  5. package/dist/shared-utils/five/calculateThreeMouse.d.ts +11 -0
  6. package/dist/shared-utils/three/PointSelectorHelper.d.ts +6 -5
  7. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
  8. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
  9. package/docs/classes/CSS3DRender.html +30 -30
  10. package/docs/classes/CruisePluginController.html +25 -25
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  13. package/docs/classes/Magnifier.html +19 -19
  14. package/docs/classes/ModelRoomLabelController.html +10 -10
  15. package/docs/classes/Object3DHelperController.html +24 -24
  16. package/docs/classes/PaintBrush.html +14 -14
  17. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  18. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  19. package/docs/classes/PanoMeasurePluginPoint.html +10 -10
  20. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  21. package/docs/classes/PanoTagPluginController.html +44 -44
  22. package/docs/classes/Util.BetterTween.html +8 -8
  23. package/docs/classes/Util.Interval.html +11 -11
  24. package/docs/classes/Util.LineSegments.html +7 -7
  25. package/docs/classes/Util.Magnifier.html +19 -19
  26. package/docs/classes/Util.Object3D.html +7 -7
  27. package/docs/classes/Util.PointDomHelper.html +10 -10
  28. package/docs/classes/Util.PointHelper.html +10 -10
  29. package/docs/classes/Util.PointSelectorHelper.html +16 -16
  30. package/docs/classes/Util.Rectangle.html +12 -12
  31. package/docs/enums/CameraMovementEffect.html +6 -6
  32. package/docs/enums/ContentType.html +19 -19
  33. package/docs/enums/DIRECTION.html +8 -8
  34. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  35. package/docs/enums/DimensionType.html +6 -6
  36. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  37. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  38. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  39. package/docs/enums/PointType.html +6 -6
  40. package/docs/enums/Rotation.html +7 -7
  41. package/docs/functions/AreaMakerPlugin.html +4 -4
  42. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  43. package/docs/functions/CameraMovementPlugin.html +4 -4
  44. package/docs/functions/CruisePlugin.html +4 -4
  45. package/docs/functions/CurrentPanoImagePlugin.html +4 -4
  46. package/docs/functions/GuideLinePlugin.html +4 -4
  47. package/docs/functions/ItemLabelPlugin.html +4 -4
  48. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  49. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  50. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  51. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  52. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  53. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  54. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  55. package/docs/functions/ModelViewPlugin.html +4 -4
  56. package/docs/functions/Object3DHelperPlugin.html +4 -4
  57. package/docs/functions/PanoCompassPlugin.html +4 -4
  58. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  59. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  60. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  61. package/docs/functions/PanoMeasurePlugin.html +4 -4
  62. package/docs/functions/PanoRulerPlugin.html +4 -4
  63. package/docs/functions/PanoRulerProPlugin.html +4 -4
  64. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  65. package/docs/functions/PanoTagPlugin.html +4 -4
  66. package/docs/functions/PanoVideoPlugin.html +4 -4
  67. package/docs/functions/PipelinePlugin.html +4 -4
  68. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  69. package/docs/functions/Util.absoluteUrl.html +4 -4
  70. package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
  71. package/docs/functions/Util.equal.html +4 -4
  72. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  73. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  74. package/docs/functions/Util.getFrameTime.html +4 -4
  75. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  76. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  77. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  78. package/docs/functions/Util.isModelLike.html +4 -4
  79. package/docs/functions/Util.isNil.html +4 -4
  80. package/docs/functions/Util.isPanoramaLike.html +4 -4
  81. package/docs/functions/Util.nextFrame.html +4 -4
  82. package/docs/functions/Util.notNil.html +4 -4
  83. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  84. package/docs/functions/Util.tweenProgress.html +4 -4
  85. package/docs/functions/Util.uuid.html +4 -4
  86. package/docs/functions/pluginFlag.html +4 -4
  87. package/docs/index.html +4 -4
  88. package/docs/interfaces/AddTagConfig.html +5 -5
  89. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
  90. package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
  91. package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
  92. package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
  93. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
  94. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
  95. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
  96. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
  97. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
  98. package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
  99. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  100. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  101. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  102. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  103. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  104. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  105. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  106. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  107. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  108. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  109. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
  110. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  111. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
  112. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
  113. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
  114. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
  115. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
  116. package/docs/interfaces/EventMap.html +14 -14
  117. package/docs/interfaces/FloorplanBounding.html +7 -7
  118. package/docs/interfaces/FloorplanData.html +9 -9
  119. package/docs/interfaces/FloorplanEntrance.html +10 -10
  120. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  121. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  122. package/docs/interfaces/FloorplanFloorData.html +8 -8
  123. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  124. package/docs/interfaces/FloorplanObserver.html +8 -8
  125. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  126. package/docs/interfaces/FloorplanPosition.html +6 -6
  127. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  128. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  129. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  130. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  131. package/docs/interfaces/FloorplanServerData.html +6 -6
  132. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  133. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  134. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  135. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  136. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  137. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  138. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  139. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  140. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  141. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  142. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  143. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  144. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  145. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  146. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  147. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  148. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  149. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  150. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  151. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  152. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  153. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
  154. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  155. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  156. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  157. package/docs/interfaces/HelperOffset.html +7 -7
  158. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  159. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  160. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  161. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  162. package/docs/interfaces/MinMax.html +6 -6
  163. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  164. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  165. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  166. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  167. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  168. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  169. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  170. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  171. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  172. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  173. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  174. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  175. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  176. package/docs/interfaces/Object3DHelperState.html +7 -7
  177. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  178. package/docs/interfaces/PaintBrushAction.html +11 -11
  179. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  180. package/docs/interfaces/PaintBrushState.html +9 -9
  181. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  182. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  183. package/docs/interfaces/PanoMeasureParameterType.html +15 -15
  184. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  185. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  186. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  187. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  188. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  189. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  190. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  191. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  192. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  193. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  194. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  195. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  196. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  197. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  198. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  199. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  200. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  201. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  202. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  203. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  204. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  205. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  206. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  207. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  208. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  209. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  210. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  211. package/docs/interfaces/Point.html +7 -7
  212. package/docs/interfaces/Room.html +8 -8
  213. package/docs/interfaces/RoomInfo.html +6 -6
  214. package/docs/interfaces/RoomLabel.html +13 -13
  215. package/docs/interfaces/RoomRules.html +4 -4
  216. package/docs/interfaces/Rooms.html +4 -4
  217. package/docs/interfaces/Scissor.html +8 -8
  218. package/docs/interfaces/State.html +7 -7
  219. package/docs/interfaces/TagCacheInterface.html +11 -11
  220. package/docs/interfaces/TagConfig.html +13 -13
  221. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  222. package/docs/interfaces/TagIconUrl.html +11 -11
  223. package/docs/interfaces/TagObjectGroup.html +5 -5
  224. package/docs/interfaces/TagStyle.html +5 -5
  225. package/docs/interfaces/Tags.html +8 -8
  226. package/docs/interfaces/TemporaryState.html +5 -5
  227. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  228. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  229. package/docs/interfaces/Util.PointIntersection.html +7 -7
  230. package/docs/modules/AreaMakerPluginType.html +4 -4
  231. package/docs/modules/CruisePluginTypes.html +4 -4
  232. package/docs/modules/CurrentPanoImagePluginType.html +4 -4
  233. package/docs/modules/GuideLineItem.html +4 -4
  234. package/docs/modules/GuideLineModeItem.html +4 -4
  235. package/docs/modules/GuideLinePluginType.html +4 -4
  236. package/docs/modules/PanoVideoPluginType.html +4 -4
  237. package/docs/modules/Util.html +4 -4
  238. package/docs/modules.html +4 -4
  239. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
  240. package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
  241. package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
  242. package/docs/types/ArrayPosition.html +4 -4
  243. package/docs/types/AudioAppearance.html +4 -4
  244. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  245. package/docs/types/CSS3DRenderExportType.html +4 -4
  246. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  247. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  248. package/docs/types/ClassFunctionParameters.html +4 -4
  249. package/docs/types/Color.html +4 -4
  250. package/docs/types/ContentTypeConfigKey.html +4 -4
  251. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  252. package/docs/types/ContentTypeMap.html +4 -4
  253. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  254. package/docs/types/Create3DElementReturnType.html +4 -4
  255. package/docs/types/CruisePluginExportType.html +4 -4
  256. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  257. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  258. package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
  259. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  260. package/docs/types/DeprecatedTagProperty.html +4 -4
  261. package/docs/types/Direction-1.html +4 -4
  262. package/docs/types/Direction4.html +4 -4
  263. package/docs/types/ElementRenderer.html +4 -4
  264. package/docs/types/FloorplanRuleLabels.html +4 -4
  265. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  266. package/docs/types/GuideLinePluginExportType.html +4 -4
  267. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  268. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  269. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  270. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  271. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  272. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  273. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  274. package/docs/types/HelperEventMap.html +4 -4
  275. package/docs/types/LoadTagConfig.html +4 -4
  276. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  277. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  278. package/docs/types/MediaData.html +4 -4
  279. package/docs/types/MediaStore.html +4 -4
  280. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  281. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  282. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  283. package/docs/types/ModelId.html +4 -4
  284. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  285. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  286. package/docs/types/MoveArgs.html +4 -4
  287. package/docs/types/MoveOpts.html +4 -4
  288. package/docs/types/Object3DHelperEventMap.html +4 -4
  289. package/docs/types/ObjectFit.html +4 -4
  290. package/docs/types/PaintBrushEventMap.html +4 -4
  291. package/docs/types/PanoCompassPluginData.html +4 -4
  292. package/docs/types/PanoCompassPluginExportType.html +4 -4
  293. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  294. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  295. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  296. package/docs/types/PanoIndex.html +4 -4
  297. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  298. package/docs/types/PanoMeasureReturnType.html +4 -4
  299. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  300. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  301. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  302. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  303. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  304. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  305. package/docs/types/PipelinePluginParameterType.html +4 -4
  306. package/docs/types/PipelinePluginReturnType.html +4 -4
  307. package/docs/types/PlaneTag.html +4 -4
  308. package/docs/types/Point2DTag.html +4 -4
  309. package/docs/types/Point3DTag.html +4 -4
  310. package/docs/types/PointTag.html +4 -4
  311. package/docs/types/PointTagInstance.html +4 -4
  312. package/docs/types/Position.html +4 -4
  313. package/docs/types/RotateArgs.html +4 -4
  314. package/docs/types/RotateOpts.html +4 -4
  315. package/docs/types/RuleLabelsKey.html +4 -4
  316. package/docs/types/RuleLabelsValue.html +4 -4
  317. package/docs/types/StickType.html +4 -4
  318. package/docs/types/Tag.html +4 -4
  319. package/docs/types/Tag2D.html +4 -4
  320. package/docs/types/Tag3D.html +4 -4
  321. package/docs/types/TagConfigByKey.html +4 -4
  322. package/docs/types/TagContentType.html +4 -4
  323. package/docs/types/TagDimensionType.html +4 -4
  324. package/docs/types/TagElement.html +4 -4
  325. package/docs/types/TagEvents.html +4 -4
  326. package/docs/types/TagGLTFObject.html +4 -4
  327. package/docs/types/TagHooks.html +4 -4
  328. package/docs/types/TagId.html +4 -4
  329. package/docs/types/TagInstance.html +4 -4
  330. package/docs/types/TagPointType.html +4 -4
  331. package/docs/types/TagRendererMap.html +4 -4
  332. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  333. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  334. package/docs/types/WorkCode.html +4 -4
  335. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  336. package/docs/variables/PLUGIN.html +4 -4
  337. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  338. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  339. package/docs/variables/defaultGlobalConfig.html +4 -4
  340. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  341. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  342. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  343. package/libs/CruisePlugin/Controller.js +3 -2
  344. package/libs/CruisePlugin/index.js +6 -5
  345. package/libs/CurrentPanoImagePlugin/Controller.js +21 -23
  346. package/libs/CurrentPanoImagePlugin/index.js +3 -4
  347. package/libs/GuideLinePlugin/Controller.js +5 -4
  348. package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
  349. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
  350. package/libs/GuideLinePlugin/index.js +8 -7
  351. package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
  352. package/libs/PanoTagPlugin/controller/TagComputer.js +46 -45
  353. package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
  354. package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
  355. package/libs/PanoTagPlugin/controller/index.js +6 -5
  356. package/libs/PanoTagPlugin/index.js +12 -11
  357. package/libs/base/BasePlugin.js +1 -1
  358. package/libs/index.js +1 -1
  359. package/libs/shared-utils/five/FiveDomEvents.d.ts +1 -1
  360. package/libs/shared-utils/five/FiveDomEvents.js +81 -71
  361. package/libs/shared-utils/five/calculateThreeMouse.d.ts +11 -0
  362. package/libs/shared-utils/five/calculateThreeMouse.js +8 -0
  363. package/libs/shared-utils/logger.js +1 -1
  364. package/libs/shared-utils/three/PointSelector.js +39 -39
  365. package/libs/shared-utils/three/PointSelectorHelper.d.ts +6 -5
  366. package/libs/shared-utils/three/PointSelectorHelper.js +4 -4
  367. package/package.json +1 -1
  368. package/dist/shared-utils/five/adapt.d.ts +0 -9
  369. package/libs/shared-utils/five/adapt.d.ts +0 -9
  370. package/libs/shared-utils/five/adapt.js +0 -16
@@ -106,6 +106,7 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
106
106
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
107
107
  import "../shared-utils/three/getNormal.js";
108
108
  import "../shared-utils/five/FiveDomEvents.js";
109
+ import "../shared-utils/five/calculateThreeMouse.js";
109
110
  import "../PanoTagPlugin/utils/tag/adaptConfig.js";
110
111
  import "../shared-utils/typescript/entries.js";
111
112
  import "../shared-utils/url/getUrl.js";
@@ -196,7 +197,7 @@ import "../shared-utils/nearlyEqual.js";
196
197
  import "./utils/coordinatesToVector.js";
197
198
  import "../shared-utils/isTruelyObject.js";
198
199
  import "./utils/formatRad.js";
199
- const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`, rr = (c) => `${x}--${c}`, D = () => {
200
+ const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`, ar = (c) => `${x}--${c}`, D = () => {
200
201
  console.error(`${x} is disposed`);
201
202
  }, W = () => {
202
203
  console.warn(`${x} is disabled`);
@@ -753,5 +754,5 @@ class z extends V {
753
754
  I(z, "PluginVersion", M);
754
755
  export {
755
756
  z as default,
756
- rr as pluginFlag
757
+ ar as pluginFlag
757
758
  };
@@ -1,5 +1,5 @@
1
1
  import i from "./Controller.js";
2
- import { typing as Co } from "./typing/index.js";
2
+ import { typing as ao } from "./typing/index.js";
3
3
  import "../base/BasePluginWithData.js";
4
4
  import "../base/BasePlugin.js";
5
5
  import "../shared-utils/Subscribe.js";
@@ -74,6 +74,7 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
74
74
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
75
75
  import "../shared-utils/three/getNormal.js";
76
76
  import "../shared-utils/five/FiveDomEvents.js";
77
+ import "../shared-utils/five/calculateThreeMouse.js";
77
78
  import "../PanoTagPlugin/utils/tag/adaptConfig.js";
78
79
  import "../shared-utils/typescript/entries.js";
79
80
  import "../shared-utils/url/getUrl.js";
@@ -168,10 +169,10 @@ import "./utils/vectorToCoordinates.js";
168
169
  import "./utils/formatRad.js";
169
170
  import "./utils/linerValue.js";
170
171
  import "./utils/sleep.js";
171
- const uo = (r) => new i(r);
172
+ const lo = (r) => new i(r);
172
173
  export {
173
- uo as CruisePlugin,
174
+ lo as CruisePlugin,
174
175
  i as CruisePluginController,
175
- Co as CruisePluginTypes,
176
- uo as default
176
+ ao as CruisePluginTypes,
177
+ lo as default
177
178
  };
@@ -1,12 +1,12 @@
1
- var v = Object.defineProperty;
2
- var m = Object.getOwnPropertySymbols;
3
- var b = Object.prototype.hasOwnProperty, M = Object.prototype.propertyIsEnumerable;
4
- var p = (r, o, e) => o in r ? v(r, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[o] = e, d = (r, o) => {
1
+ var m = Object.defineProperty;
2
+ var g = Object.getOwnPropertySymbols;
3
+ var v = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
4
+ var p = (r, o, e) => o in r ? m(r, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[o] = e, d = (r, o) => {
5
5
  for (var e in o || (o = {}))
6
- b.call(o, e) && p(r, e, o[e]);
7
- if (m)
8
- for (var e of m(o))
9
- M.call(o, e) && p(r, e, o[e]);
6
+ v.call(o, e) && p(r, e, o[e]);
7
+ if (g)
8
+ for (var e of g(o))
9
+ b.call(o, e) && p(r, e, o[e]);
10
10
  return r;
11
11
  };
12
12
  var n = (r, o, e) => (p(r, typeof o != "symbol" ? o + "" : o, e), e);
@@ -27,16 +27,15 @@ var f = (r, o, e) => new Promise((i, t) => {
27
27
  u((e = e.apply(r, o)).next());
28
28
  });
29
29
  import * as a from "three";
30
- import { Controller as A } from "../base/BasePlugin.js";
31
- import { tweenProgress as w } from "../shared-utils/animationFrame/BetterTween.js";
30
+ import { Controller as M } from "../base/BasePlugin.js";
31
+ import { tweenProgress as A } from "../shared-utils/animationFrame/BetterTween.js";
32
32
  import "hammerjs";
33
33
  import "@realsee/five";
34
34
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
35
35
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
36
36
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
37
- import { equal as P } from "../shared-utils/equal.js";
38
- import { loadTexture as k } from "../shared-utils/three/loadTexture.js";
39
- import { adaptPanoId as g } from "../shared-utils/five/adapt.js";
37
+ import { equal as w } from "../shared-utils/equal.js";
38
+ import { loadTexture as P } from "../shared-utils/three/loadTexture.js";
40
39
  import "../shared-utils/Subscribe.js";
41
40
  import "../shared-utils/url/absoluteUrl.js";
42
41
  import "../shared-utils/animationFrame/index.js";
@@ -54,7 +53,7 @@ import "../shared-utils/three/getObjectVisible.js";
54
53
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
55
54
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
56
55
  import "../shared-utils/isTruelyObject.js";
57
- class X extends A {
56
+ class K extends M {
58
57
  constructor(e, i) {
59
58
  super(e);
60
59
  // ==================== public properties ====================
@@ -99,23 +98,22 @@ class X extends A {
99
98
  this.lastArrivedPanoIndex = -1, this.updateMeshVisible();
100
99
  });
101
100
  /** 走点前 */
102
- // eslint-disable-next-line @typescript-eslint/member-ordering
103
- n(this, "onFivePanoWillArrive", g(this.five, ({ panoIndex: e }) => {
101
+ n(this, "onFivePanoWillArrive", (e) => {
104
102
  var i;
105
103
  e !== this.five.getCurrentState().panoIndex && (this.isInPanoMoveAnime = !0, (i = this.opacityAnimeTween) == null || i.dispose(), this.updateMeshVisible());
106
- }));
104
+ });
107
105
  /** 走点后 */
108
106
  // eslint-disable-next-line @typescript-eslint/member-ordering
109
- n(this, "onFivePanoArrived", g(this.five, ({ panoIndex: e }) => {
107
+ n(this, "onFivePanoArrived", (e) => {
110
108
  e !== this.lastArrivedPanoIndex && (this.lastArrivedPanoIndex = e, this.isInPanoMoveAnime = !1, this.updateMeshPosition(e), this.updateMeshVisible(), this.five.needsRender = !0);
111
- }));
109
+ });
112
110
  n(this, "onMeshVisibleChange", (e) => {
113
111
  var i;
114
112
  if ((i = this.opacityAnimeTween) == null || i.dispose(), !e) {
115
113
  this.mesh.visible = !1;
116
114
  return;
117
115
  }
118
- this.mesh.material.setValues({ opacity: 0 }), this.mesh.visible = !0, this.opacityAnimeTween = w(1e3).onUpdate(({ progress: t }) => {
116
+ this.mesh.material.setValues({ opacity: 0 }), this.mesh.visible = !0, this.opacityAnimeTween = A(1e3).onUpdate(({ progress: t }) => {
119
117
  var s;
120
118
  (s = this.mesh) == null || s.material.setValues({ opacity: t }), this.five.needsRender = !0;
121
119
  }).play();
@@ -203,7 +201,7 @@ class X extends A {
203
201
  */
204
202
  setState(e, i = {}) {
205
203
  const t = this.state;
206
- if (P(e, t, { deep: !0 }))
204
+ if (w(e, t, { deep: !0 }))
207
205
  return;
208
206
  const s = i.userAction !== void 0 ? i.userAction : !0;
209
207
  if (this.updateState(e, s), e.enabled !== void 0 && t.enabled !== e.enabled && (e.enabled ? this.checkMsg.pluginDisabled = "" : this.checkMsg.pluginDisabled = "调用 setState 禁用", e.enabled ? this._enable({ userAction: s }) : this._disable({ userAction: s })), e.visible !== void 0 && t.visible !== e.visible) {
@@ -250,7 +248,7 @@ class X extends A {
250
248
  reloadTexture(e) {
251
249
  return f(this, null, function* () {
252
250
  if (this.mesh.material.map = null, e !== "") {
253
- const i = k(e);
251
+ const i = P(e);
254
252
  this.textureLoadingPromise = i;
255
253
  const t = yield i;
256
254
  this.textureLoadingPromise === i && (this.onTextureLoaded(t), this.textureLoadingPromise = null);
@@ -282,5 +280,5 @@ class X extends A {
282
280
  }
283
281
  }
284
282
  export {
285
- X as CurrentPanoImagePluginController
283
+ K as CurrentPanoImagePluginController
286
284
  };
@@ -26,9 +26,8 @@ import "../shared-utils/animationFrame/index.js";
26
26
  import "../shared-utils/equal.js";
27
27
  import "../shared-utils/isTruelyObject.js";
28
28
  import "../shared-utils/three/loadTexture.js";
29
- import "../shared-utils/five/adapt.js";
30
- const E = (r, o) => new t(r, o);
29
+ const D = (r, o) => new t(r, o);
31
30
  export {
32
- E as CurrentPanoImagePlugin,
33
- E as default
31
+ D as CurrentPanoImagePlugin,
32
+ D as default
34
33
  };
@@ -99,6 +99,7 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
99
99
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
100
100
  import "../shared-utils/three/getNormal.js";
101
101
  import "../shared-utils/five/FiveDomEvents.js";
102
+ import "../shared-utils/five/calculateThreeMouse.js";
102
103
  import "../PanoTagPlugin/utils/tag/adaptConfig.js";
103
104
  import "../shared-utils/typescript/entries.js";
104
105
  import "../shared-utils/url/getUrl.js";
@@ -195,8 +196,8 @@ import "../CruisePlugin/utils/vectorToCoordinates.js";
195
196
  import "../CruisePlugin/utils/formatRad.js";
196
197
  import "../CruisePlugin/utils/linerValue.js";
197
198
  import "../CruisePlugin/utils/sleep.js";
198
- const V = "v1.1.0", b = "GuideLinePlugin", g = `${b}@${V}`, Jr = (p) => `${g}--${p}`;
199
- class qr extends P {
199
+ const V = "v1.1.0", b = "GuideLinePlugin", g = `${b}@${V}`, qr = (p) => `${g}--${p}`;
200
+ class zr extends P {
200
201
  constructor(t, i) {
201
202
  super(t, i);
202
203
  d(this, "version", V);
@@ -355,6 +356,6 @@ class qr extends P {
355
356
  }
356
357
  }
357
358
  export {
358
- qr as default,
359
- Jr as pluginFlag
359
+ zr as default,
360
+ qr as pluginFlag
360
361
  };
@@ -4,7 +4,7 @@ import "../shared-utils/log.js";
4
4
  import "../shared-utils/to.js";
5
5
  import "@realsee/five";
6
6
  import "../shared-utils/five/changeMode.js";
7
- import { GuideLineItem as no } from "./GuideLineItem/index.js";
7
+ import { GuideLineItem as uo } from "./GuideLineItem/index.js";
8
8
  import "three";
9
9
  import "./utils/createLineGeometry.js";
10
10
  import "../vendor/polyline-normals/index.js";
@@ -70,6 +70,7 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
70
70
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
71
71
  import "../shared-utils/three/getNormal.js";
72
72
  import "../shared-utils/five/FiveDomEvents.js";
73
+ import "../shared-utils/five/calculateThreeMouse.js";
73
74
  import "../PanoTagPlugin/utils/tag/adaptConfig.js";
74
75
  import "../shared-utils/typescript/entries.js";
75
76
  import "../shared-utils/url/getUrl.js";
@@ -168,5 +169,5 @@ import "../CruisePlugin/utils/formatRad.js";
168
169
  import "../CruisePlugin/utils/linerValue.js";
169
170
  import "../CruisePlugin/utils/sleep.js";
170
171
  export {
171
- no as GuideLineItem
172
+ uo as GuideLineItem
172
173
  };
@@ -13,7 +13,7 @@ import "../PanoTagPlugin/controller/index.js";
13
13
  import "./Components/Tag.js";
14
14
  import "./utils/index.js";
15
15
  import "../vendor/object-assign-deep/objectAssignDeep.js";
16
- import { GuideLineModeItem as Ui } from "./GuideLineModeItem/index.js";
16
+ import { GuideLineModeItem as Vi } from "./GuideLineModeItem/index.js";
17
17
  import "../vendor/polyline-normals/index.js";
18
18
  import "../vendor/polyline-miter-util/index.js";
19
19
  import "../vendor/gl-vec2/add.js";
@@ -68,6 +68,7 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
68
68
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
69
69
  import "../shared-utils/three/getNormal.js";
70
70
  import "../shared-utils/five/FiveDomEvents.js";
71
+ import "../shared-utils/five/calculateThreeMouse.js";
71
72
  import "../PanoTagPlugin/utils/tag/adaptConfig.js";
72
73
  import "../shared-utils/typescript/entries.js";
73
74
  import "../shared-utils/url/getUrl.js";
@@ -151,5 +152,5 @@ import "../shared-utils/three/GLTFLoader.js";
151
152
  import "@realsee/five/gltf-loader";
152
153
  import "../shared-utils/five/fiveModelLoad.js";
153
154
  export {
154
- Ui as GuideLineModeItem
155
+ Vi as GuideLineModeItem
155
156
  };
@@ -1,6 +1,6 @@
1
1
  import t from "./Controller.js";
2
- import { GuideLineItem$1 as at } from "./GuideLineItem/index.js";
3
- import { GuideLineModeItem$1 as lt } from "./GuideLineModeItem/index.js";
2
+ import { GuideLineItem$1 as ft } from "./GuideLineItem/index.js";
3
+ import { GuideLineModeItem$1 as st } from "./GuideLineModeItem/index.js";
4
4
  import "../base/BasePluginWithData.js";
5
5
  import "../base/BasePlugin.js";
6
6
  import "../shared-utils/Subscribe.js";
@@ -81,6 +81,7 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
81
81
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
82
82
  import "../shared-utils/three/getNormal.js";
83
83
  import "../shared-utils/five/FiveDomEvents.js";
84
+ import "../shared-utils/five/calculateThreeMouse.js";
84
85
  import "../PanoTagPlugin/utils/tag/adaptConfig.js";
85
86
  import "../shared-utils/typescript/entries.js";
86
87
  import "../shared-utils/url/getUrl.js";
@@ -167,10 +168,10 @@ import "./utils/index.js";
167
168
  import "../shared-utils/to.js";
168
169
  import "../shared-utils/five/changeMode.js";
169
170
  import "../shared-utils/nearlyEqual.js";
170
- const ut = (i, o) => new t(i, o);
171
+ const Gt = (i, o) => new t(i, o);
171
172
  export {
172
- at as GuideLineItem,
173
- lt as GuideLineModeItem,
174
- ut as GuideLinePlugin,
175
- ut as default
173
+ ft as GuideLineItem,
174
+ st as GuideLineModeItem,
175
+ Gt as GuideLinePlugin,
176
+ Gt as default
176
177
  };
@@ -276,7 +276,7 @@ class Xe extends j {
276
276
  }
277
277
  }).appendTo(this.container), this.pointSelector = new x(this.five, {
278
278
  mode: this.editParams.pointSelectorMode,
279
- pointSelectorHelperParams: { magnifierParams: this.magnifierParams }
279
+ pointSelectorHelperParams: { magnifierParams: this.magnifierParams, container: this.container }
280
280
  }), this.pointSelector.enable(), this.polyline = new S({ model: this.model }), this.area = new w(void 0, {
281
281
  five: this.five,
282
282
  model: this.model,
@@ -59,11 +59,12 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
59
59
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
60
60
  import "../../shared-utils/three/getNormal.js";
61
61
  import "../../shared-utils/five/FiveDomEvents.js";
62
+ import "../../shared-utils/five/calculateThreeMouse.js";
62
63
  import "../utils/tag/adaptConfig.js";
63
64
  import "../../shared-utils/typescript/entries.js";
64
65
  import "../../shared-utils/url/getUrl.js";
65
66
  const T = new j.Raycaster();
66
- class Ge extends q {
67
+ class Je extends q {
67
68
  constructor(e) {
68
69
  super(e);
69
70
  }
@@ -75,72 +76,72 @@ class Ge extends q {
75
76
  if ((d == null ? void 0 : d.visible) !== void 0)
76
77
  return d.visible;
77
78
  {
78
- const o = [], c = (() => {
79
+ const s = [], c = (() => {
79
80
  var r, f, u;
80
- const s = (r = e.config.visibleConfig) != null ? r : {};
81
- if (typeof s == "function")
82
- return { value: s(this.five, { tag: e, distance: this.getDistance(e) }), checkedList: o, reason: "config function result" };
83
- if (s.keep === "hidden")
84
- return { value: !1, checkedList: o, reason: "config.keep is hidden" };
85
- if (s.keep === "visible")
86
- return { value: !0, checkedList: o, reason: "config.keep is visible" };
87
- if (s.visibleFiveMode !== void 0) {
88
- const a = typeof s.visibleFiveMode == "function" ? s.visibleFiveMode(e) : s.visibleFiveMode;
81
+ const o = (r = e.config.visibleConfig) != null ? r : {};
82
+ if (typeof o == "function")
83
+ return { value: o(this.five, { tag: e, distance: this.getDistance(e) }), checkedList: s, reason: "config function result" };
84
+ if (o.keep === "hidden")
85
+ return { value: !1, checkedList: s, reason: "config.keep is hidden" };
86
+ if (o.keep === "visible")
87
+ return { value: !0, checkedList: s, reason: "config.keep is visible" };
88
+ if (o.visibleFiveMode !== void 0) {
89
+ const a = typeof o.visibleFiveMode == "function" ? o.visibleFiveMode(e) : o.visibleFiveMode;
89
90
  let v = !1;
90
91
  if (Array.isArray(a) ? v = a.includes(n) : a === "ModelLike" ? v = H(n) : a === "PanoramaLike" ? v = !b(n) : a === "all" ? v = !0 : typeof a == "string" && (v = a === n), v === !1)
91
92
  return {
92
93
  value: !1,
93
- checkedList: o,
94
+ checkedList: s,
94
95
  reason: "current mode is not included in visibleFiveMode",
95
- visibleFiveMode: s.visibleFiveMode,
96
+ visibleFiveMode: o.visibleFiveMode,
96
97
  mode: n
97
98
  };
98
99
  }
99
- if (s.followModelVisibility === !0 && (n === "Floorplan" || n === "Mapview") && this.getVisibleByFloorIndex(e) === !1)
100
- return { value: !1, checkedList: o, reason: "followModelVisibility check failed" };
101
- if (b(n) && s.visiblePanoIndex !== void 0 && s.visiblePanoIndex !== "all" && t !== void 0) {
102
- if (o.push("visiblePanoIndex"), Array.isArray(s.visiblePanoIndex) && !s.visiblePanoIndex.includes(t))
100
+ if (o.followModelVisibility === !0 && (n === "Floorplan" || n === "Mapview") && this.getVisibleByFloorIndex(e) === !1)
101
+ return { value: !1, checkedList: s, reason: "followModelVisibility check failed" };
102
+ if (b(n) && o.visiblePanoIndex !== void 0 && o.visiblePanoIndex !== "all" && t !== void 0) {
103
+ if (s.push("visiblePanoIndex"), Array.isArray(o.visiblePanoIndex) && !o.visiblePanoIndex.includes(t))
103
104
  return {
104
105
  value: !1,
105
- checkedList: o,
106
- reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${t}, visiblePanoIndex: ${s.visiblePanoIndex}`
106
+ checkedList: s,
107
+ reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${t}, visiblePanoIndex: ${o.visiblePanoIndex}`
107
108
  };
108
- if (s.visiblePanoIndex === "current" && t !== ((f = e.fiveState) == null ? void 0 : f.panoIndex))
109
+ if (o.visiblePanoIndex === "current" && t !== ((f = e.fiveState) == null ? void 0 : f.panoIndex))
109
110
  return {
110
111
  value: !1,
111
- checkedList: o,
112
+ checkedList: s,
112
113
  reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${t}, tag.panoIndex: ${(u = e.fiveState) == null ? void 0 : u.panoIndex}`
113
114
  };
114
115
  }
115
- if (b(n) && s.visibleDistance !== void 0 && (o.push("visibleDistance"), s.visibleDistance !== "unLimited")) {
116
+ if (b(n) && o.visibleDistance !== void 0 && (s.push("visibleDistance"), o.visibleDistance !== "unLimited")) {
116
117
  const a = this.getDistance(e);
117
- if (h(a, s.visibleDistance) === !1)
118
+ if (h(a, o.visibleDistance) === !1)
118
119
  return {
119
120
  value: !1,
120
- checkedList: o,
121
- reason: `distance is not in visibleDistance. distance: ${a}, visibleDistance: ${s.visibleDistance}`
121
+ checkedList: s,
122
+ reason: `distance is not in visibleDistance. distance: ${a}, visibleDistance: ${o.visibleDistance}`
122
123
  };
123
124
  }
124
- if (b(n) && s.angleRange && O(e)) {
125
- o.push("angleRange");
125
+ if (b(n) && o.angleRange && O(e)) {
126
+ s.push("angleRange");
126
127
  const a = this.getAngle(e);
127
- if (h(a, s.angleRange) === !1)
128
- return { value: !1, checkedList: o, reason: `angle is not in angleRange. angle: ${a}, angleRange: ${s.angleRange}` };
128
+ if (h(a, o.angleRange) === !1)
129
+ return { value: !1, checkedList: s, reason: `angle is not in angleRange. angle: ${a}, angleRange: ${o.angleRange}` };
129
130
  }
130
- if (s.intersectRaycaster !== !1 && (typeof s.intersectRaycaster != "object" || s.intersectRaycaster.enabled !== !1)) {
131
- if (o.push("intersectRaycaster"), t === void 0)
131
+ if (o.intersectRaycaster !== !1 && (typeof o.intersectRaycaster != "object" || o.intersectRaycaster.enabled !== !1)) {
132
+ if (s.push("intersectRaycaster"), t === void 0)
132
133
  return {
133
134
  value: !1,
134
- checkedList: o,
135
+ checkedList: s,
135
136
  reason: `intersectRaycaster check failed: panoIndex is ${t}`
136
137
  };
137
138
  const a = this.getTagEnableByIntersect(e, t);
138
139
  if (a.value === !1)
139
- return Object.assign(a, { checkedList: o });
140
+ return Object.assign(a, { checkedList: s });
140
141
  }
141
142
  return {
142
143
  value: !0,
143
- checkedList: o,
144
+ checkedList: s,
144
145
  reason: "all check passed"
145
146
  };
146
147
  })();
@@ -171,8 +172,8 @@ class Ge extends q {
171
172
  return !1;
172
173
  })();
173
174
  t.unfolded = d;
174
- const o = this.getUnfoldedByCamera(e);
175
- return o !== void 0 ? o : t.unfolded;
175
+ const s = this.getUnfoldedByCamera(e);
176
+ return s !== void 0 ? s : t.unfolded;
176
177
  }
177
178
  }
178
179
  /**
@@ -277,8 +278,8 @@ class Ge extends q {
277
278
  }
278
279
  /** 通过射线检测标签可用性 */
279
280
  getTagEnableByIntersect(e, i) {
280
- var s, r, f, u, a, v;
281
- const l = U(U((s = this.getTagConfig(e).visibleConfig) != null ? s : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, n = b(this.five.getCurrentState().mode) ? (r = this.five.work.observers[t]) == null ? void 0 : r.position : this.five.camera.position;
281
+ var o, r, f, u, a, v;
282
+ const l = U(U((o = this.getTagConfig(e).visibleConfig) != null ? o : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, n = b(this.five.getCurrentState().mode) ? (r = this.five.work.observers[t]) == null ? void 0 : r.position : this.five.camera.position;
282
283
  if (n === void 0)
283
284
  return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
284
285
  const d = X(
@@ -288,7 +289,7 @@ class Ge extends q {
288
289
  return m === "center" ? I(e) : m === "corner" ? Z(e) : Array.isArray(m) ? m : [];
289
290
  })()
290
291
  );
291
- let o = 0, c = 0;
292
+ let s = 0, c = 0;
292
293
  for (const m of d) {
293
294
  const g = new j.Vector3().subVectors(m, n).normalize();
294
295
  T.set(n, g);
@@ -301,33 +302,33 @@ class Ge extends q {
301
302
  }).filter(N), [w] = T.intersectObjects(B, !0);
302
303
  return w;
303
304
  })(), S = (f = l.distanceAccuracy) != null ? f : 0.01;
304
- Math.min((u = P == null ? void 0 : P.distance) != null ? u : 1 / 0, (a = x == null ? void 0 : x.distance) != null ? a : 1 / 0) + S >= F ? o++ : c++;
305
+ Math.min((u = P == null ? void 0 : P.distance) != null ? u : 1 / 0, (a = x == null ? void 0 : x.distance) != null ? a : 1 / 0) + S >= F ? s++ : c++;
305
306
  const V = (v = l.needPassed) != null ? v : 1;
306
- if (o >= V)
307
+ if (s >= V)
307
308
  return { value: !0 };
308
309
  }
309
310
  return c === 0 ? { value: !0 } : {
310
311
  value: !1,
311
312
  reason: {
312
313
  type: "intersectRaycaster check failed",
313
- passedCount: o,
314
+ passedCount: s,
314
315
  needPassed: l.needPassed
315
316
  }
316
317
  };
317
318
  }
318
319
  /** 检测是否匹配当前楼层 */
319
320
  getVisibleByFloorIndex(e) {
320
- var n, d, o, c, s, r, f;
321
+ var n, d, s, c, o, r, f;
321
322
  let i = 0;
322
323
  const l = (n = e.fiveState) == null ? void 0 : n.panoIndex;
323
324
  l !== void 0 ? i = (d = this.five.work.observers[l]) == null ? void 0 : d.floorIndex : i = W(
324
325
  this.five.work.observers,
325
- (f = (r = (c = (o = e.model) == null ? void 0 : o.object) == null ? void 0 : c.position) != null ? r : (s = e.mediaPlane) == null ? void 0 : s.position) != null ? f : I(e)
326
+ (f = (r = (c = (s = e.model) == null ? void 0 : s.object) == null ? void 0 : c.position) != null ? r : (o = e.mediaPlane) == null ? void 0 : o.position) != null ? f : I(e)
326
327
  );
327
328
  const t = this.five.model.shownFloor;
328
329
  return t === null || t === i;
329
330
  }
330
331
  }
331
332
  export {
332
- Ge as TagComputer
333
+ Je as TagComputer
333
334
  };
@@ -70,6 +70,7 @@ import "../../vendor/svelte/store/index.js";
70
70
  import "../../vendor/svelte/internal/index.js";
71
71
  import "../../shared-utils/device.js";
72
72
  import "../../shared-utils/five/FiveDomEvents.js";
73
+ import "../../shared-utils/five/calculateThreeMouse.js";
73
74
  import "../utils/tag/adaptConfig.js";
74
75
  import "../../shared-utils/typescript/entries.js";
75
76
  import "../../shared-utils/url/getUrl.js";
@@ -157,7 +158,7 @@ import "../../CSS3DRenderPlugin/Controller.js";
157
158
  import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
158
159
  import "@realsee/five/gltf-loader";
159
160
  const B = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map();
160
- class hi extends O {
161
+ class ui extends O {
161
162
  constructor(t) {
162
163
  super(t);
163
164
  P(this, "group", new R());
@@ -464,5 +465,5 @@ class hi extends O {
464
465
  }
465
466
  }
466
467
  export {
467
- hi as TagRender
468
+ ui as TagRender
468
469
  };
@@ -58,7 +58,8 @@ import "../Assets/Icon.js";
58
58
  import "../../shared-utils/three/getPositionsByObjectFit.js";
59
59
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
60
60
  import "../../shared-utils/three/getNormal.js";
61
- class ri extends oe {
61
+ import "../../shared-utils/five/calculateThreeMouse.js";
62
+ class si extends oe {
62
63
  constructor(e) {
63
64
  super(e);
64
65
  d(this, "tags", []);
@@ -324,5 +325,5 @@ class ri extends oe {
324
325
  }
325
326
  }
326
327
  export {
327
- ri as TagUtil
328
+ si as TagUtil
328
329
  };
@@ -85,6 +85,7 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
85
85
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
86
86
  import "../../shared-utils/three/getNormal.js";
87
87
  import "../../shared-utils/five/FiveDomEvents.js";
88
+ import "../../shared-utils/five/calculateThreeMouse.js";
88
89
  import "../utils/tag/adaptConfig.js";
89
90
  import "../../shared-utils/typescript/entries.js";
90
91
  import "../../shared-utils/url/getUrl.js";
@@ -166,8 +167,8 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
166
167
  import "../../shared-utils/three/GLTFLoader.js";
167
168
  import "@realsee/five/gltf-loader";
168
169
  import "../../shared-utils/animationFrame/index.js";
169
- const P = "Dnalogel-PanoTagPlugin", Ai = (d) => `${P}--${d}`;
170
- class Di extends N {
170
+ const P = "Dnalogel-PanoTagPlugin", Di = (d) => `${P}--${d}`;
171
+ class Pi extends N {
171
172
  constructor(e, t) {
172
173
  super(e);
173
174
  /** state */
@@ -533,7 +534,7 @@ class Di extends N {
533
534
  }
534
535
  }
535
536
  export {
536
- Di as PanoTagPluginController,
537
- Di as default,
538
- Ai as pluginFlag
537
+ Pi as PanoTagPluginController,
538
+ Pi as default,
539
+ Di as pluginFlag
539
540
  };
@@ -1,7 +1,7 @@
1
1
  import r from "./controller/index.js";
2
- import { pluginFlag as Kt } from "./controller/index.js";
3
- import { defaultGlobalConfig as Mt } from "./typings/tag/TagConfig.js";
4
- import { ContentType as Ot, DimensionType as Qt, PointType as Rt } from "./Archive/deprecated.js";
2
+ import { pluginFlag as Lt } from "./controller/index.js";
3
+ import { defaultGlobalConfig as Nt } from "./typings/tag/TagConfig.js";
4
+ import { ContentType as Qt, DimensionType as Rt, PointType as St } from "./Archive/deprecated.js";
5
5
  import "three";
6
6
  import "@realsee/five";
7
7
  import "../vendor/object-assign-deep/objectAssignDeep.js";
@@ -56,6 +56,7 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
56
56
  import "../shared-utils/three/FragmentTransparencyMaterial.js";
57
57
  import "../shared-utils/three/getNormal.js";
58
58
  import "../shared-utils/five/FiveDomEvents.js";
59
+ import "../shared-utils/five/calculateThreeMouse.js";
59
60
  import "./utils/tag/adaptConfig.js";
60
61
  import "../shared-utils/typescript/entries.js";
61
62
  import "../shared-utils/url/getUrl.js";
@@ -140,14 +141,14 @@ import "@realsee/five/gltf-loader";
140
141
  import "../shared-utils/animationFrame/BetterTween.js";
141
142
  import "../shared-utils/animationFrame/index.js";
142
143
  import "../shared-utils/five/fiveModelLoad.js";
143
- const Ht = (o, t) => new r(o, t);
144
+ const It = (o, t) => new r(o, t);
144
145
  export {
145
- Ot as ContentType,
146
- Qt as DimensionType,
147
- Ht as PanoTagPlugin,
146
+ Qt as ContentType,
147
+ Rt as DimensionType,
148
+ It as PanoTagPlugin,
148
149
  r as PanoTagPluginController,
149
- Rt as PointType,
150
- Ht as default,
151
- Mt as defaultGlobalConfig,
152
- Kt as pluginFlag
150
+ St as PointType,
151
+ It as default,
152
+ Nt as defaultGlobalConfig,
153
+ Lt as pluginFlag
153
154
  };
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.0.0-13");
17
+ i(this, "VERSION", "3.0.0-15");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
package/libs/index.js CHANGED
@@ -281,6 +281,7 @@ import "./shared-utils/three/getPositionsByObjectFit.js";
281
281
  import "./shared-utils/three/FragmentTransparencyMaterial.js";
282
282
  import "./shared-utils/three/getNormal.js";
283
283
  import "./shared-utils/five/FiveDomEvents.js";
284
+ import "./shared-utils/five/calculateThreeMouse.js";
284
285
  import "./PanoTagPlugin/utils/tag/adaptConfig.js";
285
286
  import "./shared-utils/typescript/entries.js";
286
287
  import "./shared-utils/url/getUrl.js";
@@ -408,7 +409,6 @@ import "./shared-utils/three/objects/LineSegments.js";
408
409
  import "./components/AreaLabel/LabelItem.js";
409
410
  import "./components/AreaLabel/Assets/roomLabelBg.js";
410
411
  import "./CurrentPanoImagePlugin/Controller.js";
411
- import "./shared-utils/five/adapt.js";
412
412
  import "./shared-utils/math/Interval.js";
413
413
  import "./shared-utils/math/Rectangle.js";
414
414
  import "./shared-utils/five/index.js";
@@ -7,7 +7,7 @@
7
7
  * 4. 重构之后只会在 wantsTapGesture 事件触发的时候做射线检测
8
8
  */
9
9
  import type { Five } from '@realsee/five';
10
- import type * as THREE from 'three';
10
+ import * as THREE from 'three';
11
11
  interface EventMap {
12
12
  /**
13
13
  * @description 点击事件