@realsee/dnalogel 2.26.2 → 2.27.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (408) hide show
  1. package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +1 -13
  2. package/dist/PanoTagPlugin/controller/TagCache.d.ts +6 -3
  3. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +21 -15
  4. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +7 -2
  5. package/dist/PanoTagPlugin/controller/index.d.ts +3 -3
  6. package/dist/PanoTagPlugin/typings/controller.d.ts +3 -1
  7. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -2
  8. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +26 -4
  9. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +2 -0
  10. package/dist/PanoTagPlugin/utils/tagPosition.d.ts +2 -3
  11. package/dist/index.cjs.js +44 -45
  12. package/dist/index.js +2880 -2846
  13. package/dist/index.umd.js +36 -37
  14. package/dist/shared-utils/five/FiveDomEvents.d.ts +6 -0
  15. package/dist/shared-utils/positionToVector3.d.ts +16 -0
  16. package/dist/shared-utils/safeObj.d.ts +1 -1
  17. package/dist/shared-utils/util.d.ts +1 -0
  18. package/docs/assets/search.js +1 -1
  19. package/docs/classes/CSS3DRender.html +5 -3
  20. package/docs/classes/CruisePluginController.html +5 -3
  21. package/docs/classes/GuideLineItem.GuideLineItem.html +5 -3
  22. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +5 -3
  23. package/docs/classes/Magnifier.html +5 -3
  24. package/docs/classes/ModelRoomLabelController.html +5 -3
  25. package/docs/classes/Object3DHelperController.html +5 -3
  26. package/docs/classes/PaintBrush.html +5 -3
  27. package/docs/classes/PanoMeasurePluginLine.html +5 -3
  28. package/docs/classes/PanoMeasurePluginModel.html +5 -3
  29. package/docs/classes/PanoMeasurePluginPoint.html +5 -3
  30. package/docs/classes/PanoMeasurePluginPolyline.html +5 -3
  31. package/docs/classes/PanoTagPluginController.html +57 -48
  32. package/docs/classes/Util.BetterTween.html +5 -3
  33. package/docs/classes/Util.Interval.html +5 -3
  34. package/docs/classes/Util.Magnifier.html +5 -3
  35. package/docs/classes/Util.PointDomHelper.html +5 -3
  36. package/docs/classes/Util.PointHelper.html +5 -3
  37. package/docs/classes/Util.PointSelectorHelper.html +5 -3
  38. package/docs/classes/Util.Rectangle.html +5 -3
  39. package/docs/enums/CameraMovementEffect.html +5 -3
  40. package/docs/enums/ContentType.html +5 -3
  41. package/docs/enums/DIRECTION.html +5 -3
  42. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +5 -3
  43. package/docs/enums/DimensionType.html +5 -3
  44. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +5 -3
  45. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +5 -3
  46. package/docs/enums/PaintBrushTypeEnum.html +5 -3
  47. package/docs/enums/PointType.html +5 -3
  48. package/docs/enums/Rotation.html +5 -3
  49. package/docs/functions/CSS3DRenderPlugin.html +5 -3
  50. package/docs/functions/CameraMovementPlugin.html +5 -3
  51. package/docs/functions/CruisePlugin.html +5 -3
  52. package/docs/functions/GuideLinePlugin.html +5 -3
  53. package/docs/functions/ItemLabelPlugin.html +5 -3
  54. package/docs/functions/MapviewFloorplanPlugin.html +5 -3
  55. package/docs/functions/ModelChassisCompassPlugin.html +5 -3
  56. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -3
  57. package/docs/functions/ModelFloorplanPlugin.html +5 -3
  58. package/docs/functions/ModelItemLabelPlugin.html +5 -3
  59. package/docs/functions/ModelRoomLabelPlugin.html +5 -3
  60. package/docs/functions/ModelTVVideoPlugin.html +5 -3
  61. package/docs/functions/ModelViewPlugin.html +5 -3
  62. package/docs/functions/Object3DHelperPlugin.html +5 -3
  63. package/docs/functions/PanoCompassPlugin.html +5 -3
  64. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -3
  65. package/docs/functions/PanoDoorLabelPlugin.html +5 -3
  66. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -3
  67. package/docs/functions/PanoMeasurePlugin.html +5 -3
  68. package/docs/functions/PanoRulerPlugin.html +5 -3
  69. package/docs/functions/PanoRulerProPlugin.html +5 -3
  70. package/docs/functions/PanoSpatialTagPlugin.html +5 -3
  71. package/docs/functions/PanoTagPlugin.html +5 -3
  72. package/docs/functions/PanoVideoPlugin.html +5 -3
  73. package/docs/functions/PipelinePlugin.html +5 -3
  74. package/docs/functions/TopviewFloorplanPlugin.html +5 -3
  75. package/docs/functions/Util.absoluteUrl.html +5 -3
  76. package/docs/functions/Util.getCoordsFromClient.html +5 -3
  77. package/docs/functions/Util.getCoordsFromElement.html +5 -3
  78. package/docs/functions/Util.getFrameTime.html +5 -3
  79. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -3
  80. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -3
  81. package/docs/functions/Util.isAbsoluteURL.html +5 -3
  82. package/docs/functions/Util.isModelLike.html +5 -3
  83. package/docs/functions/Util.isNil.html +5 -3
  84. package/docs/functions/Util.isPanoramaLike.html +5 -3
  85. package/docs/functions/Util.nextFrame.html +5 -3
  86. package/docs/functions/Util.notNil.html +5 -3
  87. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -3
  88. package/docs/functions/Util.tweenProgress.html +5 -3
  89. package/docs/functions/Util.uuid.html +5 -3
  90. package/docs/functions/pluginFlag.html +6 -4
  91. package/docs/index.html +6 -4
  92. package/docs/interfaces/AddTagConfig.html +7 -5
  93. package/docs/interfaces/CSS3DRenderPluginEventMap.html +5 -3
  94. package/docs/interfaces/CSS3DRenderPluginState.html +5 -3
  95. package/docs/interfaces/CameraMovementPluginExportType.html +5 -3
  96. package/docs/interfaces/CruisePluginTypes.Config.html +5 -3
  97. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +5 -3
  98. package/docs/interfaces/CruisePluginTypes.EventMap.html +5 -3
  99. package/docs/interfaces/CruisePluginTypes.MoveAction.html +5 -3
  100. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +5 -3
  101. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +5 -3
  102. package/docs/interfaces/CruisePluginTypes.PluginData.html +5 -3
  103. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -3
  104. package/docs/interfaces/CruisePluginTypes.PluginState.html +5 -3
  105. package/docs/interfaces/EventMap.html +14 -12
  106. package/docs/interfaces/FloorplanBounding.html +5 -3
  107. package/docs/interfaces/FloorplanData.html +5 -3
  108. package/docs/interfaces/FloorplanEntrance.html +5 -3
  109. package/docs/interfaces/FloorplanExtraObject.html +5 -3
  110. package/docs/interfaces/FloorplanExtraObject3D.html +5 -3
  111. package/docs/interfaces/FloorplanFloorData.html +5 -3
  112. package/docs/interfaces/FloorplanImagePosition.html +5 -3
  113. package/docs/interfaces/FloorplanObserver.html +5 -3
  114. package/docs/interfaces/FloorplanOutlineItem.html +5 -3
  115. package/docs/interfaces/FloorplanPosition.html +5 -3
  116. package/docs/interfaces/FloorplanRoomItem.html +5 -3
  117. package/docs/interfaces/FloorplanRoomLabelItem.html +5 -3
  118. package/docs/interfaces/FloorplanServerBounding.html +5 -3
  119. package/docs/interfaces/FloorplanServerComputedData.html +5 -3
  120. package/docs/interfaces/FloorplanServerData.html +5 -3
  121. package/docs/interfaces/FloorplanServerDoorItem.html +5 -3
  122. package/docs/interfaces/FloorplanServerDoorPosition.html +5 -3
  123. package/docs/interfaces/FloorplanServerEntrance.html +5 -3
  124. package/docs/interfaces/FloorplanServerFloorData.html +5 -3
  125. package/docs/interfaces/FloorplanServerImagePosition.html +5 -3
  126. package/docs/interfaces/FloorplanServerObserver.html +5 -3
  127. package/docs/interfaces/FloorplanServerOutlineItem.html +5 -3
  128. package/docs/interfaces/FloorplanServerPosition.html +5 -3
  129. package/docs/interfaces/FloorplanServerRoomItem.html +5 -3
  130. package/docs/interfaces/FloorplanServerRoomLabelItem.html +5 -3
  131. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +5 -3
  132. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +5 -3
  133. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -3
  134. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -3
  135. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -3
  136. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +5 -3
  137. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +5 -3
  138. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +5 -3
  139. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +5 -3
  140. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +5 -3
  141. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +5 -3
  142. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -3
  143. package/docs/interfaces/GuideLinePluginType.PluginState.html +5 -3
  144. package/docs/interfaces/GuideLinePluginType.Route.html +5 -3
  145. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +5 -3
  146. package/docs/interfaces/HelperOffset.html +5 -3
  147. package/docs/interfaces/ImagePlaneGroup.html +5 -3
  148. package/docs/interfaces/ItemLabelPluginData.html +5 -3
  149. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +5 -3
  150. package/docs/interfaces/ItemLabelPluginParametersType.html +5 -3
  151. package/docs/interfaces/MinMax.html +5 -3
  152. package/docs/interfaces/ModelChassisCompassPluginData.html +5 -3
  153. package/docs/interfaces/ModelChassisCompassPluginExportType.html +5 -3
  154. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +5 -3
  155. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +5 -3
  156. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +5 -3
  157. package/docs/interfaces/ModelItemLabelPluginData.html +5 -3
  158. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +5 -3
  159. package/docs/interfaces/ModelItemLabelPluginParametersType.html +5 -3
  160. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -3
  161. package/docs/interfaces/ModelTVVideoPluginData.html +5 -3
  162. package/docs/interfaces/ModelTVVideoPluginExportType.html +5 -3
  163. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -3
  164. package/docs/interfaces/ModelViewPluginExportType.html +5 -3
  165. package/docs/interfaces/Object3DHelperState.html +5 -3
  166. package/docs/interfaces/ObjectHelperControllers.html +5 -3
  167. package/docs/interfaces/PaintBrushAction.html +5 -3
  168. package/docs/interfaces/PaintBrushConfigs.html +5 -3
  169. package/docs/interfaces/PaintBrushState.html +5 -3
  170. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +5 -3
  171. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -3
  172. package/docs/interfaces/PanoMeasureParameterType.html +5 -3
  173. package/docs/interfaces/PanoMeasurePluginLineJson.html +5 -3
  174. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +5 -3
  175. package/docs/interfaces/PanoMeasurePluginPointJson.html +5 -3
  176. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +5 -3
  177. package/docs/interfaces/PanoRulerPluginExportType.html +5 -3
  178. package/docs/interfaces/PanoRulerPluginOptions.html +5 -3
  179. package/docs/interfaces/PanoRulerPluginParameterType.html +5 -3
  180. package/docs/interfaces/PanoRulerProPluginExportType.html +5 -3
  181. package/docs/interfaces/PanoRulerProPluginOptions.html +5 -3
  182. package/docs/interfaces/PanoRulerProPluginParameterType.html +5 -3
  183. package/docs/interfaces/PanoRulerProPluginState.html +5 -3
  184. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -3
  185. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -3
  186. package/docs/interfaces/PanoSpatialTagPluginData.html +5 -3
  187. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +5 -3
  188. package/docs/interfaces/PanoSpatialTagPluginExportType.html +5 -3
  189. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +5 -3
  190. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +5 -3
  191. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +5 -3
  192. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +5 -3
  193. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -3
  194. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -3
  195. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -3
  196. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +5 -3
  197. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -3
  198. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -3
  199. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +5 -3
  200. package/docs/interfaces/Point.html +5 -3
  201. package/docs/interfaces/Room.html +5 -3
  202. package/docs/interfaces/RoomInfo.html +5 -3
  203. package/docs/interfaces/RoomLabel.html +5 -3
  204. package/docs/interfaces/RoomRules.html +5 -3
  205. package/docs/interfaces/Rooms.html +5 -3
  206. package/docs/interfaces/Scissor.html +5 -3
  207. package/docs/interfaces/State.html +6 -4
  208. package/docs/interfaces/TagCacheInterface.html +22 -13
  209. package/docs/interfaces/TagConfig.html +27 -15
  210. package/docs/interfaces/TagGLTFObjectGroup.html +5 -3
  211. package/docs/interfaces/TagIconUrl.html +5 -3
  212. package/docs/interfaces/TagObjectGroup.html +5 -3
  213. package/docs/interfaces/TagStyle.html +5 -3
  214. package/docs/interfaces/Tags.html +16 -14
  215. package/docs/interfaces/TemporaryState.html +7 -5
  216. package/docs/interfaces/Util.MagnifierParameter.html +5 -3
  217. package/docs/interfaces/Util.MouseGroupParameter.html +5 -3
  218. package/docs/interfaces/Util.PointIntersection.html +5 -3
  219. package/docs/modules/CruisePluginTypes.html +5 -3
  220. package/docs/modules/GuideLineItem.html +5 -3
  221. package/docs/modules/GuideLineModeItem.html +5 -3
  222. package/docs/modules/GuideLinePluginType.html +5 -3
  223. package/docs/modules/PanoVideoPluginType.html +5 -3
  224. package/docs/modules/Util.html +5 -3
  225. package/docs/modules.html +8 -4
  226. package/docs/types/ArrayPosition.html +5 -3
  227. package/docs/types/AudioAppearance.html +5 -3
  228. package/docs/types/AudioTagTypeConfigKey.html +5 -3
  229. package/docs/types/CSS3DRenderExportType.html +5 -3
  230. package/docs/types/CSS3DRenderPluginExportType.html +5 -3
  231. package/docs/types/CSS3DRenderPluginParameterType.html +5 -3
  232. package/docs/types/ClassFunctionParameters.html +5 -3
  233. package/docs/types/Color.html +5 -3
  234. package/docs/types/ContentTypeConfigKey.html +5 -3
  235. package/docs/types/ContentTypeConfigKeySplit.html +6 -4
  236. package/docs/types/ContentTypeMap.html +5 -3
  237. package/docs/types/Create3DDomContainerReturnType.html +5 -3
  238. package/docs/types/Create3DElementReturnType.html +5 -3
  239. package/docs/types/CruisePluginExportType.html +5 -3
  240. package/docs/types/CruisePluginTypes.CruiseData.html +5 -3
  241. package/docs/types/CruisePluginTypes.MoveEffect.html +5 -3
  242. package/docs/types/DeprecatedMediaPlaneProperty.html +5 -3
  243. package/docs/types/DeprecatedTagProperty.html +5 -3
  244. package/docs/types/Direction-1.html +5 -3
  245. package/docs/types/Direction4.html +5 -3
  246. package/docs/types/ElementRenderer.html +5 -3
  247. package/docs/types/FloorplanRuleLabels.html +5 -3
  248. package/docs/types/FloorplanServerRuleLabels.html +5 -3
  249. package/docs/types/GuideLinePluginExportType.html +5 -3
  250. package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -3
  251. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -3
  252. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -3
  253. package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -3
  254. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +5 -3
  255. package/docs/types/GuideLinePluginType.PathItem.html +5 -3
  256. package/docs/types/GuideLinePluginType.PluginData.html +5 -3
  257. package/docs/types/HelperEventMap.html +5 -3
  258. package/docs/types/LoadTagConfig.html +6 -4
  259. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -3
  260. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -3
  261. package/docs/types/MediaData.html +5 -3
  262. package/docs/types/MediaStore.html +6 -4
  263. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -3
  264. package/docs/types/ModelFloorplanPluginParameterType.html +5 -3
  265. package/docs/types/ModelFloorplanPluginReturnType.html +5 -3
  266. package/docs/types/ModelRoomLabelPluginParameters.html +5 -3
  267. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -3
  268. package/docs/types/MoveArgs.html +5 -3
  269. package/docs/types/MoveOpts.html +5 -3
  270. package/docs/types/Object3DHelperEventMap.html +5 -3
  271. package/docs/types/ObjectFit.html +5 -3
  272. package/docs/types/PaintBrushEventMap.html +5 -3
  273. package/docs/types/PanoCompassPluginData.html +5 -3
  274. package/docs/types/PanoCompassPluginExportType.html +5 -3
  275. package/docs/types/PanoCompassPluginParameterType.html +5 -3
  276. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -3
  277. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -3
  278. package/docs/types/PanoIndex.html +5 -3
  279. package/docs/types/PanoMeasurePluginEvent.html +5 -3
  280. package/docs/types/PanoMeasureReturnType.html +5 -3
  281. package/docs/types/PanoSpatialTagPluginId.html +5 -3
  282. package/docs/types/PanoTagPluginExportInterface.html +5 -3
  283. package/docs/types/PanoTagPluginParamsInterface.html +5 -3
  284. package/docs/types/PanoVideoPluginParameterType.html +5 -3
  285. package/docs/types/PanoVideoPluginReturnType.html +5 -3
  286. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -3
  287. package/docs/types/PipelinePluginParameterType.html +5 -3
  288. package/docs/types/PipelinePluginReturnType.html +5 -3
  289. package/docs/types/PlaneTag.html +6 -4
  290. package/docs/types/Point2DTag.html +6 -4
  291. package/docs/types/Point3DTag.html +6 -4
  292. package/docs/types/PointTag.html +6 -4
  293. package/docs/types/PointTagInstance.html +6 -4
  294. package/docs/types/Position.html +5 -3
  295. package/docs/types/RotateArgs.html +5 -3
  296. package/docs/types/RotateOpts.html +5 -3
  297. package/docs/types/RuleLabelsKey.html +5 -3
  298. package/docs/types/RuleLabelsValue.html +5 -3
  299. package/docs/types/StickType.html +5 -3
  300. package/docs/types/Tag.html +6 -4
  301. package/docs/types/Tag2D.html +5 -3
  302. package/docs/types/Tag3D.html +5 -3
  303. package/docs/types/TagConfigByKey.html +365 -0
  304. package/docs/types/TagContentType.html +5 -3
  305. package/docs/types/TagDimensionType.html +5 -3
  306. package/docs/types/TagElement.html +5 -3
  307. package/docs/types/TagEvents.html +6 -4
  308. package/docs/types/TagGLTFObject.html +5 -3
  309. package/docs/types/TagHooks.html +6 -4
  310. package/docs/types/TagId.html +5 -3
  311. package/docs/types/TagInstance.html +5 -3
  312. package/docs/types/TagPointType.html +5 -3
  313. package/docs/types/TagRendererMap.html +5 -3
  314. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -3
  315. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -3
  316. package/docs/types/WorkCode.html +5 -3
  317. package/docs/variables/FLOOR_TYPE_MAP.html +5 -3
  318. package/docs/variables/PLUGIN.html +5 -3
  319. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -3
  320. package/docs/variables/ROOM_TYPE_MAP.html +5 -3
  321. package/docs/variables/defaultGlobalConfig.html +360 -0
  322. package/docs/variables/itemLabelPluginServerParams.html +5 -3
  323. package/docs/variables/modelItemLabelPluginServerParams.html +5 -3
  324. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -3
  325. package/libs/CSS3DRenderPlugin/Controller.js +1 -1
  326. package/libs/CSS3DRenderPlugin/index.js +1 -1
  327. package/libs/CSS3DRenderPlugin/utils/index.js +1 -1
  328. package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +1 -13
  329. package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +4 -4
  330. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +1 -1
  331. package/libs/CruisePlugin/Controller.js +6 -3
  332. package/libs/CruisePlugin/index.js +9 -6
  333. package/libs/GuideLinePlugin/Controller.js +8 -5
  334. package/libs/GuideLinePlugin/GuideLineItem.js +6 -3
  335. package/libs/GuideLinePlugin/GuideLineModeItem.js +6 -3
  336. package/libs/GuideLinePlugin/index.js +11 -8
  337. package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
  338. package/libs/ModelTVVideoPlugin/index.js +1 -1
  339. package/libs/Object3DHelperPlugin/Controller.js +1 -1
  340. package/libs/Object3DHelperPlugin/index.js +1 -1
  341. package/libs/PanoCompassPlugin/Controller.js +1 -1
  342. package/libs/PanoCompassPlugin/index.js +1 -1
  343. package/libs/PanoDoorLabelPlugin/BaseController.js +1 -1
  344. package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
  345. package/libs/PanoDoorLabelPlugin/index.js +1 -1
  346. package/libs/PanoMeasurePlugin/Components/Controller0.js +1 -1
  347. package/libs/PanoMeasurePlugin/Components/Controller1.js +1 -1
  348. package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
  349. package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -1
  350. package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
  351. package/libs/PanoMeasurePlugin/Model/area.js +1 -1
  352. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -1
  353. package/libs/PanoMeasurePlugin/index.js +1 -1
  354. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +1 -1
  355. package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
  356. package/libs/PanoSpatialTagPlugin/index.js +1 -1
  357. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -1
  358. package/libs/PanoTagPlugin/Components/Tag/index.js +1 -1
  359. package/libs/PanoTagPlugin/Components/TagContainer.js +1 -1
  360. package/libs/PanoTagPlugin/Components/TagItem.js +1 -1
  361. package/libs/PanoTagPlugin/controller/TagCache.d.ts +6 -3
  362. package/libs/PanoTagPlugin/controller/TagCache.js +17 -21
  363. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +21 -15
  364. package/libs/PanoTagPlugin/controller/TagComputer.js +187 -188
  365. package/libs/PanoTagPlugin/controller/TagRender.js +69 -66
  366. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +7 -2
  367. package/libs/PanoTagPlugin/controller/TagUtil.js +160 -141
  368. package/libs/PanoTagPlugin/controller/index.d.ts +3 -3
  369. package/libs/PanoTagPlugin/controller/index.js +57 -53
  370. package/libs/PanoTagPlugin/index.js +14 -10
  371. package/libs/PanoTagPlugin/typings/controller.d.ts +3 -1
  372. package/libs/PanoTagPlugin/typings/index.js +6 -4
  373. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -2
  374. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +26 -4
  375. package/libs/PanoTagPlugin/typings/tag/TagConfig.js +13 -1
  376. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +2 -0
  377. package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -1
  378. package/libs/PanoTagPlugin/utils/index.js +15 -15
  379. package/libs/PanoTagPlugin/utils/planeNormal.js +1 -1
  380. package/libs/PanoTagPlugin/utils/tagPosition.d.ts +2 -3
  381. package/libs/PanoTagPlugin/utils/tagPosition.js +17 -18
  382. package/libs/PanoVideoPlugin/Controller.js +1 -1
  383. package/libs/PanoVideoPlugin/VideoMeshController.js +1 -1
  384. package/libs/PanoVideoPlugin/index.js +1 -1
  385. package/libs/PipelinePlugin/Controller.js +1 -1
  386. package/libs/PipelinePlugin/index.js +1 -1
  387. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +1 -1
  388. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +1 -1
  389. package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -1
  390. package/libs/base/BasePlugin.js +1 -1
  391. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
  392. package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
  393. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
  394. package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
  395. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
  396. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
  397. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
  398. package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
  399. package/libs/index.js +111 -108
  400. package/libs/shared-utils/five/FiveDomEvents.d.ts +6 -0
  401. package/libs/shared-utils/five/FiveDomEvents.js +53 -48
  402. package/libs/shared-utils/logger.js +1 -1
  403. package/libs/shared-utils/positionToVector3.d.ts +16 -0
  404. package/libs/shared-utils/positionToVector3.js +12 -0
  405. package/libs/shared-utils/safeObj.d.ts +1 -1
  406. package/libs/shared-utils/util.d.ts +1 -0
  407. package/libs/shared-utils/util.js +6 -0
  408. package/package.json +1 -1
@@ -13,7 +13,7 @@ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
13
13
  import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
14
14
  import "../CSS3DRenderPlugin/utils/even.js";
15
15
  import "../shared-utils/Subscribe.js";
16
- import "../CSS3DRenderPlugin/utils/positionToVector3.js";
16
+ import "../shared-utils/positionToVector3.js";
17
17
  import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
18
18
  import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
19
19
  import "../shared-utils/three/centerPoint.js";
@@ -44,7 +44,7 @@ import "three/examples/jsm/renderers/CSS3DRenderer";
44
44
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
45
45
  import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
46
46
  import "../CSS3DRenderPlugin/utils/even.js";
47
- import "../CSS3DRenderPlugin/utils/positionToVector3.js";
47
+ import "../shared-utils/positionToVector3.js";
48
48
  import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
49
49
  import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
50
50
  import "../shared-utils/three/centerPoint.js";
@@ -12,7 +12,7 @@ import "three/examples/jsm/renderers/CSS3DRenderer";
12
12
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
13
13
  import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
14
14
  import "../CSS3DRenderPlugin/utils/even.js";
15
- import "../CSS3DRenderPlugin/utils/positionToVector3.js";
15
+ import "../shared-utils/positionToVector3.js";
16
16
  import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
17
17
  import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
18
18
  import "../shared-utils/three/centerPoint.js";
@@ -15,7 +15,7 @@ import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
15
15
  import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
16
16
  import "../../../CSS3DRenderPlugin/utils/even.js";
17
17
  import "../../../shared-utils/Subscribe.js";
18
- import "../../../CSS3DRenderPlugin/utils/positionToVector3.js";
18
+ import "../../../shared-utils/positionToVector3.js";
19
19
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
20
20
  import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
21
21
  import "../../../shared-utils/three/centerPoint.js";
@@ -15,7 +15,7 @@ import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
15
15
  import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
16
16
  import "../../../CSS3DRenderPlugin/utils/even.js";
17
17
  import "../../../shared-utils/Subscribe.js";
18
- import "../../../CSS3DRenderPlugin/utils/positionToVector3.js";
18
+ import "../../../shared-utils/positionToVector3.js";
19
19
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
20
20
  import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
21
21
  import "../../../shared-utils/three/centerPoint.js";
@@ -40,7 +40,7 @@ import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
40
40
  import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
41
41
  import "../../../CSS3DRenderPlugin/utils/even.js";
42
42
  import "../../../shared-utils/Subscribe.js";
43
- import "../../../CSS3DRenderPlugin/utils/positionToVector3.js";
43
+ import "../../../shared-utils/positionToVector3.js";
44
44
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
45
45
  import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
46
46
  import "../../../shared-utils/three/centerPoint.js";
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "2.26.2");
17
+ i(this, "VERSION", "2.27.0-dev.0");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
@@ -91,7 +91,7 @@ import "three/examples/jsm/renderers/CSS3DRenderer";
91
91
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
92
92
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
93
93
  import "../../CSS3DRenderPlugin/utils/even.js";
94
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
94
+ import "../../shared-utils/positionToVector3.js";
95
95
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
96
96
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
97
97
  import "../../shared-utils/three/centerPoint.js";
@@ -59,7 +59,7 @@ import "three/examples/jsm/renderers/CSS3DRenderer";
59
59
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
60
60
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
61
61
  import "../../CSS3DRenderPlugin/utils/even.js";
62
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
62
+ import "../../shared-utils/positionToVector3.js";
63
63
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
64
64
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
65
65
  import "../../shared-utils/three/centerPoint.js";
@@ -91,7 +91,7 @@ import "three/examples/jsm/renderers/CSS3DRenderer";
91
91
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
92
92
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
93
93
  import "../../CSS3DRenderPlugin/utils/even.js";
94
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
94
+ import "../../shared-utils/positionToVector3.js";
95
95
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
96
96
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
97
97
  import "../../shared-utils/three/centerPoint.js";
@@ -60,7 +60,7 @@ import "three/examples/jsm/renderers/CSS3DRenderer";
60
60
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
61
61
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
62
62
  import "../../CSS3DRenderPlugin/utils/even.js";
63
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
63
+ import "../../shared-utils/positionToVector3.js";
64
64
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
65
65
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
66
66
  import "../../shared-utils/three/centerPoint.js";
@@ -70,7 +70,7 @@ import "three/examples/jsm/renderers/CSS3DRenderer";
70
70
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
71
71
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
72
72
  import "../../CSS3DRenderPlugin/utils/even.js";
73
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
73
+ import "../../shared-utils/positionToVector3.js";
74
74
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
75
75
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
76
76
  import "../../shared-utils/three/centerPoint.js";
@@ -41,7 +41,7 @@ import "three/examples/jsm/renderers/CSS3DRenderer";
41
41
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
42
42
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
43
43
  import "../../CSS3DRenderPlugin/utils/even.js";
44
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
44
+ import "../../shared-utils/positionToVector3.js";
45
45
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
46
46
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
47
47
  import "../../shared-utils/three/centerPoint.js";
@@ -89,7 +89,7 @@ import "three/examples/jsm/renderers/CSS3DRenderer";
89
89
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
90
90
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
91
91
  import "../../CSS3DRenderPlugin/utils/even.js";
92
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
92
+ import "../../shared-utils/positionToVector3.js";
93
93
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
94
94
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
95
95
  import "../../shared-utils/three/centerPoint.js";
@@ -58,7 +58,7 @@ import "three/examples/jsm/renderers/CSS3DRenderer";
58
58
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
59
59
  import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
60
60
  import "../../CSS3DRenderPlugin/utils/even.js";
61
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
61
+ import "../../shared-utils/positionToVector3.js";
62
62
  import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
63
63
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
64
64
  import "../../shared-utils/three/centerPoint.js";
package/libs/index.js CHANGED
@@ -1,56 +1,57 @@
1
1
  import { consoleVersion as o } from "./shared-utils/logger.js";
2
2
  import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
3
- import { PaintBrush as Up } from "./components/PaintBrush/index.js";
4
- import { PaintBrushTypeEnum as $p } from "./components/PaintBrush/typings.js";
5
- import { ModelViewPlugin as qp } from "./ModelViewPlugin/Plugin.js";
6
- import { CSS3DRenderPlugin as Jp } from "./CSS3DRenderPlugin/index.js";
7
- import { PanoCursorRaycasterPlugin as Qp } from "./PanoCursorRaycasterPlugin/index.js";
8
- import { ModelRoomLabelPlugin as Xp, modelRoomLabelPluginServerParams as Zp } from "./ModelRoomLabelPlugin/index.js";
9
- import { FLOOR_PLAN_ATTACHED_TO as re } from "./floorplan/constant.js";
10
- import { ModelFloorplanPlugin as ie } from "./floorplan/ModelFloorplanPlugin/index.js";
11
- import { MapviewFloorplanPlugin as pe } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
- import { TopviewFloorplanPlugin as ne } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
- import { PanoFloorplanRadarPlugin as ae } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
- import { FLOOR_TYPE_MAP as ue, ROOM_FETILE_TYPE_MAP as fe, ROOM_TYPE_MAP as xe } from "./floorplan/typings/floorplanServerData.js";
15
- import { ModelChassisCompassPlugin as se } from "./ModelChassisCompassPlugin/Plugin.js";
16
- import { ModelEntryDoorGuidePlugin as Me } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
- import { CameraMovementPlugin as Le } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
- import { CameraMovementEffect as _e, Rotation as Ee } from "./CameraMovementPlugin/typing.js";
19
- import { PanoRulerPlugin as Ie } from "./PanoRulerPlugin/Plugin.js";
20
- import { PanoRulerProPlugin as ye } from "./PanoRulerProPlugin/index.js";
21
- import { PanoCompassPlugin as Ae } from "./PanoCompassPlugin/index.js";
22
- import { PanoMeasurePlugin as Ge } from "./PanoMeasurePlugin/index.js";
23
- import { PanoSpatialTagPlugin as Fe } from "./PanoSpatialTagPlugin/Plugin.js";
24
- import { modelItemLabelPluginServerParams as ve } from "./ModelItemLabelPlugin/index.js";
25
- import { ModelTVVideoPlugin as Ve } from "./ModelTVVideoPlugin/Plugin.js";
26
- import { DIRECTION as he } from "./ModelTVVideoPlugin/typings.js";
27
- import { itemLabelPluginServerParams as Be } from "./ItemLabelPlugin/index.js";
28
- import { PanoDoorLabelPlugin as Ue } from "./PanoDoorLabelPlugin/index.js";
29
- import { GuideLinePlugin as $e } from "./GuideLinePlugin/index.js";
30
- import { CruisePlugin as qe } from "./CruisePlugin/index.js";
31
- import { PanoTagPlugin as Je } from "./PanoTagPlugin/index.js";
32
- import { Object3DHelperPlugin as Qe } from "./Object3DHelperPlugin/index.js";
33
- import { PanoVideoPlugin as Xe } from "./PanoVideoPlugin/index.js";
34
- import { PipelinePlugin as on } from "./PipelinePlugin/index.js";
35
- import { index as tn } from "./shared-utils/index.js";
36
- import { CSS3DRender as pn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
37
- import { Model as nn } from "./PanoMeasurePlugin/Model/index.js";
38
- import { default as an } from "./PanoMeasurePlugin/Model/point.js";
3
+ import { PaintBrush as jp } from "./components/PaintBrush/index.js";
4
+ import { PaintBrushTypeEnum as kp } from "./components/PaintBrush/typings.js";
5
+ import { ModelViewPlugin as zp } from "./ModelViewPlugin/Plugin.js";
6
+ import { CSS3DRenderPlugin as Kp } from "./CSS3DRenderPlugin/index.js";
7
+ import { PanoCursorRaycasterPlugin as Wp } from "./PanoCursorRaycasterPlugin/index.js";
8
+ import { ModelRoomLabelPlugin as Zp, modelRoomLabelPluginServerParams as oe } from "./ModelRoomLabelPlugin/index.js";
9
+ import { FLOOR_PLAN_ATTACHED_TO as te } from "./floorplan/constant.js";
10
+ import { ModelFloorplanPlugin as me } from "./floorplan/ModelFloorplanPlugin/index.js";
11
+ import { MapviewFloorplanPlugin as ee } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
+ import { TopviewFloorplanPlugin as le } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
+ import { PanoFloorplanRadarPlugin as Pe } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
+ import { FLOOR_TYPE_MAP as ue, ROOM_FETILE_TYPE_MAP as xe, ROOM_TYPE_MAP as ge } from "./floorplan/typings/floorplanServerData.js";
15
+ import { ModelChassisCompassPlugin as de } from "./ModelChassisCompassPlugin/Plugin.js";
16
+ import { ModelEntryDoorGuidePlugin as Te } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
+ import { CameraMovementPlugin as Ce } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
+ import { CameraMovementEffect as Ee, Rotation as Re } from "./CameraMovementPlugin/typing.js";
19
+ import { PanoRulerPlugin as Oe } from "./PanoRulerPlugin/Plugin.js";
20
+ import { PanoRulerProPlugin as Se } from "./PanoRulerProPlugin/index.js";
21
+ import { PanoCompassPlugin as De } from "./PanoCompassPlugin/index.js";
22
+ import { PanoMeasurePlugin as be } from "./PanoMeasurePlugin/index.js";
23
+ import { PanoSpatialTagPlugin as Ye } from "./PanoSpatialTagPlugin/Plugin.js";
24
+ import { modelItemLabelPluginServerParams as ce } from "./ModelItemLabelPlugin/index.js";
25
+ import { ModelTVVideoPlugin as Ne } from "./ModelTVVideoPlugin/Plugin.js";
26
+ import { DIRECTION as we } from "./ModelTVVideoPlugin/typings.js";
27
+ import { itemLabelPluginServerParams as He } from "./ItemLabelPlugin/index.js";
28
+ import { PanoDoorLabelPlugin as je } from "./PanoDoorLabelPlugin/index.js";
29
+ import { GuideLinePlugin as ke } from "./GuideLinePlugin/index.js";
30
+ import { CruisePlugin as ze } from "./CruisePlugin/index.js";
31
+ import { PanoTagPlugin as Ke } from "./PanoTagPlugin/index.js";
32
+ import { Object3DHelperPlugin as We } from "./Object3DHelperPlugin/index.js";
33
+ import { PanoVideoPlugin as Ze } from "./PanoVideoPlugin/index.js";
34
+ import { PipelinePlugin as rn } from "./PipelinePlugin/index.js";
35
+ import { index as mn } from "./shared-utils/index.js";
36
+ import { CSS3DRender as en } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
37
+ import { Model as ln } from "./PanoMeasurePlugin/Model/index.js";
38
+ import { default as Pn } from "./PanoMeasurePlugin/Model/point.js";
39
39
  import { default as un } from "./PanoMeasurePlugin/Model/line.js";
40
- import { Polyline as xn } from "./PanoMeasurePlugin/Model/polyline.js";
41
- import { default as sn } from "./PanoMeasurePlugin/Modules/Magnifier.js";
42
- import { DISPLAY_STRATEGY_TYPE as Mn } from "./ModelItemLabelPlugin/typings.js";
43
- import { ModelItemLabelPlugin as Ln } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
44
- import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as _n } from "./ItemLabelPlugin/typings.js";
45
- import { Plugin as Rn } from "./ItemLabelPlugin/Plugin.js";
46
- import { GuideLineItem$1 as On } from "./GuideLinePlugin/GuideLineItem/index.js";
47
- import { GuideLineModeItem$1 as Sn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
48
- import { default as Dn } from "./CruisePlugin/Controller.js";
49
- import { typing as bn } from "./CruisePlugin/typing/index.js";
50
- import { default as Yn, pluginFlag as vn } from "./PanoTagPlugin/controller/index.js";
51
- import { ContentType as Vn, DimensionType as Nn, PointType as hn } from "./PanoTagPlugin/Archive/deprecated.js";
52
- import { Object3DHelperController as Bn, PLUGIN as Hn } from "./Object3DHelperPlugin/Controller.js";
53
- import { typings as jn } from "./PanoVideoPlugin/typings/index.js";
40
+ import { Polyline as gn } from "./PanoMeasurePlugin/Model/polyline.js";
41
+ import { default as dn } from "./PanoMeasurePlugin/Modules/Magnifier.js";
42
+ import { DISPLAY_STRATEGY_TYPE as Tn } from "./ModelItemLabelPlugin/typings.js";
43
+ import { ModelItemLabelPlugin as Cn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
44
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as En } from "./ItemLabelPlugin/typings.js";
45
+ import { Plugin as In } from "./ItemLabelPlugin/Plugin.js";
46
+ import { GuideLineItem$1 as yn } from "./GuideLinePlugin/GuideLineItem/index.js";
47
+ import { GuideLineModeItem$1 as An } from "./GuideLinePlugin/GuideLineModeItem/index.js";
48
+ import { default as Gn } from "./CruisePlugin/Controller.js";
49
+ import { typing as Fn } from "./CruisePlugin/typing/index.js";
50
+ import { default as vn, pluginFlag as cn } from "./PanoTagPlugin/controller/index.js";
51
+ import { defaultGlobalConfig as Nn } from "./PanoTagPlugin/typings/tag/TagConfig.js";
52
+ import { ContentType as wn, DimensionType as Bn, PointType as Hn } from "./PanoTagPlugin/Archive/deprecated.js";
53
+ import { Object3DHelperController as jn, PLUGIN as $n } from "./Object3DHelperPlugin/Controller.js";
54
+ import { typings as qn } from "./PanoVideoPlugin/typings/index.js";
54
55
  import "./components/PaintBrush/Controller.js";
55
56
  import "./components/PaintBrush/utils.js";
56
57
  import "./components/PaintBrush/tween.js";
@@ -71,7 +72,7 @@ import "./CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
71
72
  import "./CSS3DRenderPlugin/utils/createResizeObserver.js";
72
73
  import "./CSS3DRenderPlugin/utils/even.js";
73
74
  import "./shared-utils/Subscribe.js";
74
- import "./CSS3DRenderPlugin/utils/positionToVector3.js";
75
+ import "./shared-utils/positionToVector3.js";
75
76
  import "./CSS3DRenderPlugin/utils/three/CSS3DObject.js";
76
77
  import "./CSS3DRenderPlugin/utils/three/OpacityMesh.js";
77
78
  import "./shared-utils/three/centerPoint.js";
@@ -291,6 +292,7 @@ import "./shared-utils/three/FragmentTransparencyMaterial.js";
291
292
  import "./shared-utils/five/FiveDomEvents.js";
292
293
  import "./shared-utils/threex/domevents/index.js";
293
294
  import "./shared-utils/five/getFloorIndex.js";
295
+ import "./shared-utils/util.js";
294
296
  import "./PanoTagPlugin/Components/TagContainer.js";
295
297
  import "./PanoTagPlugin/Components/TagItem.js";
296
298
  import "./PanoTagPlugin/Components/Tag/index.js";
@@ -413,63 +415,64 @@ import "./shared-utils/three/getRaycaster.js";
413
415
  r();
414
416
  o();
415
417
  export {
416
- pn as CSS3DRender,
417
- Jp as CSS3DRenderPlugin,
418
- _e as CameraMovementEffect,
419
- Le as CameraMovementPlugin,
420
- Vn as ContentType,
421
- qe as CruisePlugin,
422
- Dn as CruisePluginController,
423
- bn as CruisePluginTypes,
424
- he as DIRECTION,
425
- Mn as DISPLAY_STRATEGY_TYPE,
426
- Nn as DimensionType,
427
- re as FLOOR_PLAN_ATTACHED_TO,
418
+ en as CSS3DRender,
419
+ Kp as CSS3DRenderPlugin,
420
+ Ee as CameraMovementEffect,
421
+ Ce as CameraMovementPlugin,
422
+ wn as ContentType,
423
+ ze as CruisePlugin,
424
+ Gn as CruisePluginController,
425
+ Fn as CruisePluginTypes,
426
+ we as DIRECTION,
427
+ Tn as DISPLAY_STRATEGY_TYPE,
428
+ Bn as DimensionType,
429
+ te as FLOOR_PLAN_ATTACHED_TO,
428
430
  ue as FLOOR_TYPE_MAP,
429
- On as GuideLineItem,
430
- Sn as GuideLineModeItem,
431
- $e as GuideLinePlugin,
432
- _n as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
433
- Rn as ItemLabelPlugin,
434
- sn as Magnifier,
435
- pe as MapviewFloorplanPlugin,
436
- se as ModelChassisCompassPlugin,
437
- Me as ModelEntryDoorGuidePlugin,
438
- ie as ModelFloorplanPlugin,
439
- Ln as ModelItemLabelPlugin,
440
- Xp as ModelRoomLabelPlugin,
441
- Ve as ModelTVVideoPlugin,
442
- qp as ModelViewPlugin,
443
- Bn as Object3DHelperController,
444
- Qe as Object3DHelperPlugin,
445
- Hn as PLUGIN,
446
- Up as PaintBrush,
447
- $p as PaintBrushTypeEnum,
448
- Ae as PanoCompassPlugin,
449
- Qp as PanoCursorRaycasterPlugin,
450
- Ue as PanoDoorLabelPlugin,
451
- ae as PanoFloorplanRadarPlugin,
452
- Ge as PanoMeasurePlugin,
431
+ yn as GuideLineItem,
432
+ An as GuideLineModeItem,
433
+ ke as GuideLinePlugin,
434
+ En as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
435
+ In as ItemLabelPlugin,
436
+ dn as Magnifier,
437
+ ee as MapviewFloorplanPlugin,
438
+ de as ModelChassisCompassPlugin,
439
+ Te as ModelEntryDoorGuidePlugin,
440
+ me as ModelFloorplanPlugin,
441
+ Cn as ModelItemLabelPlugin,
442
+ Zp as ModelRoomLabelPlugin,
443
+ Ne as ModelTVVideoPlugin,
444
+ zp as ModelViewPlugin,
445
+ jn as Object3DHelperController,
446
+ We as Object3DHelperPlugin,
447
+ $n as PLUGIN,
448
+ jp as PaintBrush,
449
+ kp as PaintBrushTypeEnum,
450
+ De as PanoCompassPlugin,
451
+ Wp as PanoCursorRaycasterPlugin,
452
+ je as PanoDoorLabelPlugin,
453
+ Pe as PanoFloorplanRadarPlugin,
454
+ be as PanoMeasurePlugin,
453
455
  un as PanoMeasurePluginLine,
454
- nn as PanoMeasurePluginModel,
455
- an as PanoMeasurePluginPoint,
456
- xn as PanoMeasurePluginPolyline,
457
- Ie as PanoRulerPlugin,
458
- ye as PanoRulerProPlugin,
459
- Fe as PanoSpatialTagPlugin,
460
- Je as PanoTagPlugin,
461
- Yn as PanoTagPluginController,
462
- Xe as PanoVideoPlugin,
463
- jn as PanoVideoPluginType,
464
- on as PipelinePlugin,
465
- hn as PointType,
466
- fe as ROOM_FETILE_TYPE_MAP,
467
- xe as ROOM_TYPE_MAP,
468
- Ee as Rotation,
469
- ne as TopviewFloorplanPlugin,
470
- tn as Util,
471
- Be as itemLabelPluginServerParams,
472
- ve as modelItemLabelPluginServerParams,
473
- Zp as modelRoomLabelPluginServerParams,
474
- vn as pluginFlag
456
+ ln as PanoMeasurePluginModel,
457
+ Pn as PanoMeasurePluginPoint,
458
+ gn as PanoMeasurePluginPolyline,
459
+ Oe as PanoRulerPlugin,
460
+ Se as PanoRulerProPlugin,
461
+ Ye as PanoSpatialTagPlugin,
462
+ Ke as PanoTagPlugin,
463
+ vn as PanoTagPluginController,
464
+ Ze as PanoVideoPlugin,
465
+ qn as PanoVideoPluginType,
466
+ rn as PipelinePlugin,
467
+ Hn as PointType,
468
+ xe as ROOM_FETILE_TYPE_MAP,
469
+ ge as ROOM_TYPE_MAP,
470
+ Re as Rotation,
471
+ le as TopviewFloorplanPlugin,
472
+ mn as Util,
473
+ Nn as defaultGlobalConfig,
474
+ He as itemLabelPluginServerParams,
475
+ ce as modelItemLabelPluginServerParams,
476
+ oe as modelRoomLabelPluginServerParams,
477
+ cn as pluginFlag
475
478
  };
@@ -2,15 +2,21 @@ import type { Five } from '@realsee/five';
2
2
  import DomEvents, { type DomEventInterface } from '../threex/domevents';
3
3
  import type * as THREE from 'three';
4
4
  export declare class FiveDomEvents extends DomEvents {
5
+ private five;
5
6
  private mouseInfo?;
6
7
  private clickHandlerMap;
7
8
  constructor(five: Five);
9
+ dispose(): void;
8
10
  /**
9
11
  * @description: added 时自动绑定事件,removed时自动解绑事件,也就是说只有物体在场景中的时候才会触发事件
10
12
  * @note: 注意:目前需要触发物体的 added 事件和 removed 事件才会生效
11
13
  * @todo: added 和 removed 还是不太智能
12
14
  */
13
15
  addAutoBindEventListener(...params: Parameters<InstanceType<typeof FiveDomEvents>['addEventListener']>): void;
16
+ /**
17
+ * @description 递归判断对象及其父对象是否可见
18
+ */
19
+ getObjectVisible: (object?: THREE.Object3D | null) => boolean;
14
20
  addEventListener<T extends 'click' | 'dblclick' | 'mouseover' | 'mouseout' | 'mousemove' | 'mousedown' | 'mouseup' | 'contextmenu' | 'touchstart' | 'touchend', K extends THREE.Object3D>(object: K, eventName: T, callback: (params: DomEventInterface<T, K>) => void, useCapture?: boolean): void;
15
21
  removeEventListener(object: THREE.Object3D, eventName: 'click' | 'dblclick' | 'mouseover' | 'mouseout' | 'mousemove' | 'mousedown' | 'mouseup' | 'contextmenu' | 'touchstart' | 'touchend', callback: (params: any) => void, useCapture?: boolean): void;
16
22
  private preventWhenMouseDown;
@@ -1,14 +1,26 @@
1
- var l = Object.defineProperty;
2
- var c = (s, i, e) => i in s ? l(s, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[i] = e;
3
- var h = (s, i, e) => (c(s, typeof i != "symbol" ? i + "" : i, e), e);
4
- import { DomEvents as E } from "../threex/domevents/index.js";
5
- class p extends E {
1
+ var a = Object.defineProperty;
2
+ var l = (h, o, e) => o in h ? a(h, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[o] = e;
3
+ var d = (h, o, e) => (l(h, typeof o != "symbol" ? o + "" : o, e), e);
4
+ import { DomEvents as c } from "../threex/domevents/index.js";
5
+ class D extends c {
6
6
  constructor(e) {
7
7
  super(e.camera, e.getElement());
8
- h(this, "mouseInfo");
9
- h(this, "clickHandlerMap", /* @__PURE__ */ new Map());
10
- const o = () => this.preventWhenMouseDown();
11
- e.on("wantsMoveToPano", o), e.on("wantsTapGesture", o);
8
+ d(this, "five");
9
+ d(this, "mouseInfo");
10
+ d(this, "clickHandlerMap", /* @__PURE__ */ new Map());
11
+ /**
12
+ * @description 递归判断对象及其父对象是否可见
13
+ */
14
+ d(this, "getObjectVisible", (e) => e ? e.visible === !1 ? !1 : this.getObjectVisible(e.parent) : !0);
15
+ d(this, "preventWhenMouseDown", () => {
16
+ var e;
17
+ if ((e = this.mouseInfo) != null && e.isDown)
18
+ return console.debug("preventWhenMouseDown 1"), !1;
19
+ });
20
+ this.five = e, e.on("wantsMoveToPano", this.preventWhenMouseDown), e.on("wantsTapGesture", this.preventWhenMouseDown);
21
+ }
22
+ dispose() {
23
+ this.five.off("wantsMoveToPano", this.preventWhenMouseDown), this.five.off("wantsTapGesture", this.preventWhenMouseDown), this.clickHandlerMap.clear(), this.mouseInfo = void 0;
12
24
  }
13
25
  /**
14
26
  * @description: added 时自动绑定事件,removed时自动解绑事件,也就是说只有物体在场景中的时候才会触发事件
@@ -16,80 +28,73 @@ class p extends E {
16
28
  * @todo: added 和 removed 还是不太智能
17
29
  */
18
30
  addAutoBindEventListener(...e) {
19
- const o = e[0];
20
- o.addEventListener("added", () => {
31
+ const t = e[0];
32
+ t.addEventListener("added", () => {
21
33
  this.addEventListener(...e);
22
- }), o.addEventListener("removed", () => {
34
+ }), t.addEventListener("removed", () => {
23
35
  this.removeEventListener(...e);
24
- }), o.addEventListener("dispose", () => {
36
+ }), t.addEventListener("dispose", () => {
25
37
  this.removeEventListener(...e);
26
38
  });
27
39
  }
28
40
  // eslint-disable-next-line max-params
29
- addEventListener(e, o, r, t) {
30
- const u = (m) => {
31
- if (d(e) === !1) {
41
+ addEventListener(e, t, i, s) {
42
+ const r = (u) => {
43
+ if (this.getObjectVisible(e) === !1) {
32
44
  this.mouseInfo = void 0;
33
45
  return;
34
46
  }
35
- const n = m.origDomEvent;
47
+ const n = u.origDomEvent;
36
48
  this.mouseInfo = {
37
49
  x: n.clientX,
38
50
  y: n.clientY,
39
51
  isDown: !0,
40
52
  mouseDownTimestamp: Date.now()
41
53
  };
42
- }, f = (m) => {
43
- if (d(e) === !1) {
54
+ }, m = (u) => {
55
+ if (this.getObjectVisible(e) === !1) {
44
56
  this.mouseInfo = void 0;
45
57
  return;
46
58
  }
47
- const n = m.origDomEvent;
48
- this.mouseInfo && (this.mouseInfo.isDown && this.mouseInfo.x === n.clientX && this.mouseInfo.y === n.clientY && Date.now() - this.mouseInfo.mouseDownTimestamp < 400 && r(n), this.mouseInfo = void 0);
49
- }, v = (m) => {
50
- if (d(e) === !1) {
59
+ const n = u.origDomEvent;
60
+ this.mouseInfo && (this.mouseInfo.isDown && this.mouseInfo.x === n.clientX && this.mouseInfo.y === n.clientY && Date.now() - this.mouseInfo.mouseDownTimestamp < 400 && i(n), this.mouseInfo = void 0);
61
+ }, f = (u) => {
62
+ if (this.getObjectVisible(e) === !1) {
51
63
  this.mouseInfo = void 0;
52
64
  return;
53
65
  }
54
- const n = m.origDomEvent;
66
+ const n = u.origDomEvent;
55
67
  this.mouseInfo = {
56
68
  x: Math.floor(n.touches[0].clientX),
57
69
  y: Math.floor(n.touches[0].clientY),
58
70
  isDown: !0,
59
71
  mouseDownTimestamp: Date.now()
60
72
  };
61
- }, a = (m) => {
62
- if (d(e) === !1) {
73
+ }, v = (u) => {
74
+ if (this.getObjectVisible(e) === !1) {
63
75
  this.mouseInfo = void 0;
64
76
  return;
65
77
  }
66
- const n = m.origDomEvent;
67
- this.mouseInfo && (this.mouseInfo.isDown && this.mouseInfo.x === Math.floor(n.changedTouches[n.changedTouches.length - 1].clientX) && this.mouseInfo.y === Math.floor(n.changedTouches[n.changedTouches.length - 1].clientY) && Date.now() - this.mouseInfo.mouseDownTimestamp < 400 && r(n), this.mouseInfo = void 0);
78
+ const n = u.origDomEvent;
79
+ this.mouseInfo && (this.mouseInfo.isDown && this.mouseInfo.x === Math.floor(n.changedTouches[n.changedTouches.length - 1].clientX) && this.mouseInfo.y === Math.floor(n.changedTouches[n.changedTouches.length - 1].clientY) && Date.now() - this.mouseInfo.mouseDownTimestamp < 400 && i(n), this.mouseInfo = void 0);
68
80
  };
69
- o === "click" ? (super.addEventListener(e, "mousedown", u, t), super.addEventListener(e, "mouseup", f, t), super.addEventListener(e, "touchstart", v, t), super.addEventListener(e, "touchend", a, t), this.clickHandlerMap.set(r, {
70
- mousedown: u,
71
- mouseup: f,
72
- touchstart: v,
73
- touchend: a
74
- })) : super.addEventListener(e, o, r, t);
81
+ t === "click" ? (super.addEventListener(e, "mousedown", r, s), super.addEventListener(e, "mouseup", m, s), super.addEventListener(e, "touchstart", f, s), super.addEventListener(e, "touchend", v, s), this.clickHandlerMap.set(i, {
82
+ mousedown: r,
83
+ mouseup: m,
84
+ touchstart: f,
85
+ touchend: v
86
+ })) : super.addEventListener(e, t, i, s);
75
87
  }
76
88
  // eslint-disable-next-line max-params
77
- removeEventListener(e, o, r, t) {
78
- if (o === "click") {
79
- const u = this.clickHandlerMap.get(r);
80
- u && (super.removeEventListener(e, "mousedown", u.mousedown, t), super.removeEventListener(e, "mouseup", u.mouseup, t), super.removeEventListener(e, "touchstart", u.touchstart, t), super.removeEventListener(e, "touchend", u.touchend, t), this.clickHandlerMap.delete(r));
89
+ removeEventListener(e, t, i, s) {
90
+ if (t === "click") {
91
+ const r = this.clickHandlerMap.get(i);
92
+ r && (super.removeEventListener(e, "mousedown", r.mousedown, s), super.removeEventListener(e, "mouseup", r.mouseup, s), super.removeEventListener(e, "touchstart", r.touchstart, s), super.removeEventListener(e, "touchend", r.touchend, s), this.clickHandlerMap.delete(i));
81
93
  } else
82
- super.removeEventListener(e, o, r, t);
94
+ super.removeEventListener(e, t, i, s);
95
+ this.mouseInfo = void 0;
83
96
  }
84
- preventWhenMouseDown() {
85
- var e;
86
- if ((e = this.mouseInfo) != null && e.isDown)
87
- return !1;
88
- }
89
- }
90
- function d(s) {
91
- return s ? s.visible === !1 ? !1 : d(s.parent) : !0;
92
97
  }
93
98
  export {
94
- p as FiveDomEvents
99
+ D as FiveDomEvents
95
100
  };
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv2.26.2",
3
+ "%c %c@realsee/dnalogel %cv2.27.0-dev.0",
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",
@@ -0,0 +1,16 @@
1
+ import { Vector3 } from 'three';
2
+ export type AnyPosition = Vector3 | number[] | {
3
+ x: number;
4
+ y: number;
5
+ z: number;
6
+ };
7
+ export declare const positionToVector3: ({ x, y, z }: {
8
+ x: number;
9
+ y: number;
10
+ z: number;
11
+ }) => Vector3;
12
+ export declare const arrayPositionToVector3: (arrayPosition: number[]) => Vector3;
13
+ export declare const anyPositionToVector3: (position: AnyPosition) => Vector3;
14
+ export declare function vector3Position(position: AnyPosition): Vector3;
15
+ export declare function vector3Position(position: AnyPosition[]): Vector3[];
16
+ export declare function vector3Position(position: AnyPosition | AnyPosition[]): Vector3[] | Vector3;